* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #F6F7F8;
}

.login-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 80px;
    height: 208px;
}

.register-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 80px;
    height: 208px;
}

.sign-up-field {
    display: flex;
    align-items: center;
}

.not-a-join-user {
    margin-right: 20px;
    font-weight: 400;
}

.content-field {
    display: flex;
    flex-direction: column;
}

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

.login-modal {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
    max-width: 652px;
    min-height: 400px;
    border-radius: 24px;
    padding: 48px 115px;
    align-content: center;
    justify-content: space-around;
    box-shadow: 0px 0px 14px 3px #0000000A;
    position: relative;
}


button#logIn,
button#guestLogIn,
button#signUp,
button#signUpButton {
    width: 110px;
    height: 50px;
    border-radius: 10px;
    border-style: none;
    background: #2A3647;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

button#logIn:hover,
button#signUp:hover {
    background-color: #29ABE2;
    font-weight: bolder;
    cursor: pointer;
    font-family: "inter", sans-serif;
    box-shadow: 0px 4px 4px 0px #00000040;
    transition: all 0.3s ease;
}

button#signUpButton,
button#guestLogIn {
    width: 177px;
    background-color: #F6F7F8;
    border: 1px solid #2A3647;
    color: #2A3647;
}

button#guestLogIn:hover,
button#signUpButton:hover {
    border: 1px solid #29ABE2;
    color: #29ABE2;
    box-shadow: 0px 4px 4px 0px #00000040;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-box {
    position: relative;
    margin-top: 12px;
    gap: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.login_error {
    justify-content: center;
    color: red;
    font-size: 12px;
    margin: -15px;
    height: 20px;
}

.checkbox-sec {
    padding: 16px;
    display: flex;
    gap: 8px;
}

.checkbox-register-sec {
    padding: 6px;
    margin: auto;
    justify-content: center;
    gap: 8px;
}

.checkbox-register-sec a {
    color: #29ABE2;
    text-decoration: none;
}

.checkbox-register-sec a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.login-btn-sec {
    display: flex;
    justify-content: space-around;
}

input#loginEmail,
input#loginPassword,
input#inputName,
input#email,
input#password,
input#confirmedPassword {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #D1D1D1;
    padding: 12px 21px;
    font-size: 20px;
    box-sizing: border-box;
}

input#loginEmail:focus,
input#loginPassword:focus,
input#inputName:focus,
input#email:focus,
input#password:focus,
input#confirmedPassword:focus {
    outline: none !important;
    border: 1px solid #29ABE2;
}

input#inputName {
    padding-right: 30px;
    background: url(./assets/img/person.svg) no-repeat right 21px center;
    background-color: white;
}

input#email {
    padding-right: 30px;
    background: url(./assets/img/mail.svg) no-repeat right 21px center;
    background-color: white;
}

input#password,
input#confirmedPassword {
    padding-right: 30px;
    background: url(./assets/img/lock.svg) no-repeat right 21px center;
    background-color: white;
}

.login-fsize {
    font-size: 61px !important;
    margin-bottom: 10px;
}

.login-footer {
    height: 30px;
    align-items: flex-end;
    display: flex;
    justify-content: center;
    gap: 30px;
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: 0.5%;
    z-index: -1;
}

.login-footer a {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;
    padding: 0px 10px !important;
    text-decoration: none !important;
    color: #A8A8A8;
}

.login-footer a:hover {
    color: #29ABE2;
    font-weight: bolder;
    text-decoration: none;
    cursor: pointer;
}

.back-button {
    cursor: pointer;
    width: 32px;
    height: 32px;
    margin-right: 90%;
    position: absolute;
    left: 50px;
    top: 50px;
}

.back-button:hover {
    background-color: #EEEEEE;
    transform: scale(1.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.login-error {
    display: flex;
    position: absolute;
    left: 5%;
    right: 5%;
    justify-content: center;
    color: red;
    font-size: 16px;
    height: 12px;
    text-align: center;
}

.error-message {
    display: flex;
    position: absolute;
    left: 5%;
    right: 5%;
    justify-content: center;
    color: red;
    font-size: 12px;
    height: 12px;
    text-align: center;
}

.success {
    width: 312px;
    height: 65px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2A3647;
    color: white;
    padding: 0px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.success.show {
    display: flex;
    animation: slideInBottom 0.5s forwards;
    pointer-events: auto;
}

@keyframes slideInBottom {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}



/* ///////////////////////////////////////Mobile-Screen////////////////////////////////////////////////////// */

@media (max-width: 680px) {

    .login-content {
        padding: 0px 16px;
    }

    .login-modal {
        padding: 48px 40px;
    }

    .image-container img {
        width: 150px !important;
    }

    .login-header {
        padding: 40px 40px;
    }

    .register-header {
        padding: 40px 40px;
    }

    .register-header img {
        height: 90px;
    }

    .back-button {
        cursor: pointer;
        width: 40px;
        height: 40px;
        left: 25px !important;
    }

    .login-fsize {
        font-size: 47px !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {

    .login-modal {
        padding: 48px 16px;
    }

    .content-field {
        flex-direction: column-reverse;
        margin-top: 208px;
    }

    .login-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: unset;
        height: 130px;
    }

    .login-btn-sec {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .login-mobile {
        width: 177px !important;
    }

    .login-error {
        top: 38%;
    }
}

@media (max-width: 400px) {

    .image-container img {
        width: 100px !important;
    }

    .content-field {
        zoom: 90%;
        margin-top: 120px;
    }

    .login-header {
        zoom: 90%;
    }

    .login-modal {
        zoom: 90%;
    }

    .register-header {
        height: 112px;
        padding: 0px 34px;
    }

    .register-header img {
        height: 60px;
    }

    .login-footer a {
        font-size: 14px;
    }
}