:root {
    --primary: #1e293a;
    --primary-600: #50627e;
    --primary-800: #303d51;
    --natural-white: rgba(255, 255, 255, 0);
}

html,
body {
    font-family: 'Rubik', sans-serif !important;
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
}

.box {
    width: 65%;
    height: 80%;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    background: var(--primary-800);
    border-radius: 10px;
    opacity: 98%;
    overflow: hidden;
}

.box-area-row {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.box-area-left-column {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-basis: fit-content;
    margin-left: 0;
    margin-right: auto;
}

.box-area-right-column {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: 0;
}

.welcome-area {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-area-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-area .remind-text {
    font-size: 5em;
    font-weight: 300;
}

.app-store-link-area {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-area {
    margin-top: auto;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-area {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.log-in-image-container {
    padding-left: 5%;
    padding-right: 5%;
}

.login-form {
    width: 300px;
    margin-top: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
}

.login-field {
    width: 300px;
    margin: 0 0 15px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.login-field label {
    display: block;
    width: 300px;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: left;
    font-size: 1.5rem;
}

.login-field input,
.login-email,
.login-password {
    display: block;
    width: 300px;
    max-width: 300px;
    min-width: 300px;
    margin: 0;
    box-sizing: border-box;
}

.login-error-message {
    min-height: 28px;
    box-sizing: border-box;
    color: red;
    font-size: large;
}

.log-in-button {
    display: block;
    width: 300px;
    height: 36px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    font-size: 14.2px;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
}

.forgot-pwd-button {
    display: block;
    width: 300px;
    height: 24px;
    background-color: white;
    border: none;
    font-size: 12px;
    color:var(--primary);
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
}

.log-in-button:hover,
.forgot-pwd-button:hover {
    opacity: 0.7;
    cursor: pointer;
}

.remind-text {
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    margin-left: 5%;
    margin-right: 5%;
}

.app-store-link-row {
    position: absolute;
    top: 5%;
    right: 5%;
}

.app-store-image {
    display: block;
    margin-bottom: 5px;
    width: 150px;
}

.app-store-image:hover {
    opacity: 0.7;
    cursor: pointer;
}

.footer {
    bottom: 3%;
    width: 100%;
    position: absolute;
}

.footer-row {
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    font-size: 0.73rem;
}

.footer-right-row {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

a {
    text-decoration: none;
}

a:link {
    color: var(--dark_green);
}

a:visited {
    opacity: 0.7;
    color: var(--primary);
}

a:hover, a:active {
    opacity: 0.7;
}

/*****************Desktop HD***********************/
/****************************************/
@media screen and (min-width: 1920px) {
body {
    overflow: scroll;
    overscroll-behavior-x: none;
    width: 100%;
    height: 100%;
    margin: 0;
    min-width: 1920px;
    min-height: 750px;
    position: relative;
    background: linear-gradient(to right, var(--primary) 50%, var(--natural-white) 50%);
}

.box-area-left-column {
    width: 50%;
}

.box-area-right-column {
    width: 50%;
}

.welcome-area {
    margin-top: 10rem;
    align-content: center;
}

.footer-row {
    font-size: 1.5rem;
}

.footer-left {
    color: #ffffff;
}

.tablet-and-mobile {
    display: none;
}

.tablet-only {
    display: none;
}

.mobile-only {
    display: none;
}
}

/******************desktop*****************************/
/***********************************************/
@media screen and (min-width: 1281px) and (max-width: 1919px) {
body {
    overflow: scroll;
    overscroll-behavior-x: none;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    background: linear-gradient(to bottom, var(--primary) 50%, var(--natural-white) 50%);
}

.box-area-left-column {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.box-area-right-column {
    display: none;
}

.space-between-text-welcome-and-sign-in {
    height: 20%;
}

.footer-row {
    font-size: 1.5rem;
}

.tablet-and-mobile {
    display: none;
}

.tablet-only {
    display: none;
}

.mobile-only {
    display: none;
}
}

/**********************Tablet*************************/
/***********************************************/

@media screen and (max-width: 1281px) and (min-width: 769px) {
body {
    overflow: clip;
    overscroll-behavior-x: none;
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
}

.box {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.box-area-left-column {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.welcome-area {
    margin-top: 2rem;
}

.button-area .remind-text {
    font-size: 1.5rem;
}

.footer {
    color: #ffffff;
}

.footer-row {
    font-size: 1rem;
}

.computer-only {
    display: none;
}

.mobile-only {
    display: none;
}

.remind-text {
    font-size: 2rem;
}

a:active, a:focus, a:focus-visible, a:focus-within, a:visited, a:target {
    color: #ffffff;
}
}

/******************mobile*****************************/
/***********************************************/

@media screen and (max-width: 768px) {
body {
    overflow: clip;
    overscroll-behavior-x: none;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
}

.box {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.box-area-left-column {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.welcome-area {
    margin-top: 2rem;
}

.button-area .remind-text {
    font-size: 1rem;
}

.footer {
    color: #ffffff;
}

.footer-row {
    font-size: 0.9rem;
}

.tablet-only {
    display: none;
}

.computer-only {
    display: none;
}

.remind-text {
    font-size: 2rem;
}

a:active, a:focus, a:focus-visible, a:focus-within, a:visited, a:target {
    color: #ffffff;
}
}