html,

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

p {
    color: rgba(255, 255, 255, 0.87);
    margin: 0.5vh 0 2vh 0;
    max-width: 90vw;
    text-align: left;
    align-self: center;
}

.coverframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 27.78vh;
    /* 300px */
    background-color: black;
    opacity: 0.5;
    display: flex;
    /* center children */
    justify-content: center;
    /* horizontal center */
    align-items: center;
    /* vertical center */
}

.videocontainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 27.78vh;
    overflow: hidden;
    z-index: -1;
}

.videocover {
    color: black;
    position:absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.videowrapper {
    width: 100%;
    height: 100%;
}

.banner {
    position: absolute;
    top: 2vh;
    /* small vertical offset relative to screen height */
    left: 50%;
    transform: translateX(-50%);

    width: 50vw;
    /* responsive width based on viewport */
    max-width: 1100px;
    /* limit on very large screens */
    min-width: 600px;
    /* prevent it from being too tiny */
    height: auto;
}


.header {
    font-size: clamp(2.15rem, 3.5vw, 3.5rem);
    /* 50px */
    margin: 0 auto;
    /* center horizontally */
    height: 9.26vh;
    /* 100px */
    width: 50vw;
    text-align: center;
    color: rgba(255, 255, 255, 0.87);
    border-radius: 0.83vw;

    /* 16px */
    padding: 1.85vh;
    /* 20px */
    font-weight: 700;
}

.subheader {
    font-size: 1.25rem;
    /* 40px */
    margin: 0 auto;
    /* center horizontally */
    height: auto;
    width: 70%;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    border-radius: 0.83vw;
    /* 16px */
    padding: 1.85vh;
    /* 20px */
    font-weight: 500;
}

.separator {
    margin-top: clamp(60px, 13vh, 180px);
    /* keeps spacing reasonable */
    width: 100%;
    height: clamp(1px, 0.093vh, 2px);
    /* 1px line but still scales slightly */
    background-color: #41484d;
    opacity: 0.5;
}

.wave-divider {
    position: relative;
    height: 1.85vh;

    margin-top: 1.5%;

    /* 20px */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 80 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 Q 20 0, 40 10 T 80 10" stroke="%23888" fill="transparent" stroke-width="2"/></svg>');
    background-repeat: repeat-x;
    z-index: 1;
    opacity: 0.5;
}


.topbar {
    overflow: hidden;
    background-color: #353a3d;

    position: fixed;
    top: 2.31vh;
    /* 25px */
    left: 40%;
    display: flex;
    border-radius: 50vw;
    justify-content: center;
    gap: 0.83vw;
    /* 16px */
    opacity: 1;
    z-index: 10;
}

.headericon {
    size: 50vw;
}

.lucide {
    align-self: center;
    width: 1.5vw;
    height: 1.5vw;
}

.button {
    background-color: #353a3d;
    border-radius: 50%;
    min-height: 10px;
    min-width: 10px;
    width: 3.13vw;
    /* 60px */
    height: 3.13vw;
    /* 60px */
    transition: background-color 0.3s ease;
    display: flex;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    cursor: pointer;
}

.description {
    font-size: 1.5rem;
    /* 24px */
    margin: 0 auto;
    /* center */
    margin-top: 4.63vh;
    /* 50px */
    height: auto;
    width: 70%;
    background-color: #374955;
    text-align: center;
    color: rgba(255, 255, 255, 0.87);
    border-radius: 0.83vw;
    /* 16px */
    padding: 1.85vh;
    /* 20px */
}

.footertext {
    font-size: 1rem;
    /* 16px */
    margin: 1.85vh auto 0 auto;
    /* vertical top margin + center horizontally */
    height: auto;
    width: 70%;
    text-align: center;
    color: rgba(255, 255, 255, 0.87);
}

.footer {
    position: absolute;
    height: auto;
    width: 100%;
    font-size: 0.875rem;
    /* 14px */
}

.logoframe {
    width: 50%;
    height: auto;
}

.teamButtonsContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;

    margin: 0 auto;


    padding: 2vh 2vw;

    /* 24px */
    margin-top: 1.85vh;
    /* 20px */
}

.social-container {
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center everything horizontally */
    justify-content: center;
    position: relative;
    width: 100%;

    gap: 2.5vh;

    margin: 0 auto;
    padding: 2vh 2vw;
    box-sizing: border-box;
}

.social-frame {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1.5vh;
    transform: none;
    display: flex;
    justify-content: center;
}

.game-container {
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center everything horizontally */
    justify-content: center;
    position: relative;
    width: 100%;

    gap: 2.5vh;

    margin: 0 auto;
    padding: 2vh 2vw;
    box-sizing: border-box;
}

