*{
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar{
  width: 4px;
  background-color: black;
}

body::-webkit-scrollbar-thumb{
  background-color: red;
}

/* NAVBAR */

header{
    width: 100vw;
    height: 120px;
    position: fixed;
    background-color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

.select-home{
    margin: 0;
    width:30%;
}

.select-home a{
    width: 100%;
    display: flex;
}

.logo{
    width: 15%;
}

.logotype{
    width: 80%;
}

.etiquetas{
    width: 70%;
    height: 70px;
    margin: 0;
    display: flex;
    align-items: center;
}

.etiquetas ul{
    display: flex;
    justify-content: flex-end;
    margin: 0;
    width: 100%;
    list-style-type: none;
}

.etiquetas ul li{
    margin: 0;
    list-style-type: none;
    width: 16%;
    text-align: center;
    
}

.etiquetas ul li a{
    text-decoration: none;
    color: white;
    transition: color 0.5s;
}

.etiquetas ul li a:hover{
    text-shadow: 0px 0px 5px red;
    text-decoration: overline;
    color: red;
    text-decoration-color: red;
}

.etiquetas ul li .active{
    text-shadow: 0px 0px 5px red;
    text-decoration: overline;
    color: red;
    text-decoration-color: red;
}

/* buscar la forma que quede en rojo cuando estoy en una section */

/* FIN DE NAVBAR */

/* HOME */
#home{
    width: 100vw;
    height: 100vh;
    background-color: black;
}

.slider{
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }
  
  .slider ul{
    padding: 0;
    display: flex;
    align-items: flex-end;
    width: 700%;
    height: 100%;
    list-style-type: none;
    animation: cambio 30s infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in;
  }
  
  .slider li{
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .slider img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale();
    opacity: 80%;
  }
  
  @keyframes cambio { /*esto da los tiempos entre foto y foto y los cambios*/
    0% {margin-left: 0;}
    10% {margin-left: 0;}
  
    15% {margin-left: -100%;}
    25% {margin-left: -100%;}
  
    30% {margin-left: -200%;}
    40% {margin-left: -200%;}
  
    45% {margin-left: -300%;}
    55% {margin-left: -300%;}
  
    60% {margin-left: -400%;}
    70% {margin-left: -400%;}
  
    75% {margin-left: -500%;}
    85% {margin-left: -500%;}
  
    90% {margin-left: -600%;}
    100% {margin-left: -600%;}
  }

  .intro{
      position: absolute;
      z-index: 10;
      top: 150px;
      left: 80px;
      width: 50%;
      
  }

  .intro ul{
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 700%;
    height: 100%;
    list-style-type: none;
    animation: cambio 30s infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in;
  }
  
  .intro h5{
    width: 90%;
    font-size: 2rem;
    color: white;
    font-weight: lighter;
    padding: 5px;
  }
  
  .intro img{
    width: 100%;
    filter: grayscale();
  }
  
  @keyframes cambio { /*esto da los tiempos entre foto y foto y los cambios*/
    0% {margin-left: 0;}
    10% {margin-left: 0;}
  
    15% {margin-left: -100%;}
    25% {margin-left: -100%;}
  
    30% {margin-left: -200%;}
    40% {margin-left: -200%;}
  
    45% {margin-left: -300%;}
    55% {margin-left: -300%;}
  
    60% {margin-left: -400%;}
    70% {margin-left: -400%;}
  
    75% {margin-left: -500%;}
    85% {margin-left: -500%;}
  
    90% {margin-left: -600%;}
    100% {margin-left: -600%;}
  
  }

/* FIN DE HOME */

/* ABOUT */
#about{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.img_disc{
  width: 45%;
    height: 75%;
    overflow: hidden;
}

.border-img{
  width: 500px;
  height: 480px;
  z-index: 10;
  position: relative;
  top: 0;
  left: 20px;
  border: 1px solid black;
  background-color: rgba(0, 0, 0, .1);
  margin: 0;
}

