/* Contenedor de texto y video */
.info-video-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    text-align: left;
    align-items: center;
}

/* Estilo para el texto */
.info {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: black;
}

/* Estilo para el espacio del video */
.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Diseño del video */
.video-container video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ranked-container {
    padding: 20px;
    text-align: center;
}

.ranked-container {
    padding: 20px;
    text-align: center;
}

.values-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin: 20px;
}

.value-item {
    text-align: center;
    max-width: 200px;
}

.value-item img {
    width: 150px;
    height: 150px;
}

.value-item h3 {
    color: #005682;
    font-size: 1.2rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #333;
}

@media (max-width: 480px) {
    /* Reduccin de tamao de las imgenes y texto */
    .value-item {
        max-width: 150px;
    }

    .value-item img {
        width: 100px; /* Reducir imagen en mviles */
        height: 100px; /* Mantener imagen cuadrada */
    }

    .value-item h3 {
        font-size: 1rem;
    }

    /* Ajustar los elementos de valor para que se apilen verticalmente */
    .values-container {
        flex-direction: column;
        align-items: center;
    }

    /* Ajustar el video y el texto */
    .info-video-container {
        flex-direction: column; /* Apilar video y texto */
    }

    .info, .video-container {
        width: 100%; /* Para que se adapten completamente al tamao de la pantalla */
        margin-bottom: 20px;
    }
}

/* Opcional: Ajustar el tamao del texto de todo el sitio en mviles */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem; /* Reducir tamao del ttulo */
    }

    h3 {
        font-size: 1rem; /* Reducir tamao de los encabezados */
    }
}

@media (max-width: 768px) {
    /* Reduccin de tamao de las imgenes y elementos de valor */
    .value-item {
        max-width: 180px;
    }

    .value-item img {
        width: 120px; /* Reducir tamao en tablets */
        height: auto;
    }

    .value-item h3 {
        font-size: 1.1rem;
    }

    .info-video-container {
        flex-direction: column;
    }

    .video-container, .info {
        flex: none;
        width: 100%; /* Apilar los contenedores en tabletas */
        margin-bottom: 20px;
    }
}