/*
Theme Name: dmemco
Version: 2024
*/

/*
blue - #0f2643
red orange - #ef554d
*/


html {
	font-size: 110%;
	font-size: clamp(110%, 1vw, 310%);
}

body {
	margin: 0;
	position: relative;
	font-family: "Assistant", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-size: 1em;
	line-height: 1.5;
	letter-spacing: 0.05em;
	background-color: #ffffff;
	color: #0f2643;
	-webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-style: normal;
}

h1 {
	font-size: 2em;
}

h2 {
	color: #ef554d;
	font-size: 2em;
	text-transform: lowercase;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 0.12em;
}

h3 {
	font-size: 2.25em;
	line-height: 1.1;
	font-weight: 300;
	text-transform: lowercase;
	letter-spacing: 0.05em;
	text-align: center;
	margin: 0 0 .5em 0;
}

h4,
h5,
h6 {
	font-size: .85em;
	color: #ef554d; 
	text-transform: uppercase;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin: 0 0 1em 0;
}

p {
	margin: 0 0 1.25em 0;
}

strong {
	font-weight: 600;
}

ul,
ol {
	padding: 0;
	margin: 0 0 1.25em 0;
}

ul li,
ol li {
	padding: 0;
	margin: 0 0 1.25em 1em;
}

a {
	color: #509EE2;
	text-decoration: none;
}

a:active,
a:hover {
	color: #509EE2;
	outline: 0;
	text-decoration: underline;
}

.button {
	display: inline-block;
	border-radius: 2em;
	padding: .75em 1.25em;
	margin: .15em 0 0 0;
	font-weight: 300;
	font-size: 1em;
	color: #0f2643;
	border: .15em solid #0f2643;
}

.button:hover {
	color: #ef554d;
	text-decoration: none;
	border: .15em solid #ef554d;
}

.button--alt {
	font-size: 1.05em;
	font-weight: 800;
	text-transform: uppercase;
	color: #ef554d;
	border: .15em solid #ef554d;
	color: #ffffff;
	border: .15em solid #ffffff;
}

.button--alt:hover {
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
	border: .15em solid #ffffff;
	color: #ef554d;
	border: .15em solid #ef554d;
}

form input,
form textarea {
	background-color: #fafafa !important;
	border: 1px solid #a9a9a9 !important;
} 

form legend,
form label,
form input,
form textarea {
	font-size: 1em !important;
} 

input.button {
	border-radius: 2em !important;
	padding: .75em 1.25em !important;
	font-size: 1em !important;
	font-weight: 300 !important;
	color: #0f2643 !important;
	border: .15em solid #0f2643 !important;
	background-color: #ffffff !important;
}

input.button:hover {
	color: #ef554d !important;
	font-size: 1em !important;
	border: .15em solid #ef554d !important;
	background-color: #ffffff !important;
}

::selection {
	background: #509EE2;
	color: #ffffff;
}

sup {
	font-size: 55%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.65em;
}

::selection {
	text-shadow: none;
}

img {
	display: block;
	width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
	vertical-align: middle;
}

.content {
	padding: 0 1em;
}

@media (min-width: 30em) {

	.content {
		width: 75%;
		margin: 0 auto;
	}

}

.bar {
	margin: 1em 0 5em 0;
	height: .5em;
}

.masthead {
	padding: 2em .5em;
}

.masthead .logo {
	margin: 0 auto;
	max-width: 5.75em;
}

@media (min-width: 35em) {
	
	.masthead .logo {
		max-width: 6.75em;
	}	
	
}

@media (min-width: 45em) {
	
	.masthead .logo {
		max-width: 7.75em;
	}	
	
}

.masthead nav {
	margin: .5em 0 0 0;
	padding: 0;
	text-align: center;
}

.masthead nav ul li a {
	font-size: 1.15em;
	color: #0f2643;
	text-transform: lowercase;
	font-weight: 400;
}

.masthead nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.masthead nav ul li {
	width: 50%;
	padding: 1em 0 0 0;
	margin: 0;
}

