/*  HUB FONT    */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

* {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
}

.hub-font {
    font-weight: 400;
    font-style: normal;
}

/*  ALL PAGES CSS   */

*,
*:before,
*:after {
    box-sizing: inherit;       /* enable the "border-box effect" everywhere */
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;              /* for the page to take full window height */
    box-sizing: border-box;
}

body {
    position: relative;        /* for the footer to move with the page size */
    min-height: 100%;          /* for the footer to be at the bottom */
    padding-bottom: 6rem;
}

h1, h2 {
    font-size: 36px;
    font-weight: 500;
    color: rgb(45 71 93 / 1);
}

h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
    color: rgb(45 71 93 / 1);
}

.hidden {
    display: none !important;
}

.my-5 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

#root {
    /* line-height: 1.5; */
    font-family: "Lexend Deca", sans-serif;
    line-height: inherit;
    box-sizing: border-box;
    font-style: normal;
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-bottom: 1%; /* Spacing for footer */
}

#foreground {
    padding: 0 5%;
    max-width: 1650px;
}

.foreground-wrapper {
    justify-content: center;
    align-items: center;
    margin: auto;
    position: relative;
    height: auto;
    width: 100%;
    padding-top: 2%;
}


/* BUTTONS */
.button-base {
    border-style: solid;
    font-family: inherit;
    display: inline-flex;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    border-width: 2px;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.orange-button {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    border-color: rgb(255 137 51 / 1);
    background-color: rgb(255 137 51 / 1);
    color: rgb(255 255 255 / 1);
}

.orange-button:hover {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background-color: transparent;
    color: rgb(255 137 51 / 1);
}

.yellow-button {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    border-color: rgb(255 188 75 / 1);
    background-color: rgb(255 188 75 / 1);
    color: rgb(255 255 255 / 1);
}

.yellow-button:hover {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background-color: transparent;
    color: rgb(255 188 75 / 1);
}

.pink-button {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    border-color: rgb(247 0 140 / 1);
    background-color: rgb(247 0 140 / 1);
    color: rgb(255 255 255 / 1);
}

.pink-button:hover {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background-color: transparent;
    color: rgb(247 0 140 / 1);
}

.red-button {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    border-color: rgb(237,45,64);
    background-color: rgb(237,45,64);
    color: rgb(255 255 255 / 1);
}

.red-button:hover {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background-color: transparent;
    color: rgb(237,45,64);
}

/* MISC */
#ISOConnectForm input {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
    width: 100%;
    border-bottom-width: 2px;
    border-color: rgb(241 244 244 / 1);
    background-color: transparent;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(45 71 93 / 1);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

#ISOConnectForm .ISOFormField {
    margin-bottom: 2%;
}

.user-register-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.register-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.flex-col {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10%;
}

.center {
    align-items: center;
}

.togglePasswordVis {
    max-width: 35px;
}

.username-container {
    position: relative;
}

.password-container {
    display: flex;
    flex-direction: column;
}

.password-container span {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    display: inline-block;
    height: 1.25rem;
    width: 1.25rem;
    cursor: pointer;
    opacity: 0.8;
}

.password-container a {
    color: inherit;
    text-decoration: inherit;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.5rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.max-w-45 {
    max-width: 45%;
}

#password-input, #username {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
    width: 100%;
    border-bottom-width: 2px;
    border-color: rgb(241 244 244 / 1);
    background-color: transparent;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(45 71 93 / 1);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

#toggle-password {
    -webkit-tap-highlight-color: transparent;
    line-height: inherit;
    cursor: pointer;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

.input-box {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
    width: auto;
    border-bottom-width: 2px;
    border-color: rgb(241 244 244 / 1);
    background-color: transparent;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(45 71 93 / 1);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.w-full {
    width: 100%;
}

/* DISPLAY SETTINGS */

@media (max-width: 1110px) {
    #foreground {
        text-align: center;
    }

    .home-content {
        flex-direction: column;
    }

    .max-w-45 {
        max-width: 70%;
    }
}

@media (min-width: 1111px) {
    .home-content {
        flex-direction: unset;
    }
}

@media (min-width: 1740px) {
    #foreground {
        padding: 0 7%;
        margin-left: auto;
        margin-right: auto;
    }
}