@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5em;
    text-align: left;
    
}

:root {
    --color-primario: #0d6ba7;
    --color-secundario: #6dabdc;
}

h1, h2, h3, h4, h5 {
    color: var(--color-primario);
    
}

#slide-text {
  color: white;
  font-size: xx-large;
  text-shadow: 0 0 20px rgb(0 0 0 / 90%);
  font-family: 'Montserrat', sans-serif;
  font-family: 'Josefin Sans', sans-serif;

}

h1{
    font-size: 3vw;
}



a {
    color: var(--color-primario);
    text-decoration: none;
}

article {
    background-color: #eeeeee;
    border-radius: 2px;
    padding: 5px;
    margin: 2 px;
}


/* MISC, COMPLEMENTOS */

.box {
    width: 90%;
    margin: auto;
    padding:10px 0;
}

.container {
    width: 100%;
    overflow: hidden;
}

.flexContenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5px;
     
}

iframe{
  width: 100%;
  z-index: 99;
}
iframe:hover{
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);

}

.baseline {
    align-items: baseline;
}

#logo {
    width: 18vw;
    text-align: center;
}

.btn {
    background-color: var(--color-secundario);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;;
}

.btn:hover {
    background-color: var(--color-primario);
    color: white;
}



/* HEADER */

nav {
  display: flex;
  justify-content: space-between;
  align-items:center;    
}

nav ul {
  
  width: 100%;
  height: 20%;
  transition: max-height 0.5s;
  display: flex;
  list-style: none;
  justify-content: end;

}

nav ul li {
text-transform: uppercase;
padding: 1.5%;
}

nav ul li a {
color: black;
font-size: 100%;
margin: 0 10px;
transition: 0.5s;
text-decoration: none;

}

nav ul li a:hover {
color: var(--color-primario);
}



/* ################################################## */


/* Seccion marcas */

#secMarcas article {
    width: calc(95%/2);
    margin: 8px;
    padding: 8px;
    border-left: var(--color-secundario) solid 1px;
    border-right: var(--color-secundario) solid 1px;
    filter: grayscale(40%);
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    transition: all 400ms ease-in-out;
    text-align-last: center;

}

#secMarcas article img{
  object-fit: scale-down;
  max-height: 150px;
  max-width: 300px;
  margin: 4px;
  
  
}

#secMarcas article:hover {
    filter: grayscale(0%);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-2%);

    
}


/* #################################################### */




/* GALERIA */

#secPsu{
    width: 90%;
    margin: auto;
}



#secGaleria{
    display: grid;
    margin: 50px auto 50px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
  
}

#secGaleria figure img{
    width: 100%;
    height: 70vh;
    cursor: pointer;
    object-fit: scale-down;
    transition: 1s;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

#secGaleria figure img:hover{
    transform: scale(1.05);
    box-shadow: 5px 5px 20px rgba(109,171,220,0.4);
    border-radius: 20px;
}

.imagen-entera {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.imagen-entera span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: antiquewhite;
    cursor: pointer;
}

#full-size-img{
    width: 100vh;
    height: 100%;
}


figure img {
    width: 100%;
    object-fit: cover; 
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    
}

figure img:hover{
    transform : scale(1.1);
    -moz-transform : scale(1.1);
    -webkit-transform : scale(1.1);
    -o-transform : scale(1.1);
    -ms-transform : scale(1.1);
}


/* CONTACTO */

#contacto {
    gap: 1vw;
    text-align: start;
}

#contacto form {
    align-items: center;
    border: none;
    padding: 8px;
    gap: 10px;
    grid-column: 1/1;
 
    
}

#txtContacto{
    
    padding: 10px;
    border: solid 2px;
    color: var(--color-primario);
    border-radius: 5px;
    width: 100%;
    outline: none ;
    resize: none;

}


button {
    background-color: var(--color-secundario);
    color: rgb(0, 0, 0);
    border: none;
    padding: 5px;
    width: 40%;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

fieldset {
    color: var(--color-primario);
    padding: 10px;
    border: none;
    
}

input[type="text"], input[type="number"], input[type="email"], #textContact {
    width: 100%;
    background-color: transparent;
    border: none;
    border-color: transparent;
    border-bottom: 2px solid var(--color-secundario) !important;
    outline: none;
}

