/* General */

@font-face {
    font-family: primary-font;
    src: url("../fonts/Lexend/Lexend-VariableFont_wght.ttf") format('truetype')
}

body {
    background-color: #150f0a;
    margin: 0;
}

h1 {
    margin: 0;
    color: #3c9f9c;
    font-family: primary-font;
    font-size: 1.4rem;
}

h2 {
    margin: 0;
    color: #3c9f9c;
    font-family: primary-font;
    font-size: 1.4rem;
    font-weight: 400;
}

p {
    font-family: primary-font;
    color: #927e6a;
    font-size: 1.1rem;
    font-weight: 250;
}

input, textarea, button {
    padding: 8px;
    border-radius: 8px;
    font-family: primary-font;
    font-size: 1.1rem;
    font-weight: 250;
}

input[type="email"], 
input[type="text"],
textarea {
    border: solid;
    border-color: #183f39;
    border-width: 1px;
    background-color: transparent;
    color: #927e6a;
    caret-color: #927e6a;
}

input[type="email"]::placeholder, 
input[type="text"]::placeholder,
textarea::placeholder {
    color: #684c3c;
}

input[type="email"]:hover, 
input[type="text"]:hover,
textarea:hover {
    border-color: #3c9f9c;
}

input[type="email"]:focus, 
input[type="text"]:focus,
textarea:focus {
    border-color: #3c9f9c;
    outline: none;
}

input[type="submit"],
button {
    background-color: #3c9f9c;
    border-width: 0;
    color: #150f0a;
    font-weight: 300;
}

input[type="submit"]:hover,
button:hover {
    background-color: #183f39;
    border-width: 0;
    color: #150f0a;
    font-weight: 300;
    cursor: pointer;
}

hr {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 20px;
    margin-right: 20px;
    border-bottom-width: 1px;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    color: #183f39;
}

.bar-header {
    display: flex;
    flex-direction: row;
    padding-top: 4.0rem;
    padding-bottom: 4.0rem;
    margin-left: 4.0rem;
    margin-right: 4.0rem;
    justify-content: center;
    align-items: center;
}

/* Header */

@media only screen and (max-width: 600px) {

    #horz-nav-bar {
        display: none;
        position: relative;
    }

    #vert-nav {
        display: flex;
        align-items: center;
    }

    #vert-nav summary {
        list-style: none;
    }

    #vert-nav-bar {
        position: absolute;
        top: 60px;
        left: 0;
        width: 200px;
        padding: 20px;
        background-color: #150f0a;
        border-top-style: solid;
        border-right-style: solid;
        border-color: #183f39;
        border-width: 1px;
        height: 100vh;
    }

    #vert-nav-bar nav ul {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    #vert-nav-bar .sub-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-left: 16px;
        padding-top: 20px;
    }

    #vert-nav-bar .sub-list a {
        font-size: 1.1rem;
    }

    #hamburger-button {
        filter: brightness(73%);
    }

    #hamburger-button:hover {
        filter: brightness(48%);
    }
}

@media only screen and (min-width: 600px) {

    #vert-nav {
        display: none;
    }

    #horz-nav-bar {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    #horz-nav-bar > li {
        height: 100%;
    }

    #horz-nav-bar li {
        display: block;
        position: relative;
        padding: 4px;
        font-family: primary-font;
    }

}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    padding-left: 16px;
    padding-right: 16px;
    top: 0;
    border-bottom-style: solid;
    border-color: #183f39;
    border-width: 1px;
    z-index: 1;
    height: 60px;
}

#header-background {
    background-color: #150f0a;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

nav {
    width: 100%;
    max-width: 40rem;
    height: 100%;
    margin-top: 30px;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

header a {
    white-space: nowrap;
    text-decoration: none;
    color: #927e6a;
    font-size: 1.3rem;
    font-weight: 250;
    font-family: primary-font;
}

header a:hover {
    color: #684c3c;
}

.dropdown {
    padding: 6px;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: -4px;
    list-style-type: none;
    margin-top: 6px;
    padding: 4px;
}

.dropdown-content a {
    font-size: 1.1rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content-background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #150f0a;
}

.dropdown-content-border {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #150f0a;
    border: solid;
    border-color: #183f39;
    border-width: 1px;
    border-radius: 8px;
}

#social-media-bar {
    display: flex;
    flex-direction: row;
    gap: 14px;
}

.social-media-icon {
    filter: brightness(73%);
}

.social-media-icon:hover {
    filter: brightness(48%);
}

/* CTA row */

.game-page-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 20px;
}

.game-page-intro img {
    max-width: 80vw;
    height: auto;
}

.game-page-cta-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Description */

#game-description {
    padding-top: 20px;
    padding-bottom: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#game-description p {
    width: 70vw;
    text-align: center;
}

/* Newsletter */

#newsletter-sign-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
}

#newsletter-email-input {
    min-width: 200px;
    width: 30vw;
}

.newsletter-input-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.row-success {
    display: none;
    font-family: primary-font;
    font-weight: 250;
    font-size: 0.9rem;
    color: #7b7b7b;
}

.external-copyright-info p {
    margin: 0;
    text-align: center;
    font-size: 0.6rem;
}

/* Trailers */

#trailer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 1000px) {
    #trailers iframe {
        aspect-ratio: 16 / 9;
        width: 90vw;
    }
}

#trailers iframe {
    aspect-ratio: 16 / 9;
    height: 85vh;
}

/* Screenshots */

#screenshot-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.screenshot {
    border: solid;
    border-width: 1px;
    border-color: #3c9f9c;
    max-width: 80vw;
    height: auto;
}

/* Footer */

footer {
    height: 10.0rem;
    text-align: center;
}

.footer-content {
    padding: 20px;
}