html{
    font-size: 62.5%; /* 1ren = 10px */
}
body {
    margin: 0;
    font-size: 1.6rem;/*1.6rem = 16px*/
    font-family: 'lato',sans-serif;

}
img{
    max-width: 100%;
}
/*REULIZABLES*/
.contenedor{
    max-width: 90rem;
    margin: 0 auto 0 auto;
}
.seccion {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
/* HEADER */
/*.cabecera.inicio{
    background-image: url(../img/004.jpg);
    background-position:  center center;
    background-size: cover;
    height: 5vh;
    min-height: 80rem;
}*/
 .cabecera {
     background-color:#0d0486 ;
     padding: 0 0 3rem 0;
     
 }
 .logo-y-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}
h1 {
    font-size: 3.6rem;
}
h2 {
    font-size: 3.0rem;
}
h3 {
font-size: 2.4rem;
}
.enlace-logo {
    display: block;
    max-width: 10rem;
    min-width: 8rem;
}

.contenedor{
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.navegacion a {
    color: rgb(245, 245, 250);
    text-decoration: none;
    font-size: 1.8rem;
    margin-right: 1.5rem;/*16px*/
    font-weight: 700;
}

.navegacion a:last-of-type{
    margin: 0px;
}

.navegacion a:hover{
    color: #ff0606;
}

.titulo {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.titulo h1{
    color: #c7ecf3;
    padding-bottom: 8.5rem;
    max-width: 100%;
    line-height: 5.6;
    font-weight: 800;
    background-position:  center center;
}
.sobre-mi{
    display: flex;
    justify-content: space-between;
}
.sobre-mi h3 {
    text-transform: uppercase;
}

.cajas-sobre-mi {
    flex-basis: calc(33.3% - 2rem);
    text-align: center;
    line-height: 1.5;
}
.seccion h2{
    text-align: center;
    font-weight: 900;
}
.tres-servicios{
    display: flex;
    justify-content: space-between;
}
.servicios{
    flex-basis: calc(33.3% - 1rem);
    border-style: solid;
    border-color: #086a6d;
    border-width: 1px;
    background-color: #ac1919;
}
.text-servicios{
    padding: 1rem;
    line-height: 2;
}
.text-servicios h3 {
    margin: 0;
}
.text-servicios p {
    margin: 0;
}
.precio{
    color: #1f034d;
    font-weight: 700;
}
.boton{
    color: #f5f5f5;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    display: inline-block;
    margin-top: 1.7rem;
    box-sizing: border-box;
    text-align: center;
    border: none;
}

.boton:hover {
    background-color: blueviolet;
}
.btn-verde{
    background-color: #5e0a42;
}
.btn-naranja {
    background-color: #f5aa20;
}
.boton-blok {
    display: block;
}
.ver-todo {
    display: flex;
    justify-content: end;
}
.img-contacto{
    background-image: url(../img/26.jpg);
    height: 40rem;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    }
    .text-contacto{
      flex: 10;
      color: #d1dfd5;
    }
    .text-contacto p{
    font-size: 2rem;
    }


.contenido-nosotros blockquote{
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    padding-top: 2rem;
}
label{
    display: block;
}
/*contacto.html*/
.contenedor-contacto{
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}
legend {
    font-size: 2rem;
    color: #8a8a8a;
}
label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}
input:not([type="submit"]), textarea, select {
    padding: 1rem;
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: #aaa6a5;
    border: none;
    border-radius: 0.7rem;
    margin-bottom: 2rem;
}
textarea{
    height: 8rem;
}
form p {
    color: blue;
    margin: 2rem 0.5rem 0;
}
.forma-contacto-pago {
    max-width: 30rem;
    display: flex;
}
.menu-pegado{
    
}

.img{
    flex-basis: calc(33.3% - 1rem);
  
    border-color: #25942e;
    border-width: 10px;
    background-color: #3b0909;
}

.img-contactenos{
    background-image: url(../img/54.jpg);
    height: 60rem;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    }









    /* GLOBALES */
* {
	margin:0;
	padding:0;
}
html {
    font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	font-family:helvetica, arial, sans-serif;
}

/* REUTILIZABLES */
.contenedor {
	max-width:110rem;
	margin:auto;
}

/* _______________________BANNER - Portada */

.portada{
	position: relative;
	width: 100%;
	height: calc(100vh - 5rem);
	background-color: #F5F5F5;
	background-size: cover;
	background-position: center;
	transition: all .3s ease-out;
	background-image: url('../assets/img/2.jpg');
	animation: portada 20s infinite linear;
}
.portada-texto{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	color: #FFF;
	background-color: rgba(0, 22, 40, .5);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.portada-texto h1{
	margin: 0;
	padding: 0;
	padding-bottom: 3rem;
	font-size: 4rem;
	text-align: center;
}
.portada-texto a{
	text-decoration: none;
	color: #FFF;
	padding: 1rem 2rem;
	border: 1px solid #FFF;
	text-transform: uppercase;
	transition: all .3s ease-in-out;
}
.portada-texto a:hover{
	background-color: #fff;
	color: #333;
}
@keyframes portada{
	0%{
		background-image: url('../img/90.jpg');
	}
	20%{
		background-image: url('../img/90.jpg');
	}

	21%{
		background-image: url('../img/91.jpg');
	}
	40%{
		background-image: url('../img/91.jpg');
	}

	41%{
		background-image: url('../img/98.jpg');
	}
	60%{
		background-image: url('../img/98.jpg');
	}
	
	61%{
		background-image: url('../img/96.png');
	}
	80%{
		background-image: url('../img/96.png');
	}

	81%{
		background-image: url('../img/100.jpg');
	}
	100%{
		background-image: url('../img/100.jpg');
	}
}

/* ____________________________MENÚ */

/* _________Inconos (fonts) descargados para uso local*/
@font-face {
	font-family: 'icomoon';
	src:  url('../fonts/icomoon.eot?bpj9qw');
	src:  url('../fonts/icomoon.eot?bpj9qw#iefix') format('embedded-opentype'),
	  url('../fonts/icomoon.ttf?bpj9qw') format('truetype'),
	  url('../fonts/icomoon.woff?bpj9qw') format('woff'),
	  url('../fonts/icomoon.svg?bpj9qw#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon' !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;   
  }
  
  .icon-home:before {
	content: "\e900";
  }
  .icon-file-text:before {
	content: "\e922";
  }
  .icon-price-tags:before {
	content: "\e936";
  }
  .icon-envelop:before {
	content: "\e945";
  }
  .icon-briefcase:before {
	content: "\e9ae";
  }
/* ____________Fin Inconos */
 
header {
    width: 100%;
    overflow: hidden;
    height: 5rem;
    position: relative;
}
 
nav {
    top:-2rem;
    position: absolute;
    left:0;
    right:0;
	margin:2rem auto;
}

.menu-fixed{
    position: fixed;
    z-index: 1000;
    top: 0;
}
 
nav ul {
	list-style:none;
}
 
nav > ul {
	display:table;
	width:100%;
	background:rgb(8, 8, 156);
}
 
nav > ul li {
	display:table-cell;
}
 
nav > ul li a {
	color:hsl(120, 23%, 92%);
	display:block;
	line-height:2rem;
	padding:2rem;
	position: relative;
	text-align:center;
	text-decoration:none; 
	-webkit-transition: all .3s ease;  /* Con Genrador de CSS -> transition */
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
 
nav > ul > li > ul > li a:hover {  
	background:#5da5a2;
}
 
nav > ul > li > a span {    
	background:#174459;
	display:block;
	height:100%;
	width:100%;
	left:0;
	position:absolute;
    top:-5.5rem;
	-webkit-transition: all .3s ease; /* Generador de CSS -> transition */
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
 
nav > ul > li > a span .icon {  
	display:block;
	line-height:6rem;
}
 
nav > ul > li > a:hover > span { 
	top:0;
}
 
/*Colores para cada enlace*/
nav ul li a .menu1 {
	background:#0e5061;
}
 
nav ul li a .menu2 {
	background:#5da5a2;
}
 
nav ul li a .menu3 {
	background:#f25724;
}
 
nav ul li a .menu4 {
	background:#174459;
}
 
nav ul li a .menu5 {
	background:#37a4d9;
}

/* _________________________SECTION */
.servicios {
    background: #1e1e1f;
}

.cont-servicios {
	width: 90%;
    margin: auto;
    overflow: hidden;
    padding: 6rem 0;
}

.cont-servicios>.titulo{
	text-align: center;
	font-size: 3rem;
}

.cont-especialidad {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5rem;
    justify-content: space-around;
}

.especialidad {
    width: 25%;
    background: #fff;
    margin-bottom: 3rem;
    border-radius: 1rem;
    padding: 10rem 3rem;
    transition: 0.5s;
}

.especialidad:hover {
    box-shadow: 0 4px 1rem rgba(17, 29, 48, .26);
}

.especialidad>h3 {
    font-size: 2.4rem;
    margin-top: 3rem;
}

.especialidad>p {
    font-weight: 100;
    color: #5D6678;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}

.especialidad>a {
    color: #5D6678;
    font-weight: 400;
    text-decoration: none;
}

.especialidad>a:hover {
    color: #ff7f7f;
    transition: color .5s;
}

/* _______________MAIN */
/*.fondo-main{
	background-color: #ffd3c5;
}*/

.text-img-main{
    width: 100%;
    height: 40rem;
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.text-img-main>img {
    width: 80%;
	animation: ease-in animat 1s;
	border-radius: 1rem;
}

.texto-main{
	font-size: 2.5rem;
	padding: 0 3rem;
}

.text-img-main p {
    font-weight: 100;
    margin-top: 1.4rem;
    color: #5D6678;
}

.text-img-main a {
    margin: 2.8rem 0 0 0;
    width: 13rem;
    display: inline-block;
    background: #0a022b;
    text-align: center;
    color: #fff;
    padding: 1.2rem 0;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.4rem;
    border-radius: 5px;
    box-shadow: 0 1rem 3rem rgba(172, 98, 37, 0.46);
}

/* ____________________________ARTICLE */
article {
	background:url(../img/30.jpg); 
	background-repeat:no-repeat; 
	background-size:cover; 
	background-attachment: fixed; 
	padding: 3rem 0;
}
 
.articulos {
/*	background:rgba(219, 215, 215, 0.9);*/
	padding:2rem;
	margin-top: 2rem;
	color:rgb(248, 245, 245);
	border-radius: 1.5rem;
	box-shadow:0 5px 5px 3px rgba(0, 0, 0, 0.5);
}
 
.articulos h2 {
	color:#fff;
}
 
.articulos hr {
	background:#0e0d0d;
	height: 0.5rem;
	border:none;
}
 
.articulos p {
	line-height: 2.5rem;
}
 
.articulos h2, article p, article hr {
	margin-bottom: 2rem;
}

/* ________________________-SECTION */
/* Se reutilizó los estilos para main */


/* _______________FOOTER */
footer {
    background: #111113f6;
    padding: 3rem 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
}

.footer {
    width: 20%;
	text-align: center;
}

.footer h4 {
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.footer a {
    display: block;
    text-decoration: none;
    color: #ffffff;
	font-weight: 300;
	font-size: 1.8rem;
    transition: color .3s ease-in-out;
    margin-bottom: 1rem;
}

.footer a:hover {
    color: #ff7f7f;
}

.footer img {
	padding-top: 2rem;
    width: 50%;
}








.social-media{
	display: flex;
	justify-content: space-between;
	padding: 0 3.5rem;
}

.social-media i {
    font-size: 2rem;
    display: inline-block;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 3.8rem;
    height: 3.8rem;
    line-height: 3.6rem;
    cursor: pointer;
    margin-top: 2rem;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 0.5rem;
}

.social-media i:hover {
    color: #fff;
    background-color: #ff7f7f;
    border-color: #ff7f7f;
}
/*---------------*/
.porta{
	position: relative;
	width: 100%;
	height: calc(100vh - 5rem);
	background-color: #F5F5F5;
	background-size: cover;
	background-position: center;
	transition: all .3s ease-out;
	background-image: url('../assets/img/2.jpg');
	animation: portada 20s infinite linear;
}
.porta-texto{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	color: #FFF;
	background-color: rgba(0, 22, 40, .5);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.porta-texto h1{
	margin: 0;
	padding: 0;
	padding-bottom: 3rem;
	font-size: 4rem;
	text-align: center;
}
.porta-texto a{
	text-decoration: none;
	color: #FFF;
	padding: 1rem 2rem;
	border: 1px solid #FFF;
	text-transform: uppercase;
	transition: all .3s ease-in-out;
}
.porta-texto a:hover{
	background-color: #fff;
	color: #333;
}

@keyframes porta{
	0%{
		background-image: url('../img/31.jpg');
	}
	20%{
		background-image: url('../img/31.jpg');
	}

	21%{
		background-image: url('../img/20.jpg');
	}
	40%{
		background-image: url('../img/21.jpg');
	}

	41%{
		background-image: url('../img/4.jpg');
	}
	60%{
		background-image: url('../img/10.png');
	}
	
	61%{
		background-image: url('../img/10.jpg');
	}
	80%{
		background-image: url('../img/fg.jpg');
	}

	81%{
		background-image: url('../img/w.jpg');
	}
	100%{
		background-image: url('../img/w.jpg');
	}
}
