:root {
    --primary-color: #00303B;
    --secondary-color: #CD5843;
    --secondary-color2: #E9895A;
    --background-color: #D7C8B2;
}

body {
    font-family: 'Comfortaa', cursive;
    background-color: var(--primary-color);
    color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing:border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 6px 0;
}

p {
    font-weight: 100;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-link {
    font-size: .8em;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

input[type=email] {
    line-height: 23px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    padding: 5px;
    color: #555;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("/images/header-background.png");
    background-position: bottom center;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.header-logo {
    height: 270px;
    display: block;
}

.logo-link {
    display: block;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 6px;
}

.content-box, main > div {
    width: calc(100% - 20px);
    max-width: 900px;
}

.content-box {
    background-color: #ffffff20;
    border-radius: 18px;
    gap: 10px;
    padding: 6px;
}

.subscribe-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-box {
    display: grid;
    grid-template: "a b c" 0fr "a d d" 1fr / 150px 1fr 1fr;
    gap: 6px;
}

.link-button, input[type=button], input[type=submit] {
    border-radius: 8px;
    padding: 5px 8px;
    display: block;
    color: white;
    border: none;
    font-size: 1em;
}

input[type=button]:active, input[type=submit]:active {
    background-image: linear-gradient(var(--secondary-color),var(--secondary-color2));
    filter: brightness(.8);
}

.game-box-image-outer, .link-button, input[type=button], input[type=submit] {
    background-image: linear-gradient(var(--secondary-color2),var(--secondary-color));
    box-shadow: inset 0 1px 1px 0 #ffdd8840, inset 0 -1px 1px 0 #40200050, 0 1px 2px #00000090, 0 3px 5px #00000020;
}

.game-box-image-outer {
    padding: 6px;
    border-radius: 14px;
}

.game-box-image {
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 -1px 1px 1px #40200050, 0 1px 1px 1px #ffdd8840;
}

.game-box-image-wrapper {
    grid-area: a;
}

.game-box-title {
    grid-area: b;
}

.game-box-details {
    grid-area: c;

    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
}

.game-box-description {
    grid-area: d;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.game-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-detail-label {
    font-weight: 900;
    font-size: .7em;
}

.game-detail-value {

}

.text-box-outer {
    background-image: linear-gradient(var(--secondary-color2),var(--secondary-color));
    padding: 10px;
    border-radius: 14px;
    box-shadow: inset 0 1px 1px 0 #ffdd8840, inset 0 -1px 1px 0 #40200050, 0 1px 2px #00000090, 0 3px 5px #00000020;
    box-sizing: border-box;
}

.text-box-inner-wrapper {
    background-color: var(--background-color);
    width: 100%;
    /* display: block; */
    border-radius: 7px;
    box-shadow: 0 -1px 1px 1px #40200050, 0 1px 1px 1px #ffdd8840;
    display: flex;
    flex-direction: column;
    padding: 6px;
    /* align-content: stretch; */
    box-sizing: border-box;
    color: var(--primary-color);
}

.image-text-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 6px;
}

.image-text-wrapper > img {
    display: block;
    height: 200px;
    width: auto;
    border-radius: 4px;
}

.image-text-wrapper > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-media-icon {

}

.social-media-icon img {
    height: 50px;
    width: 50px;
}

footer {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.simple-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contact-list li {
    border: 1px solid #ffffff40;
    border-radius: 5px;
    padding: 6px 7px 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-list .delete-button {
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

@media screen and (max-width: 600px) {
    .game-box {
        grid-template: "a b" 0fr "a c" 0fr "a d" 1fr / 150px 1fr;
    }

    .game-box-details {
        justify-content: flex-start;
    }

    .image-text-wrapper {
        flex-direction: column;
    }

    .image-text-wrapper > img {
        height: auto;
    }

    form {
        width: 100%;
    }

    label {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    input[type=email] {
        width: 100%;
    }
}