/*
    Student: Xeth Atillo
    Date: October 29, 2026
    File: event5.css
    Purpose: Style the CSS Karaoke Night invitation.
*/

/* Apply element sizing consistent. */
* {
    box-sizing: border-box;
}

/* Set the background image. */
html {
    min-height: 100%;
    background-image: url("event5_karaoke_night.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* Style the main page and centre its contents. */
body {
    margin: 0;
    min-height: 100vh;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: #ffffff;
    text-align: center;
}

/* Create the main invitation card. */
.invitation {
    width: 100%;
    max-width: 760px;
    margin: auto;
    padding: 40px;

    /* Transparent dark background for easy reading. */
    background-color: rgba(20, 10, 40, 0.92);

    /* Neon pink border and glowing shadow. */
    border: 3px solid #ff4fd8;
    border-radius: 22px;
    box-shadow: 0 0 25px rgba(255, 79, 216, 0.45);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add a glowing hover effect. */
.invitation:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 38px rgba(0, 220, 255, 0.5);
}

/* Style the university name. */
.eyebrow {
    color: #66eaff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
	text-transform: uppercase;
    margin-bottom: 20px;
}

/* Style the main heading. */
h1 {
    color: #ff4fd8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1.2;
    margin: 15px 0;
    text-shadow: 0 0 12px rgba(255, 79, 216, 0.7);
}

/* Style the event slogan. */
.subtitle {
    color: #b8f4ff;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Style the event information section. */
.event-details {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 25px;

	/* Lighter background inside the main card. */
    background-color: rgba(255, 255, 255, 0.07);
	
    border: 2px solid #66eaff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(102, 234, 255, 0.15);

    /* Centre all the event information. */
    text-align: center;
    line-height: 1.8;
}

/* Style the Details, DATE, and LOCATION labels. */
.event-details strong {
    display: block;
    color: #66eaff;
    font-family: "Courier New", monospace;
    font-size: 17px;
    letter-spacing: 2px;
    margin-top: 12px;
}

/* Make the event description easy to read. */
.event-details p {
    font-size: 16px;
    overflow-wrap: break-word;
    margin: 10px 0 18px;
}

/* Remove extra space above the first label. */
.event-details p:first-child {
    margin-top: 0;
}

/* Adjust the invitation for phones and smaller screens. */
@media screen and (max-width: 600px) {
    body {
        padding: 15px;
    }

    .invitation {
        padding: 25px 16px;
        border-radius: 16px;
    }

    .eyebrow {
        font-size: 21px;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 18px;
    }

    .event-details {
        padding: 18px 12px;
    }

    .event-details p {
        font-size: 14px;
    }
}

/* Respect reduced-motion accessibility preferences. */
@media (prefers-reduced-motion: reduce) {
    .invitation {
        transition: none;
    }

    .invitation:hover {
        transform: none;
    }
}