*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height: 100%;
    font-size: 62.7%;
}
body{
    min-height: 100%;
    background-color: #EFEFEF;
}

/* header - cabecera */
header{
    padding-top: 1%;
    position: fixed;
    width:100%;
    display: grid;
    grid-template-columns: 20% 50% 30%;
    grid-template-rows: 100%;
    height: 12%;
    background-color: #EFEFEF;
}
header .imagen_logo{
    width: 15vw;
    height: 100%;
    text-align: end;
    margin-top: 5%;
    margin-left: 5%;
}
.imagen_logo >a img{
    max-width: 100vw;
    min-width: 18vw;
    max-height: 10vh;
    min-height: 10vw;
}
header h1{
    margin-left: -1%;
    text-align: start;
    align-self:center;
    font-size: 2rem;
    font-weight: bold;
}
header h1 a{
    text-decoration: none;
    color: black;

}
header button{
    position: fixed;
    right: 5%;
    top: 3%;
    border: none;
    background: none;
}
.nav-toggle>span{
    font-size: 4rem;
}

nav >ul{
    flex-direction: column;
    align-items: center;
    position: fixed;
    top:13%;
    width: 100%;
    background-color: #4582A8;
    left: 100%;
    transition: left 0.3s;
    height: calc(100% - 13%);
}
nav li{
    padding: 3%;
    margin-top: 10%;
    list-style: none;
    text-align: center;
}
nav li>a{
    text-decoration: none;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}
nav li>a:hover{
    border-bottom: .2em solid white;
    text-decoration: line-through #4582A8;
}
.inicio{
    border-bottom: .2em solid white;
}
.nav-menu_visible{
    left: 0;
}

/* main - contenido principal */
main{
    padding-top: 25%;
}
main h2{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2%;
    color: #004AAD;
    text-decoration: underline;
}
figure{
    width: 90%;
    margin: 0 auto;
}
figure >img{
    width: 100%;
    border-radius: .7em;
}

.seccion2{
    text-align: center;

}
.seccion2 p{
    text-align: justify;
    margin: 3% 5%;
    font-size: 1.5rem;
}



/* tablet */
@media (min-width:768px) and (max-width:1023px){
    header{
        height: 15%;
    }
    nav >ul{
        top:15%;
        height: calc(100% - 15%);
    }

    header .imagen_logo{
        margin-top: 5%;
        margin-left: 13%;
    }

    header h1{
        text-align: start;
        align-self:center;
        margin-left: 0;
        font-size: 5rem;
    }
    .nav-toggle>span{
        font-size: 6rem;
    }
    /* main - contenido principal */
main{
    padding-top: 22%;
}
main h2{
    font-size: 4.5rem;
}

figure >img{
    height: 45vh;
}

.seccion2 p{
    font-size: 2rem;
}
}


/* pc */
@media (min-width:1024px){
    /* header - cabecera */
    header{
        margin-top: 3%;
        display:grid;
        height: 15%;
        grid-template-columns: 20% 28% 52%;
    }
    header .imagen_logo{
        margin-top: 0;
        margin-left: 25%;
    }
    .imagen_logo >a img{
        margin-top: -7%;
        max-width: 10vw;
        min-width: 10vw;
        min-height: 10vw;
    }
    header>h1{
        font-size: 5rem;
    }

    .nav-toggle{
        display: none;
    }
    nav{
        position: relative;
        align-self: center;
    }
    nav ul{
        position: absolute;
        left: 0;
        padding:0;
        margin: 0;
        height: 0;
    }
    nav ul >li{
        background: none;
        right: 0;
        padding:0;
        margin-top: -3%;
        margin-right: 5%;
        display: inline-block;
    }
    nav ul li>a{
        font-size: 3rem;
        color: black;
        font-weight: bold;
    }
    .inicio{
        color: #004AAD;
        border-bottom: .2em solid #004AAD;
    }
    nav li>a:hover{
        color: #004AAD;
        border-bottom: .2em solid #004AAD;
    }

    /* main - contenido principal */
main{
    padding-top: 13%;
}
.seccion_container{
    display: flex;
    padding: 0 5%;
}
main h2{
    font-size: 5rem;
    font-weight: bold;
}
.seccion1{
    width: 60%;
    height: 50vh;
}
figure{
    width: 90%;
    /*     */
    height: 100%;
}
figure >img{
    width: 100%;
    height: 60vh;
}

.seccion2{
    width: 40%;
    text-align: center;
    margin-top: -1%;
}
.seccion2 p{
    text-align: justify;
    margin: 2% 5%;
    font-size: 3rem;
}
}



