@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght=300..700&display=swap');

:root {
    --bg-dark: #1E1E1E;
    --text-light: #F4F4F4;
    --font-code: "Fira Code", monospace;
    --font-hockey: "Super Hockey";
    --frame-w: 100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
}


a {
  background: linear-gradient(to bottom, var(--mainColor) 0%, var(--mainColor) 100%);
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 3px 3px;
  color: var(--text-light);

  font-weight: 900;

  text-decoration: none;
}

a:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23ff9800' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: 0 100%;
  background-size: auto 6px;
  background-repeat: repeat-x;
  text-decoration: none;
}


.side-padding {
    padding-left: 3.5%;
    padding-right: 3.5%;
}

.super-hockey {
    font-family: var(--font-hockey);
}

#logo-header {
    max-height: 80%;
    filter: invert(1);
}

header {
    background-color: var(--text-light);
    height: 10dvh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

#menu-item-list {
    display: flex;
    gap: 2.5dvw;
}

.menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: large;
    color: white;
    white-space: nowrap;
}

.menu-item svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.menu-item span {
    position: relative;
    z-index: 1;
}

section {
    width: 100%;
    height: 100dvh;
}

#landing {
    padding-top: 10dvh;
    display: flex;
    flex-direction: column;
}

#landing-heading {
    padding-top: 3.5%;
    width: 100%;
    color: var(--text-light);
    font-size: 115px;
    font-weight: 100;
    text-align: right;
    line-height: 75%;
    user-select: none;
}

#landing-content {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
}

#loader-anim {
    width: 50%;
    height: 100%;
    position: relative;
    margin-right: 6px;
    overflow-y: hidden;
}

#text-content {
    width: 50%;
    height: 100%;
    margin-left: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#loader-anim-background {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
}

.filler-item-background {
    flex: 1;
    border: 1px solid var(--text-light);
    border-radius: 12px;
    background-color: transparent;
}

#filler-box-2 {
    background-color: var(--text-light);
    border: none;
}

#filler-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex: 1;
}

#hyperdaisy-anim {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 125%;
    aspect-ratio: 1;
    background-image: url('src/images/daysiRunning.png');
    background-repeat: no-repeat;
    background-size: calc(var(--frame-w) * 8) 100%;
    animation: sprite-play 0.8s steps(8, end) infinite;
    image-rendering: pixelated;
}

@keyframes sprite-play {
    from { background-position: 0 0; }
    to   { background-position: calc(var(--frame-w) * -8) 0; }
}

.text-content-item {
    color: white;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    font-family: var(--font-code);
}

#text-content-item-image {
    background-image: url('src/images/testItem.png');
    background-position: 100% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
    border-width: 2px;
    border-color: white;
}

#about-us {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 3%;
    overflow: hidden;
    gap: 5%;
}

#about-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("src/images/SKYCITY.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 68% top;
    filter: brightness(0.7);
    z-index: 0;
}

#about-us-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 30, 30, 0) 0%, rgba(30, 30, 30, 0.2) 50%, rgba(30, 30, 30, 0.85) 100%);
    z-index: 4;
}

#about-us-overlay-image {
    position: absolute;
    inset: 0;
    background-image: url("src/images/SKYCITYOnlyDaisy.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 68% top;
    filter: brightness(0.7);
    z-index: 3;
    pointer-events: none;
}

#about-us-heading-wrapper {
    position: relative;
    flex: 1 1 auto;
    max-width: 50%;
}

#about-us-heading,
#about-us-heading-outline {
    font-size: clamp(4rem, 11vw, 24dvh);
    line-height: 80%;
    font-weight: 100;
}

#about-us-heading {
    position: relative;
    z-index: 2;
    color: white;
}

#about-us-heading-outline {
    position: absolute;
    inset: 0;
    z-index: 5;
    color: transparent;
    -webkit-text-stroke: 2px white;
    text-stroke: 2px white;
    pointer-events: none;
}

#about-us-paragraph-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 50%;
    max-height: 100%;
    flex: 0 1 auto;
    text-align: right;
    color: var(--text-light);
    font-family: var(--font-code);
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.6;
}

#our-team {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

#our-team-static-content {
    display: flex;
    align-items: center;
}

#our-team-heading {
    color: #F4F4F4;
    font-weight: 100;
    line-height: 80%;
    font-size: clamp(5rem, 10vw, 12vw);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

#our-team-members {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

#team-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    color: #F4F4F4;
}

