/* General */

@font-face {
    font-family: primary-font;
    src: url("fonts/Lexend/Lexend-VariableFont_wght.ttf") format('truetype')
}

@font-face {
    font-family: logo-font;
    src: url("fonts/Courier Prime/CourierPrime-Regular.ttf") format('truetype')
}

body {
    background-color: #101318;
    margin: 0;
}

h1 {
    margin: 0;
    padding: 0;
    color: #f98100;
    font-family: primary-font;
    font-size: 1.4rem;
}

h2 {
    margin: 0;
    padding: 0;
    color: #f98100;
    font-family: primary-font;
    font-size: 1.4rem;
    font-weight: 400;
}

p {
    font-family: primary-font;
    color: #bcbcbc;
    font-size: 1.1rem;
    font-weight: 250;
}

a {
    color: #f98100;
}

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: #6d3900;
    border-width: 1px;
    background-color: transparent;
    color: #bcbcbc;
    caret-color: #bcbcbc;
}

input[type="email"]::placeholder, 
input[type="text"]::placeholder,
textarea::placeholder {
    color: #7b7b7b;
}

input[type="email"]:hover, 
input[type="text"]:hover,
textarea:hover {
    border-color: #f98100;
}

input[type="email"]:focus, 
input[type="text"]:focus,
textarea:focus {
    border-color: #f98100;
    outline: none;
}

input[type="submit"],
button {
    background-color: #f98100;
    border-width: 0;
    color: #101318;
    font-weight: 300;
}

input[type="submit"]:hover,
button:hover {
    background-color: #6d3900;
    border-width: 0;
    color: #101318;
    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: #6d3900;
}

.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: #101318;
        border-top-style: solid;
        border-right-style: solid;
        border-color: #6d3900;
        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: #6d3900;
    border-width: 1px;
    z-index: 1;
    height: 60px;
}

#header-background {
    background-color: #101318;
    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: #bcbcbc;
    font-size: 1.3rem;
    font-weight: 250;
    font-family: primary-font;
}

header a:hover {
    color: #7b7b7b;
}

.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;
    height: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content-background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #101318;
}

.dropdown-content-border {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #101318;
    border: solid;
    border-color: #6d3900;
    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%);
}

/* Introduction Section */

#introduction {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.5rem;
    font-weight: 250;
    height: 80vh;
}

#intro-logo img {
    max-width: 50vw;
    width: 100%;
    height: auto;
}

.special-text {
    color: #f98100;
}

/* Newsletter Section */

#newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#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;
}

/* Games Section */

#game-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.game-cover {
    transition: transform 0.2s;
    max-width: 34vw;
    width: 100%;
    height: auto;
}

.game-cover:hover {
    transform: scale(1.02);
}

/* About Section */

@media only screen and (max-width: 600px) {

    #about-text {
        max-width: 80vw;
        text-align: center;
    }
}

@media only screen and (min-width: 600px) {

    #about-text {
        max-width: 40vw;
        text-align: left;
    }

}

#about-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: space-evenly;
    align-items: center;
}

.circle-image {
    border-radius: 50%;
    border: solid;
    border-width: 1px;
    border-color: #6d3900;
    padding: 16px;
}

/* Contact Section */

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#contact-form-top-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#contact-form-top-row div {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea
{
    min-width: 300px;
    width: 30vw;
}

#contact-form textarea {
    min-height: 100px;
}

/* Footer */

footer {
    height: 10.0rem;
    text-align: center;
}

.footer-content {
    padding: 20px;
}