body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    font-family: sans-serif;
    text-align: center;
    background-color: black;
    color: white;
}

#insta-link {
    display: inline-block;
    margin: 20px auto;
    font-size: 2em;
    color: white;
}

#insta-link img {
    vertical-align: middle;
    margin-right: 10px;
}

/* Promo image container */
#promo {
    width: 100vw;
    overflow-x: hidden;
}

#promozione {
    width: 100%;
    height: auto;
    display: block;
}

/* Away image styling to cover full viewport width responsively */
#away {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain; /* use contain to show full image without cropping */
}

/* Timer container styling */
#timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
}

#timer-title {
    color: #ffff66;
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    text-shadow:
        0 0 2px #ffff66,
        0 0 4px #ffeb3b,
        0 0 6px #ffeb3b;
}

#timer {
    color: #ffff66;
    font-size: 2em;
    margin: 10px 0;
    text-shadow:
        0 0 2px #ffff66,
        0 0 4px #ffeb3b,
        0 0 6px #ffeb3b;
}

#calendar-timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 100, 0.3);
}

#calendar-timer-title,
#calendar-timer-subtitle {
    color: #ff4f8b;
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0 0 0;
    text-shadow:
        0 0 2px #ff4f8b,
        0 0 6px #ff007f,
        0 0 12px #ff007f;
}

#calendar-timer {
    color: #ff4f8b;
    font-size: 1.5em;
    margin: 5px 0 10px 0;
    text-shadow:
        0 0 2px #ff4f8b,
        0 0 6px #ff007f,
        0 0 12px #ff007f;
}

#calendar-timer-link {
    color: #ff4f8b;
    font-size: 1.1em;
    margin-top: 10px;
    text-shadow:
        0 0 2px #ff4f8b,
        0 0 6px #ff007f;
}

#seriea-link {
    color: #ff4f8b;
    text-decoration: underline;
    font-weight: bold;
    text-shadow:
        0 0 2px #ff4f8b,
        0 0 6px #ff007f;
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
    #promozione {
        content: url("images/calendario.jpeg");
    }
    #away {
        content: url("images/calendario_25_26_new.png");
    }
}

@media screen and (max-width: 768px) {
    #promozione {
        content: url("images/calendario.jpeg");
    }
    #away {
        content: url("images/calendario_25_26_new.png");
    }
    #calendar-timer-title,
    #calendar-timer-subtitle {
        font-size: 1.2em;
    }
    #calendar-timer {
        font-size: 1em;
    }
    #calendar-timer-link {
        font-size: 1em;
    }
    #timer {
        color: #ffff66;
        font-size: 1.25em;
        margin: 10px 0;
        text-shadow:
            0 0 2px #ffff66,
            0 0 4px #ffeb3b,
            0 0 6px #ffeb3b;
    }
    #insta-link {
        font-size: 1.2em;
    }
}