.gameframe {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1.5vh;
    transform: none;
    display: flex;
    justify-content: center;
}

.gameframe img.logoframe {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

.gametitle {
    font-size: clamp(1.2rem, 5vw, 3rem);
    color: rgba(255, 255, 255, 0.87);
    font-weight: 700;
    margin: 0.5vh 0;
    text-align: center;
    max-width: 90vw;
    white-space: normal;
}

.gamedescription {
    font-size: clamp(0.9rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.87);
    margin: 0.5vh 0 2vh 0;
    max-width: 90vw;
    text-align: center;
    align-self: center;
}

.playbuttoncontainer {
    display: flex;
    justify-content: center;
    width: 20%;
    flex-direction: column;
    align-self: center;
    align-items: right;
}

.playbutton {
    cursor: pointer;
    background-color: #333;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    user-select: none;
    transition: background-color 0.3s ease;
    align-self: center;
    max-width: 90vw;
    text-align: center;
}

.playbutton:hover {
    background-color: #555;
}

.viewButton {
    cursor: pointer;
    background-color: #333;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    user-select: none;
    transition: background-color 0.3s ease;
    align-self: center;
    width: 20%;
    max-width: 90vw;
    margin-bottom: 5vw;
    margin-left: 45vw;
    text-align: center;
}

.viewButton:hover {
    background-color: #555;
}

.playbutton:hover {
    background-color: #555;
}

.button:hover {
    background-color: #555;
}

a:link {
    color: #92CEF5;
}

a:visited {
    color: #B6C9D8
}

#backbutton {
    margin-left: 5vh;
    text-align: center;
    width: 10vh;
}

#gameseperator {
    margin-top: 1vh;
}

#teamTitle {

    text-align: left;
}

#robloxbutton {
    padding-top: 0.05w;
    max-width: 3vw;
    max-height: 3vw;
}

#redditbutton {
    padding-top: 0.1vw;
    max-width: 5vw;
    max-height: 5vw;
}



/* #youtubebutton {
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
} */

.discordWidget {
    width: 90vw;
    max-width: 350px;
    aspect-ratio: 7 / 8;
    height: auto;
    min-width: 280px;
    min-height: 320px;
    margin-top: 0.625rem;
    margin-left: 1vw;
    border: none;
    visibility: hidden;
}

.teamMemberDepartment {
    font-size: 1.5rem;
    color: rgb(255, 255, 255, 0.5);
    text-align: center;
}

.teamMemberFrame {
    display: grid;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: auto;
    gap: 1rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.teamMemberContainer {
    color: white;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
}

.teamMemberImage {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    border-style: solid;
}

.teamMemberText {
    color: white;
    font-weight: bolder;
    text-align: center;
    font-size: 1rem;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.departmentText {
    color: rgb(255, 255, 255, 0.5);
    font-weight: bold;
    text-align: center;
    font-size: 0.75rem;
}

.archivetitle {
    font-size: clamp(3.5rem, 5vw, 3rem);
    color: rgba(255, 255, 255, 0.87);
    background: rgba(0, 0, 0, 0.5);
    /* font-weight: 700; */
    margin: 1vh 0;
    width: 80%;
    padding-left: 2%;
    text-align: left;
    white-space: normal;
    margin-left: auto;
    margin-right: auto;

    font-family: 'CompaqPort3';
}

.archivedescription {
    font-size: clamp(0.05rem, 1.7vw, 6rem);
    color: rgba(255, 255, 255, 0.87);
    background: rgba(0, 0, 0, 0.5);
    /* font-weight: 700; */
    width: 80%;
    height: 20%;
    margin: 1vh 0;
    text-align: left;
    white-space: normal;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    font-family: 'CompaqPort3';
}

/* BACKGROUND COLOR */

body {
    background-color: #0f1417;
    font-family: 'Roboto Mono', monospace;
}

@media (min-width: 1080px) {

    /* Full Screen */
    .game-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-around;
        padding: 3vh 4vw;
    }

    .topbar {
        left: 80%;
    }

    .gameframe {
        max-width: 50%;
        margin-bottom: 0;
    }

    .playbuttoncontainer {
        align-self: right;
        position-anchor: left;
        align-items: center;
    }

    .gametitle,
    .gamedescription,
    .playbutton {
        text-align: left;
        max-width: 40vw;
    }

    .playbutton {
        align-self: flex-start;
    }

    .viewButton {
        align-self: flex-start;
        width: 20%;
        margin-left: 70vw;
    }

    .discordWidget {
        visibility: visible;
    }

    #backButton {
        margin-left: 10vh;
        width: 20vh
    }
}

@font-face {
    font-family: "CompaqPort3";
    src: url("./fonts/CompaqPort3.woff") format("woff");
}