#flex-slider-sobre-nosotros div > p:last-of-type {
 font-family: Roboto;
   }

.slide-header {
    background-image: url('../img/low_definition/Team_group.png');
}

#text-parte-equipo {
    font-size: 5.5vw; 
    font-family: Anton; 
    margin: 0px 0% 0px 2.5vw;
}

#img-ceo {
    width: 44.5138vw;
}

#sobre-nosotros-title {
    font-size: 5.55vw;
}

#div-ceo {
    display: flex; 
    align-items: center; 
    justify-content: center;
}

#slider-sobre-nosotros {
    height: 34.7222vw;
}

#img-dubi-team {
    border-radius: 1.3888vw; 
    margin: auto; 
    width: 27.77vw; 
    height: 27.77vw;
}

.slide-header-content button {
    margin: auto;
    display: block; 
    padding: 5px 75px;
    margin: 0 auto;
}

.slide-header-content a {
   background-color: transparent !important;
}


.slider {
    background-color: white;
    height: 56.94vw;
    max-height: 1024px;
    display: flex;
    justify-content: center;
}



.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    font-size: 18px;
    text-align: left;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: counter(item) ". ";
    counter-increment: item;
    font-size: 24px;
    font-weight: bold;
    margin-right: 5px;
}

.slider-block {
    background-color: white;
}

.slider .slide-active {
    width: 100%;
    background: black;
}

.slide .content-slide .main-content-slide {
    display: none;
}


.slide:has(.link-open-slide) {
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
    text-align: center; /* Alineación del texto */
}

.slide .link-open-slide {
    font-size: 65px;
    font-family: "Anton";
    color: black;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
}

.slide .link-open-slide:hover {
    transform: scale(1.1);
}

.slide-active .content-slide {
    height: 100%;
}

.slide-active .content-slide .background-slide {
    width: 100%; /* Ocupar el ancho completo */
    height: 100%; /* Ocupar la altura completa */
    object-fit: cover ; /* Escalar la imagen para llenar el contenedor */
    opacity: 0.85; /* Establecer la transparencia (ajusta según sea necesario) */
    z-index: 1;
    position: relative;
  }

.main-content-slide * {
    position: relative;
    z-index: 2;
}
.main-content-slide {
    position: relative;
    z-index: 2;
    width: 98%;
    height: 32%;
    top: -32%;
    display: flex;
    flex-direction: row;
}

.content-slide-title-url{
    font-family: "Anton";
    font-size: 80px;
    color: white;
    margin: auto;
    width: 50%;
    transition: transform 0.3s ease;
}

.content-slide-title-url:hover{
    transform: scale(1.075);
    cursor: pointer;
}

.content-slide-description {
    width: 30%;
}

.content-description {
    font-size: 24px;
    font-family: 'Staatliches';
    color: white;
}

.content-description .important-text {
    font-size: 24px;
    font-family: 'Staatliches';
    color: #F0CC24;
}

.content-arrow-url {
    width: 230px;
    height: 56px;
    border: 1px;
    color: white;
    font-family: 'Staatliches';
    font-size: 28px;
    background-color: #F0CC24;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;

}





@media (max-width: 1350px) {
    .content-slide-title-url:hover{
        transform: scale(1.05);
    }

    .slide .link-open-slide {
        font-size: 47px;
    }

    .content-slide-title-url{
        font-size: 70px;
        margin-left: 10px;
        padding-left: 10px;
    }

    #slide-quiero-ser-dubi {
        flex-direction: column;
        height: 1200px !important;
    }

    #conductor {
        width: 45% !important;
        height: 90% !important;
    }
}


@media (max-width: 768px) {
   .flex {
    flex-direction: column;
   }

   #text-parte-equipo {
    font-size: 14.5vw;
   }

   #img-ceo {
    width: 100vw;
    }

    #div-ceo {
        flex-direction: column;
    }


   
   #sobre-nosotros-title {
    font-size: 10vw ;
    text-align: center;
   }

   #flex-slider-sobre-nosotros div > p:last-of-type {
    font-size: 5vw !important;
    max-width: 90vw !important;
    text-align: center !important;
   }

   #img-dubi-team {
        margin-bottom: -150px !important;
        margin-top: -100px !important;
   }

   #slider-sobre-nosotros {
     height: 80vw !important;
     width: 90%;
     padding: 20px;
     margin: auto;
   }

   #flex-slider-sobre-nosotros {
    padding-top: 8rem;
   }

}


@media (max-width: 280px) {
    #slider-sobre-nosotros {
        padding-bottom: 5vh !important;
      }
}





/* Estilos para la grilla de 2 filas y 3 columnas */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 5vw;
    margin: 5vw 5vw;
  }
  
  /* Estilos para cada elemento de la grilla */
  .grid-item {
    text-align: center;
  }
  
  /* Estilos para las imágenes */
  .grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  /* Estilos para el nombre */
  .grid-item h3 {
    margin: 5px 0;
    font-size: 1.65vw;
    color: rgba(0, 0, 0, 0.9);
    font-family: 'Staatliches';
  }
  
  /* Estilos para el cargo */
  .grid-item p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  /* Estilos para los iconos de redes sociales */
  .social-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  
  .social-icons a {
    flex: 1;
    margin: 0 5px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  /* Media query para cambiar a una sola columna cuando el ancho es <= 768px */
@media screen and (max-width: 768px) {
    .grid-container {
      grid-template-columns: 1fr;
    }

    #div-ceo div p {
        font-size: 35px !important;
        margin: 1em 0em !important;
    }

    .grid-item h3 {
        font-size: 5.2vw;
      }
  }