html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #0a0a0a;
    color: #cccccc;

    font-family: Verdana, sans-serif;
    font-size: 13px;
}

.ctr {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;
}

.bg {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;

    min-width: 213px;
    min-height: 135px;

    width: max-content;
    max-width: calc(100vw - 30px);

    height: auto;

    color: #cccccc;

    background:
        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAlSURBVChTYxAREfnPw8PzHxeNogCGkfnEmQDDyDph/IF3A89/ABQxTIGh/maWAAAAAElFTkSuQmCC")
        repeat;

    border: 1px solid #050505;
    border-radius: 10px;

    font-family: Verdana, sans-serif !important;
    font-size: 13px !important;

    z-index: 999999999;

    box-sizing: border-box;
}

.border-light {
    display: flex;
    flex: 1;
    flex-direction: column;

    border: 1px solid #3c3c3c;
    border-radius: 10px;

    box-sizing: border-box;
}

.border-dark {
    display: flex;
    flex: 1;
    flex-direction: column;

    border: 3px solid #282828;
    border-radius: 10px;

    box-sizing: border-box;
}

.border-inside {
    display: flex;
    flex: 1;
    flex-direction: column;

    border: 1px solid #3c3c3c;
    border-radius: 8px;

    box-sizing: border-box;
}

.items {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.inside {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.body {
    padding: 8px;

    box-sizing: border-box;
}

.ctrd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg .items *,
.item,
.body {
    font-family: Verdana, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500;

    letter-spacing: normal !important;

    color: #cccccc;

    text-shadow: 1px 1px 0 #050505;
}

.title {
    font-weight: bold !important;
    text-align: center;
}

.rainbow-container {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 3px;

    overflow: hidden;
}

.rainbow-1, .rainbow-2, .rainbow-3 {
    width: 100%;
    height: 1px;

    flex-shrink: 0;
}

.rainbow-1, .rainbow-2 {
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.rainbow-1 {
    background-image: linear-gradient(
        to left,
        #ff3b30,
        #ff9500,
        #ffcc00,
        #34c759,
        #00c7be,
        #007aff,
        #5856d6,
        #af52de,
        #ff2d55,
        #ff3b30
    );
}

.rainbow-2 {
    background-image: linear-gradient(
        to right,
        #00e5ff,
        #ff1493,
        #7fff00,
        #ff4500,
        #8a2be2,
        #00ff7f,
        #ffd700,
        #1e90ff,
        #ff69b4,
        #00e5ff
    );

    animation-delay: 2s;
}

.rainbow-3 {
    background: #090909;
}

@keyframes shimmer {
    0% {
        background-position: -100% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.links {
    display: flex;
    flex-direction: column;

    margin-top: 12px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 225px;
    min-height: 22px;

    margin-bottom: 8px;
    padding: 3px 8px;

    box-sizing: border-box;

    border: 1px solid #323232;
    border-radius: 10px;
    outline: none;

    background: linear-gradient(
        0deg,
        #191919,
        #232323
    );

    color: #cccccc;

    font-family: Verdana, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700;

    text-decoration: none;

    text-shadow: 1px 1px 0 #050505;

    cursor: pointer;

    transition:
        background 0.12s ease,
        border-color 0.12s ease;
}

.button:hover {
    background: linear-gradient(
        0deg,
        #232323,
        #343434
    );

    border-color: #4a4a4a;
}

.button:active {
    background: linear-gradient(
        0deg,
        #232323,
        #191919
    );
}

.welcome-message {
    position: fixed;
    top: 25%;
    left: 50%;

    transform: translateX(-50%);

    color: red;

    font-family: Verdana, sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: bold;

    text-align: center;

    text-shadow:
        2px 2px #fff,
        4px 4px 10px #000;

    pointer-events: none;

    z-index: 9999999999;
}

.logout-messages {
    position: fixed;
    top: 0;
    left: 0;

    margin: 40px;

    color: red;

    text-shadow:
        2px 2px #fff,
        4px 4px 10px #000;

    pointer-events: none;

    z-index: 9999999999;
}

#entrance-screen {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    cursor: pointer;

    z-index: 10000;

    transition: opacity 0.5s ease-out;
}

#entrance-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.entrance-text {
    color: white;

    font-family: Verdana, sans-serif;
    font-size: 18px;
}

@media (max-width: 500px) {
    .bg {
        min-width: 0;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .button {
        width: 100%;
        max-width: 165px;
    }

    .welcome-message {
        top: 15%;

        width: 90%;

        font-size: clamp(24px, 8vw, 40px);
    }
}
