*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    background-color: white;
}

.burbujas div {
    background: #FFDA00;
    height: 100%; /* Añade esta línea */
    border-radius: 100%;
    z-index: -1;
    position: fixed; /* Cambia 'absolute' a 'fixed' */
    bottom: 0;
    animation: animarburbujas 4s linear infinite;
}
  
.burbujas div:nth-child(1) {
    width: 50px;
    height: 45px;
    left: 40px;
    animation-duration: 4s;
}
  
.burbujas div:nth-child(2) {
    width: 60px;
    height: 55px;
    left: 25%;
    animation-duration: 8s;
}
  
.burbujas div:nth-child(3) {
    width: 30px;
    height: 27px;
    left: 40%;
    animation-duration: 5s;
}
  
.burbujas div:nth-child(4) {
    width: 65px;
    height: 60px;
    left: 50%;
    animation-duration: 10s;
}
  
.burbujas div:nth-child(5) {
    width: 55px;
    height: 50px;
    left: 65%;
    animation-duration: 6.5s;
}
  
.burbujas div:nth-child(6) {
    width: 50px;
    height: 48px;
    left: 85%;
    animation-duration: 9s;
}
  
.burbujas div:nth-child(7) {
    width: 35px;
    height: 32px;
    left: 90%;
    animation-duration: 6s;
}
  
@keyframes animarburbujas {
    0% {
      width: 0;
      height: 0;
    }
    3% {
      width: 30px;
      height: 27px;
    }
    50% {
      margin-left: 20px;
      opacity: 0.5;
    }
    100% {
      transform: rotate(90deg);
      bottom: 100vh;
      background: #FFDA00;
    }
}
/* ------------------------------------------ */
.header {
    height: 100px;
    width: 100%;
    top: 0;
    left: 0;
    position: relative;
  }
  
  .navbar nav {
    width: 100%;
    position: absolute;
    align-items: center;
    z-index: 10;
    left: 0;
    right: 10%;
    top: 0%;
    padding: 0 10%;
    height: 100px;
    font-family: 'Gotham Ultra', sans-serif;
  }
  .navbar a {
    transform: skewX(-20deg);
  }
  
  .navbar nav img {
    float: left;
    margin-left: 0;
    width: 9%;
    height: auto;
    display: flex;
    align-items: center;
  }
  
  @media screen and (max-width: 768px) {
    .navbar nav img {
      width: 20%;
    }
  
    .navbar nav .list {
      display: none; /* Ocultar la lista en dispositivos móviles */
    }
  
    .navbar nav #toggle:checked ~ .mobile-list {
      display: flex; /* Mostrar la lista oculta cuando se marca el checkbox */
    }
  }
  
  .navbar nav .list {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar nav .list li {
    list-style: none;
  }
  
  .navbar nav .list a {
    display: block;
    position: relative;
    text-transform: uppercase;
    padding: 12px 15px;
    font-size: 16px;
    color: black;
    overflow: hidden;
    transform: scaleY(0.8);
    text-decoration: none;
  }
  
  .navbar nav .list a:hover {
    background-color: #FFDA00;
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  }
  
  .navbar nav .list .diagonal {
    font-size: 25px;
  }
  
  #toggle {
    position: absolute;
    top: -100px;
  }

  .menu-icon {
    display: none; /* Ocultar el ícono de hamburguesa en la versión de escritorio */
    right: 91%; 
    font-size: 40px;
  }
  /* ------------------------------------------------------------------ */
  .mobile-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 150px;
    z-index: 1;
    right: auto;
    background-color: #fff;
  }

  .mobile-list a{
    text-transform: uppercase;
    padding: 15px 15px;
    font-size: 20px;
    color: black;
    text-decoration: none;
    font-family: 'Gotham Ultra', sans-serif;
  }

  .mobile-list a:hover{
    background-color: #FFDA00;
  }
  
  .mobile-list li {
    padding: 10px;
    list-style: none;
  }
  
  
  .show-mobile-menu {
    display: flex;
  }
  
  
  /* Mostrar el ícono de hamburguesa solo en dispositivos móviles */
  @media screen and (max-width: 428px) {
    .menu-icon {
      display: block;
      cursor: pointer;
      position: absolute;
      transform: translateY(-50%);
      top: 125px;
      margin-right: -20px;
    }
  }


  @media screen and (max-width: 428px) {
    .navbar nav img { /* LOGO */
      max-width: 100%;
      height: auto;
      margin-left: -10%;
    }
  
    .navbar nav .list {
      display: none;
    }
  
    .navbar nav #toggle:checked ~ .mobile-list {
      display: flex;
    }

    .swiper .swiper-button-prev{
      display: none;
    }

    .swiper .swiper-button-next{
      display: none;
    }

    .swiper-container{
      left: 50%;
      margin-top: 11%;
      transform: translateY(-50%);
    }
  }
  
  /* Nueva Media Query para mostrar el menú normal en resoluciones mayores a 1284px */
  @media screen and (min-width: 1285px) {
    .navbar nav .list {
      display: flex; /* Muestra el menú normal en resoluciones mayores a 1284px */
    }
  
    .navbar nav .list a {
      transform: scaleY(1); /* Restaura la escala original en el menú normal */
    }
  
    .navbar nav #toggle {
      display: none; /* Oculta el checkbox en resoluciones mayores a 1284px */
    }
  
    .mobile-list {
      display: none; /* Oculta el menú móvil en resoluciones mayores a 1284px */
    }

  }
  
  
