#panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);

    width: 500px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 40px 20px 50px;

    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(1.6);

    overflow-x: hidden;
    overflow-y: auto;
}

@media screen and (max-width: 500px) {
    .video_background_container {
        display: none;
    }

    #panel {
        border-radius: 0 !important;
        box-shadow: none;
        background-color: rgb(20, 20, 20);
        backdrop-filter: none;
    }

    .background, body {
        background: rgb(20, 20, 20);
    }

    .foreground {
        backdrop-filter: none;
    }

    .noise {
        background: none;
    }
}

#login, #register {

}

#slw_logo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    margin-bottom: 30px;
    height: 80px;
}

* {
    outline: none !important;
    color: white;
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

input {
    font-size: 16px;

    background-color: rgb(30, 30, 30);
    border-radius: 10px;
    width: calc(100% - 20px);
    height: 20px;
    border: 1px solid #525252;
    padding: 10px;
    box-shadow: 0 0 0 3px rgba(255, 174, 31, 0);
    transition: box-shadow 200ms ease-in-out, border 200ms ease-in-out;
}

input:focus {
    box-shadow: 0 0 0 3px rgba(255, 174, 31, 0.5);
    border: 1px solid rgba(255, 174, 31, 1);
}

button {
    border-radius: 10px;
    width: 100%;
    height: 40px;

    font-size: 20px;

    box-shadow: 0 0 10px 0 var(--button-shadow-color);
    border: 1px solid var(--button-border-color);
    background-color: var(--button-color);
    transition: box-shadow 200ms ease-in-out, border 100ms ease-in-out, background-color 100ms ease-in-out;

    cursor: pointer;
}

button:hover {
    border: 1px solid var(--button-border-hover-color);
    background-color: var(--button-hover-color);
}

button:active {
    border: 1px solid var(--button-border-color);
    background-color: var(--button-color);
}

a {
    display: inline-block;
    margin-top: 10px;
    color: #067af6;
    text-decoration: none;
    font-size: 16px;
}

a:hover {
    color: #25a8ff;
    text-decoration: underline;
}

.error {
    text-align: center;
    color: #e82e2e;
}

.g-recaptcha {
    position: relative;
    margin: 20px 0;

    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
}