@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body{
    margin: 0;
    padding: 0;
    background-color: #000;
    background-image: url('Images/Parallax.png');
}
.parallax{
    background-image: url('Images/Parallax.png');
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10%;
    padding-top: 20%;
    padding-bottom: 20%;
}
.navbar {
    background-color: #859ad391;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: fixed;
    width: 98%;
    backdrop-filter: blur(4px);
    z-index: 1000;
    border-radius: 10px;
    margin: 1%;
    padding: 5px;
}
.navbar img{
    height: 100%;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 10px;
}
.nav-links a{
    font-family: "Roboto", sans-serif;
    font-size: large;
    color: white;
}
.nav-links .button{
    padding: 5px;
    margin-left: 20px;
}
.nav-links .button:hover{
    background-color: #859ad391;
    border-radius: 5px;
}
.content{
    font-family: "Roboto", sans-serif;
    background-color: #859ad391;
    color: white;
    margin: 10% 5%;
    width: 90%;
    max-width: 90%;
    justify-content: center;
    text-align: center;
    border-radius: 30px;
    padding: 20px;
}
.content p{
    margin: 0 5%;
}
.content .market-analysis-sections{
    justify-content: left;
    text-align: left;
    background-color: #262626b9;
    padding: 0 1%;
    border-radius: 10px;
}
.supercontent{
    font-family: "Roboto", sans-serif;
    background-color: #859ad391;
    color: white;
    width: 100%;
    max-width: 97%;
    justify-content: center;
    text-align: center;
    border-radius: 30px;
    padding: 20px;
}
.supercontent p{
    margin: 0 5%;
}
.supercontent .market-analysis-sections{
    justify-content: left;
    text-align: left;
    background-color: #262626b9;
    padding: 0 1%;
    border-radius: 10px;
}
.card {
    display: inline-block;
    position: relative;
    max-width: 300px;
    height: 320px;
    background-color: #f2f8f9;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #9b9b9b, #6b6e6e);
    font-family: "Roboto", sans-serif;
}
.card:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #1a3556, #0A2342);
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.35s ease-out;
}
.card:hover:before {
    transform: scale(33);
}
.card:hover .small-desc {
    transition: all 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
}
.card .card-title {
    font-family: "Roboto", sans-serif;
    color: #000000;
    font-size: 1.5em;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 0.5em;
    text-align: left;
}
.card:hover .card-title {
    transition: all 0.5s ease-out;
    color: #ffffff;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Alto completo */
    overflow: hidden;
    background-color: rgba(0,0,0,0.4); /* Fondo semi-transparente */
}
.modal-content {
    background-color: #8096d491;
    margin: 15% 15%;
    padding: 20px;
    width: 70%;
    border-radius: 5px;
    position: relative;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    justify-content: center;
    text-align: center;
}
.link{
    color: #fff;
}
.link:visited{
    color: #fff;
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#confirmar-button {
    background-color: #5cb85c;
    color: white;
}

#confirmar-button:hover {
    background-color: #4cae4c;
}

#cancelar-button {
    background-color: #f44336;
    color: white;
}

#cancelar-button:hover {
    background-color: #d32f2f;
}
footer {
    background-color: #0A2342; /* Color de fondo negro */
    color: #fff; /* Color del texto blanco */
    padding: 20px;
    text-align: center;
    margin-top: auto; /* Empuja el footer hacia abajo */
}

footer p {
    margin: 0 0 10px 0; /* Espacio debajo del párrafo de copyright */
}
.img{
    border-radius: 10px;
    margin: 5px;
    width: 100%;
}
.imgraf{
    border-radius: 10px;
    margin: 5px;
    width: 100%;
}
.tresd {
    border-radius: 10px;
    display: flex;
    flex-direction: column; /* Por defecto en columna para móviles */
    gap: 10px; /* Espacio entre elementos dentro de .tresd */
    height: 300px;
    width: 100%;
    width: auto;
    max-height: 300px;
    max-width: 100%;
}

h4 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-align: center;
}

