html, body {
    font-family: 'Inter', sans-serif;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #f6f7f8;
    overflow: hidden;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: 90px;
}

@media(min-width: 870px) {
    main {
        padding: 64px;
    }
}

/* Logo & Start-Animation */
#logoContainer {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: #2A3647;
    padding: 8px;
    z-index: 1;
}

@media(min-width: 870px) {
    #logoContainer {
        background-color: #f6f7f8;
        padding: 32px;
    }
}

.logo {
    position: relative;
    width: 100px;
    height: 122px;
    left: calc(50% - 50px);
    top: calc(50% - 61px);
}

@media(min-width: 870px) {
    .logo {
        width: 274px;
        height: 334px;
        left: calc(50% - 137px);
        top: calc(50% - 167px);
    }
}

.logoEndPoint {
    width: 64px;
    height: 78px;
    top: 0;
    left: 0;
}

@media(min-width: 870px) {
    .logoEndPoint {
        width: 100px;
        height: 122px;
        top: 0;
        left: 0;
    }
}

.logoFill, .logo, #logoContainer {
    transition: all 400ms ease-in-out 300ms;
}

@media(min-width: 870px) {
    .logoFill {
        fill: #2A3647;
    }
}

/* SignUp - Animation */
.signUpSuccessBackground {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transition: background-color 300ms ease-out;
    background-color: rgb(0, 0, 0, 0.3);
}

@media(max-width: 870px) {
    .signUpSuccessBackground {
        background-color: transparent;
    }
}

@media(min-width: 870px) {
    .animationBackgroundColor {
        background-color: transparent;
    }
}

.hidden {
    transform: translateY(100svh);
}

.signUpSuccess {
    box-shadow: 0px 0px 4px 0px #00000026;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2A3647;
    color: white;
    font-size: 20px;
    font-weight: 400;
    padding: 25px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    transition: all 200ms ease-in-out;
}

.signupSuccessAnimationStartpoint {
    top: 100%;
}

@media(max-width: 340px) {
    .signUpSuccess {
        padding: 15px;
    }
}

/* Content */
#contentContainer {
    transition: all 125ms ease-in-out;
    display: flex;
    background: white;
    border-radius: 30px;
    box-shadow: 0px 0px 14px 3px #0000000A;
    flex-direction: column;
    padding: 32px;
    align-items: center;
    gap: 20px;
    position: relative;
}

@media(min-width: 870px) {
    #contentContainer {
        padding: 48px 115px;
        gap: 32px;
    }
}

h1 {
    font-size: 47px;
    font-weight: 700;
}

.spacer {
    background: #29ABE2;
    height: 3px;
    border-radius: 3px;
    width: 86px;
    margin-top: -16px;
}

input {
    font-size: 20px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    padding: 12px 21px;
    width: 100%;
}

input:focus {
    border: 1px solid #29abe2;
    outline: none;
}

input::placeholder {
    color: #d1d1d1;
}

input:hover {
    cursor: pointer;
}

#emailInput {
    background-image: url(../assets/img/login_mail.svg);
    background-repeat: no-repeat;
    background-position: 94% 50%;
}

#passwordInput, #confirmPasswordInput {
    background-image: url(../assets/img/login_lock.svg);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    padding-right: 50px;
}

.passwordWrapper {
    display: flex;
    width: 100%;
    position: relative;
}

.visibilityIcon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-1svw, -50%);
    z-index: 1;
}

.visibilityIcon:hover {
    cursor: pointer;
}

.rememberMe {
    display: flex;
    gap: 16px;
    align-items: center;
    align-self: start;
    padding-left: 10%;
}

@media(min-width: 870px) {
    .rememberMe {
        padding-left: 0;
    }
}

#checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

#checkbox:hover {
    cursor: pointer;
}

.buttonContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(min-width: 870px) {
    .buttonContainer {
        flex-direction: row;
        gap: 35px;
    }
}

.button {
    border-radius: 8px;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    transition: all 100ms ease-in-out;
    width: 180px;
    height: 51px;
    align-items: center;
    justify-content: center;
}

.button:hover {
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.fullButton {
    color: white;
    background: #2a3647;
}

.fullButton:hover {
    background: #29abe2;
}

.hollowButton {
    color: #2a3647;
    border: 1px solid currentColor;
}

.hollowButton:hover {
    color: #29abe2;
    stroke: currentColor;
}

.disabledButton {
    cursor: not-allowed !important;
}

.disabledButton:hover {
    background: #444d5a;
    box-shadow: none;
}

#signUpOption {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
}

@media(min-width: 870px) {
    #signUpOption {
        position: absolute;
        top: 0;
        right: 32px;
    }
}

.signUpOption p {
    font-size: 20px;
}

#switchToSignUpButton {
    width: 104px;
    height: none;
    padding: 15px 16px;
    z-index: 2;
}

footer {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding-bottom: 32px;
    
}

@media(min-width: 870px) {
    footer {
        padding-bottom: 64px;
    }
}

a {
    color: #A8A8A8;
    text-decoration: none;
    font-size: 16px;
}

.dnone {
    display: none !important;
}

/* Sign up */
#backArrow {
    position: absolute;
    left: 30px;
    top: 48px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backArrow:hover {
    cursor: pointer;
    background: #EEEEEE;
}

#nameInput {
    background-image: url(../assets/img/login_person.svg);
    background-repeat: no-repeat;
    background-position: 94% 50%;
}

.acceptPrivatePolicy {
    display: flex;
    gap: 8px;
    align-items: center;
}

.acceptPrivatePolicy a {
    color: #29ABE2;
}

.acceptPrivatePolicy a:hover {
    text-decoration: underline;
}

.validationContainer {
    width: 100%;
}