* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

.title {
    margin-top: 10px;
    text-align: center;
    font-size: 8vh;
    color: #fff;
}

.cb{
    color: #000;
}

body {
    background-color: #565656;
}

::-webkit-scrollbar {
    display: none;
}

nav {
    height: 10vh;
    background: #000;
    padding: 0 20px;
}

nav img {
    width: 40%;
}

nav ul {
    list-style: none;
}

nav li {
    display: inline;
}

.contenedor1 {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.contenedor2 {
    width: 10%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
}

.dropdown-menu {
    top: 10%;
    left: 0;
    height: 12%;
    width: 12%;
    position: absolute;
    cursor: pointer;
    background: #000;
}

.dropdown-menu img {
    width: 33%;
    padding-left: 19%;
    padding-top: 5%;
}

.activo{
    height: 100vh;
    width: 100vw;
    left: 0;
    z-index: 2;
    position: absolute;
    background: #565656;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cerrar-menu{
    cursor: pointer;
}

.activo ul{
    list-style: none;
}

.activo a{
    font-size: 5vh;
    line-height: 100px;
}

#cerrar-menu{
    position: absolute;
    top: 5%;
    left: 80%;
}

a {
    text-decoration: none;
    color: #c6c6c6;
    font-size: 2.5vw;
    margin: 0 1vw;
    transition: color 0.3s linear;
}

a:hover {
    color: #ffffff;
    transition: color 0.3s linear;
}