#member-profile-picture {
    background-color: black;
    aspect-ratio: 1;
    width: clamp(100px, 15vw, 180px);
    border-radius: 50%;
    flex-shrink: 0;
}

#member-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#member-username {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 100;
    line-height: 1;
}

#member-position {
    font-family: var(--font-code);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    opacity: 0.8;
    text-decoration: none;
    color: inherit;
}

#member-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.nav-arrow {
    position: relative;
    width: 16px;
    height: 28px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    --arrow-color: #F4F4F4;
    transition: --arrow-color 0.15s ease;
}

.nav-arrow:hover {
    --arrow-color: #999999;
}

.nav-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: var(--arrow-color);
    box-shadow:
        0    4px 0 0 var(--arrow-color),
        4px  4px 0 0 var(--arrow-color),
        0    8px 0 0 var(--arrow-color),
        4px  8px 0 0 var(--arrow-color),
        8px  8px 0 0 var(--arrow-color),
        0   12px 0 0 var(--arrow-color),
        4px 12px 0 0 var(--arrow-color),
        8px 12px 0 0 var(--arrow-color),
        12px 12px 0 0 var(--arrow-color),
        0   16px 0 0 var(--arrow-color),
        4px 16px 0 0 var(--arrow-color),
        8px 16px 0 0 var(--arrow-color),
        0   20px 0 0 var(--arrow-color),
        4px 20px 0 0 var(--arrow-color),
        0   24px 0 0 var(--arrow-color);
}

#nav-arrow-left::before {
    transform: scaleX(-1);
    transform-origin: 8px 14px;
}

/* our game CSS*/
#our-game {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
    min-height: 100vh;
    padding-top: 6dvh;
    padding-bottom: 6dvh;
}

#our-game-left {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

#our-game-preview-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

#our-game-icon {
    position: relative;
    flex: 0 0 auto;
    width: 60px;
    aspect-ratio: 1;
    border: 2px solid var(--text-light);
    border-radius: 16px;
    background-color: transparent;
}

#our-game-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--text-light);
    transform: translate(2px, -14px); 
    box-shadow:

        -4px 4px 0 0 var(--text-light),
        0 4px 0 0 var(--text-light),

        -8px 8px 0 0 var(--text-light),
        -4px 8px 0 0 var(--text-light),

        -12px 12px 0 0 var(--text-light),
        -8px 12px 0 0 var(--text-light),
        -4px 12px 0 0 var(--text-light),
        0 12px 0 0 var(--text-light),
        4px 12px 0 0 var(--text-light),

        -4px 16px 0 0 var(--text-light),
        0 16px 0 0 var(--text-light),

        -8px 20px 0 0 var(--text-light),
        -4px 20px 0 0 var(--text-light),

        -8px 24px 0 0 var(--text-light);
}
#our-game-title-box {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-light);
    border-radius: 16px;
    padding: 10px 20px;
}

#our-game-title-box h3 {
    color: var(--text-light);
    font-weight: 100;
    font-size: clamp(1.4rem, 2vw, 2rem);
    letter-spacing: 1px;
    text-align: center;
}

#our-game-image {
    flex: 1 1 auto;
    width: 100%;
    border: 2px solid var(--text-light);
    border-radius: 16px;
    background-image: url('src/images/daisybannerv2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}

#our-game-right {
    flex: 1 1 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    text-align: right;
}

#our-game-paragraph {
    color: var(--text-light);
    font-family: var(--font-code);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.6;
    border: 2px solid var(--text-light);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
}

#our-game-heading {
    color: var(--text-light);
    font-weight: 100;
    line-height: 80%;
    font-size: clamp(4rem, 9vw, 10vw);
    white-space: nowrap;
}

#contact-us {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    min-height: 100vh;
    padding-top: 6dvh;
    padding-bottom: 6dvh;
}

#contact-us-left {
    flex: 1 1 50%;
    align-self: stretch;
    border: 1px solid var(--text-light);
    border-radius: 16px;
    background-image: url('/src/images/contactUsSpriteSheet.png');
    background-repeat: no-repeat;
    background-size: calc(var(--frame-w) * 24) 100%;
    animation: play-contact-us 2s steps(24) infinite;
    image-rendering: pixelated;
}

@keyframes play-contact-us {
  to {
    background-position: calc(var(--frame-w) * -24) 0;
  }
}

#contact-us-right {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

#contact-us-heading {
    color: var(--text-light);
    font-weight: 100;
    line-height: 85%;
    font-size: clamp(4rem, 9vw, 7rem);
}