.imagen-about{
  overflow: hidden;
  display: flex;
  margin: 16px;
  position: relative;
  margin: 0;
  top: -460px;
}

.imagen-about img{
    width: 500px;
    height: 500px;
    object-fit: cover;
}


.text{
    width: 53%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.text h5{
    font-size: 2.5rem;
    text-transform: uppercase;
    color: black;
    width: 96%;
    text-align: center;
}

.text p{
    width: 96%;
    margin-top: 5px;
    text-align: center;
    line-height: 1.5rem;
    font-size: 1rem;
    height: 80%;
    padding: 10px 0;
    overflow: hidden;
}

/* FIN DE ABOUT */

/* COFOUNDERS */
#coFounders{
    width: 100vw;
    padding: 7% 0 0;
    display: flex;
    background-color: black;
}

#cofounder_{
    width: 49%;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

#cofounder_ a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
    font-size: 1em;
    align-self: flex-end;
    padding: 2% 0;
}

#cofounder_ a:hover{
  text-decoration: overline red;
}

#cofounder_img{
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.nombre1{
    position: relative;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    z-index: 5;
}

.nombre2{
    position: relative;
    top: 0px;
    right: 0px;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    z-index: 5;
}

.katePhoto{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -210px;
    position: relative;
    top: -95px;
    filter:grayscale(1);
}

.juliaPhoto{
    object-position: 0 -160px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: -90px;
}


.cofounder_bio p{
    font-size: 0.7rem;
    padding-top: 5px;
    text-align: justify;
    color: white;
}

#cofounder_ a{
  margin: 0;
}

/* FIN DE COFOUNDERS */

/* GALLERY */
#gallery{
    width: 100vw;
    padding: 3% 5% 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: black;
}

#gallery img{
    width: 400px;
    height: 400px;
    object-fit: cover;
    margin: 0;
    padding: 5px;
}
/* FIN DE GALLERY */

