.color-hint {
    width: 100%;
    flex-grow: 1; /* Allow it to expand and take up available space */
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(#005491, 90%, #4fc3f7);
    text-align: center;
}

.line {
    position: relative;
    display: inline-block;
    min-width: 400px;
    margin-bottom: 26px;
    text-align: center;
}

.line::after {
    position: absolute;
    right: 0;
    bottom: -30px;
    left: 0;
    height: 30px;
    content: "";
    background: linear-gradient(to right, #006fb3 0%, #006fb3 48%, #fe6565 48%, #fe6565 100%);
}

.footer {
    background: url('../images/chileavanzacontigo-03.png') no-repeat center center;
    width: 100%;
    height: 50px;
    background-size: contain;
    background-color: transparent;
}

.recuadro {
    width: 90%;
    margin: 0 auto;
    border: 3px solid white;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.image-container {
    display: block;
}

.image-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    max-height: 200px; /* Máximo 200px de alto para cada imagen en computadoras */
}

.image-button img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    .line {
        min-width: 100%; /* Ensure the line takes full width on small screens */
    }

    .image-button {
        max-height: 70px; /* Máximo 50px de alto para cada imagen en móviles */
    }

    .image-button img {
        height: 70px; /* Asegura que la imagen tenga 50px de alto en móviles */
    }

    .image-text {
        font-size: 8vw; /* Adjust text size for smaller screens */
    }
}

.recuadro > .image-button:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 3px solid white;
}

.recuadro > .image-button:nth-child(2) {
    border-bottom: 3px solid white;
}

.recuadro > .image-button:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 3px solid white;
}

.image-button {
    position: relative;
}

.image-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0);
    transition: background-color 0.3s ease;
}

.image-button:hover::before {
    background-color: rgba(0, 84, 145, 0.5);
}

.image-text {
    position: absolute;
    font-family: "Bebas Neue", sans-serif;
    font-size: 5vw;
    max-width: 80%;
    font-weight: light;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}