@charset "UTF-8";

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    position: relative;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #15171F;
    margin: 0 auto;
}

h1 {
    margin: 0;
    font-family: 'Trade Winds', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 52px;
}

.heading-font {
    font-family: 'Trade Winds', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 52px;
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 38px;
    }

    .heading-font {
        font-size: 26px;
        line-height: 25px;
    }
}

.body-font {
    font-family: 'IBM Plex Serif', serif;
    font-style: normal;
    font-weight: 500;
}

.gridcontents {
    display: grid;
    gap: 24px;
}

#header {
    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
}

#pc-headercontents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;

    position: absolute;
    width: 100%;
    height: 80px;
    left: 0px;
    top: 0px;

    background: linear-gradient(180deg, #131211 0%, rgba(19, 18, 17, 0) 100%);
}

#jump {
    list-style: none;
    width: 270px;
    height: 26px;
    gap: 24px;
    display: flex;
    justify-content: left;
    font-size: 14px;
    line-height: 26px;
}

#sp-Menu {
    display: none;
}

@media screen and (max-width: 1024px) {
    #pc-headercontents {
        justify-content: center;
    }

    #jump {
        display: none;
    }

    #sp-Menu {
        display: block;
        position: absolute;
        top: 24px;
        left: 20px;

        z-index: 10;

        -webkit-user-select: none;
        user-select: none;
    }

    #sp-Menu a {
        text-decoration: none;
        color: #FFFFFF;

        transition: color 0.3s ease;
    }

    #sp-Menu input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;

        cursor: pointer;

        opacity: 0;
        z-index: 2;

        -webkit-touch-callout: none;
    }

    #sp-Menu span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;

        background: #FFFFFF;
        border-radius: 3px;

        z-index: 1;

        transform-origin: 4px 0px;

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    #sp-Menu span:first-child {
        transform-origin: 0% 0%;
    }

    #sp-Menu span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #sp-Menu input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #FFFFFF;
    }

    #sp-Menu input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #sp-Menu input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menu {
        position: absolute;
        width: 300px;
        margin: -100px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;

        background: #11172C;
        opacity: 0.95;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;

        transform-origin: 0% 0%;
        transform: translate(-100%, 0);

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    #menu li {
        padding: 10px 0;
        font-size: 22px;
    }

    #sp-Menu input:checked~ul {
        transform: none;
    }
}

#header_social {
    list-style: none;
    width: 270px;
    height: 26px;
    gap: 24px;
    display: flex;
    justify-content: right;
}

#header_social li {
    width: 26px;
    height: 26px;
    margin: 0 4%;
}

@media screen and (max-width: 1024px) {
    #header_social {
        display: none;
    }
}

#introvideo {
    width: 100%;
    height: calc(600vw / 14.4);
    object-fit: cover;
}

#intro_bottom {
    width: 100%;
    margin-top: -50px;
}

#introcontents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: absolute;
    top: 207px;
    left: 70px;
    width: 409px;
}

@media screen and (max-width: 1024px) {
    #introvideo {
        height: 67vh;
    }

    #intro_bottom {
        width: 100%;
        margin-top: -40px;
    }

    #introcontents {
        position: relative;
        top: -100px;
        left: 0px;
        width: 90%;
        margin: 0 auto -100px;
    }
}

#steamwrapper {
    position: relative;
    width: 100%;
    height: 0px;
    margin: -180px auto 0;
    padding-bottom: 180px;
}

.steam {
    display: block;
    width: 650px;
    height: 210px;
    border: 0px;
    margin: 21px auto 0;
    max-width: 100%;
    padding-right: 5px;
    padding-left: 5px;
}

#steamwrapper2 {
    display: none;
}

@media screen and (max-width: 1024px) {
    #steamwrapper {
        display: none;
    }

    #steamwrapper2 {
        display: block;
        position: relative;
        width: 100%;
        height: 0px;
        margin: 50px auto 300px;
    }
}

#contentswrapper {
    margin: 100px auto 0px;
    width: 100%;
    max-width: 1440px;
}

#description1 {
    position: relative;
    width: 100%;
    height: 650px;
}

#grafitti1 {
    margin-left: 38.5%;
}