/* ------ CARRUSEL -------- */

.swiper {
    width: 900px;
    height: 355px;
}

.swiper img{
    width: 100%;
    margin-left: 10%;
    height: 255px;
    object-fit: cover;
}

.swiper .swiper-button-prev, .swiper-button-next{
    --swiper-theme-color: black;
}

.swiper .swiper-pagination{
    --swiper-theme-color: black;
    --swiper-pagination-bullet-size: 6px;
}

@media screen and (min-width: 412px){

  .swiper img{
    margin-top: 10%;
    width: 80%;
    height: 200px;
    object-fit: cover;
  }

  .swiper{
    width: 80%;
    margin-left: 60%;
  }

  .swiper-container{
    margin-left: 20px;
  }
}

@media screen and (max-width: 414px){

  .swiper img{
      margin-top: 10%;
      width: 80%;
      height: 200px;
      object-fit: cover;
  }

  .swiper{
      width: 80%;
      margin-left: 60%;
  }

  .swiper-container{
    margin-left: 20px;
  }
}

@media screen and (max-width: 428px) {
  .swiper img{
    margin-top: 10%;
    width: 80%;
    height: 200px;
    object-fit: cover;
  }

  .swiper{
      width: 80%;
      margin-left: 60%;
  }

  .swiper-container{
    margin-left: 20px;
  }
}
/* ----------------------------------------- */
.nos{
    font-family: 'Gotham Ultra', sans-serif;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    animation:tracking-in-contract 2.4s ease-in;
    color: #000000;
}

@media screen and (max-width: 428px){
  .client p{
    font-size: 40px;
  }

  .f2{
    font-size: 40px;
  }
}

@media (max-width: 428px) {
  #nosotros {
    margin-top: -45%;
  }
}

@keyframes tracking-in-contract{
    0%{letter-spacing:.6em;opacity:0}
    40%{opacity:.6}
    100%{letter-spacing:normal;opacity:1}
}

.p{
    font-family:'Gill Sans', sans-serif;
    text-align: center;
    color: #000000;
}

.f2{
    font-size: 15px;
    font-family: 'Gotham Ultra', sans-serif;
    color: #000000;
}

/* ----------------------------------------- */

.serv-img img{
    height: 500px;
    transition: .3s;
    view-timeline-name: --revealing-image;
    animation: show;
    animation-fill-mode: both;
    animation-timeline: --revealing-image;
    animation-range: entry 25% cover 50%;
}

.serv-img img:hover{
    transform: scale(1.2);
}

.f1{
    color: #FFDA00;
}

.f3{
    color: black;
}

@keyframes show {
    from{
        opacity: 0;
        scale: 25%;
    }

    to{
        opacity: 1;
        scale: 100%;
    }
}

@media screen and (max-width: 428px){
  .serv-img img{
    height: auto;
    margin-left: auto;
  }
}


@media screen and (max-width: 414px){
  .serv-img img{
    height: auto;
    margin-left: 5%;
  }
}
/* ----------------------------------------- */