input[type="submit"] {
    background-color: var(--color-primario);
    border: none;
    border-radius: 4px;
    color: white;
    padding: 8px;
}

input[type="submit"]:hover {
    background-color: var(--color-secundario);
    
}

select {
 
    display: block;
    width: 100%;
    border: none;
}

#enviar {
  width: 100%;
  text-align-last: center;
  font-size: large;
}

/* PIE */

footer {
    background-color: var(--color-primario);
    color: white;
    padding: 6px;
}


.footerTest
    {
        display: flex;
        flex-wrap: nowrap;
        max-height: 40px;
        align-items: center;
        
         
    }

    #myBtn {
        display: none;
        position: fixed;
        bottom: 10px;
        right: 30px;
        z-index: 99;
        width: auto;
        border: none;
        outline: none;
        background-color: var(--color-secundario);
        color: white;
        cursor: pointer; 
        padding: 5px;
        width: 25px;
        height: 25px;
        border-radius: 50%; 
        font-size: 12px;
        text-align-last: center;
        
      }
      
      #myBtn:hover {
        background-color: var(--color-primario);
        border: rgba(0,0,0,0.3) 1px solid;
        color: black;
        font-weight: bold;
      }
.logos {
    height: 32px;
    object-fit: scale-down;
    width: 32px;
    padding:6px;
}


  /* Slideshow test */
  .slideshow-container {
    max-width: 100%;
    height: 80%;
    position: relative;
    margin: auto;
    filter: grayscale(30%);
    transition: 1s;
    text-align-last: center;
    
  }

  .slideshow-container:hover {
    filter: grayscale(0%);
    filter: saturate(2);
   
  }
  
  .slideshow-container img{
      object-fit: cover;
      transition: 2s;
      width: 100%;
      height: 550px;
      
  }

  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 2s;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  .prev{
      left: 0;
      border-radius:3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: antiquewhite;
    transform: scale(1.1);
  }
  
  /* Caption text */
  .text {
    color: #000000;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 3 s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }



  html,
  body {
    height: 100%;
    
  }

  html {
    font-size: 100%;
  }

  body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    color: #666;
    font-size: 1rem;
    
  }

  
  h1,
  h2 {
    margin-top: 0;
    font-size: calc(2rem + 28 * (100vw - 375px)/ (1199 - 375));
    margin-bottom: 0.2em;
   
  }

  a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
  }

  a:hover {
    color: var(--color-primario);
    box-shadow: rgba(0,0,0,0.9);
  }

  @media (min-width: 1200px) {
    h1,
    h2 {
      font-size: 60px;
    }

    .slide-content p {
      font-size: 26px;
    }
  }

  @media all and (min-width: 768px) and (max-width: 2000px) { 
    .logos {
        height: 40px;
        width: 40px;
        padding:6px;
    }
  } 

  @media all and (max-width: 768px) {
    *{
      text-align-last: center;
      justify-content: center;
    }
    .logos {
        height: 38px;
        padding:6px;
    }
    .flexContenedor{
    justify-content: center;
    
    }
    .baseline{
        justify-content: center;
    }
    h1{
        font-size: 8vw;
    }
    #logo {
        width: 40vw;
        text-align: center;
    }
    #full-size-img{
        width: 100vw;
        margin: 0;
        max-width: 100%;
        overflow-x: hidden;
      
    }
    .slideshow-container {
        width: 100%;
        height: 80%;
        top: 0;
        left: 0;
        overflow: hidden;
      }
      .slideshow-container img{
        height: 600px;

      }
      nav{
        display: grid;
        align-items: start;
      }
      nav ul{
        display: grid;
        grid-template-columns: 30% 30% 30%;
        height: 10%;
        justify-content: start;
      }
      nav ul li{
        text-align: center;
      }
      #quienesSomos{
        display: none;
      }
      article{
        min-width: 300px;
      }
      .footerTest{
        justify-content: center;
      }

  }