/* FOOTER */
#footer{
    width: 100vw;
    height: 100vh;
    padding: 8% 2% 2%;
    background-color: black;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.contact{
    display: flex;
    flex-direction: row;
    width: 65vw;
    text-align: left;
  }

  .contact div{
      width: 49%;
      height: 100%;
      overflow: hidden;
  }

  .contact .separador{
      width: 1px;
      background-color: white;
  }
  
  .contact h1{
    color: white;
    font-size: 3em;
    line-height: 1em;
    overflow: hidden;
  }
  
  .redh1{
    color: #ff0042;
    font-size: 3em;
    line-height: 1em;
  }
  
  .contact h2{
    color: white;
    font-weight: lighter;
    font-size: 2.5em;
    line-height: 1.3em;
    overflow: hidden;
  }
  
  .red{
    color: #ff0042;
    font-weight: bold;
    font-size: 2.5em;
    line-height: 1em;
  }

  .bloque{
    width: 100vw;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .bac{
    width: 30%;
    display: flex;
    flex-direction: row;
    margin: 2%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .bac_img{
    width: 30%;
  }
  
  .bac_img img{
    width: 100%;
  }

  .bax{
    width: 30%;
    display: flex;
    flex-direction: row;
    margin: 2%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .bax_img{
    width: 50%;
  }
  
  .bax_img img{
    width: 100%;
  }

  .town{
    width: 30%;
    display: flex;
    margin: 2%;
  }

  .town img{
    width: 250px;
  }

  .footer{
    font-size: 0.8em;
    width: 80%;
    overflow: hidden;
  }
  
  .footer2{
    width: 35%;
    color: white;
    font-weight: lighter;
    font-size: 0.8em;
    overflow: hidden;
  }
  
  .copyDesign{
    width: 100vw;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: lighter;
    font-size: 0.7em;
    color: white;
  }

  .design{
    overflow: hidden;
  }

  .rrss{
    width: 80%;
    height: 11%;
    display: flex;
    align-items: flex-end;
  }

  .rrss a{
    width: 20%;
    display: flex;
  }

  .rrss a:hover img{
    width: 45px;
    height: 45px;
  }

  .rrss a img{
    width: 35px;
    height: 35px;
    filter: invert(1);
    transition: width 0.3s;
  }

  .rrss div{
    display: flex;
    margin: 0;
    width: 20%;
    justify-content: center;
    align-items: center;
  }

  .rrss div img{
    width: 35px;
    height: 35px;
    filter: invert(1);
    transition: width 0.3s;
  }

  .rrss div img:hover{
    width: 45px;
    height: 45px;
  }
  
/* FIN DE FOOTER */

/* SUB NAVBAR */
.subNav{
  width: 100%;
  height: 175px;
  padding-top: 125px;
  background-color: black;
}

.subNav ul{
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.subNav ul li{
  width: 100px;
  margin: 0;
  list-style-type: none;
  display: flex;
}

.subNav ul li a{
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.subNav ul li .active{
  text-shadow: 0px 0px 5px white;
  text-decoration: overline red;
  color: red ;
}

.subNav ul li a:hover{
  text-shadow: 0px 0px 5px white;
  text-decoration: overline red;
  color: red ;
}




/* FIN SIB NAVBAR */
@media (min-width: 900px) and (max-width:1024px){

  .logotype{
    display: none;
  }

  .logo{
    height: 100px;
    width: 100px;
    object-fit: cover;
    margin: 10px;
  }

  .etiquetas ul li{
    width: 20%;
  }

  .intro ul h5{
    font-size: 2.5rem;
  }

  .border-img{
    width: 400px;
    height: 400px;
  }

  .imagen-about img{
    width: 400px;
    height: 400px;
  }

  .text{
    overflow: hidden;
  }

  .text h5{
    font-size: 2.5rem;
  }

  .text p{
    line-height: 1.3rem;
    font-size: 0.8rem;
  }

  #coFounders{
    height: unset;
    padding: 12% 0 0;
    flex-direction: column;
  }

  #cofounder_{
    width: 95%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #cofounder_ a{
    text-align: end;
  }

  .katePhoto{
    object-position: 0 -262px;
  }

  .juliaPhoto{
    object-position: 0 -273px;
  }

  #gallery{
    padding: 5% 5% 0;
  }

  #gallery img{
    width: 400px;
    height: 400px;
  }

  #footer{
    padding: 13% 2% 2%;
  }

  .contact{
    width: 90vw;
  }

  .contact div{
    overflow: hidden;
  }

  .bloque{
    justify-content: space-between;
  }

  .bac {
    margin:0;
    width: 40%;
  }

  .bax{
    margin:0;
    width: 40%;
  }

}

@media (min-width:501px) and (max-width:899px){

  header{
    position: fixed;
  }

  .select-home{
    width: fit-content;
  }

  .etiquetas{
    width: 80%;
  }

  .etiquetas ul{
    justify-content: space-between;
  }

  .etiquetas ul li a{
    font-size: 0.6rem;
  }

  .logotype{
    display: none;
  }

  .logo{
    height: 60px;
    width: 60px;
    object-fit: cover;
    margin: 10px;
  }

  .intro ul h5{
    font-size: 1.5rem;
  }

  #about{
    height: unset;
    flex-direction: column;
  }

  .border-img{
    top: 792px;
  }

  .text{
    height: unset;
    width: 99%;
    margin: 10% 0;
  }

  .text p{
    padding: 0;
  }

  #coFounders{
    height: unset;
    flex-direction: column;
  }

  #cofounder_{
    width: 98%;
    padding: 5px;

  }

  .nombre1{
    width: 200px;
  }

  .katePhoto{
    object-position: 0 -42px;
  }

  .nombre2{
    width: 300px;
  }

  .juliaPhoto{
    object-position: 0 -130px;
  }

  #cofounder_ a{
    text-align: end;
  }

  #gallery{
    padding: 5% 5% 0;
  }

  .contact{
    flex-direction: column;
    width: 96%;
    height: 50%;
  }

  .contact div{
    width: 100%;
  }

  .contact .separador{
    display: none;
  }

  .contact h1{
    font-size: 2rem;
  }

  .contact h2{
    font-size: 1.5rem;
  }

  .bloque{
    width: 100%;
    height: 30%;
    flex-direction: column;
    justify-content: space-between;
  }

  .bac{
    margin:0;
    width: 100%;
    height: 80%;
    overflow: hidden;
  }

  .bax{
    margin:0;
    width: 100%;
    overflow: hidden;
  }

  .footer{
    width: 60%;
  }

}

