@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}
/* Header */
#logo {
    float: left;
    font-size: 250%;
    margin-left: 30px;
    font-family: Bungee, sans-serif;
    color: #FBF2C5;
    background: #9B1D42;
}

#menu {
    font-size: 110%;
    letter-spacing: 4px;
}

#menu, #logo {
    line-height: 75px;
}

#menu li {
    float: right;
    list-style-type: none;
    margin-right: 30px;
}

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

#menu a:hover {
    border-bottom: 1px solid #FBF2C5;
}

.active{
    border-bottom: 1px solid #FBF2C5;
}

/* Main body */
body {
    color: #FBF2C5;
    background: #9B1D42;
}

div {
    vertical-align: top;
    display: inline-block;
    width: 30%;
}

p {
    padding: 1%;
}

hr {
    border-top: 1px solid #FBF2C5;
    width: 100%;
    margin: 20px 0;
    clear: both;
} 

h3 {
    font-family: sans-serif;
    color: #FBF2C5;
    background: #9B1D42;
    margin-bottom: 5px;
}

/* Home page */
#intro-and-image {
    max-width: 1100px;
    margin: auto;
}

#site-intro {
    padding-right: 20px;
}

#consoles {
    margin-left: 50%;
}

#consoles td {
    height: 150px;
}

.console-image {
    height: inherit;
    width: inherit;
}


/* Game content */
.games-list {
    max-width: 1100px;
    margin: auto;
    
}

.release-info {
    width: 20%;
}

.release-info > img {
    margin-left: 10px;
    height: 65%;
    width: 65%;
}

.release-info > p {
    margin-top: 0;
}

.release-info > table {
    clear: both;
    margin-left: 10px;
}

.release-info th {
    text-align: left;
    margin-bottom: 5px;
}

table, tr {
    border: 1px solid;
    border-color: inherit;
}

iframe {
    margin-left: 20px;
}

/* footer */
footer {
    height: auto;
    padding: 1%;
}

footer > h4 {
    text-align: center;
}

.external-sites {
    margin-top: 2%;
    text-align: center;
}

.external-sites li {
    display: inline;
    padding: 1%;
    border-style: solid;
    border-color: inherit;
}

.external-sites a {
    font-size: 100%;
    text-decoration: none;
    color: inherit;
}

/* Form */
.form-section {
    clear: left;
    background-size: contain;
    background-repeat: no-repeat; 
    margin: 0 30%;
    height: 440px;
}

.contact-form {
    color: #fff;
    background-color: rgba(60, 60, 60, 0.6);
    max-width: 400px;
    position: absolute;
    margin-left: 10px;
    padding: 30px;
}

.text-input {
    background: transparent;
    color: #fafafa;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px;
    border: 1px solid #fafafa;
    border-radius: 2px;
}

.text-input:hover {
    border-color: #30b3f0;
}

.send-button {
    margin-top: 20px;
    border-radius: 2px;
    padding: 15px 32px;
    text-align: center;
    font-size: 100%;
    background-color: #FBF2C5;
    color: #9B1D42;
    display: block;
}

.send-button:hover {
    background-color: #9B1D42;
    color: #FBF2C5;
}

/* 404 error page */
#custom-error {
    text-align: center;
}

/* Desktop screen sizes */
@media screen and (max-width: 1280px) {
    .games-list {
        margin-left: 60px;
    }
        #menu {
        clear: left;
        float: left;
        margin-left: 30px;
        font-size: 100%;
    }
    .form-section {
        margin: 0 25%;
    }

}

@media screen and (max-width: 1120px) {
    .games-list {
        margin-left: 30px;
    }
}

@media screen and (max-width: 1090px) {
    .games-list {
        margin-left: 10px;
    }

    #menu {
        clear: left;
        float: left;
        margin-left: 10px;
        font-size: 100%;
        line-height: 25px;
    }

    #logo {
        margin-left: 10px;
    }

    #site-intro {
        padding-left: 10px;
    }

    #consoles td {
        height: auto;
        width: 260px;
    }

    #consoles {
        margin-left: 10px;
    }

    .release-info > table {
        float: left;
        margin-right: 20px;
        height: auto;
    }

    div {
        display:block;
        width: auto;
        height: auto;
    }

    .release-info {
        display: inline-block;
        width: auto;
        height: auto;
    }

    .release-info img {
        width: 20%;
        height: auto;
    }

    iframe {
        margin-left: 10px;
    }


}
/* Tablet screen sizes */
@media screen and (max-width: 900px) {
    .form-section {
        margin: 0 20%;
    }

    .release-info img {
        margin: 120px -180px 0;
        width: 50%;
        height: 50%;
    }

    .games-list p {
        margin: auto 10px;
    }

    .games-list h3 {
        margin-left: 10px;
    }

    #smb2-jp {
        padding-left: 10px;
    }

}

@media screen and (max-width: 800px) {
    .games-list {
        margin-left: 0;
    }

    #site-intro {
        width: auto;
    }

    #logo {
        margin-left: 5px;
    }

    #menu {
        margin-left: 5px;
        letter-spacing: 1px;
    }

    div {
        display:block;
        width: auto;
    }

    #consoles td {
        height: 100px;
        width: 170px;
    }

    p {
        padding: 1%;
    }

    #menu li {
        float: right;
        list-style-type: none;
    }

    .external-sites li {
        display: block;
    }

    .release-info {
        display: inline-block;
        width: auto;
    }

    iframe {
        margin-left: 10px;
    }

    .form-section {
        margin-left: 10px;
    }

}

/* Mobile screen sizes */
@media screen and (max-width: 500px) {
    #site-intro {
        width: auto;
    }

    #logo {
        font-size: x-large;
        margin-left: 5px;
        line-height: 40px;
    }

    #menu {
        margin-left: 5px;
        letter-spacing: 1px;
    }

    div {
        display:block;
        width: auto;
    }

    #consoles {
        margin: auto 10px;
    }

    #consoles td {
        height: 90px;
        width: 150px; 
    }

    p {
        padding: 5px;
    }

    #menu li {
        font-size: small;
        float: right;
        list-style-type: none;
    }

    .external-sites li {
        display: block;
    }

    .release-info {
        display: inline-block;
        width: auto;
        margin-bottom: 5px;
    }

    .release-info img {
        width: 90%;
        height: 90%;
        padding-left: 5px;
    }

    iframe {
        width: 95%;
        margin: 5px 5px;
    }

    .form-section {
        margin-left: 0;
    }

    .contact-form {
        margin-left: 0;
    }

}