.linea {
    border-top: 3px solid #FFDA00;
    width: 30%; 
    margin-top: 5%; 
    margin-left: 35%;
    margin-bottom: 40px; 
}

/* ----------------------------------------- */

.client{
    font-family: 'Gotham Ultra', sans-serif;
    font-size: 50px;
    text-align: center;
    color: #000000;
}

.grid-item{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover{
    transform: scale(1.2);
}

.grid-conteiner{
    width: 70%;
    margin-left: 14%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
}

.grid-item img{
    width: 90px;
}

.gallery-conteiner{
    width: 70%;
    margin-left: 15%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
}

.gallery-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover{
    transform: scale(1.1);
}

.gallery-item:nth-child(1){
    grid-row-start: span 3;
}

.gallery-item:nth-child(2){
    grid-row-start: span 2;
}

.gallery-item:nth-child(3){
    grid-row-start: span 2;
}

.gallery-item:nth-child(4){
    grid-row-start: span 2;
}

.gallery-item:nth-child(5){
    grid-column-start: span 2;
}

@media screen and (max-width: 412px){

  .grid-conteiner{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }

  .gallery-conteiner{
    width: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 414px){

  .grid-conteiner{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }

  .gallery-conteiner{
    width: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 428px){
  .grid-conteiner{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }

  .gallery-conteiner{
    width: auto;
    margin-left: auto;
  }
}
/* ----------------------------------------- */

.contac-img img{
    width: 80%;
    margin-left: 15%;
    transition: .3s;
    view-timeline-name: --revealing-image;
    animation: show;
    animation-fill-mode: both;
    animation-timeline: --revealing-image;
    animation-range: entry 25% cover 50%;
}

.contac-img img:hover{
    transform: scale(1.2);
}

:root{
    --facebook: #3b5999;
    --instagram: #e41f43;
    --whatsapp: #25d366;
    --correo: 	#c71610;
    --letras: black;
}

.contact-container{
    display:flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.contact-container ul li{
    display: inline-block;
    margin: 0 5px;
    width: 80px;
    height: 70px;
    text-align: center;
}

.contact-container ul li a{
    display: block;
    margin-top: 55%;
    border-radius: 25px 0 25px 0;
    padding: 0 10px;
    font-size: 40px;
    box-shadow: 0 3px 5px 0px rgba(0, 0, 0, .2);
    background: black;
    color: #fff;
    transition: .2s;
    line-height: 50px;
}

.contact-container ul:hover a{
    filter: blur(2px);
}

.contact-container ul li a:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, .4);
    filter: none;
}

.contact-container ul li .facebook:hover{
    background: var(--facebook);
}

.contact-container ul li .instagram:hover{
    background: var(--instagram);
}


.contact-container ul li .whatsapp:hover{
    background: var(--whatsapp);
}

.contact-container ul li .correo:hover{
    background: var(--correo);
}

@keyframes show {
    from{
        opacity: 0;
        scale: 25%;
    }

    to{
        opacity: 1;
        scale: 100%;
    }
}

@media screen and (max-width: 428px){
  .contact-container{
    width: 60%;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateX(30%);
  }
}


@media screen and (max-width: 414px){
  .contact-container{
    width: 60%;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateX(30%);
  }
}

@media screen and (max-width: 412px){
  .contact-container{
    width: 60%;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateX(30%);
  }
}

@media screen and (max-width: 360px){
  .contact-container{
    width: 65%;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateX(20%);
  }
}

@media screen and (max-width: 375px){
  .contact-container{
    width: 65%;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateX(20%);
  }
}
/* ----------------------------------------- */

.footer-container{
    background-color: #FFDA00;
    width: 100%;
    margin-top: 5%;
    height: 80px;
} 

/* ----------------------------------------- */

#goToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 24px;
  background-color: #FFDA00;
  color: #000000;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: opacity 0.3s;
}

#goToTop:hover {
  background-color: #000000;
  color: #FFDA00;
}


@media screen and (min-width: 414px) {
  #goToTop {
    font-size: 25px;
    padding: 20px; 
  }
}

@media screen and (max-width: 428px) {
  #goToTop {
    font-size: 25px; 
    padding: 20px; 
  }
}

@media screen and (max-width: 412px) {
  #goToTop {
    font-size: 25px; 
    padding: 20px; 
  }
}