
*{
	padding: 0;
	margin: 0;
}
.desplazador::-webkit-scrollbar{
	width: 10px;
	background: #ECF0F1;
}
.desplazador::-webkit-scrollbar-thumb{
	background: #991313;
	width: 5px;
	border-radius: 30px 30px 30px 30px;
}
body{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background: #ECF0F1;
	transition: .3s;
	cursor: url(../img/flecha1.png), auto;
	overflow: hidden;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.desplazador{
	width: 100%;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	overflow-y: scroll;
   	overflow-x: hidden;
	animation-name: deslizarPagina;
	animation-duration: .7s ;
	transition: .5s;
}

@keyframes deslizarPagina{
	0%{opacity: 0;transform: translateY(50px);transition: .5s;}
	100%{opacity: 1;transform: translateY(0px);transition: .5s;}
}
p{
	text-align: justify;
}


main{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.contenedor{
	width: 100%;
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.banner{
	width: 100%;
	height: 708px;
	background-image: url(../img/mundorojo.jpg);
	position: relative;
}
.info{
	width: 70%;
	height: 280px;
	background: rgba(255,255,255,.5);
	-webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
	position: absolute;
	top: 20%;
	left: 0%;
	padding: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.bloke{
	width: 100%;
}
.caja{
	width: 100%;
	height: 100vh;
}
.uno{
	display: block;
}
.tres{
	display: flex;
}
.dos{
	display: none;
}

.cuatro{
	display: none;
}
/*--------------------parrafos----------------------------------------*/
.izquierdo{
	width: 100%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.derecho{
	width: 100%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;

}
.parrafo{
	width: 90%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
}
.imagen{
	width: 100%;
}
.imagen img{
	width: 100%;
}
.contenido{
	width: 100%;
	padding: 50px;
}
.contenido p{
	font-size: 30px;
}
/*-----------------Tecnologias----------------------------------*/
.centro{
	width: 100%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	padding-top: 10%;
	padding-bottom: 10%;
}
.tecnologias{
	width: 80%;
	height: auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;	
}
.tecnologia{
	width: 150px;
	height: 150px;
	margin: 5px;
}
.tecnologia img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/*------------------articulos-------------------------*/
article{
	width: 100%;
	height: 500px;
	padding: 2%;
	text-align: left;
	font-size: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin: 5px;
	border-left: solid 1px #991313;
}
article:first-child{
	border-left: none;
}
article p{
	width: 100%;
}
article h2{
	width: 100%;
	text-decoration: underline;
	color: #991313;
}

article img{
	width: 100%;
	margin-bottom: 10px;
}

article a{
	width: 20%;
	height: 30px;
	background: #991313;
	text-align: center;
	padding: 15px;
	margin: 10px;
	color: #fff;
}

article a:hover{
	color: #020003;
	background: #fff;
}
.trabajos{
	width: 80%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	padding-top: 100px;
	padding-bottom: 50px;
}
.trabajos h1{
	width: 100%;
	margin-bottom: 50px;
	border-bottom: #991313 solid 1px;
}
.trabajos h3{
	margin-bottom: 20px;
}
@media(prefers-color-scheme: dark) {

    body.dark .desplazador::-webkit-scrollbar{
		width: 10px;
		background: #020003;
	}
	body.dark .desplazador::-webkit-scrollbar-thumb{
		background: #1ABC9C;
		width: 5px;
		border-radius: 30px 30px 30px 30px;
	}
	body.dark {
		background: #020003;
		color: #fff;
		transition: .5s;		
		cursor: url(../img/flecha2.png), auto;
	  }
	  body.dark .banner{
		width: 100%;
		height: 708px;
		background-image: url(../img/mundoazulverdoso.jpg);
	}
	body.dark .info{
	background: rgba(0,0,0,.5);
	-webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
	}
	body.dark .uno{
		display: none;
	}
	body.dark .tres{
		display: none;
	}
	body.dark .dos{
		display: block;
	}
	body.dark .cuatro{
		display: flex;
	}
	body.dark article{
		border-left: solid 1px #1ABC9C;
	}
	body.dark article h2{
		color: #1ABC9C;
	}
	body.dark article:first-child{
		border-left: none;
	}
	body.dark .trabajos h1{
		border-bottom: #1ABC9C solid 1px;
	}
	body.dark article a{
		width: 20%;
		height: 30px;
		background: #1ABC9C;
		text-align: center;
		padding: 15px;
		margin: 10px;
		color: #fff;
	}
	
	body.dark article a:hover{
		color: #1ABC9C;
		background: #000;
	}
}

@media(min-width: 500px){
	.info{
		width: 300px;
		height: 280px;
		position: absolute;
		top: 20%;
		left: 5%;
		padding: 50px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.parrafo{
		width: 70%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-around;
	}
	.imagen{
		width: 80%;
	}
	.contenido{
		width: 80%;
		padding: 50px;
	}
	.contenido p{
		font-size: 20px;
	}
	article{		
		width: 80%;
		font-size: 25px;
	}
}
@media(min-width: 1023px) {
	.info{
		width: 400px;
		height: 280px;
		position: absolute;
		top: 20%;
		left: 20%;
		padding: 50px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	
	.parrafo{
		width: 70%;
		height: 50vh;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-around;
	}
	.imagen{
		width: 40%;
	}
	.contenido{
		width: 40%;
		padding: 50px;
	}
	.contenido p{
		font-size: 30px;
	}
	article{		
		width: 26%;
		font-size: 18px;
	}
}

@media(min-width: 1439px) {
	.info{
		width: 400px;
		height: 280px;
		position: absolute;
		top: 20%;
		left: 20%;
		padding: 50px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	
	.izquierdo{		
		height: 70vh;
	}
	.derecho{
		height: 70vh;
	}
	.parrafo{
		width: 70%;
		height: 50vh;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-around;
	}
	.imagen{
		width: 50%;
	}
	.contenido{
		width: 40%;
		padding: 50px;
	}
	.contenido p{
		font-size: 30px;
	}
	
	article{		
		width: 26%;
		font-size: 22px;
	}
}