* {
    color: white;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    text-shadow: 0 5px 7px rgba(0,0,0,0.8);
}

nav {
    display: flex;
    justify-content: center;
    top: 0;
}
nav > * {
    margin: 0;
}
footer {
    bottom: 100%;
}
h1 {
     font-size: 92px;
 }
h2 {
    margin: 0;
}
h2 + h2 {
    margin-left: 8px;
}

#rank-1 {
    border-style: solid;
    border-color: #DAA520;
    border-width: 2px;
}
#rank-1 > h2 {
    color: #DAA520;
}
#rank-2 {
    border-style: solid;
    border-color: #C0C0C0;
    border-width: 2px;
}
#rank-2 > h2 {
    color: #C0C0C0;
}
#rank-3 {
    border-style: solid;
    border-color: #a03f0a;
    border-width: 2px;
}
#rank-3 > h2 {
    color: #a03f0a;
}

#pokemon {
    padding-left: 24px;
    z-index: 1;
}

#hint-list {
    margin: 24px;
    justify-content: center;
}
#background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
#background div{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10%;
    position: absolute;
    display: block;
    animation: backan 25s linear infinite;
    bottom: -150px;
}
#background div:nth-child(1){
    left: 5%;
    width: 40px;
    height: 40px;
    animation-delay: 5s;
    animation-duration: 35s;
}
#background div:nth-child(2){
    left: 15%;
    width: 130px;
    height: 130px;
    animation-delay: 14s;
    animation-duration: 20s;
}
#background div:nth-child(3){
    left: 25%;
    width: 90px;
    height: 90px;
    animation-delay: 0s;
    animation-duration: 50s;
}
#background div:nth-child(4){
    left: 40%;
    width: 25px;
    height: 25px;
    animation-delay: 10s;
    animation-duration: 25s;
}
#background div:nth-child(5){
    left: 50%;
    width: 35px;
    height: 35px;
    animation-delay: 5s;
    animation-duration: 18s;
}
#background div:nth-child(6){
    left: 54%;
    width: 18px;
    height: 18px;
    animation-delay: 4s;
    animation-duration: 30s;
}
#background div:nth-child(7){
    left: 70%;
    width: 50px;
    height: 50px;
    animation-delay: 6s;
    animation-duration: 35s;
}
#background div:nth-child(8){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 22s;
    animation-duration: 42s;
}
#background div:nth-child(9){
    left: 90%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
    animation-duration: 20s;
}
#background div:nth-child(10){
    left: 95%;
    width: 40px;
    height: 40px;
    animation-delay: 12s;
    animation-duration: 30s;
}
#search_results {
    height: 325px;
    overflow-y: scroll;
}
@keyframes backan {
    0%{
        transform: translateY(0) rotate(0deg);
    }
    100%{
        transform: translateY(-130vh) rotate(720deg);
    }
}