@media (min-width: 35em) {

	.masthead nav ul {
		display: block;
	}

	.masthead nav ul li {
		width: auto;
		display: inline-block;
		padding: 1em .75em 0 .75em;
	}

}

.section-welcome {
	background-color: #0f2643;
	color: #ffffff;
	text-align: center;
	padding: 1em 0 3em 0;
}

.section-welcome p {
	font-size: 1.5em;
	font-weight: 400;
}

.section-welcome p:last-child {
	font-size: 1em;
	font-weight: 300;
}

.section-services {
	text-align: center;
	padding: 4em 0 2em 0;
}

.section-services__list ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.section-services__list__item {
	margin: 0 0 2em 0;
	padding: 0 0 0 0;
}

.section-services__list__item img {
	margin: 0 auto 1em auto;
	width: 50%;
}

@media (min-width: 25em) {

	.section-services__list ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		text-align: left;
	}
	
	.section-services__list__item {
		width: 45%;
	}

	.section-services__list__item img {
		margin: 0 auto 1em auto;
		width: 100%;
	}

}

@media (min-width: 45em) {
	
	.section-services__list__item {
		width: 28%;
	}

}

@media (min-width: 60em) {

	.section-services__list__item {
		width: 45%;
		display: grid;
		grid-column-gap: 5%;
		grid-template-columns: 1fr [gap1] 3fr;
		margin: 0 0 3em 0;
	}
	
}
.section-engagements {
	text-align: center;
	padding: 4em 0 2em 0;
}

.section-engagements__list ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.section-engagements__list__item {
	margin: 0 0 2em 0;
	padding: 0 0 0 0;
}

@media (min-width: 25em) {

	.section-engagements__list ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.section-engagements__list__item {
		width: 45%;
	}

}

@media (min-width: 50em) {

	.section-engagements__list__item {
		margin: 0 0 2em 0;
		width: 22%;
	}

}

.section-engagements__list__item img {
	margin: 0 0 1em 0;
}

.section-about {
	padding: 4em 0 2em 0;
	text-align: center;
}

.section-about__intro,
.section-about__diana {
	text-align: left;
}

.section-about__intro {
	padding: 0 0 2em 0;
}

.section-about__diana {
	padding: 0 0 1em 0;
}

.section-about__diana img {
	margin: 0 0 1em 0;
}

.section-about__diana__content__edu {
	border-top: .005em solid #0f2643;
	padding: 2em 0 0 0;
	margin: 2em 0 0 0;
}

@media (min-width: 40em) {

	.section-about__diana {
		display: grid;
		grid-column-gap: 2.5%;
		grid-template-columns: 1fr [gap1] 1fr;
		margin: 0 0 3em 0;
	}

}

.section-about__diana__content__edu p span {
    display: block;
    /*text-transform: uppercase;*/
	font-weight: 600;
}

.section-contact {
	padding: 4em 0 6em 0;
}

.section-contact h3,
.section-contact__btt {
	text-align: center;
}

.section-contact__form {
	padding: 0 0 5em 0;
}

.site-footer__inner {
	border-top: .005em solid #0f2643;
	padding: 2em 0 2em 0;
}

.footer__logo {
	text-align: center;
}

.footer__logo img {
	margin: 0 auto 1em auto;
	max-width: 10em;
}

.footer__logo p {
	margin: 0 0 0 0;
}

.footer__links {
	text-align: center;
}

.footer__links p {
	font-size: .85em;
}

.footer__links nav {
	margin: 0 0 1em 0;
	padding: 0;
	text-align: center;
}

.footer__links nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.footer__links nav ul li {
	width: 50%;
	padding: 1em 0 0 0;
	margin: 0;
}

.footer__links nav ul li a {
	text-transform: lowercase;
}

@media (min-width: 35em) {

	.footer__links nav ul {
		display: block;
	}

	.footer__links nav ul li {
		width: auto;
		display: inline-block;
		padding: 1em .75em 0 .75em;
	}

}