.tech {
    display: flex;
    width: 100%;
    min-width: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.contenedor-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #262626b9;
    border-radius: 10px;
    padding: 20px; /* Añadido padding para visibilidad del contenido */
    box-sizing: border-box;
    min-height: 100px; /* Altura mínima para que se vea */
    text-align: center;
}

.contenedor-flex h2 {
    text-align: center;
    margin: 0;
    font-size: 1.2em;
}

/* Dropdown styles */
.dropdown-menu-toggle {
    display: none; /* Oculto por defecto en pantallas grandes */
    position: relative;
}

.menu-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-right: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #867f7f91;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0; /* Alinea el dropdown a la derecha */
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: "Roboto", sans-serif;
}

.dropdown-content a:hover {
    background-color: #867f7fb7;
}

.dropdown-menu-toggle.active .dropdown-content {
    display: block;
}

/* Media query para pantallas más grandes (tablets y desktops) */
@media (min-width: 768px) {
    .tresd {
        flex-direction: row; /* En fila para pantallas más grandes */
        flex-wrap: wrap; /* Permite que los elementos se envuelvan */
        justify-content: space-between; /* Distribuye el espacio */
    }

    .tech {
        flex-direction: row; /* En fila para pantallas más grandes */
        flex-wrap: wrap;
    }

    .contenedor-flex {
        flex: 1; /* Permite que los contenedores se expandan para llenar el espacio */
        margin: 0 3px; /* El margen original que pediste */
    }

    /* Ajuste para que los contenedores dentro de .tresd y .tech tengan un ancho más equitativo */
    .tresd .contenedor-flex,
    .tech .contenedor-flex {
        flex-basis: calc(33.33% - 6px); /* Aproximadamente 3 por fila, restando el margen */
        max-width: calc(33.33% - 6px);
    }

    .tech .contenedor-flex {
            flex-basis: calc(50% - 6px); /* Ejemplo: 2 por fila en .tech */
            max-width: calc(50% - 6px);
    }
}

/* Media query para pantallas más pequeñas (móviles) */
@media (max-width: 767px) {
    .nav-links {
        display: none; /* Oculta los enlaces de navegación tradicionales */
    }

    .dropdown-menu-toggle {
        display: block; /* Muestra el botón del menú desplegable */
    }

    .navbar {
        justify-content: space-between; /* Ajusta el espacio para el botón del menú */
    }
}

/* Ajustes para pantallas aún más grandes si es necesario */
@media (min-width: 1024px) {
    .tresd .contenedor-flex {
        flex-basis: calc(25% - 6px); /* Ejemplo: 4 por fila en .tresd */
        max-width: calc(25% - 6px);
    }
}
body::-webkit-scrollbar {
    width: 12px;
}
body::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}
body::-webkit-scrollbar-thumb {
    background-color: #0A2342;
    border-radius: 10px;
    border: 2px solid #000000;
}
.logo{
    max-width: 100%;
}
.cta {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  background-color: #262626;
  padding: 20px;
}
.cta a{
    text-decoration: none;
    color: white;
}
.cta span {
  padding: 10px;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
}
.hover-underline-animation {
  position: relative;
  color: white;
  padding-bottom: 20px;
}
.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.table-container {
    width:  100%;
    background-color: #ffffff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
td{
    color: #000;
}
th {
    background-color: #0A2342; 
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}
th:first-child,
td:first-child {
    width: 30%;
    font-weight: bold; 
    text-align: left; 
    padding-right: 20px; 
}
tr:nth-child(even) {
    background-color: #f2f2f2; 
}
tr:hover {
    background-color: #e0e0e0;
}
tbody tr:last-child td {
    border-bottom: none;
}
.imgrrss{
    border-radius: 10px;
    width: 70%;
    height: auto;
}
.imgbanner{
    border-radius: 10px;
    width: 70%;
    height: auto;
}
.tarjeta {
  display: flex;
  flex-direction: row; 
  justify-content: center; 
  align-items: center;
  width: 100%;
}
.imgtar {
  width: 40%;
  margin: 10px;
}
.vid{
    width: 70%;
    border-radius: 10px;
}