body {
    font-family: sans-serif;
    background-color: #00203d;
    margin: 0px;
    background-image: linear-gradient(to right, black, #121212, #121212, #121212, #121212, #121212, #121212, black);
    position: relative;
    min-height: 100vh;
}

.frontpage-content {
    padding: 0px 15% 0px 15%;
    padding-top: 2em;
    padding-bottom: 2em;
    color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.youtube-mosselman {
    width: 70%;
    aspect-ratio: 4 / 3;
}

.page-content {
    padding: 0px 15% 0px 15%;
    color: #f9f9f9;
    justify-content: center;
    align-items: center;
    text-align:center;
}

.fplogin {
    color: white;
    text-decoration: none;
}

header {
    position: relative;
    background-image: linear-gradient(#033563, #0c3051, #0c3051);
    padding: 0px 0px;
    padding-left: 500px;
    padding-right: 500px;
    border-bottom: 3px solid #22496d;
    height: 100px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.2rem; /* Footer height */
}

.footer {
    width: 100%;
    height: 2rem;
    background-image: linear-gradient(to right, black, #061727, black);
    border-top: 3px solid #22496d;
}

.copyright {
    font: 10px arial;
    text-align: center;
    font-size: 10px;
    color: lightgrey;
    padding-top: 10px;
}


/* Style the header links */
.header .logo {
    float: left;
    color: white;
    text-align: center;
    padding: 0px 38px 0px 38px;
    text-decoration: none;
    font-size: 18px;
    line-height: 100px;
    border-radius: 3px;
    white-space: nowrap;

}
.shortcuts {
    text-align: center;
    position: relative;
    background-image: linear-gradient(to right, black, #222f3b, #222f3b, #222f3b, #222f3b, black);
    vertical-align: middle;
    width: 100%;
}

.shortcut {
    display: inline-block;
    color: white;
    text-decoration: none;
    width: 150px;
    height: 40px;
    vertical-align: middle;
    float: inherit;
    line-height: 2.35rem;
}

.shortcut a:hover {
    background-color: #002b52;
}


.login-page {
    min-height: calc(100vh - 17.4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 100px;
    color: #f9f9f9;
    width: 100%;
    height: auto -200px;
}

.login {
    margin-left: 0;
    width: 50%;
    height: 60%;
    min-height: 400px;
    min-width: 400px;
    background-color: #454545;
    border: double black 5px;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}

.register {
    margin-right: 0;
    margin-left: auto;
    width: 50%;
    height: 60%;
    min-height: 400px;
    min-width: 400px;
    background-color: #454545;
    border: double black 5px;
    padding-left: 5%;
    padding-right: 5%
}

    .register .title {
        text-align: center;
    }

.login-area {
    float: right;
    color: white;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
}

.basket {
    float: right;
    color: white;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
}

.header img {
    padding-block: 0px 0px;
    padding-right: 15px;
    height: 95px;
    width: auto;
    vertical-align: middle;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
    font-size: 25px;
    font-weight: bold;
}

/* Change the background color on mouse-over */
.header a:hover {
    background-color: #002b52;
}

/* Style the active/current link*/
.header a.active {
    background-color: #22496d;
    color: white;
}

/* Float the link section to the right */
.header-right {
    float: inline-end;
    font-weight: bold;
}

.server-list-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
}

.server-entry {
    display: inline-block;
    border: 1px dashed green;
    width: 400px;
    height: 300px;
    padding-bottom: 2em;
    margin-top: 2em;
}

.server-title {
    font-size:larger;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width:2000px) {
    header {
        padding-left: 0px;
        padding-right: 0px;
    }

    .header-right {
    }
}

@media screen and (max-width: 1050px) {
    .header a {
        float: none;
        display: block;
        text-align: center;
    }

    .header-right {
        display: none;
        float: none;
        padding-right: 0px;
    }
}

@media screen and (min-width:2000px) {
}

@media (prefers-color-scheme: light) {
    body {
        background-image: linear-gradient(to right, ghostwhite, #f9f9f9, #f9f9f9, #f9f9f9, #f9f9f9, #f9f9f9, ghostwhite);
        color: #454545;
    }

    .shortcuts {
        background-image: linear-gradient(to right, ghostwhite, #222f3b, #222f3b, #222f3b, #222f3b, ghostwhite);
    }

    .frontpage-content {
        color: #454545;
    }

    .page-content {
        color: #454545;
    }

    main {
        color: #454545;
    }
}
