@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;800&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

body{
    min-width: 400px;
}

/*Cabecero*/

.header{
    background-color: #002f6f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 10%;

}

.header nav{
    background-color: none;
}

.header .logo{
    cursor: pointer;
}

.header .logo img{
    height: 70px;
    width: auto;
    transition: all 0.5s;
}

.header .logo img:hover{
    transform: scale(1.1);
}

.header .nav-links{
    list-style-type: none;
    
}

.header .nav-links li{
    display: inline-block;
    padding: 0 20px;
}

.header .nav-links li:hover{
    transform: scale(1.1);
}

.header .nav-links a{
    font-size: 700;
    color: #e2f1f8;
}

.header .nav-links li a:hover{
    color: #fc3404 ;

}

.menu{
    display: none;
}

.header .btn button,
.header .menu button{
    font-weight: 700;
    color: #1b3039;
    padding: 9px 25px;
    background: #eceff1;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.header .btn button:hover,
.header .menu button:hover{
    background-color: #e2f1f8;
    color: #1b3039;
    transform: scale(1.1);
}



@media screen and (max-width: 1095px){
    .nav-links, .btn{
        display: none;
    }

    .logo img{
        padding: 10px;
    }

    .menu{
        display: inherit;
    }


}


    /*Nav*/

    .header a{
        text-decoration: none;

    }

    .header .overlay{
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        background-color: rgba(33, 49, 63, .95);
        overflow: hidden;
        transition: all 0.3s ease 0s;
    }

    .header .overlay .overlay-content{
        display: flex;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header .overlay a{
        padding: 15px;
        font-size: 36px;
        display: block;
        transition: all 0.3s ease 0s;
        font-weight: 700;
        color: #eceff1;
    }

    .header .overlay a:hover,
    .header .overlay a:focus{
        color:#fc3404 ;
    }

    .header .overlay .close{
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 65px;
    }

    @media  screen and (max-height:450px) {

        .header .overlay a{
            font-size: 20px;
        }

        .header .overlay .close{
            font-size: 40px;
            top: 15px;
            right: 35px;
        }
        
    }








/*Footer*/

.footer{
    width: 100%;
    background-color: #002f6f;
    bottom: 0;
}

.footer .caja1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3 , 1fr);
    grid-gap: 50px;
    padding: 45px 0;
}

.footer .caja1 figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .caja1 figure img{
    width: 250px;
}

.footer .caja1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.footer .caja1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}

.footer .caja1 .redes a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #1b3039;
    text-align: center;
    transition: all 300ms ease;
}

.footer .caja1 .redes a:hover{
    color: #296db7;
}

.footer .caja2{
    background-color: #1b3039;
    padding: 15px 10px;
    text-align: center;
    color: #fff;

}

.footer .caja2 small{
    font-size: 15px;
}

@media  screen and (max-width:1000px) {
    .footer .caja1{
        width: 90%;
        display: grid;
        grid-template-columns: repeat(1 , 1fr);
        grid-gap: 30px;
        padding: 35px 0;
    }
    
}