@font-face {
    font-weight: 400;
    font-family: "LT Superior Regular";
    src: url("../fonts/lt_superior/LTSuperior-Regular.otf");
}

@font-face {
    font-weight: 700;
    font-family: "LT Superior Bold";
    src: url("../fonts/lt_superior/LTSuperior-Bold.otf");
}

@font-face {
    font-weight: 450;
    font-family: "LT Superior Medium";
    src: url("../fonts/lt_superior/LTSuperior-Medium.otf");
}

@font-face {
    font-weight: 600;
    font-family: "LT Superior Semibold";
    src: url("../fonts/lt_superior/LTSuperior-Semibold.otf");
}

@font-face {
    font-family: "Bitter";
    src: url("../fonts/bitter/Bitter.ttf");
}

@font-face {
    font-family: "Bitter Italic";
    src: url("../fonts/bitter/Bitter-Italic.ttf");
}

body {
    font-family: "LT Superior Regular";
    font-size: 1.25rem;
    background-color: #282c34;
    color: #ffffff;
    /* padding-top: 2rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid blue; */
}

::placeholder {
    color: #919191;
}

.container {
    text-align: center;
}

h1 span {
    /* color: #282c34; */
    color: #a1a1a1;
    font-size: 1.5rem;
    transition: font-size 10.0s 2.0s ease-in, color 10.0s 2.0s ease-in;
}

.show-shadow > span {
    /* color: #a1a1a1; */
    font-size: 0;
    color: #282c34;
}

a, a:hover, a:visited {
    color: #ffffff;
    text-decoration: none;
}

.btn {
    border: 1px solid #ffffff;
    border-radius: 6px;
    line-height: 2rem;
    width: 8rem;
    color: #ffffff;
    font-size: 1rem;
    background-color: transparent;
    margin: 0 1rem;
}

.btn:hover {
    position: relative;
    top: 1px;
    left: 1px;
}

.btn:active {
    color: #686868;
    border-color: #686868;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    display: none;
}

#overlay.show, #popup-signin.show, #popup-register.show {
    display: block;
}

#popup-signin, #popup-register, #popup-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #686868;
    background-color: #282c34;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 9999;
    display: none;
    width: 400px;
}

.form-field {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

label {
    flex-grow: 1;
}

input {
    flex-shrink: 0;
    margin-left: 0.5rem;
    background-color: #686868;
    color: #ffffff;
    line-height: 1.75rem;
    padding-left: 0.5rem;
}

input[type="text"] {
    /* width: 20rem; */
}


input[type="password"] {
    /* width: 10rem; */
}

.grid {
    display: flex;
    /* gap: 0.5rem; */
    justify-content: space-between;

    @media (max-width: 600px) {
        flex-direction: column;
    }
}

.item {
    /* flex: 1; */
    min-width: 5rem;
    align-content: center;
}

#register-error, #signin-error {
    color: #ff8d8d;
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    font-size: 1rem;
}

.center {
    text-align: center;
}