.home {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home img {
    width: 50%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.s1 {
    height: 98%;
}

.swiper-slide img {
    display: block;
    width: 90%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #fff;

}

.historia {
    height: 100vh;
    color: #fff;
}

.historia-seccion {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 90%;
}

.historia-contenedor {
    height: 90%;
    width: 45%;
    background: #000;
    border-radius: 80px;
    font-size: 3.1vh;
}

.historia-contenedor h4 {
    padding: 20px 0;
    font-size: 5vh;
    text-align: center;
}

.historia-contenedor hr {
    width: 80%;
    margin: auto;
}

.historia-contenedor p {
    padding: 50px 80px;
    text-align: justify;
}

.servicios {
    font-size: 1.5vw;
    margin: 50px 20px 0 15%;
}

.valores {
    height: 100vh;
}

.cards {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 5%;
    flex-wrap: wrap;
}

.card {
    color: #fff;
    text-align: justify;
    height: 80vh;
    width: 20%;
    margin: 0 0%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #000;
    border-radius: 16px;
    box-shadow: -15px 10px 5px #00000043;
   
}

#card-ventajas h3 {
    font-size: 2vw;
}

.card h3 {
    font-size: 3vw;
    width: 100%;
    text-align: center;
    background: #7a7a7a;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    text-shadow: -5px 5px 5px rgba(0, 0, 0, 0.774);
}

.card img {
    margin: 20px 0;
    height: 30%;
    width: 60%;
}

.card p {
    font-size: 2.5vh;
    padding: 0 25px;
}

.card ul {
    font-size: 0.9vw;
    padding: 0px 20px 0 40px;
}

.card li{
    margin-bottom: 10px ;
}

.ubicacion {
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.ubicacion iframe {
    width: 80%;
    height: 70%;
    border: 0;
    margin-top: 10px;
}

.ubicacion p {
    color: #fff;
    background: #000;
    width: max-content;
    margin-top: 3%;
    padding: 5px 50px;
    font-size: 4vh;
    font-weight: bolder;
}

.presencia {
    height: 100vh;
    color: #fff;
}

.mapa {
    display: flex;
}

.mapa img {
    width: 50%;
    height: 100%;
    padding-left: 50px;
}

.estados {
    width: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    
}

.estado {
    width: 70%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.estado p {
    font-size: 2.5vw;
    margin-left: 20px;
}

.estado img {
    width: 20%;
}

.gallery {
    height: 100vh;
}

.slider-fullscreen {
    height: 90vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 70%;
    max-width: 1200px;
    height: 80%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.galeria {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.galeria img {
    width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.arrow {
    color: #000;
    cursor: pointer;
}

.clientes {
    height: max-content;
    background: #d1d1d1;
}

.clientes-contenedor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    column-gap: 50px;
}

.clientes-contenedor img {
    width: 90%;
    height: 200px;
    object-fit: contain;
}

.contacto {
    color: #fff;
    height: 100vh;
}

.contacto img{
    width: 10vw;
    background: #000;
    padding: 20px;
    border-radius: 25px;
}

.contacto-container{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 90%;
}

.info{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
}

.datos{
    display: flex;
    align-items: center;
    background: #000;
    padding: 20px;
    border-radius: 25px;
}

.datos img{
    width: 8vw;
}

.datos p{
    margin-left: 0px;
}

.datos a{
    font-size: 2.5vw;
}

#texto-correo{
    font-size: 1.5vw;
}

.no-seleccionable {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hide {
    display: none;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons.md-12 {
    font-size: 12px;
}

.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

.material-icons.md-60 {
    font-size: 60px;
}

.material-icons.md-72 {
    font-size: 72px;
}

.material-icons.-cw {
    color: #fff
}

.material-icons.-cb {
    color: #000
}

/* responsive */

@media (max-width:1200px){
    .swiper{
        padding-top: 1vh;
    }
    .s1{
        height: 95%;
    }

    .dropdown-menu{
        height: 5%;
    }
    .home img{
        width: 100%;
    }
    .historia-contenedor{
        height: 70%;
        border-radius: 50px;
    }

    .historia h4{
        font-size: 4vw;
        padding: 20px 20px;
    }

    .historia p{
        padding: 20px 40px 40px 40px;
        font-size: 2.5vw;
    }

    .servicios{
        font-size: 2.2vw;
    }

    .cards{
        gap: 0px 0px;
    }

    .card{
        margin: 0 20px;
        flex: 42%;
        height: 45%;
    }

    .card h3{
        font-size: 5vw;
    }

    .card p{
        font-size: 2.1vw;
        padding-bottom: 20px;
    }
    
    #card-ventajas h3{
        font-size: 4vw;
        padding: 5px 0;
    }
    .card ul{
        font-size: 1.5vw;
        padding-bottom: 20px;
    }

    
    .ubicacion{
        justify-content: space-evenly;
    }
    
    .ubicacion iframe{
        height: 50%;
    }

    .ubicacion p{
        font-size: 3vw;
    }


    .mapa{
        justify-content: center;
        align-items: center;
        height: 90%;
    }

    .mapa img{
        max-height: 50%;
    }

    .estados img{
        width: 30%;
    }
    .estados{
        align-items: center;
        justify-items: center;
    }
    .estados p{
        margin-top: 5%;

        font-size: 3vw;
    }

}

@media (max-width: 505px){
    nav{
        height: 5vh;
    }
    nav img{
        width: 70%;
    }

    .swiper{
        margin-top: 10%;
    }

    .home{
        height: 95vh;
    }

    .s1{
        height: 70%;
    }

    .dropdown-menu{
        top: 5%;
        height: 5%;
        width: 18%;
    }

    .dropdown-menu img{
       width: 40%;
    }

    .home img{
        width: 100%;
    }

    .historia-seccion{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .historia-contenedor{
        height: fit-content;
        width: 80%;
    }
    
    .historia h4{
        font-size: 6.5vw;
        padding: 20px;
    }

    .historia p{
        padding: 20px 40px 40px 40px;
        font-size: 3.7vw;
    }

    .servicios{
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 2.5vw;
        margin-top: 0;
    }

    .valores{
        height: fit-content;
    }

    .card{
        margin:20px;
        height: fit-content;
        padding-bottom: 20px;
    }

    .card h3{
        font-size: 9vw;
    }

    .card img{
        width: 50%;
    }

    .card p{
        font-size: 4vw;
    }

    .card li{
        font-size: 4vw;
    }

    #card-ventajas h3{
        font-size: 7vw;
    }

    .ubicacion{
        justify-content: space-evenly;
    }
    
    .ubicacion iframe{
        height: 50%;
        width: 90%;
    }

    .ubicacion p{
        font-size: 3.5vw;
        padding: 10px;
    }

    .presencia{
        height: fit-content;
    }

    .mapa{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mapa img{
        width: 90%;
        margin: 50px 0 0 0;
        padding: 0;
    }
    .estados img{
        width: 40%;
        height: 40%;
        margin: 0;
    }
    
    .estados{
        width: 100vw;
        margin: 0;
        padding-top: 5%;
        align-items: center;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .estados p{
        font-size: 3vw;
        margin-left: 15px;
    }

    .gallery{
        height: 50vh;
    }
    .slider-fullscreen{
        height: 70%;
    }

    .clientes-contenedor{
        column-gap: 15px;
        padding: 20px 0;
        row-gap: 15px;
        grid-template-columns: repeat(3, 1fr);
    }

    .clientes-contenedor img{
        height: 100%;
    }

    .contacto img{
        width: 20vw;
        padding: 15px;
    }

    .contacto-container{
        justify-content: space-evenly;
    }

    .datos{
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 10px 20px;
    }

    .datos img{
        width: 15vw;
        padding: 0;
        margin: 0 0 15px 0;
    }

    .datos p{
        margin: 0;
    }

    .datos a{
        font-size: 5vw;
    }


    #texto-correo{
        font-size: 2vw;
    }

}

/* animacion de entrada */

.fadeIn{
    animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