.card {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 12px;
    transition: 1s;
}
.menu-card {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 12px;
    transition: 1s;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.crossbutton {
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    border-width: 0;
    margin-right: -24px;
    z-index: 2;
    background-color: rgba(255,255,255,0.0);
    color: white;
    opacity: 0.5;
}
.crossbutton:hover {
    opacity: 1;
}
.layout {
    margin: 24px;
    gap: 24px;
}
.gen-title {
    padding-bottom: 34px;
}
.margin-bot {
    margin-bottom: 12px;
}
.margin-top {
    margin-top: 12px;
}
/* Grid Area */
.grid-container {
    display: grid;
    gap: 24px;
}
.grid-container-inside {
    display: grid !important;
    gap: 12px;
    align-items: center;
    justify-content: center;
}
.two-cols {
    grid-template-columns: auto auto;
}
.four-cols {
    grid-template-columns: auto auto auto auto;
}
.seven-cols {
    grid-template-columns: 108px 108px 108px 108px 108px 108px 108px;
}
.six-cols {
    grid-template-columns: 108px 108px 108px 108px 108px 108px;
}
.grid-over-four-cols {
    grid-column: 1 / 5;
}
.grid-main-top {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.grid-side {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}
.grid-main-bot {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}
.grid-end {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
}

.view {
    height: 2px;
    background-color: rgba(255,255,255,0.4);
}
.scroller {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 150px;
}
.scroller::-webkit-scrollbar {
    width: 12px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.4);
}
.blurred {
    backdrop-filter: blur(4px);
}
.boxed {
    border: 8px solid rgba(160,160,160,50%);
    border-radius: 12px;
    padding: 8px;
}
.flex-row {
    display: flex;
}
.flex {
    display: flex;
    flex-direction: column;
}
.h64px {
    height: 64px;
}
.w108px {
    width: 108px;
}
.gif-card {
    justify-content: center;
    align-items: center;
}
.matches {
    background-color: limegreen;
}
.partly-matches {
    background-color: goldenrod;
}
.not-matches {
    background-color: tomato;
}
.text-align-start {
    text-align: start;
}
.fit_content {
    display: inline-block;
}
.inputtext {
    border: none;
    font-size: 30px;
    padding: 6px 12px 6px 12px;
    background-color: transparent;
    text-align: center;
}
.inputtext::placeholder {
    color: white;
    opacity: 0.5;
}

/* Radio-Card */
.radio-card {
    min-height: 200px;
    width: 250px;
    transition: 1s;
    margin: 24px 0 24px 0;
    cursor: pointer;
}
.radio-card-container + .radio-card-container {
    margin-left: 24px;
}
.radio-card-container > label {
    width: 100%;
}
.radio-card-container > label > input {
    display: none;
}
.radio-card-container > label > input:checked + .radio-card {
    border-style: solid;
    border-color: #ee0845;
    border-width: 2px;
}
.radio-card-container > label > input:checked + .radio-card > h3 {
    color: #ee0845;
    font-size: 50px;
    transform: rotate(-3deg);
}
.radio-card-container > label > input:checked + .radio-card > p {
    display: none;
}
.radio-card:hover {
    transform: scale(1.1);
}
.filled {
    background-color: darkslategrey;
}

.nicebutton {
    width: 375px;
    height: 70px;
    background: linear-gradient(to left top, #ff2882ff, #ee0845);
    border-style: none;
    margin-bottom: 6px;
    border-radius: 12px;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: .4s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.nicebutton span {
    position: absolute;
    display: block;
}
.nicebutton span:nth-child(1) {
    height: 3px;
    width: 200px;
    top: 0;
    left: -200px;
    background: linear-gradient(to right, rgba(0,0,0,0), white);
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span1 3s linear infinite;
    animation-delay: 0s;
}
@keyframes span1 {
    0% {
        left: -200px;
    }
    100% {
        left: 375px;
    }
}
.nicebutton span:nth-child(2) {
    height: 3px;
    width: 200px;
    bottom: 0;
    left: 375px;
    background: linear-gradient(to left, rgba(0,0,0,0), white);
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    animation: span2 3s linear infinite;
    animation-delay: 0s;
}
@keyframes span2 {
    0% {
        left: 375px;
    }
    100% {
        left: -200px;
    }
}
.nicebutton:hover {
    transition: .4s;
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 0 3px 5px rgba(0,0,0,0.4);
}
.loop_div {
    margin: 8px;
    height: 50px;
}
.inline {
    display: inline;
}
/* All Switches */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
/* The Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #ec164e;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #ec164e;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: white;
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.slider:hover {
    transition: .4s;
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 0 3px 5px rgba(0,0,0,0.4);
}

.winning-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.winning-screen {
    position: fixed;
    min-height: calc(100% / 2);
    min-width: calc(70%);
    top: 10%;
    left: calc(15%);
    z-index: 4;
}
.winning-screen > form > button {
    margin: 6px;
}
.winning-screen > h1 {
    margin: 24px;
}
.winning-screen > a {
    margin: 24px;
    display: block;
}
.winning-screen > a > img {
    max-height: 108px;
    width: auto;
}
.gif-card > p {
    margin: 0;
}

.without {
    text-decoration: none;
    color: #cccccc;
}
.without:link {
    text-decoration: none;
    color: #cccccc;
}
.without:visited {
    text-decoration: none;
    color: #cccccc;
}
.without:hover {
    text-decoration: none;
    color: #cccccc;
}
.without:active {
    text-decoration: none;
    color: #cccccc;
}
.image {
    max-height: 64px;
    width: auto;
}
.block {
    display: block;
}
.bold {
    font-size: 48px;
}
.flex-center {
    justify-content: center;
}
.ranked-card {
    min-width: 250px;
    min-height: 250px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.ranked-card + .ranked-card {
    margin-left: 24px;
}
.search-container {
    display: flex;
    flex-direction: row;
    column-gap: 12px;
    justify-content: center;
}
.datalist-element {
    width: 192px;
}
.datalist-element:hover {
    cursor: pointer;
    background-color: rgba(255,255,255,0.2);
}
.hidden-checkbox {
    display: none;
}
.hidden-checkbox:checked + label {
    background-color: rgba(255,255,255,0.2);
    color: #ec164e;
}
.filter_label:hover {
    cursor: pointer;
    background-color: rgba(255,255,255,0.2);
}
.filter_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.sidescroll {
    overflow-x: auto;
    width: 100%;
}
.wrap {
    flex-wrap: wrap;
}
.min-fit {
    min-width: fit-content;
    align-items: center;
}
.button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}