html{
    box-sizing: border-box;
    font-size: 62.5%; /**Reset para REMS - 62.5% = 10px de 16px**/
    
}

*,*:before, *:after{
    box-sizing: inherit;
}


body{
    font-family: sans-serif;

}

h1 { font-size: 4.8rem;}
h2 { font-size: 4rem; line-height: 4rem;}
h3 { font-size: 3.2rem;}
h4 { font-size: 2.8rem;}


img{ max-width: 100%;}

/**UTILIDADES**/

.centrar-texto{
    text-align: center;
}    

.no-margin {
    margin: 0;
}


.contenedor {
    width: 95%;
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
    
}


.seccion {
    
    margin-bottom: 2rem;
}

.centrar-texto {
    text-align: center;
}

.contenido-centrado{
    max-width: 80rem;
}

/**HEADER**/

.site-header{
    padding: 0 0 3rem 0;

}

.contenedor-header{
    padding: 0 0 2rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.site-header h1{
    color: #ffffff;
    font-size: 8rem;

}


.barra{
    background-color:#ffffff;
    padding: 2rem

}

.navegacion-principal a{
    text-decoration: none;
    font-size: 2.4rem;
    color: black;
    display: block;
    text-align: center;
    padding: 2rem;
}


@media (min-width:768px){
    .navegacion-principal a{
        display: inline-block;
        margin-right: 2rem;
    }
    
    .navegacion-principal{
        text-align: right;
    }
}
   

.navegacion-principal a:hover{
    background-color: #00B8E4;
    color: #ffffff;
}

.navegacion-principal{
    max-height: 0;
    transition: .5s;
}    
    
/**NAVEGACION**/

/*
.barra{
    padding-top: 3rem;
    
}

@media (min-width: 768px){
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
        
    }
    
}


.navegacion-principal a{
    text-align: center;
    display: block;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem
}

.navegacion-principal a:hover{
    color: #00B8E4;
}

@media (min-width:768px){
    .navegacion-principal a{
    display:inline-block;
    margin-right: 2rem;
       
    }
    
    .navegacion-principal a:last-of-type { margin: 0;}
}

*/

.site-header.inicio {
    background-image: url(../img/London-England_2560x1600.jpg);
    background-position: center center;
    background-size: cover;
    height: 100vh;
    min-height: 60rem;
}



/**CONTENEDORES PRINCIPALES**/

@media (min-width:768px){
    .contenido-principal{
    display: flex;
    justify-content: space-between;
    
    }
}    



.entrada1{
    padding: 2rem;
    font-size: 1.5rem;
}


.boton{
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    margin-top: 2rem;
    display: inline-block;
    text-align: center;
    border: none;
    display: block;
    flex: 0 0 100%;
    
}

@media (min-width: 768px){
    .boton{
        display: inline-block;
        flex: 0 0 auto;
        
    }
}

.boton-amarillo {
    background-color: #00B8E4;
}


/**SEGUNDA SECCION**/

.contenido-secuendario, .sidebar{
    padding: 2rem;
}


@media (min-width: 768px){
    .contenido-secuendario{
    width: 70%;
    float: left;
    padding: 0 6rem 0 0;
}


.sidebar{
    width: 30%;
    float:right;
    padding: 0;
    }

}

/**LIMPIAR LOS FLOATS**/

.clearfix::after {
    content: '';
    clear: both;
    display: block;
}



/**ENTRADAS DE BLOG**/


.entrada{
    margin: 3.2rem 0;
}



.entrada img {
    display: block;
}

@media (min-width: 480px){
    .entrada img {
    width: 30rem;
    float: left;
    margin: 0 30px 0 0;    
}
}

.entrada p, .entrada1 p{
    text-align: justify;
}

p {
    font-size: 1.6rem;
    line-height: 2;
}

.boton1 {
    display: block;
    padding: 1rem 6rem;
     margin-top: 1rem;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    background: #00B8E4;
    text-align: center;
}

@media (min-width:768px){
    .boton1 {
    padding: 1rem 6rem;
    display: inline-block;
    margin-top: 1rem;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    background: #00B8E4;
    transition: background-color .3s ease-in-out;
  }
}



.boton1:hover{
  background-color: #086c84;  
}

/**SIDEBAR**/

.sidebar ul {
    list-style: none;
    padding: 0;
    background-color: #00B8E4;

}



.sidebar ul li {
    margin-bottom: 2rem;

    text-align: center;

}


.sidebar ul li:hover{
    background-color: #ffffff;
}


.sidebar ul li a{
    display: block;
    font-size: 1.8rem;
    text-decoration: none;
    padding: 2rem;
    color: #ffffff;
}



.sidebar ul li a:hover{
    color: #00B8E4;
    display: block;
    padding: 2rem;
} 

/**FOOTER**/


.footer-sitio{
    background-color: #00B8E4;
    padding: 2rem;
    text-align: center;
}

.footer-sitio h2{
    color: #ffffff;
    font-size: 2rem;
}

.nosotros{
    color: #ffffff;
}

@media (min-width: 768px){
    .footer-sitio .nosotros{
        float: left;
        width: 30%;
        text-align: left;
    }
    .footer-sitio .menu{
        float: right;
        width: 50%;
        text-align: right;
    }
}


.navegacion-principal1 a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem
}

.navegacion-principal1 a:last-of-type {
    padding-right: 0;
}

@media (min-width: 768px) {
    .footer-sitio .nosotros{
        float: left;
        width: 30%;
}
    .footer-sitio .menu{
        float: right;
        float: 50%;
        text-align: right;
    }
}

.copyright{
    background-color: #00809f;
    color: #ffffff;
    margin: 0;
    text-align: center;
    padding: 1rem;
}


/**NAVEGACION MOBILE**/

@media (min-width: 768px) { 
    .mobile-menu, .cerrar {
        
        display: none!Important;
  }
    .navegacion-principal{
        max-height: unset;
    }    
}



.mobile-menu{
    color: #ffffff;
    text-decoration: none;
    font-size: 2.8rem;
    text-align: center;
    display: block;
    padding: 2rem 0;
    background-color: #00B8E4;
}

.barra{
    overflow: hidden;
}


#nav:target{
    max-height: 80rem;
}

.Khristoffer {
    display: flex;
    flex-direction: row-reverse;
}

.Khristoffer img{
    width: 11rem;
    padding: 2rem;
    border-radius: 30px;
    cursor: pointer;
    object-fit: cover;
    

}

