html,
body {
    height: 100%;
}

body {
    /* background-image: url('Images/backgrounds/halo.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat; */
    background-color: rgb(75, 75, 75);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.container {
    width: 1000px;
    background-color: rgba(255, 255, 255, 0.95);
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0%;
    left: 50%;
    min-height: 100%;
}

.flex-container {
    display: flex;
    flex-direction: row;
}

header {
    /* Created with https://www.css-gradient.com */
    background: #E28C00;
    background: -webkit-linear-gradient(left, #E28C00, #F44437);
    background: -moz-linear-gradient(left, #E28C00, #F44437);
    background: linear-gradient(to right, #E28C00, #F44437);
    border-bottom: 1px lightgray solid;
}

main {
    clear: both;
    width: 80%;
    flex: 1;
}

nav {
    width: 20%;
    min-height: 100%;
    border-left: 1px lightgray solid;
}

img {
    padding-top: 20px;
    padding-left: 20px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.userLink {
    color: black;
    text-decoration: none;
}

.userLink:hover {
    text-decoration: underline;
}

.addUser {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    background: linear-gradient(110deg, #e28b00 0%, #f44336 100%);
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 2px;
}

.addUser:hover {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    background: linear-gradient(110deg, #a36501 0%, #852720 100%);
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 2px;
}

h1 {
    padding-left: 20px;
    color: white;
    font-weight: normal;
}

h2 {
    padding-left: 20px;
    font-size: large;
    font-weight: lighter;
}

p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
    line-height: 1.6;
}

.special {
    font-size: x-small;
    padding: 4px;
    color: white;
    background-color: rgb(124, 124, 124);
}

span:empty {
    background: none;
}

nav {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav a {
    line-height: 1.6;
    font-size: small;
    color: rgb(75, 75, 75);
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
    color: black;
}

table {
    margin-left: 20px;
    margin-bottom: 20px;
    width: 90%;
    border-spacing: 0;
    border: 1px lightgray solid;
}

table tr:nth-child(odd) {
    background-color: lightgray;
}

td {
    font-size: smaller;
    padding: 5px;
    vertical-align: top;
    line-height: 1.2;
}

th {
    font-size: smaller;
    padding: 5px;
    text-align: left;
    font-weight: 400;
    cursor: pointer;
}

.mainRow {
    background: #E28C00;
    background: -webkit-linear-gradient(left, #E28C00, #F44437);
    background: -moz-linear-gradient(left, #E28C00, #F44437);
    background: linear-gradient(to right, #E28C00, #F44437);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

.mainRow a {
    color: white !important;
    text-decoration: none !important;
}

.mainRow a:hover {
    text-decoration: underline !important;
}

#achtergrond {
    font-size: small;
    text-align: left !important;
    margin-left: 0;
}

input[type=submit] {
    margin-left: 20px;
    background-color:#e28e07;
    border: 1px solid rgb(179, 179, 179);
    color: white;
    border-radius: 3px;
    font-size: medium !important;
    padding: 2px 10px;
}

input[type=submit]:hover {
    background-color: #bb7504;
}

#search {
    padding-top: 0;
    margin-top: 0;
    padding-left: 20px;
    padding-bottom: 10px;
    display: inline;
}

#search input[type=submit] {
    margin-left: 5px;
}

#search input[type=text] {
    width: 30%;
}

header p {
    padding-top: 0;
    margin-top: 0;
    display: inline-block;
    color: white;
}

.error {
    color: red;
}

#back2topMain {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background: #e28b00;
    color: #f2f2f2 !important;
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    margin-left: 94%;
    bottom: 10px;
}

.hide {
    transition: opacity 1s;
    opacity: 0;
}

.show {
    transition: opacity 1s;
    opacity: 1;
}

input[type="radio"] {
    opacity: 0;
}

input[type="radio"]+img {
    cursor: pointer;
}

input[type="radio"]:checked+img {
    outline: 2px solid black;
}

input[type="radio"]:disabled+img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    cursor: auto;
}

label {
    font-size: small;
}

.thumbnail {
    padding: 0;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

#metroid,
#darksouls,
#ratchetandclank,
#streetfighter,
#finalfantasyvii,
#zelda,
#doom,
#mario,
#megaman35,
#thelastofus10,
#secretofmana30,
#soulreaver25,
#donkeykongcountry30,
#residentevil4_20,
#godofwar20,
#reddeadredemption15,
#suikoden30 {
    object-position: right;
}

#newbackground {
    text-align: center;
}

#newbackground h2 {
    padding: 0;
    padding-top: 10px;
    text-decoration: underline;
    font-weight: bold;
}

.backgrounds {
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    text-align: center;
}

.backgroundText {
    width: 65%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    background: black;
    font-size: large;
    color: white;
    text-align: left;
    font-weight: bold;
}

.newSpecial {
    display: block;
    margin: 0 auto;
    width: 50%;
    background: linear-gradient(110deg, #e28b00 0%, #f44336 100%);
    font-size: small;
    line-height: 1.6;
    padding: 10px;
    border-radius: 20px;
    color: white;
}
.visible {
    display: block;
}
.hidden {
    display: none;
}
#statsClick {
    cursor: pointer;
}
#statsTotalClick {
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropButton {
    text-align: left;
    background-color: transparent;
    border: none;
    padding: 0;
}
.dropContent {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: lightgray;
    padding: 5px;
    border: 1px solid grey;
    line-height: 1.6;
}
.dropdown:hover .dropContent {
    display: block;
}
#show:target ~ .dropContent {
    display: block;
}
.avatar {
    display: inline;
    margin: 0;
    padding: 0;
    width: 40px;
    vertical-align: middle;
}
.mobileLink {
    display: none;
}
@media screen and (max-width: 1000px) {
    .container {
        width: 100%;
    }

    header p {
        padding-top: 10px;
    }

    header img {
        width: 90%;
    }

    .flex-container {
        display: flex;
        flex-direction: column;
    }

    main {
        order: 0;
        width: auto;
    }

    nav {
        background-color: #e28b00;
        order: -1;
        display: inline-block;
        width: auto;
        overflow: auto;
        white-space: nowrap;
        margin-top: 0;
    }

    nav a {
        color: white;
        padding-left: 10px;
        padding-right: 10px;
    }

    nav a:hover {
        text-decoration: underline;
        color: white;
    }

    nav br {
        display: none;
    }

    #search input[type=text] {
        width: 70%;
    }

    #search input[type=submit] {
        margin-left: 5px;
        width: 15%;
    }

    .newSpecial {
        width: 80%;
    }

    #back2topMain {
        margin-left: 85%;
    }
    .mobileLink {
        display: block;
    }
    .desktopLink {
        display: none;
    }
}