body.fixed{ overflow: hidden; }

header {
	height: 100vh;
	min-height: 450px;
	background: url(../img/header-d.jpg) no-repeat top center;
	background-size: cover;
}

header h1 {
	padding: 20px 0;
}

header > div {
	padding: 0 20px;
	height: 100%;
}

header div div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: calc(100% - 73px);
}

header h2, header p {
	color: white;
	text-align: center;
}

header h2 {
	margin: 20px 0;
}

header p {
	margin-bottom: 20px;
}

article, section {
	padding: 0 20px;
	margin-top: 25px;
}

article h2, section h2 {
	color: #081a58;
	margin-bottom: 10px;
}

article div ul {
	padding: 10px 25px;
}

article iframe {
	width: 100%;
	margin-top: 15px;
	height: 250px;
}

article > div:last-child {
	width: 100%;
	display: flex;
	margin-top: 15px;
}

section ul {
	display: flex;
	flex-wrap: wrap;
}

section ul li {
	list-style: none;
	font-family: 'd_bold';
	margin-top: 15px;
	width: 50%;
	text-align: center;
}

section ul li a{
	overflow-wrap: break-word;
	color: #869567;
}

section ul li a:hover{
	color: #053245;
}

section ul li:not(:nth-child(n + 3)) {
	display: none;
}

main > div {
	margin-top: 25px;
	padding: 20px;
	text-align: center;
	background: url(../img/header-m.jpg) no-repeat center center;
}

main > div p {
	color: white;
}

main > div a {
	margin: 20px auto 0;
}

article img {
	display: block;
	max-width: 100%;
}

#login {
	position: fixed;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(22, 187, 131, .3);
	z-index: 2;
}

#login > div {
	background: white;
	border-radius: 18px;
	padding: 30px;
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

#login div form {
	width: 100%;
}

#login > div h2 {
	color: #9f9f9f;
	text-align: center;
	margin-bottom: 10px;
}

#login > div .closeModal{
	position: absolute;
	top: -3px;
	right: -3px;
	width: 29px;
	height: 29px;
	display: block;
	overflow: hidden;
	text-indent: -200px;
	background: white url('/css/icons/cerrar.png') center no-repeat;
	background-size: 22px;
	border-radius: 50%;
}

form p {
	font-size: 14px;
	color: #9f9f9f;
	text-align: center;
}

#login > div .input input {
	margin: auto;
	width: 100%;
	padding: 0 20px;
	background: #ededed;
	border: none;
	border-radius: 18px;
	height: 40px;
	margin-top: 15px;
}

#login form > div:last-child {
	margin: 20px 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#login form > div:last-child div {
	width: 50%;
	margin-left: auto;
}

#login form input.btn {
	width: 100%;
}

#login > div > a {
	color: #16bb83;
	font-family: 'd_bold';
}

.grey-link {
	color: #c3c2c2;
	font-family: 'd_bold';
	font-size: 15px;
	text-align: left;
}

#static{
	display: block;
	width: 90%;
	margin: auto; 
	padding: 2em;
}

#static h3{
	margin-top: 30px;
}

#static p{
	margin-bottom: 0.5em;
}

#static .donations{
	margin: 15px 0;
	display: flex;
	gap: 50px;
}

/* TABLET */
@media ( min-width: 481px ) {	
	header h2 {
		font-size: 30px;
		width: 76%;
	}

	header p {
		width: 656px;
	}
	
	article, section {
		padding: 0 25px;
	}
	
	article iframe {
		height: 450px;
	}
	
	section ul li {
		width: 33%;
	}
	
	section ul li:not(:nth-child(n + 3)) {
		display: block;
	}
	
	section ul li:not(:nth-child(n + 2)) {
		display: none;
	}
	
	section {
		padding: 0;
	}
	
	#wavy {
		background: url(../img/wavy.png) no-repeat top center;
		background-size: cover;
		height: 100px;
		display: block;
	}
	
	section > div {
		width: 656px;
		margin: auto;
		text-align: center;
		padding: 45px 0 20px;
	}
	
	main > div {
		padding: 40px 25px;
		background: url(../img/header-t.jpg) no-repeat center center;
		display: flex;
		justify-content: space-between;
		text-align: left;
		align-items: center;
	}
	
	main > div p {
		width: 467px;
	}
	
	main > div a {
		margin: 0;
	}
	
	#login > div {
		width: 70%;
	}
	
	#login div form {
		width: 75%;
	}
	
	#login form > div:last-child div.checkbox {
		width: 45%;
	}
	
	.checkbox-c {
		width: 15px;
	}
}

/* DESKTOP */
@media ( min-width: 1024px ) {
	.btn {
		padding: 10px 0;
		width: 220px;
	}
	
	header > div {
		padding: 0 5%;
	}
	
	header h2 {
		font-size: 34px;
		width: 53%;
	}
	
	header p {
		width: 740px;
		font-size: 18px;
	}
	
	article {
		padding: 0 5%;
		margin-top: 2.5%;
	}
	
	article {
		display: flex;
		justify-content: space-between;
	}
	
	article h2, section h2 {
		font-size: 30px;
	}
	
	article > div:first-child {
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	
	article > div:last-child {
		width: 45%;
		display: flex;
		justify-content: center;
	}
	
	#importancia {
		margin-top: 0;
		height: auto;
	}
	
	.left > div:first-child, .right > div:last-child {
		width: 45%;
	}
	
	.right {
		flex-direction: row-reverse;
	}
	
	.right > div:first-child {
		width: 50%;
	}
	
	section {
		padding-top: 2.5%;
	}
	
	section > div {
		width: 740px;
		padding: 50px 0;
	}
	
	section ul li {
		width: 25%;
		margin-top: 40px;
	}
	
	section ul li:not(:nth-child(n+4)) {
		display: block;
	}
	
	section p {
		width: 547px;
		margin: auto;
	}
	
	main > div {
		padding: 40px 5%;
		background: url(../img/header-d.jpg) no-repeat center center;
		background-size: cover;
		margin-top: 0;
	}
	
	main > div p {
		width: 516px;
	}
	
	#login > div {
		width: 740px;
	}
	
	#login div form {
		width: 62%;
	}
	
	#login > div h2 {
		margin-bottom: 15px;
	}
	
	#login div form input::placeholder {
		text-align: center;
	}
	
	#login form > div:last-child {
		margin: 20px 0 30px;
	}
	
	#video {
		background: #fbfbfb;
		padding: 30px 5%;
	}

	#video > div {
		width: 45%;
	}

	#video > div iframe {
		margin: auto;
	}
	
	article iframe {
		height: 320px;
		width: 45%;
	}
}