@font-face {
    font-family: "Futura Std Medium";
    src: url("FuturaStdMedium.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Futura Std Bold";
    src: url("FuturaStdBold.otf") format("opentype");
    font-weight: bold;
}

body {
    background-color: #f0ebe5;
    margin: 0;
}

/* Menú principal */
.premio-interceramic-menu {
    font-family: "Futura Std Medium", sans-serif;
    letter-spacing: 0.4vw !important;
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 2vw;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

/* Ítems del menú */
.premio-interceramic-menu-item {
    padding: 10px;
    font-size: clamp(10px, 1vw, 18px);
    font-weight: normal;
    color: #5352eb !important;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

/* Separadores entre elementos del menú en pantallas grandes */
.premio-interceramic-menu-item:not(:last-child) {
    border-right: 2px solid #5352eb;
    padding-right: 2vw;
}

/* Enlaces del menú */
.premio-interceramic-link {
    text-decoration: none;
    color: #5352eb !important;
    text-align: center; /* Asegura que el texto esté centrado */
    display: block; /* Hace que el enlace ocupe todo el espacio disponible */
    width: 100%;
}

/* Efecto Hover */
.premio-interceramic-link:hover, .premio-interceramic-link.selected:hover {
    color: #1e1ec4 !important;
    text-decoration: none;
}

/* Estado Seleccionado */
.premio-interceramic-link.selected {
    color: #5352eb !important;
    text-decoration: underline !important;
    text-decoration-thickness: 3px !important; /* Grosor del subrayado */
    text-underline-offset: 5px !important; /* Separación del subrayado */
}

/* Hover cuando está seleccionado */
.premio-interceramic-menu-item.selected .premio-interceramic-link:hover {
    color: #1e1ec4 !important;
}

/* Logotipo */
/* Contenedor del logotipo */
a.logotipo {
    display: block; /* Asegura que el enlace ocupe toda la línea */
    position: relative; /* Necesario para ::after */
    width: fit-content; /* Se ajusta al contenido */
    margin-bottom: 2vw;
}

/* Imagen del logotipo */
a.logotipo img {
    width: 20%;
    min-width: 200px; 
    margin-left: 1vw; 
    margin-bottom: 2vw;
}

/* Línea divisora bajo el logotipo */
a.logotipo::after {
    content: "";
    display: block;
    width: 100%; /* Ahora la línea tiene el mismo ancho que el logotipo */
    height: 2px; /* Grosor de la línea */
    background-color: #5352eb; /* Color del divisor */
    position: absolute;
    left: 0;
    bottom: -1vw; /* Ajusta la separación entre el logo y la línea */
}


/* Contenedor principal de las imágenes */
.imagen-contenedor {
    width: 100%; /* O ajusta según el tamaño del contenedor */
    height: 18vw; /* Espacio suficiente para alinear correctamente */
    position: relative;
}

/* Imagen 1 - Referencia (Cuadrada, Pegada a la Derecha) */
.imagen-referencia {
    position: absolute;
    top: 0;
    right: 0;
    width: 18vw; /* Imagen cuadrada */
    height: 18vw;
}

/* Imagen 1 dentro del contenedor */
.imagen-referencia img:first-child {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Imagen 2 - Sobrepuesta a 2/3 de la Imagen 1 */
.imagen-sobrepuesta {
    position: absolute;
    width: 17.5vw; /* Ajusta el tamaño según necesidad */
    height: auto;
    top: 56%; /* Aproximadamente 2/3 desde arriba */
    right: 6vw; /* Pegada a la imagen de referencia */
}

/* Imagen 3 - Alineada al centro vertical de la imagen 1 y pegada a la izquierda */
.imagen-centrada {
    position: absolute;
    height: 8vw; /* Tamaño relativo */
    width: auto;
    top: 50%; /* Centrada verticalmente respecto a la imagen 1 */
    left: 6vw; /* Pegada a la izquierda */
    transform: translateY(-50%); /* Ajuste para centrarla correctamente */
}

/* Contenedor de los campos de texto */
.texto-contenedor {
    width: 100%;
    max-width: 2100px; /* Ajusta el ancho máximo */
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Texto con Bold */
.texto-bold {
    font-family: "Futura Std Bold", sans-serif;
    font-size: clamp(16px, 1.6vw, 20px); /* Tamaño dinámico */
    font-weight: bold;
    color: #5352eb;
    margin: 0;
    margin-left: 6vw;
    margin-right: 6vw;
}

/* Texto normal */
.texto-normal {
    font-family: "Futura Std Medium", sans-serif;
    font-size: clamp(14px, 1.2vw, 20px); /* Tamaño dinámico */
    font-weight: normal;
    color: #5352eb;
    line-height: 1.2;
    margin: 0;
    text-decoration-color: currentColor; /* Subrayado del mismo color que el texto */
    margin-left: 6vw;
    margin-right: 6vw;
}

/* Enlaces dentro del texto */
.texto-normal a {
    color: #2524b8; /* Color más oscuro para los links */
    text-decoration-color: currentColor; /* Subrayado del mismo color que el link */
    text-decoration-thickness: 2px; /* Hace el subrayado un poco más grueso */
}

/* Hover en enlaces */
.texto-normal a:hover {
    color: #1a1985; /* Aún más oscuro en hover */
    text-decoration: underline;
    text-decoration-thickness: 3px; /* Subrayado más grueso en hover */
}

/* Footer */
.premio-interceramic-footer {
    position: static;
    bottom: 0;
    width: 100%;
}

/* --- RESPONSIVE: MODO MÓVIL --- */
@media screen and (max-width: 768px) {
    .premio-interceramic-menu {
        flex-direction: column; /* Apila los elementos en vertical */
        gap: 0;
        width: 100%;
        text-align: center;
        align-items: center; /* Centra los elementos */
    }

    .premio-interceramic-menu-item {
        padding: 15px 0;
        border-right: none !important; /* Se eliminan los separadores completamente */
        border-bottom: 1px solid #ddd; /* Línea divisoria entre elementos */
        width: 100%;
        text-align: center; /* Centra el texto */
        display: flex;
        justify-content: center; /* Centra el contenido horizontalmente */
    }

    .premio-interceramic-menu-item:last-child {
        border-bottom: none;
    }

    .premio-interceramic-link {
        width: 100%;
        text-align: center; /* Asegura que el texto esté completamente centrado */
        display: block;
    }
}