html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a,
button {
    cursor: pointer;
}

.sign-in-page {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-circle {
    position: absolute;
    top: 0;
    left: 0;
}

.bottom-circle {
    position: absolute;
    bottom: 0;
    right: 0;
}

.sign-in-page-content {
    display: flex;
    justify-content: center;
    gap: 5%;
    width: 100%;
}

.sign-in-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 38%;
    min-width: 245px;
}

form {
    width: 100%;
}

.sign-in-container > div:first-of-type {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.sign-in-container > div:first-of-type > img {
    width: 200px;
}

.sign-in-container > div:first-of-type h1 {
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 3.8rem;
    color: #004762;
    margin: 0;
}

#sign-in-form {
    width: 100%;
    max-width: 450px;
}

.sign-in-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-input,
.password-input {
    display: flex;
    flex-direction: column;
    position: relative;
}

.email-input span,
.password-input span {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2rem;
    color: #004762;
}

.password-input {
    display: flex;
    justify-content: center;
}

.email-input input,
.password-input input {
    background-color: #F8FCFE;
    border: 1px solid #00000017;
    border-radius: 10px;
    height: 45px;
    margin-top: 4px;
    text-indent: 10px;
    font-size: 1rem;
}

.email-input input:focus,
.password-input input:focus {
    outline-color: #004762;
}

.password-input a {
    font-weight: 500;
    font-size: .875rem;
    line-height: 1rem;
    text-decoration: underline;
    color: #004762;
    text-align: right;
    margin-top: 8px;
}

.password-input input {
    padding-right: 15%;
}

.hide-password-icon {
    position: absolute;
    right: 4%;
    color: #004762;
}

.sign-in-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sign-in-button {
    background-color: #46879F;
    border: 1px solid transparent;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3rem;
    padding: 12px 45px;
    margin-bottom: 8px;
}

.sign-in-button-container > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sign-in-button-container > div > div {
    font-weight: 500;
    font-size: .875rem;
    color: #606060;
}

.sign-in-button-container > div a {
    font-weight: 500;
    font-size: .875rem;
    color: #004762;
    text-decoration: none;
}

.sign-in-image {
    width: 36%;
}

.sign-in-image svg {
    width: 100%;
}


@media (max-width: 1536px) {
    .top-circle {
        width: 220px;
        height: 200px;
    }

    .bottom-circle {
        width: 170px;
        height: 200px;
    }
}

@media (max-width: 1280px) {
    .top-circle {
        width: 200px;
        height: 180px;
    }

    .bottom-circle {
        width: 150px;
        height: 180px;
    }

    .sign-in-container > div:first-of-type > h1 {
        font-size: 2.8rem;
        line-height: 3rem;
    }

    .email-input span,
    .password-input span {
        font-size: 1rem;
        line-height: 1rem;
    }

    .email-input input,
    .password-input input {
        height: 40px;
    }

    .password-input a {
        font-size: .875rem;
        line-height: .875rem;
    }

    .sign-in-button {
        font-size: 1.3rem;
        padding: 10px 35px;
    }

    .sign-in-button-container span {
        font-size: .875rem;
        line-height: .875rem;
    }
}

@media (max-width: 1024px) {
    .top-circle {
        width: 160px;
        height: 140px;
    }

    .bottom-circle {
        width: 120px;
        height: 130px;
    }

    .sign-in-container {
        justify-content: center;
        gap: 35px;
    }

    .sign-in-container > div:first-of-type > h1 {
        font-size: 2rem;
        line-height: 1.8rem;
    }

    .email-input span,
    .password-input span {
        font-size: .875rem;
        line-height: .75rem;
    }

    .email-input input,
    .password-input input {
        height: 40px;
        margin-top: 3px;
    }

    .password-input a {
        font-size: .75rem;
        line-height: .75rem;
    }

    .sign-in-button {
        font-size: .875rem;
        padding: 5px 35px;
    }

    .sign-in-button-container span {
        font-size: .75rem;
        line-height: .75rem;
    }
}


@media (max-width: 768px) {
    .sign-in-container {
        width: 95%;
        min-width: 0;
    }

    .email-input input,
    .password-input input {
        height: 40px;
        margin-top: 3px;
    }

    .sign-in-image {
        display: none;
    }

    .sign-in-container > div:first-of-type > h1 {
        font-size: 2.8rem;
        line-height: 3rem;
    }

    .sign-in-container > div:first-of-type > img {
        width: 150px;
    }

    .email-input span,
    .password-input span {
        font-size: 1rem;
        line-height: 1rem;
    }


    .password-input input {
        padding-right: 10%;
    }

    .password-input a {
        font-size: .875rem;
        line-height: .875rem;
    }

    .sign-in-button {
        font-size: 1.3rem;
        padding: 10px 35px;
    }

    .sign-in-button-container span {
        font-size: .875rem;
        line-height: .875rem;
    }
}


.hide {
    display: none;
}

.alert {
  padding: 10px;
  color: white;
}

.error-text {
    font-size: .875rem;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}