#contact-us-paragraph {
    color: var(--text-light);
    font-family: var(--font-code);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.6;
}

#contact-us-socials {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 10px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-item span {
    color: var(--text-light);
    font-family: var(--font-code);
    font-size: 14px;
}


/** Smaller media devices */

#hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

#hamburger-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--bg-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

#hamburger-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#hamburger-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

#hamburger-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
    #about-us {
        padding: 12dvh 5% 6dvh 5%;
        gap: 4%;
    }
    #about-us-heading-wrapper {
        max-width: 45%;
    }
    #about-us-paragraph-container {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    section {
        height: auto;
    }

    #landing {
        height: auto;
        min-height: 100dvh;
    }

    #hamburger-toggle {
        display: flex;
    }

    #menu-item-list {
        position: fixed;
        top: 10dvh;
        right: 0;
        width: 100%;
        height: 90dvh;
        background-color: var(--bg-dark);
        border-top: 2px solid var(--text-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 99;
    }

    #menu-item-list.active {
        transform: translateX(0);
    }

    .menu-item {
        color: var(--text-light);
    }

    #landing-heading {
        font-size: 8.5vw;
        line-height: 90%;
        padding-top: 20px;
        text-align: center;
    }

    #landing-heading a {
        font-size: 11vw !important;
        line-height: 90% !important;
    }

    #landing-content {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 20px;
    }

    #loader-anim, 
    #text-content {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-right: 0;
    }

    #loader-anim {
        height: 300px;
    }

    #text-content {
        gap: 16px;
    }

    .text-content-item {
        font-size: 14px;
        padding: 10px;
    }

    #text-content-item-image {
        min-height: 200px;
    }

    #about-us {
        height: auto;
        min-height: 100dvh;
        flex-direction: column;
        justify-content: flex-end;
        padding: 15dvh 3.5% 40px 3.5%;
        gap: 30px;
        overflow: hidden;
    }

    #about-us::before,
    #about-us-overlay-image {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 150vmax;
        height: 150vmax;
        transform: translate(-50%, -50%) rotate(90deg);
        background-size: cover;
        filter: brightness(0.6);
    }

    #about-us-gradient {
        background: linear-gradient(180deg, rgba(30, 30, 30, 0.2) 0%, rgba(30, 30, 30, 0.65) 45%, rgba(30, 30, 30, 0.95) 100%);
    }

    #about-us-heading-wrapper {
        max-width: 100%;
        width: 100%;
    }

    #about-us-heading,
    #about-us-heading-outline {
        font-size: clamp(3.5rem, 10dvh, 8rem);
        text-align: center;
        line-height: 100%;
        padding: 10px;
    }

    #about-us-paragraph-container {
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
        padding: 10px;
        max-width: 100%;
        margin-top: 20px;
        max-height: none;
    }

    #our-team {
        flex-direction: column;
        justify-content: center;
        gap: 4rem;
        padding-top: 15dvh;
        padding-bottom: 8dvh;
        min-height: 100dvh;
        height: auto;
    }

    #our-team-static-content {
        width: 100%;
        justify-content: center;
    }

    #our-team-heading {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(3rem, 12vw, 5.5rem);
        text-align: center;
        line-height: 1;
    }

    #our-team-members {
        width: 100%;
        gap: 3rem;
    }

    #team-member {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    #member-profile-picture {
        width: 150px;
    }
}

@media (max-width: 768px) {
    #our-game {
        flex-direction: column;
        height: auto;
        min-height: 100dvh;
        padding-top: 10dvh;
        padding-bottom: 6dvh;
        gap: 30px;
    }

    #our-game-left,
    #our-game-right {
        width: 100%;
        flex: none;
        height: auto;
    }

    #our-game-preview-header {
        gap: 12px;
    }

    #our-game-icon {
        width: 48px;
    }

    #our-game-image {
        min-height: 260px;
    }

    #our-game-right {
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    #our-game-paragraph {
        font-size: 13px;
        padding: 16px;
    }

    #our-game-heading {
        font-size: clamp(3rem, 14vw, 6rem);
        white-space: normal;
        text-align: center;
    }

    #contact-us {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    padding-top: 15dvh;
    padding-bottom: 6dvh;
    gap: 30px;
}

    #contact-us-left {
		aspect-ratio: 1;
        width: 100%;
        height: auto;
        flex: none;
    }

    #contact-us-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    #contact-us-heading {
        font-size: clamp(3rem, 14vw, 6rem);
        text-align: center;
    }

    #contact-us-socials {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

    .social-item {
        align-items: center;
    }
}
