@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,300&family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 80px 0;
    --color-primary: #004d77;
    --color-secondary: #009845;
    --color-bag: #fafafa;
    --aling-title: center;
    --box-shadow: 0 0 12px rgba(0,0,0, .2);
}

body{
    font-family: 'Lato', sans-serif;
}
a{
    text-decoration-color: none;
    text-decoration-line: none;
}
.contenido, .menu-hamburger, .cerrar, .contenedor{
    display: none;
}
.container{
    width: 100vw;
    max-width: 2500px;
    overflow: hidden;
    margin: 0 auto;
}
.hero{
    position: fixed;
    z-index: 100;
}
.hero__container{
    display: flex;
    height: 15vh;
    background-color: var(--color-primary);
    color: var(--color-bag);
    justify-content: space-between;
}
.hero__container a{
    color: var(--color-bag);
    transition: all 0.3s;
}
.hero__container a:hover{
    transform: scale(1.2);
    color: var(--color-secondary);
}
.logoheader__img{
    height: 3vw;
    height: 4.2vw;
    margin: auto 2vw;
}
.hero__container h1{
    font-size: 1.5vw;
    margin: 1vw auto;
}
.menu__div{
    display: flex;
    width: 36vw;
    justify-content: space-around;
}
.menu__div a{
    margin: auto;
}
.logoheader__div{
    margin: auto;
    margin-right: 0vw;
}
/* .carrusel__nav {
    margin-top: 6vw;
  } */
/* 
  .carrusel__div {
    display: flex;
    width: 25vw;
    height: 55vw;
  } */
  /* .carrusel__div img {
    width: 25vw;
    height: 55vw;
    object-fit: cover;
    cursor: pointer;
  } */
  /* .logos__nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 42vw;
  } */
