@font-face {
    font-family: DM Sans;
    src: url('fonts/DMSans-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: DM Sans;
    src: url('fonts/DMSans-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: DM Sans;
    src: url('fonts/DMSans-Medium.ttf');
    font-weight: 500;
}

* {
    font-family: 'DM Sans', sans-serif;
}

html {
    background-image: url(./images/Nashorn.jpg);
    background-size: cover;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0px;
}

.login {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0px 0px 20px black;
    color: #ffffff;
    width: 450px;
    text-align: center;
    border-radius: 12px;
}

.login h1 {
    font-weight: 500;
    font-size: 64px;
    text-align: center;
    padding-top: 40px;
    text-shadow: 0px 0px 12px black;
}

.login input {
    border-radius: var(--button-radius);
    margin-top: 40px;
    height: var(--button-height);
    font-size: 20px;
}

.login input[type=email], .login input[type=password], .login input[type=text] {
    width: 370px;
    border: none;
    padding-left: 15px;
}

.login .password {
    position: relative;
}

.login .password button {
    background-image: url(images/nonVisible.png);
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 20px;
    position: absolute;
    right: 30px;
    top: 48px;
    border: none;
    cursor: pointer;
}

.login .password button.show {
    top: 48px;
    background-image: url(images/visible.png);
    background-color: transparent;
    height: 20px;
}

.login input[type=submit] {
    background-color: transparent;
    color: #c6c6c6;
    border: 2px solid #c6c6c6;
    width: var(--small-button-width);
    margin-top: 70px;
    cursor: pointer;
}

.login input[type=submit].click {
    color: white !important;
    border: 2px solid #ffffff;
}

.button {
    display: flex;
    justify-content: end;
    border: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
}

.forgot {
    margin-top: 15px;
    color: #ffffff;
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    margin-right: 30px;
}

.logoImage {
    position: absolute;
    top: 18px;
    left: 2px;
    height: 80px;
    /* backdrop-filter: blur(5px); */
}

.bottom {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.error {
    height: 20px;
    margin: 30px 0px;
    color: rgb(255, 49, 49);
    font-weight: 700;
}

.popup {
    position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    display: none;

}

.popup.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    padding: 20px;
    width: 500px;
    height: 300px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-radius: 8px;
}

.box h1, .box p {
    text-align: center;
}

.bottom button {
    background-color: #AFCA00;
    color: white;
    text-decoration: none;
    border: 2px solid #9eb600;
    border-radius: var(--button-radius);
    cursor: pointer;
    width: var(--small-button-width);
    height: var(--button-height);
    font-size: 20px;
}