* { font-family: "Varela Round", sans-serif; }

img { pointer-events: none; }

a {
    color: inherit;
    text-decoration: none;
}

u { text-underline-position: under; }

html, body {
    width: 100%;
    height: 100%;
    color: white;
    background-color: black;
}

#testing {
    border-color:red;
    border-width:2px;
    border-style:solid;
}

body {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#middle {
    width: 70%;
    max-width: 1000px;
    height: auto;

    display: flex;
    align-items: center;
    flex-direction: column;

    color: white;
    font-size: 22px;
    text-align: center;

    border-radius: 8px;
    border-color: #43C95F;
    border-style: solid;
    border-width: 2px;

    margin-top: 40px;
    margin-bottom: 40px;

    padding-top: 30px;
    padding-right: 30px;
    padding-left: 50px;
    padding-right: 50px;
}

#header {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#side img { width: 110px; }

#name {
    text-align: left;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 3px;
}

#links {
    display: flex;
    flex-direction: row;

    gap: 30px;
    color: #43C95F;

    font-size: 18px;
    font-style: italic;
}

hr {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
    border-style: inset;
    border-width: 1px;
    border-color: #43C95F;
    background-color: #43C95F;
}

#info {
    width: 100%;

    text-align: left;
    line-height: 1.8;
}

#title_container {
    margin-bottom: 40px;
    line-height: 1.4;
}

.title {
    margin-bottom: 4px;

    font-weight: bold;
    font-size: 32px;
    color: #43C95F;
}

#dates {
    font-style: italic;
    font-size: 18px;
}

.bold {
    font-weight: bold;
    color: #43C95F;
}

.italic { font-style: italic; }

#description {
    margin-top: 40px;
    margin-bottom: 40px;

    line-height: 1.4;
}

.video-resize {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 54px;
}

.video-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

.video-responsive {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

#key_points {
    width: 100%;
    margin-bottom: 40px;

    text-align: left;
    line-height: 1.6;
}

#key_points ul { margin-left: 20px; }

#game_design {
    width: 100%;
    margin-bottom: 40px;
}

#game_design .title { margin-bottom: 10px; }

.design_explain {
    display: flex;
    flex-direction: column;

    line-height: 1.4;
    text-align: justify;
}

.design_explain p { margin-bottom: 22px; }

.gif_container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;

    text-align: center;
    margin-bottom: 40px;
}

.gif_container p {
    color: #646464;
    font-size: 18px;
    margin-bottom: 0px;
}

.red { color: #FF004D; }

.blue { color: #29ADFF; }

.gif {
    width: 70%;
    max-width: 400px;

    background-color: #43C95F;
    border-color: #43C95F;
    border-style: solid;
    border-width: 2px;

    margin-bottom: 4px;
}

.last_gif { margin-bottom: 0px; }

#before_itch { margin-bottom: 10px; }

.itch {
    width: 80%;
    min-width: 330px;
    max-width: 552px;
    border-radius: 5px;
    margin-bottom: 40px;
}

@media (max-width: 661px) {
    #middle {
        width: 86%;

        margin-top: 18px;
        margin-bottom: 18px;

        padding-top: 10px;
        padding-right: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #description { text-align: justify; }

    #side { gap: 4px; }

    #name { font-size: 28px; }

    #links {
        flex-direction: column;
        font-size: 14px;
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .enemy { flex-direction: column; }
    .enemy .bold { text-align: center; }
}

@media (max-width: 450px) {
    .gif { width: 90%; }
    .gif_small {width: 50%; }
    .itch { margin-bottom: 20px; }
}

@media (max-width: 400px) {
    #name { font-size: 26px; }
    #side img { width: 90px; }
}

.press { transition: all .2s ease-in-out; }

.press:hover { transform: scale(1.25); }

.itch { transition: all .2s ease-in-out; }

.itch:hover { transform: scale(1.08); }