.carrusel__nav{
    margin-top: 6vw;
}
.carrusel__div{
    display: flex;
    width: 25vw;
    height: 47vw;
}
.imageb img{
    object-fit: cover;
    width: 100%;
}
.carrusel__div img{
    width: 25vw;
    /* height: 100vw; */
    height: 47vw;
    object-fit: fill;
    cursor: pointer;
    transition: all 0.3s;
}
.carrusel__div img:hover{
    transform: scale(1.05);
}
.logos__nav{
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 36vw;
}
.logos__div{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
.logos__div a{
    background-color: var(--color-secondary);
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    margin: auto;
    margin-bottom: .5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.logos__div a:hover{
    transform: scale(1.2);
}
.logos__div i{
    font-size: 2.5vw !important;
}
.logo__div img{
    width: 85vw;
}

.imageb{
    height: 40vw;
    width: 100vw;
    object-fit: cover;
    cursor: pointer;
}
.sobre__section{
    display: flex;
    flex-direction: column;
    margin-top: 5vw;
}
.sobre__div{
    width: 90vw;
    height: 50vh;
    clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    background-color: var(--color-primary);
   /* background-image: url('../images/barra-lateral.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;

}

.sobre__div h2{
    color: var(--color-bag);
    position: relative;
    margin: auto 14vw;
    font-size: 2.2vw;
}


.txt__div{
  font-size: 1.5vw;
  width: 100vw;
  text-align: var(--aling-title);
    
}
.txt__div h3{
    width: 70vw;
    margin: 8vw auto;
    color: var(--color-secondary); 
}
.cuadros{
    display: flex;
    justify-content: space-evenly;
    margin: 5vw;
    font-size: 1.3vw;
}
.cuadro1, .cuadro2{
    background-image: url('../images/cuadro.png');
    width: 30vw;
    height: 20vw;
    background-size: contain;
    background-repeat: no-repeat;
    color: var(--color-bag);
    filter: drop-shadow(8px 8px 4px #505d91);
}
.cuadro1 h2,.cuadro2 h2 {
    margin: 3vw 8vw;
}
.footer{
    height: 20vw;
    background-color: var(--color-secondary);
}
.redes__nav{
    text-align: center;
    margin-top: 5vw;
}
 .fa-brands{
  font-size: 2vw!important;
  color: var(--color-bag);
} 
.redes__div a{
    display: inline-flex;
    background-color: black;
    width: 4vw;
    height: 4vw;
    border-radius: 3vw;
    margin-top: 3.5vw;
    flex-direction: column;
    justify-content: center;
    
}
.redes__div i {
    font-size: 2.5vw !important;
    transition: all 0.3s;
}
.redes__div i:hover{
    transform: scale(1.2);
}
.info__nav{
    text-align: center;
    color: var(--color-bag);
    margin: 2vw 10vw;
   
    
}
.info__nav a{
    color: var(--color-bag);
    text-decoration-line:underline;
   
    font-size: 1.2vw;
}
.aviso{
    transition: all 0.5s;
}
.aviso:hover{
    transform: scale(1.2);
}
.aviso-privacidad{
    font-size: 2.5vw;
    width: 90vw;
    margin: 5vw;
    color: var(--color-secondary);
}
.aviso-privacidad p {
    color: var(--color-primary);
}
.aviso-privacidad h2 {
    text-align: center;
}

@media (min-device-width:600px) and (max-device-width:1050px){
    .hero__container h1 {
        font-size: 2.4vw;
    }
    .menu__div {
        width: 50vw;
    }    
    .logoheader__img {
        height: 7vw;
    } 
    .carrusel__nav {
        margin-top: -10vw;
    }
    .logos__nav {
        bottom: 45vw!important;
    }
    .logo__div img {
        width: 90vw;
    }
    .sobre__section {
        margin-top: 10vw;
    }
    .sobre__div {
        height: 40vw;
    }
    .sobre__div h2 {
        top: 12vw;
        font-size: 3.1vw;
    }
    .txt__div {
        font-size: 2.5vw;
    }
    .cuadros {
        font-size: 1.6vw;
    }
    .cuadro1, .cuadro2 {
        width: 40vw;
    }
    .footer {
        height: 25vw;
    }
    .info__nav {
        font-size: 2.2vw;
    }
    .imageb {
        height: 75vw;
    }
    .imageb img{
        width: 100vw;
        height: 90vw;
        object-fit: cover;
    }
    /* .aviso-privacidad{
        font-size: 2.5vw;
    } */
}
@media (min-device-width:250px) and (max-device-width:599px){
    .contenedor{
        display: block;
    }
    .logoheader__div{
        margin-right: 25vw;
    }
    .slider-contenedor{
        width: 100%;
        display: flex;
    
    }
    .contenedor{
        width: 100%;
        position: relative;
        overflow: hidden; 
    
    }
    /* .miSlider{
        display: none;
        transition: 2s;
        max-height: 46vh;
    } */
    .miSlider img{
        width: 100vw;
        max-height: 70vh;
        object-fit: cover;
        vertical-align: top;
        transition: 1s;
    }
    .direcciones{
        width: 100vw;
        height: 100%;
        position: absolute;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
    }
    .direcciones a{
        color: #fff;
        display: inline-block;
        padding: 20px;
        text-decoration: none;
    }
    .direcciones a:hover{
        background: rgba(0, 0, 0, .5);
        transition: .5s;
    }
    .barras{
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    .barra{
       
        cursor: pointer;
        height: 2px;
        width: 25px;
        margin: 0 2px;
        background: #dcdde1;
        display: inline;
        margin-left: 3px;
        justify-content: center;
    }
    .active{
        background-color: #009845;
    }
    .fade{
        animation-name: fade;
        animation-duration: 1s;
    }
    @keyframes fade {
        from{opacity: .4;}
        to{opacity: 1;}
    }
    .contenido-img{
        width: 100vw;
        display: flex;
        /* height: 50vw; */
    }
    .slider-contenedor {
        width: 100%;
        display: flex;
        height: 60vh;
    }
    .contenedor {
        height: 60vh;
    }
    .contenido-img {
        width: 100vw;
        display: flex;
        height: 80vh;
    }
    
    /* hamburger */
    .carrusel__section .car{
    display: none;
    }
    .contenido, .menu-hamburger, .cerrar {
    display: block;
    }
    .contenido img {
        margin-left: 4vw;
        margin-top: 4vw;
        transition: all 0.5s;
    } 
    .cerrar img{
        margin-top: 4vw;
        transition: all 0.5s;
    }
        .cerrar {
        position: absolute;
        margin-left: 2vw;
    }
    .menu-hamburger.is-active {
        right: 0;
        background-color: rgba(53, 73, 171, .25);
    
    }
    
    .menu-hamburger-nav {
        position: absolute;
        /* background-color: #004d77; */
        background-color: #004d77c2;
        transition: .6s;
        height: 100vh;
        left: -55vw;
        transition: all 0.5s;
    }
        
    .menu-hamburger.is-active .menu-hamburger-nav {
        left: 0;
        width: 100vw;
        top: 14vw;
        text-align: center;
        height: 100vh;
        transition: all 0.5s;
    }
    
    .menu-hamburger-list-items {
        list-style: none;
        margin: 0;
        padding: 0;
        margin-top: 10vw;
        height: 35vh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .menu-hamburger-list-items a {
        width: 100%;
        min-height: 32px;
        line-height: 32px;
        box-sizing: border-box;
        padding: 8px 12px;
        text-transform: uppercase;
        text-decoration: none;
        display: block;
        color: white;
        transition: .3s;
        margin-top: 1vw;
    }

    .menu-hamburger-list-items a:hover {
        /* background-color: #1a237e; */
        background-color: #004d77;
        color: #e8eaf6;
    }


    /* End hamburger */
    
    .hero__container {
        height: 10vh;
    }
    .menu__div{
        display: none;
    }
    .logoheader__img {
        height: 12vw;
        margin: auto -5vw;

    }
    .carrusel__nav {
        margin-top: 0vw;
        display: none;
    }
    .logos__nav {
        display: none;
    }
    .imageb {
        height: 95vw;
    }
    .txt__div h3 {
        width: 80vw;
    }
    .imageb img{
        width: 100vw;
        height: 100vw;
        object-fit: cover;
    }
    .logo__div img {
        width: 85vw;
        height: 20vw;
    }
    .carrusel__div {
        height: 100vw;
    }
    .carrusel__div img {
        height: 115vw;
    }
    .logos__div {
        margin-top: -5vw;
    }
    .logos__div i {
        margin-left: 1.3vw!important;
        margin-top: 1vw!important;
        font-size: 3.5vw !important;
      }
    .logos__div a {
        background-color: var(--color-secondary);
        width: 6vw;
        height: 6vw;
    }  
    .sobre__section {
        margin-top: 10vw;
      }
    .sobre__div {
        height: 60vw;
        margin-top: 10vw;
    }
    .sobre__div h2 {      
         font-size: 4.3vw;
    }
    .txt__div {
        font-size: 4.5vw;
        margin-top: 20vw;
    }
    .cuadros {
        font-size: 2.5vw;
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin: 10vw;
    }
    .cuadro1, .cuadro2 {
        width: 55vw;
        height: 45vw;
    }
    .cuadro1 h2, .cuadro2 h2 {
        margin: 5vw 10vw;
      }
    .footer {
        height: 45vw;
    }
    .info__nav {
        margin: 5vw 0vw;
        font-size: 3.8vw;
        width: 100vw;
        padding-right: 8px;
        padding-left: 8px;
    }
    .redes__div a {
        width: 8vw;
        height: 8vw;
        border-radius: 50%;
    }
    .redes__div i {
        font-size: 3.8vw !important;
        margin: 1vw;
    }
    .info__nav a {
        font-size: 3vw;
    }
    .aviso-privacidad{
        font-size: 5vw;
        width: 90vw;
        margin: 5vw;
        color: var(--color-secondary);
    }
    .aviso-privacidad p {
        color: var(--color-primary);
    }

}
