@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200&display=swap');

*, *:before, *::after{
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
body{
    min-width: 350px;
    max-width: 2800px;
}
.menu{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #154360;
    height: 75px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 5px 0 10px rgba(0, 0, 0,.6);
}
.logo a{
    text-decoration: none;
    color: #fff;
    font-size: 35px;
    padding: 0 80px;
    font-weight: bold;
    user-select: none;
}

.menu-items{
    display: flex;
    list-style: none;
    margin-right: 30px;
}
.menu-items li{
    border-radius: 3px;
    margin: 0 5px;
    transition: all ease 1s;
}
.menu-items li a{
    border-right: 1px solid white;
    padding: 7px 13px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    text-transform: uppercase;
    color:#fff;
    user-select: none;
}
.menu-items li:hover, li:active{
    border-radius: 7%;
    background-color: #2471A3;
    transition: all ease 1s;
}
.btn-menu{
    margin-right: 30px;
    font-size: 25px;
    color:black;
    cursor: pointer;
    display: none;
}
ul.show{
    top: 65px;
}
@media screen and (max-width: 952px){
    .logo{
        font-size: 30px;
        padding-left: 35px;
    }
    .menu-items li a{
        font-size: 16px;
    }
}
@media screen and (max-width: 858px){
    .menu{
        height: 65px;
        position: fixed;
        z-index: 1;
    }
    .btn-menu{
        display: inline-flex;
    }
    .menu-items{
        position: fixed;
        width: 100vw;
        height: calc(100% - 65px);
        background-color: #414141;
        opacity: 90%;
        top: -100vh;
        text-align: center;
        transition: all .4s;
        flex-direction: column;
    }
    .menu-items li{
        margin: 30px 0 0 0;
        line-height: 30px;
    }
    .menu-items li:hover{
        background: none;
    }
    .menu-items li a{
        font-size: 20px;
        color: #fff;
        font-weight: bold;
    }
    .menu-items li a:hover{
        color:cornflowerblue;
    }
    .logo{
        font-size: 25px;
        padding-left: 35px;
    }
}
@media screen and (max-width: 858px) and (orientation: landscape){
    .menu-items li{
        margin: 5px 0 0 0;
    }
    .menu-items{
        overflow: scroll;
        height: calc(100% - 65px);
    }
}


.contenedor1{
    font-family: 'Kanit', sans-serif;
    background: url(../img/imagen2.jpg);
    background-size: cover;
    width: 100%;
    height: 30%;
    padding-bottom: 3%;
}

.contenedor1 .image{
    max-width: 15%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
}

.contenedor1 .texto{
    z-index: 0;
    position: relative;
    background-color: #2471A3;
    opacity: 90%;
    color: white;
    margin-left: 15%;
    margin-right: 10%;
    width: 70%;
    font-family: 'Kanit', sans-serif;
    text-align: justify;
    padding: 3%;
    transition: all ease 0.7s;
}


.contenedor2{
    margin: auto;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Kanit', sans-serif;
    background-color: #154360;
    width: 100%;
}

.contenedor2 .card{
    max-width: 330px;
    max-height: 430px;
    border-radius: 8px;
    background-color: white;
    margin: 20px;
    text-align: center;
    overflow: hidden;
    transition: all ease 0.25s;
    box-shadow: 0 2px 2px ;
}

.contenedor2 .card:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px;
}

.contenedor2 .card img{
    width:330px;
    height: 220px;
}

.sub{
    text-shadow: 1px 1px 2px black;
    color: white;
    text-decoration: none;
    padding-top: 15px;
}

.txt{
    text-shadow: 1px 1px 2px black;
    color: white;
    padding-top: 5px;
}
footer{
    background: #2471A3;
    height: auto;
    width: 100%;
    font-family: 'Kanit', sans-serif;
    padding-top: 40px;
    color: #fff;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h3{
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 18px;
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.socials li{
    margin: 0 10px;
}
.socials a{
    font-size: 23px;
    text-decoration: none;
    color: #fff;
}
.socials a i{
    font-size: 1.6rem;
    transition: all ease .1s;
}
.socials a #whatsapp{
    color: #2dc653;
    font-size: 1.8rem;
}
.socials a #correo{
    color: #ffd60a;
}
.socials a:hover i{
    font-size: 32px;
}
.socials a:hover #whatsapp{
    font-size: 36px;
}
.socials a:hover{
    color: #f0f7f4;
    font-size: 25px;
}
.footer-bottom{
    background: #154360;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
    user-select: none;
}
@media screen and (max-width: 858px){
    .contenedor2 .card:hover{
        transform: none;
    }
}
@media screen and (max-width: 460px){
    .footer-content p{
        font-size: 14px;
    }
    .socials a{
        font-size: 14px;
    }
    .socials a i{
        font-size: 18px;
    }
    .socials a:hover #correo{
        font-size: 15px;
    }
    .socials a:hover #whatsapp{
        font-size: 15px;
    }
    .socials a:hover{
        color: #f0f7f4;
        font-size: 15px;
    }
}