@media (max-width:500px){

  .select-home{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logotype{
    display: none;
  }

  .logo{
    width: 60px;
    margin: 5px;
  }

  .etiquetas{
    width: 85%;
    height: 100%;
  }

  .etiquetas ul{
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 70%;
    flex-wrap: wrap;
  }

  .etiquetas ul li{
    width: 40%;
  }

  .intro{
    width: 100%;
    padding: 1%;
    left:0;
  }

  .etiquetas ul li a{
    font-size: small  ;
  }

  #about{
    height: unset;
    flex-direction: column;
  }

  .img_disc{
    width: 100%;
    height: 50%;
  }

  .border-img{
    display: none;
  }

  .imagen-about{
    position: unset;
  }

  .text{
    width: 100%;
    height: unset;
  }

  .text h5{
    font-size: 2rem;
    text-transform: uppercase;
    color: white;
    width: 100%;
    text-align: center;
    background-color: black;
    padding: 2%;
  }

  #coFounders{
    flex-direction: column;
  }

  #cofounder_{
    width: 100%;
  }

  #cofounder_img{
    width: 100%;
    height: 250px;
    overflow: hidden;
  }

  .nombre1{
    position: relative;
    left: 0px;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    z-index: 5;
    width: 150px;
    top: 144px;
  }

  .katePhoto{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -15px;
    position: relative;
    top: -55px;
    filter: grayscale(1);
  }

  .cofounder_bio p{
    text-align: center;
  }

  #cofounder_ a{
    align-self: center;
  }

  .nombre2{
    position: relative;
    top: 160px;
    right: 0px;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    z-index: 5;
    width: 230px; 
  }

  .juliaPhoto{
    object-position: 0 -72px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: -60px;
  }

  #footer{
    padding: 30% 2% 2%;
  }

  .contact{
    height: 30%;
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .contact div{
    height: 100%;
    width: 100%;
    text-align: center;
  }

  .contact h1{
    font-size: 1.5rem;
  }

  .contact .separador{
        height: 1px;
    width: 80%;
    background-color: white;
  }
  .contact h2{
    font-size: 0.9rem;
  }

  .contact br{
    display: none;
  }

  .rrss{
    width:90%;
    align-items: flex-start;
  }
  .rrss a{
    widows: 10%;
  }

  .rrss a img{
    width: 25px;
    height: 25px;
  }

  .rrss div{
    flex-direction: column;
    width: 45%;
  }

  .rrss div img{
    width: 25px;
    height: 25px;
  }

  .rrss div p{
    font-size: small;
  }

  .bloque{
    height: 35%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .bac {
    width: 100%;
    height: 40%;
    display: flex;
    margin: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .bac_img {
    width: 65px;

  }

  .bax{
    width: 100%;
    height: 40%;
    display: flex;
    margin: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .bax_img{
    width: 80px;
  }

  .footer{
    width: 70%;
    font-size: 0.6rem;
    margin: 0;
  }

  .town{
    height: 20%;
  }

  .town img{
    width: 100px;
    object-fit: contain;
  }

  .footer2{
    font-size: 0.6em;
    width: 68%;
  }

  .copyDesign p{
    font-size: 0.6rem;
    overflow: hidden;
  }
  }