#screenshot1 {
    position: absolute;
    top: 30px;
    left: 5%;
}

#synopsis1 {
    position: absolute;
    top: 160px;
    right: 6%;
    width: 516px;
    text-align: left;
}

#description2 {
    position: relative;
    width: 100%;
    height: 600px;
}

#grafitti2 {
    margin-left: 6%;
}

#screenshot2 {
    position: absolute;
    top: 30px;
    right: 3%;
}

#synopsis2 {
    position: absolute;
    top: 160px;
    left: 3%;
    width: 400px;
    text-align: left;
}

#description3 {
    position: relative;
    width: 100%;
    height: 750px;
}

#grafitti3 {
    margin-left: 53%;
}

#screenshot3 {
    position: absolute;
    top: 160px;
    left: 1%;
    text-align: left;
}

#synopsis3 {
    position: absolute;
    top: 250px;
    right: 3%;
    width: 400px;
}

@media screen and (max-width: 1024px) {
    #description1 {
        position: relative;
        width: 100%;
        height: 700px;
    }

    #grafitti1 {
        position: absolute;
        top: 90px;
        margin-left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 85% 10%;
        z-index: 1;
    }

    #screenshot1 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 45vh;
        object-fit: cover;
    }

    #synopsis1 {
        position: relative;
        top: 20px;
        right: 0;
        width: 90%;
        text-align: left;
        margin: 0 auto;
    }

    #description2 {
        position: static;
        width: 100%;
        height: auto;
        margin: -50px auto 40px;
    }

    #grafitti2 {
        display: block;
        margin: 0 auto 40px;
    }

    #screenshot2 {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        height: 45vh;
        object-fit: cover;
    }

    #synopsis2 {
        position: relative;
        top: 20px;
        left: 0;
        width: 90%;
        text-align: left;
        margin: 0 auto;
    }

    #description3 {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: -220px;
    }

    #grafitti3 {
        display: block;
        position: relative;
        top: -120px;
        margin: 0 auto;
        max-width: 280px;
    }

    #screenshot3 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 45vh;
        object-fit: cover;
        z-index: 2;
    }

    #synopsis3 {
        position: relative;
        top: -220px;
        right: 0;
        width: 90%;
        text-align: left;
        margin: 0 auto;
    }
}

#footer {
    position: relative;
    bottom: -5vw;
    height: calc(600vw / 14.4);
    background-image: url(../img/footer_background.webp);
    background-size: cover;
}

#footer_upper {
    width: 950px;
    padding-top: 9vw;
    margin: 0 auto;
}

#footerlogo {
    display: block;
    width: 20vw;
    margin: 0 auto 5vw;
}

.follow {
    font-size: 26px;
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
    margin: auto;
}

#footer_contact {
    display: flex;
    justify-content: center;
    margin: 2vw auto 0;
}

#footer_contact img {
    margin: 0 2vw;
}

#footer_lower {
    position: relative;
    display: flex;
    align-items: center;
    height: calc(134vw / 14.4);
    background-image: url(../img/footer_lower_bg.webp);
    background-size: cover;
}

#epic_dragonfly_logo {
    margin: 2vw 5vw 0 32vw;
    width: 5vw;
}

#copyright {
    font-size: 14px;
    line-height: 26px;
    color: #131311;
    margin-top: 2vw;
}

@media screen and (max-width: 1024px) {
    #footer {
        position: relative;
        bottom: -5vh;
        height: 85vh;
        background-image: url(../img/footer_background.webp);
        background-size: cover;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: auto 101%;
    }

    #footer_upper {
        padding-top: 5vh;
        width: 100%;
    }

    #footerlogo {
        width: 80vw;
        max-height: 30vh;
        margin: 10vh auto 10vh;
    }

    #footer_contact {
        justify-content: space-around;
        margin: 5vh 10vw 0;
    }

    #footer_lower {
        justify-content: center;
        height: 20vh;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: auto 101%;
    }

    #epic_dragonfly_logo {
        margin: 0;
        width: 50%;
        height: 50%;
        max-width: 100%;
    }

    #copyright {
        width: 80%;
        margin: 2vw 2vw;
    }
}