@font-face {
    font-family: BYekan;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/BYekan.woff) format("woff")
}

*, *::before, *::after {
    box-sizing: border-box;
    font-family: BYekan,Arial, Helvetica, sans-serif;
}

:root {
    --primary-light-hsl: 200, 100%, 91%;
    --primary-hsl: 200, 100%, 50%;
    --primary-dark-hsl: 200, 100%, 6%;
    --success-hsl: 100, 60%, 50%;
    --error-hsl: 0, 60%, 50%;
    --select-border: #777;
    --select-focus: blue;
    --select-arrow: var(--select-border);
}

body {
    margin: 0;
    font-family: BYekan, "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.full-screen-container {
    background-image: url("../media/bg3.jpg");
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

select {
    --color: hsl(var(--primary-dark-hsl), 70%);
    width: 100%;
    min-width: 15ch;
    /*max-width: 30ch;*/
    border: 1px solid #777;
    border-radius: 0.25em;
    padding: 0.25em 0.5em;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    color: white;
    background-color: #00141f;
    background-image: hsl(var(--primary-dark-hsl), .7); /*var(--color); linear-gradient(to top, #f9f9f9, #fff 33%);*/
}

.login-container {
    --color: hsl(var(--primary-dark-hsl), 70%);
    background-color: var(--color);
    box-shadow: 0 0 15px 0 var(--color);
    padding: 40px 30px;
    width: 65%;
    max-width: 500px;
    border-radius: 20px;
}

.login-title {
    margin: 0;
    color: #25d366;
    text-align: center;
    font-size: 1.5em;
    font-weight: normal;
    filter: drop-shadow(0 0 20px #25d366) drop-shadow(0 0 40px #25d366) drop-shadow(0 0 60px #25d366);
}

.login-version {
    margin: 0;
    color: #25d366;
    text-align: center;
    font-size: 1rem;
    font-weight: normal;
    filter: drop-shadow(0 0 20px #25d366) drop-shadow(0 0 40px #25d366) drop-shadow(0 0 60px #25d366);
    font-weight: normal;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

input::placeholder {
    opacity: 0.5;
    color: white;
}

.input-group label {
    color: white;
    font-weight: lighter;
}

.input-group input {
    font-size: 1.15rem;
    padding: .5em;
    background-color: hsl(var(--primary-light-hsl), .3);
    border: none;
    outline: none;
    border-radius: .25em;
    color: white;
    font-weight: lighter;
}

.input-group.success input {
    box-shadow: 0 0 0 1px hsl(var(--success-hsl));
}

.input-group.error input {
    box-shadow: 0 0 0 1px hsl(var(--error-hsl));
}

.input-group input:focus {
    box-shadow: 0 0 0 1px hsl(var(--primary-hsl));
}

.input-group .msg {
    /*display: none;*/
    /*font-size: .75rem;*/
}

.input-group.success .msg,
.input-group.error .msg {
    display: block;
}

.input-group.error .msg {
    color: hsl(var(--error-hsl));
}

.msg {
    color: hsl(var(--error-hsl));
}

.input-group.success .msg {
    color: hsl(var(--success-hsl));
}

.login-button {
    padding: .5em 1em;
    font-size: 1.25rem;
    font-weight: lighter;
    color: #1da1f2;
    background-color: hsl(var(--primary-hsl), .25);
    border: 1px solid hsl(var(--primary-hsl));
    /* filter: drop-shadow(0 0 20px #1da1f2) drop-shadow(0 0 40px #1da1f2) drop-shadow(0 0 60px #1da1f2); */
    border-radius: .25em;
    outline: none;
    cursor: pointer;
}

    .login-button:hover,
    .login-button:focus {
        background-color: hsl(var(--primary-hsl), .4);
    }
