@font-face {
    src: url(../fonts/Aeonik-Regular.otf);
    font-family: Aeonik;
}

html * {
    font-family: 'DM Sans', sans-serif;
}


body {
    height: fit-content;
    background: #FAFAFB;
}

h2 {
    font-family: Aeonik;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #474752;
    margin: 0;
}

a {
    display: inline-block;
}

p {
    margin: 0;
}

hr {
    margin: 0;
    border: none;
    border-top: 1px solid #DFE3E7;
    width: 85%;
    align-self: center;
}

/*Reusable Styles*/
.margin-bottom-24 {
    margin-bottom: 24px;
}

.body-regular-l-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #474752;
}

.body-regular-s-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #93939C;
}

.small-regular-l-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #93939C;
}

.small-regular-xl-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #474752;
}

/*Specific Styles*/
.page-container {
    width: auto;
    height: 100%;
    padding: 160px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 1920px) {
    .page-container {
        padding-top: 128px;
        padding-bottom: 128px;
    }
}

@media only screen and (max-width: 1440px) {
    .page-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}


@media only screen and (max-width: 1024px) {
    .page-container {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media only screen and (max-width: 744px) {
    .page-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

.content-container {
    margin: 24px auto;
    text-align: center;
    max-width: 343px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input-container input {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #474752;
    padding: 16px 8px;
    background: #FFFFFF;
    border: 1px solid #DFE3E7;
    border-radius: 8px;
}

.forgotten-password-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.hyperlink-text {
    color: #416288;
    cursor: pointer;
    text-decoration-line: underline;
}

.sub-title-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #474752;
}

.trevor-wordmark-logo {
    width: 186px;
    height: 32px;
}

/*Button Styles*/
.round-button {
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0.005em;
    text-decoration-line: none;
    color: #FFFFFF;
    width: 100%;
    height: 64px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 100ms;
}
.round-button:hover,
.round-button:focus {
    box-shadow: 0px 1px 2px rgba(28, 28, 33, 0.3);
}

.round-button .icon {
    width: 20px;
    height: auto;
    margin-right: 18px;
}

.round-button.google {
    background-color: #288EDF;
    display: flex;
    justify-content: space-between;
}

.round-button.google > div {
    width: 100%;
}

.round-button.google:hover,
.round-button.google:focus {
    background-color: #6199F6;
}


.round-button.google .google-icon {
    width: 64px;
    height: 64px;
}

.round-button.heroku {
    background-color: #725495;
}

.round-button.heroku:hover,
.round-button.heroku:focus {
    background-color: #8B70AB;
}

.round-button.primary {
    background: #FFCA38;
    color: #416288;
}
.round-button.primary:hover,
.round-button.primary:focus {
    background: #FFD359;
}
.round-button.primary:active {
    background: #FFD359;
    box-shadow:none;
}

/*Password Styles*/
.password-feedback-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.meter-container {
    height: 16px;
    border-radius: 8px;
    background: #DFE3E7;
    margin-bottom: 11px;
}

meter {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0px;
    width: 100%;
    height: 16px;
    border-radius: 8px;
    vertical-align: 0;
    background: none;
}

.no-display {
    display: none;
}

meter {
--l-color0: #CC2D0A;
--l-color1: #F77A5F;
--l-color2: #F59E54;
--l-color3: #F5B254;
--l-color4: #5B9A61;
}

meter[value="0"] { width: 10%; background: var(--l-color0); }
meter[value="1"] { width: 25%; background: var(--l-color1); }
meter[value="2"] { width: 50%; background: var(--l-color2); }
meter[value="3"] { width: 75%; background: var(--l-color3); }
meter[value="4"] { width: 95%; background: var(--l-color4); }

meter[value="0"]::-webkit-meter-optimum-value { background: var(--l-color0); }
meter[value="1"]::-webkit-meter-optimum-value { background: var(--l-color1); }
meter[value="2"]::-webkit-meter-optimum-value { background: var(--l-color2); }
meter[value="3"]::-webkit-meter-optimum-value { background: var(--l-color3); }
meter[value="4"]::-webkit-meter-optimum-value { background: var(--l-color4); }

meter[value="0"]::-moz-meter-bar { background: var(--l-color0); }
meter[value="1"]::-moz-meter-bar { background: var(--l-color1); }
meter[value="2"]::-moz-meter-bar { background: var(--l-color2); }
meter[value="3"]::-moz-meter-bar { background: var(--l-color3); }
meter[value="4"]::-moz-meter-bar { background: var(--l-color4); }

meter::-webkit-meter-inner-element{
    display: none;
}

meter::-moz-meter-bar {
    border-radius:8px
}

/*Feedback Styles*/
.feedback {
    position:relative;
    padding: 8px 16px 8px 40px;
    border-radius: 16px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    width: fit-content;
    text-align: start;
    width: initial;
}

.feedback-icon {
    position: absolute;
    left: 15px;
}

.feedback.error {
    color: #CC2D0A;
    background: #FDDFD8;
}

.feedback.success {
    color: #3D7D43;
    background: #E2F1E3;
}

