:root {
    --page-width: 1024px;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 28px;
}

strong {
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.padding-10 {
    padding: 10px;
}

#outer-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

#inner-wrapper {
    display: flex;
    flex-direction: column;
    width: var(--page-width);
    gap: 40px;
}

@media screen and (width < 1024px) {
    #inner-wrapper {
        padding: 0px 10px;
        width: 100%;
    }
}

/**
    Common Header
**/

.header-wrapper {
    display: flex;
    padding: 20px 0px;
    align-items: center;
    border-bottom: 1px solid var(--slate-300);
    gap: 20px;
}

.logo-wrapper h1 a {
    color: var(--green-900);
    font-size: 38px;
    text-decoration: none;
}

.nav-wrapper {
    display: flex;
    margin-left: auto;
}

.nav-wrapper ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-wrapper ul li {
    font-size: 18px;
    text-wrap: nowrap;
}

@media screen and (width < 1024px) {
    .logo-wrapper h1 a {
        font-size: 16px;
    }

    .nav-wrapper ul li {
        font-size: 16px;
    }
}


/**
    Homepage
**/

.homepage-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-wrapper ol {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style-type: decimal;
    margin-left: 60px;
}

@media screen and (width < 1024px) {
    .intro-wrapper ol {
        margin-left: 40px;
    }
}

.intro-wrapper ol li::marker {
    font-weight: bold;
}

.game-list-wrapper ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media screen and (width < 1024px) {
    .game-list-wrapper ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

.game-list-wrapper ul li {
    
}

.game-item-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--slate-300);
}

.game-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: #FFFBD7;
    padding: 0px 40px;
}

.game-image-wrapper img {
    width: 100%;
}

.game-item-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.play-button {
    width: fit-content;
    padding: 6px 20px;
    background-color: #229D00;
    box-shadow: inset 0px -6px 0px 0px rgba(18,145,0,1);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    align-self: center;
    font-size: 22px;
    font-weight: bold;
}

.play-button:hover {
    box-shadow: none;
}

/**
    Game page
**/

.writeup-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.writeup-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
}

.writeup-wrapper h2 {
    font-size: 28px;
    font-weight: bold;
}

.writeup-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style-type: disc;
    margin-left: 60px;
}

/**
    Footer page
**/

.footer-wrapper {
    display: flex;
    width: 100%;
    padding: 40px 0px;
    background-color: var(--gray-100);
    justify-content: center;
    margin-top: 40px;
}

.footer-wrapper .inner {
    width: var(--page-width);
}

@media screen and (width < 1024px) {
    .footer-wrapper .inner {
        width: 100%;
        padding: 0px 20px;
    }
}

/**
    Privacy Policy, contact us, tos
**/

.pp-wrapper,
.tos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pp-wrapper h1,
.tos-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
}

.pp-wrapper h2,
.tos-wrapper h2 {
    font-size: 28px;
    font-weight: bold;
}

.tos-wrapper ul {
    list-style-type: disc;
    margin-left: 40px;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-wrapper {
    padding: 0px 10px;
}

.contact-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-wrapper .label-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-wrapper input {
    max-width: 300px;
    padding: 6px 12px;
    font-size: 18px;
    border-radius: 6px;
}

.contact-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.contact-wrapper textarea {
    width: 100%;
    min-height: 200px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    border-radius: 6px;
    font-size: 18px;
    padding: 6px 12px;
}

.contact-wrapper button[type="submit"] {
    align-self: flex-start;
    padding: 10px 18px;
    cursor: pointer;
    background-color: #229D00;
    box-shadow: inset 0px -6px 0px 0px rgba(18,145,0,1);
    border-radius: 6px;
    border: none;
    color: white;
    font-size: 18px;
}

.contact-wrapper button[type="submit"]:hover {
    box-shadow: none;
}

.contact-us-post-wrapper {
    display: flex;
    align-items: center;
}

.contact-us-post-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
}