/* ---------------- GLOBAL ---------------- */
body {
    margin: 0;
    background: black;
    color: white;
    font-family: monospace;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 
    position: relative;
}

.hero h1 {
    font-size: 15vw;
    letter-spacing: 6px;
    margin-bottom: 25px;
}

.scramble-container {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrambleText {
    font-size: 3vw;
    white-space: nowrap;
}

/* ---------------- GENERAL SECTIONS ---------------- */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    /* text-align: center; */
}

.content {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
}

h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
}

.music-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.music-grid iframe {
    width: 300px;
    height: 380px;
    border-radius: 12px;
}

/* small screens */
@media (max-width: 1200px) {
    .music-grid {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .music-grid iframe {
        width: 90%;
        max-width: 350px;
    }
}

/* selection styles */
::selection {
    background: white;
    color: black;
}

::-moz-selection {
    background: white;
    color: black;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project a {
    color: white;
    text-decoration: none;
    display: flex;
    gap: 12px;
}

.project-name {
    min-width: 130px;
}

.project-desc {
    opacity: 0.55;
}

.project a:hover .project-name {
    text-decoration: underline;
}

.project a.codex-entry {
    display: block;
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #999;
    text-decoration: none;
}

.project a.codex-entry:hover {
    color: #fff;
}

/* ---------------- EVENTS ---------------- */
.events-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.event-card {
    width: 200px;
    flex: 0 0 200px;
    text-align: center;
}

.event-card img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #333;
    box-sizing: border-box;
    filter: grayscale(100%);
    transition: filter 0.3s ease, border-color 0.3s ease, transform 0.2s ease;

}

.event-card img:hover {
    filter: grayscale(0%);
    border-color: white;
    transform: scale(1.03);
}

.event-card a {
    display: block;
    cursor: pointer;
}

.event-card p {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    line-height: 1.5;
}


/* ---------------- MOBILE ---------------- */
@media (max-width: 600px) {
    .events-grid {
        gap: 15px;
    }

    .event-card {
        width: 150px;
        flex: 0 1 150px;
    }

    .event-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}


/* ---------------- CONTACT ---------------- */
.contact-subtitle {
    font-size: 12px;
    opacity: 0.5;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.contact-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.contact-links a:hover {
    border-color: white;
    opacity: 0.7;
}

.contact-email {
    font-size: 14px;
    margin-top: 20px;
}

.contact-email a {
    color: white;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.internship-note {
    font-size: 11px;
    opacity: 0.5;
    margin-top: 35px;
}


/* ---------------- MUSIC ---------------- */

.music-section {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 80px 5%;
}

.music-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.music-content h2 {
    margin-bottom: 35px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

.music-grid iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Tablets */
@media (max-width: 768px) {
    .music-section {
        padding: 60px 24px;
    }

    .music-content {
        max-width: 500px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .music-grid iframe {
        height: 380px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .music-section {
        padding: 40px 16px;
    }

    .music-content h2 {
        font-size: 26px;
    }

    .music-grid iframe {
        height: 352px;
    }
}