.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 120px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    /* background-color: #0022e5; */
}

.dropdown-content a:hover {
    background-color: #ffffff;
    color: rgb(0, 3, 174);
    /* opacity: 75%; */
    /* color: black; */
    border-radius: 30px
}

/* Este es que hace aparacer el menu desplagle cada vez que paso por encima */
.dropdown:hover .dropdown-content {
    display: block;
    background-color: #d3d3d3;
    /* border-radius: 30px */
}


.navbar{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    column-gap:10px ;
    font-size: 18px;
    padding-right: 10px;
    /* width: fit-content; */
    /* height:  fit-content; */
    /* padding: 2px 2px; */
}


.navBarIndex {
    cursor: pointer;
    /* background: beige; */
    color: black;
    padding: 5px 5px;
    text-decoration: none;
    text-align: justify;
    font-weight: bold;
    /* border-radius: 30px;    */
}

  
.navBarIndex:hover{
      text-decoration: none;
      /* background: rgb(18, 140, 110); */
      /* background-color: #d9f8e8; */
      color: rgb(0, 3, 174);
      /* font-size: 16px; */
      /* border-radius: 30px */
  }
  
.logoEnterprise {
    /* cursor: pointer; */
    color: black;
    padding: 5px 5px;
}


/* CSS para el main de index.html */
.titleSec{
    color: rgb(0, 2, 97);
    padding-left: 0px;
    font-size: 20px; /*reduzco un poco*/
    text-align: left;
    background-color: #cccccc;
    font-weight: bold;
    width: 100%;
    /* font-style: italic; */
}
.titleSec h2{
    padding-left: 30px;
    /* text-align: center; */
}


.boxContainer {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    padding: 0px;
    border: 1px solid #000;
}

.box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    /* padding: 20px; */
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #000;
    /* background-color: #b0b0b0; */
    justify-content: center;
    overflow: hidden; 
}
.boxItems {
    display: flex;
    flex-direction: column;
    align-content: center;
    /* padding: 5px; */
    border: 1px solid #000;
    background-size: cover;
    width: 380px;
    height: 280px;
}

.boxTitle{
    color: white;
    height: 100px;
    font-size: 25px;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con 50% de transparencia */
    text-align: center;
    font-weight: bold;
}
.boxText{
    flex-grow: 1;
    display: none;
    font-size: 19px;
    /* font-size:1.2vw; */
    text-align: justify;
    color: white;
    /* height: auto; */
    /* background-color: rgba(182, 27, 27, 0.7); Fondo negro con 50% de transparencia */
}


.boxItems:hover .boxText{
    display: block;
    background-color: rgba(73, 34, 0, 0.7);

}



/* Css para los logos */
.logo-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    /* overflow: hidden;  */
    white-space: nowrap;
    background-color: #ffffff;
    padding: 10px;
    width: 100%; /*Se ajusta automáticamente para ocupar todo el box*/
    animation: moveLogos 30s linear infinite;
}
.logo-bar .logo {
  
    flex: 0 0 auto;
    margin: 0 20px;
}

.logo-bar img {
 
    max-height: 50px;
}




.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-track-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    margin-top: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border: none;
    border-radius: 50%;
    background-color: rgba(87, 87, 87, 0.5);
    cursor: pointer;
}

.carousel-dot.current-slide {
    background-color: rgb(0, 0, 0);
}


.carouselTitle{
    color: white;
    /* height: 85px; */
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con 50% de transparencia */
    text-align: center;
    font-weight: bold;
    padding: 20px;
    border-radius: 100px;
}






@keyframes moveLogos {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* .logo-bar {
    animation: moveLogos 10s linear infinite;
} */


/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 420px) {
    /* Aplicar la animación en la clase .logo-bar para pantallas pequeñas */

    .boxText {
    font-size: 18px;
    }
    .logo-bar {
    animation: moveLogos 10s linear infinite;
    }
    .carousel-item {
      width: 1vw;
      height: 500px;
  
    }
    .carouselTitle{
         font-size: 25px;
    }
    .carousel-dot {
        width: 20px;
        height: 20px;
    }
    
  }
  