body{
    position: relative;
}

div {
    opacity: 0;
}

#formular {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    gap: 32px;
    padding: 48px 115px;
    margin: 0 272px;
    background-color: rgb(255, 255, 255);
    margin-bottom: 40px;
    max-width: 652px;
    box-shadow: 0px 0px 14px 3px #0000000A;
}
input {
    color: black;
    background-color: white;
    outline: none;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    width: 100%;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
input::placeholder {
    color: #D1D1D1;
}
#content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    position: relative;
    padding: 67px 122px;
    font-size: 20px;
    font-weight: 400;
    align-items: center;
    height: 100vh;
    justify-content: space-between;
}
#login_data {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}
button {
    border-radius: 8px;
    border-width: 1px;
    padding: 15px 24px;
    font-weight: 700;
    font-size: 21px;
    background-color: #2A3647;
    color: white;
}
button:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
#signup_btn {
    font-size: 16px;
    font-weight: 700;
    padding: 15px 16px;
}
#signup_btn:hover {
    background-color: #29ABE2;
}
.login_buttons_div {
    display: flex;
    gap: 35px;
    padding-top: 24px;
}
#registered_login {
    border: none;
    color: white;
    background-color: #2A3647;
}
#registered_login:hover {
    background-color: #29ABE2;
}
#guest_login {
    border: 1px solid #2A3647;
    color: #2A3647;
    background-color: white;
}
#guest_login:hover {
    color: #29ABE2;
    border-color: #29ABE2;
}
#content .space_between {
    width: 380px;
}
.form-element {
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #D1D1D1;
    padding: 12px 21px;
    cursor: pointer;
    width: 343px;
}
.form-element:focus-within {
    border-color: #29ABE2;
}
a {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #A8A8A8;
}

footer {
    display: flex;
    justify-content: center;
    gap: 24px;
}
footer a:hover {
    font-weight: 700;
    color: #29ABE2;
}
#content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
h1 {
    font-weight: 700;
    font-size: 61px;
    line-height: 120%;
    text-align: center;
    margin: 0;
    border-bottom: #29ABE2;
    border-bottom-style: solid;
    border-width: 3px;
    padding-bottom: 16px;
}
h1:hover {
    cursor: default;
}
#signup_div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
    width: 100%;
}
#logo {
    width: 100px;
    height: 122px;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
}
.invalid {
    border-color: #FF8190;
}
.hidden {
    display: none;
}
#invalid_login_hint {
    color: #FF8190;
    font-size: 13px;
    font-weight: 400;
}

@media(max-width: 620px) {
    .login_buttons_div {
        flex-direction: column;
        gap: 21px;
    }
    h1 {
        font-size: 47px;
    }
    button {
        font-size: 16px;
    }
    #formular {
        padding: 32px 16px;
        margin: 0;
    }
    #signup_div {
        display: none;
    }
    #signup_div_mobile {
        display: flex;
        gap: 35px;
        align-items: center;
        padding-top: 27.5px;
    }
    #content-wrapper {
        padding: 0 16px;
        padding-top: 225.5px;
        gap: 50px;
    }
    footer {
        gap: 32px;
    }
    .form-element {
        width: auto;
    }
    .mobileAnimation {
        animation: moveLogo-mobile 0.33s ease-in 0.5s forwards
    }
}