html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
}

html, body {
    margin: 0px;
}

.hidden {
    visibility: hidden;
}

.head:link, .head:visited, .head:active, .head:hover {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.unstyled:link, .unstyled:visited, .unstyled:active, .unstyled:hover {
    color: inherit;
    display: inline-block;
}
.center {
    text-align: center;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background-color: #02020f;
    background-image: url('background-new.png');
    background-attachment: fixed;
    background-size: auto auto;
    background-repeat: no-repeat;
    background-position: center top;
}

nav {
    width: 100%;
    overflow: hidden;
    display: flex;
    border-bottom: 3px solid #407cc9;
    backdrop-filter: blur(5px);
    background: rgba(10, 5, 38, .7);
    color: white;
}

.link {
    margin-left: 5px;
    padding: 5px;
    color: white;
    font-size: 1.5rem;
    border-left: 3px solid rgba(255, 255, 255, .3);
}

.link a:link {
    text-decoration: none;
    color: white;
}

.link a:active {
    text-decoration: none;
    color: white;
}

.link a:visited {
    text-decoration: none;
    color: white;
}

.link a:hover {
    opacity: .9;
}
.unstyledbutton {
    cursor: pointer;
    background: rgba(0,0,0,.25);
    border: none;
    color: white;
    font-size: 32px;
    font-weight: bolder;
    border-radius: 8px;
    padding: 8px 16px;
    transition: 3s;
}
.unstyledbutton:hover {
    background: rgba(0,0,0,.5);
}
footer {
    width: 100vw;
    text-align: center;
    overflow: hidden;
    margin-top: 1em;
    border-top: 3px solid #407cc9;
    backdrop-filter: blur(5px);
    background: rgba(10, 5, 38, .7);
    position: fixed;
    bottom: 0px;
}

.dot {
    margin-top: 10px;
    margin-left: 10px;
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.good {
    background-color: green;
}

.bad {
    background-color: red;
}

.brand {
    display: flex;
    vertical-align: middle;
    font-size: 2em;
}



.notLoggedIn {
    width: 75%;
    text-align: center;
    color: red;
    background-color: black;
    font-size: 1.2rem;
}

input {
    font-size: 1.2rem;
}

.selection-title {
    font-size: 3.2rem;
    text-align: center;
    color: white;
}

.selection-parent {
    display: grid;
    margin-right: auto;
    margin-left: auto;
    width: 90vw;
    height: 70vh;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
}

@media only screen and (max-width: 1190px) {
    .brand {
        font-size: 1em;
    }

    .selection-parent {
        display: grid;
        margin-right: auto;
        margin-left: auto;
        width: 95vw;
        grid-template-columns: unset;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
}

.selection-made {
    display: grid;
    margin-right: auto;
    margin-left: auto;
    width: 50vw;
    height: 500px;
    grid-template-columns: 1fr;
    gap: 15px;
}

.selection {
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 3px;
    padding: 15px;
    box-shadow: inset 0 0 10px #000000;
    transition: 500ms;
}

.selection:hover {
    box-shadow: inset 0 0 40px #000000;
    border: 7px #fab300 solid;
}

.selection p {
    font-size: 1.4rem;
}

.selection img {
    max-width: 150px;
}

.zelda {
    border: 5px #FF9999 solid;
    background-color: #FF9999;
    animation-delay: 0ms;
}

.ganon {
    border: 5px #6666FF solid;
    background-color: #6666FF;
    animation-delay: 2.5s;
}

.link-team {
    border: 5px #669933 solid;
    background-color: #669933;
    animation-delay: 5s;
}

.dampe {
    border: 5px #996600 solid;
    background-color: #996600;
    animation-delay: 7.5s;
}

.fate {
    background: linear-gradient(-160deg, #ff2400de, #e81d1dde, #e8b71dde, #e3e81dde, #1de840de, #1ddde8de, #2b1de8de, #dd00f3de, #dd00f3de);
    background-size: 200% 100%;
    animation: rainbow 18s ease infinite;
}

.capitalize {
    text-transform: capitalize;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.controlpanel {
    padding: 15px;
    margin: 20px;
    background-color: #000000b0;
    border-radius: 10px;
}
