@import url("main.css");
@import url("multiplayer.css");
body {
    font-family: var(--font-main);
}
.title {
    text-align: center;
    font-size: 1.7vw;
    font-family: var(--font-title);
    color: var(--color-title);
    text-shadow: 0px 0px 22px var(--color-shadow2);
    letter-spacing: 5px;
}
.big-letter {
    font-size: 4.7vw;
}
.rotated {
    display: inline-block;
    transform: rotateZ(20deg);
    font-size: 7rem;
    margin-left: 10px;
    animation: blink 10s infinite linear;
}
.menu {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    gap: 6px;
}
#main { display: flex; }
button {
    display: block;
    padding: 1.5vh 0;
    width: 31vw;
    border: 4px solid var(--color-border);
    background-color: rgb(25, 21, 21);
    font-family: var(--font-main);
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: inherit;
    box-shadow: 0px 0px 22px 6px var(--color-shadow2);
    transition: 0.25s;
    cursor: pointer;
    outline: none;
}
.hover {
    animation: hover-button 0.8s infinite linear;
}
button:hover {
    transform: scale(0.95);
}
.back-button {
    margin-top: 35px;
    width: 100%;
}
#gamemodes {
    top: 50%;
    transform: translate(-50%, -50%);
}
.edit {
    animation: edit 0.8s infinite linear;
}
.double-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.double-menu button {
    width: 25vw;
}
.server {
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
}
.server:hover {
    cursor: pointer;
    filter: brightness(110%);
}
.server:nth-of-type(2n) {
    background-color: #1a1a1a;
}
.message-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border: 4px solid var(--color-border);
    padding: 40px 80px;
    width: 500px;
    background-color: #111;
    z-index: 10;
    font-size: 2rem;
    text-align: center;
}
.hover b:first-of-type, .hover b:last-of-type {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    display: inline;
    opacity: 0.5;
}
.hover b:last-of-type {
    right: 5px;
    left: initial;
}
.editable-boolean {
    position: relative;
}
.editable-boolean b {
    display: none;
}
#start-game-button {
    display: none;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background-color: rgb(77, 0, 0);
}
::-webkit-scrollbar-thumb {
    background-color: rgb(188, 0, 0);
}

@keyframes hover-button {
    0% {
        transform: scale(1);
        filter: hue-rotate(0deg) brightness(140%);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        filter: hue-rotate(360deg) brightness(140%);
    }
}

@keyframes edit {
    from {
        filter: hue-rotate(0deg) brightness(140%);
    }
    to {
        filter: hue-rotate(360deg) brightness(140%);
    }
}

@keyframes blink {
    0%, 12%, 13%, 14%, 46%, 47%, 69%, 70%, 71%, 85%, 87% {
        color: var(--color-title);
        text-shadow: 0px 0px 22px var(--color-border);
    }
    12.5%, 13.5%, 46.5%, 69.5%, 70.5%, 86% {
        color: rgb(77, 10, 10);
        text-shadow: none;
    }
}