/* Profile Quiz original login (login.php) — all rules scoped to #profileLoginPage */

html:has(#profileLoginPage) {
    font-size: 12px;
}

#profileLoginPage {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    display: block;
    border: 1px solid #ccc;
    height: auto;
    width: 100vw;
    min-width: 1200px;
    min-height: 100vh;
    font-family: 'freight-display-pro';
    color: #75769d;
    background: url(../media/video/bg_vid.mp4) no-repeat;
    background-size: 100% 100%;
    position: relative;
    align-content: center;
    opacity: 0;
    animation: profileLoginFadeIn 1s ease-in forwards;
}

@keyframes profileLoginFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#profileLoginPage .contentWrapper {
    padding: 3rem 7rem 2rem 7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #75769d;
    font-family: 'freight-display-pro';
    width: auto;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible;
}

#profileLoginPage .contentWrapper > div {
    width: 100%;
    overflow: hidden;
}

#profileLoginPage .block:nth-of-type(1) {
    flex-basis: 100%;
    height: 18rem;
    font-family: 'freight-display-pro';
    font-style: italic;
    font-size: 1.9rem;
    padding-bottom: 5rem;
    padding-top: 2rem;
    font-weight: 400;
    text-shadow: 0px 0px;
}

#profileLoginPage h1 {
    font-size: 5.36rem;
    font-weight: 400;
    padding-bottom: 0;
    margin-bottom: 1rem;
    font-style: normal;
}

#profileLoginPage .subtext {
    font-size: 1.73rem;
    font-weight: 100;
    margin: 0;
}

#profileLoginPage #profileLoginBlock {
    display: flex;
    align-items: center;
    margin-bottom: 10rem;
    flex-direction: row;
}

#profileLoginPage #profileLoginBlock h1 {
    font-size: 4rem;
}

#profileLoginPage #profileLoginBlock .flex {
    width: 100%;
    text-wrap: nowrap;
    margin-top: 2%;
    overflow: hidden;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(1) {
    margin-left: 0%;
    margin-top: 0%;
    flex-direction: column;
    width: auto;
    overflow: visible;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(2) {
    max-width: 28%;
    display: flex;
    justify-content: center;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(2) .button-container {
    width: auto;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(3) {
    padding: 0rem 0rem;
    color: #79e0ec;
    font-size: 3.3rem;
    cursor: pointer;
    font-family: 'freight-display-pro';
    font-weight: 400;
    letter-spacing: 0.05rem;
    -webkit-font-smoothing: auto;
    display: flex;
    align-items: center;
    align-content: center;
    margin-top: 1.5%;
    max-width: 5%;
    margin-left: 0;
    justify-content: center;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(4) {
    max-width: 30%;
    align-items: center;
    align-content: center;
    display: flex;
    justify-content: center;
}

#profileLoginPage #profileLoginBlock .flex:nth-of-type(4) form {
    display: flex;
    flex-direction: column;
    width: 90%;
    align-content: center;
    align-items: center;
    justify-content: center;
}

#profileLoginPage #profileLoginBlock input,
#profileLoginPage #profileLoginBlock input[type="text"],
#profileLoginPage #profileLoginBlock input[type="number"],
#profileLoginPage #profileLoginBlock textArea,
#profileLoginPage #profileLoginBlock textarea,
#profileLoginPage #profileLoginBlock select {
    margin-right: 0rem;
    width: 90%;
    box-sizing: border-box;
}

#profileLoginPage #profileLoginForm input[name="loginSubmit"] {
    padding: 0 2rem ! Important;
    text-align: center !important;
}

#profileLoginPage #profileLoginForm .error {
    color: #f900b1;
    padding: 0 2rem;
    font-size: 1.4rem;
    line-height: normal;
    font-weight: 500;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: wrap;
    text-align: center;
}

#profileLoginPage #profileLoginForm .error:empty {
    display: none;
}

#profileLoginPage #profileLoginBlock .join {
    padding: 0rem 2.2rem !important;
    border-radius: 2rem !important;
    background-color: #79e0ec !important;
    color: #fff !important;
    font-size: 1.3rem !important;
    cursor: pointer !important;
    border: none !important;
    font-family: 'freight-display-pro' !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.05rem !important;
    -webkit-font-smoothing: auto !important;
    height: 2.8rem;
    display: flex;
    align-items: center;
    margin-bottom: 5%;
    box-sizing: border-box;
    justify-content: center;
    text-decoration: none;
}

#profileLoginPage #profileLoginForm .join,
#profileLoginPage #profileLoginForm .submit {
    padding: 0rem 2.2rem !important;
    border-radius: 2rem !important;
    background-color: #79e0ec !important;
    color: #fff !important;
    font-size: 1.3rem !important;
    cursor: pointer !important;
    border: none !important;
    font-family: 'freight-display-pro' !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.05rem !important;
    -webkit-font-smoothing: auto !important;
    height: 2.8rem;
    display: flex;
    align-items: center;
    margin-bottom: 5%;
    box-sizing: border-box;
    justify-content: center;
}

#profileLoginPage #profileLoginForm input[name="userName"],
#profileLoginPage #profileLoginForm input[name="password"] {
    appearance: none;
    padding: 0rem 2rem;
    border-radius: 2rem !important;
    color: #75769d !important;
    font-size: 1.3rem;
    cursor: pointer;
    border: 0.5px solid #75769d;
    font-family: 'freight-display-pro';
    width: 90%;
    font-weight: 400;
    letter-spacing: 0.05rem;
    -webkit-font-smoothing: auto;
    margin-bottom: 5%;
    height: 2.8rem;
    display: flex;
    align-items: center;
    background: #fcfcfa !important;
    box-sizing: border-box;
}

#profileLoginPage #profileLoginForm input:-webkit-autofill,
#profileLoginPage #profileLoginForm input:-webkit-autofill:hover,
#profileLoginPage #profileLoginForm input:-webkit-autofill:focus,
#profileLoginPage #profileLoginForm input:-webkit-autofill:active {
    -webkit-box-shadow: -1px 20px 2rem 5rem #fcfcfa inset !important;
    -webkit-text-fill-color: #75769d !important;
    border-radius: 2rem !important;
}

#profileLoginPage #profileLoginForm input::placeholder {
    color: #75769d;
    font-family: 'freight-display-pro';
    font-size: 1.35rem;
}

#profileLoginPage #profileLoginForm input[type="submit"] {
    text-align: start;
}

#profileLoginPage #profileLoginFooter {
    height: 9rem;
    font-size: 1.1rem;
    font-weight: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-right: 0%;
    overflow: visible !important;
    width: min-content;
}

#profileLoginPage #profileLoginFooter p {
    width: 100%;
    font-weight: 500;
    font-size: 1.07rem;
    text-align: left;
    text-wrap: nowrap;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
}

#profileLoginPage #profileLoginFooter a {
    text-decoration: underline;
    text-decoration-thickness: from-font;
}

#profileLoginPage #profileLoginFooter .imgDiv {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

#profileLoginPage #profileLoginFooter .imgDiv img {
    width: 3rem;
    align-self: end;
    padding-right: 0;
    margin-bottom: 0vh;
}

#profileLoginPage #profileToggleEntryMode {
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
    display: none;
}

@media only screen and (min-width: 1567px) and (max-width: 1666px) {
    #profileLoginPage #profileLoginBlock h1 {
        font-size: 4.1rem;
    }
}

@media only screen and (min-width: 1967px) and (max-width: 2066px) {
    #profileLoginPage #profileLoginBlock h1 {
        font-size: 4.2rem;
    }
}
