* { 
    box-sizing: border-box;
}

html { 
    font-size: 62.5%;
    position: relative;
    min-height: 100vh;
    overflow: auto;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: #ECECEC;
    margin: 0;
    font-size: 16px;
    font-family: "signika";
    background-image: url("/static/safeStoreApp/images/background.1226348952cd.jpg");
    background-size: 100% 208%;
    background-position-y: 100%;
    background-blend-mode: color;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-header {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
}

.top-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.home-logo {
    width: 100%;
    height: auto;
    max-width: 44rem;
}

.corner-logo {
    width: auto;
    height: 100%;
}

.corner-anchor {
    height: 100%;
}

.light {
    font-weight: 100;
}

.heavy {
    font-weight: 700;
}

.lined {
    font-style: oblique;
}

.home {
    height: 100%;
    width: 100%;
    flex: 1;
}

.home-info-wrapper {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    /* margin-top: 8rem; */
}

.home-info h1 {
    font-size: 5.6em;
    margin-bottom: 0;
}

.home-info-wrapper h2 {
    font-size: 2.4em;
}

.home-info p {
    font-size: 2.1em;
    margin-top: 0;
}

.home-login {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.login-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.admin-form {
    text-align: center;
    margin: auto 0;
    font-size: 2rem;
    min-width: 30rem;
    width: 43rem;
}

.login-header,
.welcome-back-header {
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
}

.welcome-back-header {
    font-size: 5.5rem;
}

.welcome-offer {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 2rem;
    text-align: center;
}

.welcome-explore {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.anchor-clear {
    text-decoration: none;
    color: inherit;
}

.mt-30 {
    margin-top: 3rem;
}

.ma {
    margin: auto;
}

.button {
    background-color: #2C2C54;
    color: white;
    box-shadow: -3px 3px 0 1px #2c2c55cc;
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 2rem;
    border-radius: 4rem;
    transition: all 0.3s;
    border: none;
    font-family: "signika";
}

.reset-wrapper {
    text-align: center;
    margin-top: 4rem;
}

.field-wrapper {
    position: relative;
    margin: 3rem 0 1.5rem;
}

.field-label {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    padding: 1rem 2rem;
    line-height: 2.5rem;
    font-size: 2rem;
    z-index: -1;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.field-wrapper input {
    background-color: transparent;
    border: none;
    outline: 2px solid black;
    padding: 1rem 2rem;
    border-radius: 3rem;
    width: 100%;
    line-height: 2.5rem;
    font-size: 2rem;
    transition: all 0.2s;
}

.field-wrapper input:focus ~ .field-label,
.field-wrapper input:not(:placeholder-shown) ~ .field-label {
    left: 50%;
    transform: translate(-50%, -58%);
    font-size: 1.4rem;
    line-height: 1rem;
}

.field-wrapper-search {
    margin: 2rem 0;
}

.field-wrapper-search input {
    outline: 1px solid black;
    padding: 0.5rem 1.7rem;
    font-size: 1.6rem;
    width: auto;
    min-width: 500px;
}

.pointer {
    cursor: pointer;
}

.submit-button {
    width: 100%;
}

.reset-header {
    font-weight: 100;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.reset-link {
    color: #2C2C54;
    font-weight: 900;
    text-decoration: none;
}

#resetVerifyForm,
#changePasswordForm {
    margin: auto;
}

.admin-wrapper {
    padding-top: 3rem
}

.errors {
    color: red;
    font-size: 2.5rem;
    margin: 2rem 0;
    font-weight: 500;
}

.field-errors {
    color: red;
    font-size: 1.5rem;
    font-weight: 500;
}

.reset-link-holder {
    margin-top: 3rem;
    flex-direction: column;
    gap: 2rem;
    font-size: 2rem;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-wrapper {
    color: green;
    font-weight: 700;
    font-size: 3.5rem;
}

.change-password-button {
    margin-top: 2rem;
    width: 100%;
}

.admin-form .errorlist {
    list-style: none;
    padding: 0;
    color: red;
    font-weight: 900;
}

.hidden {
    display: none !important;
}

.help-text-reset ul{
    font-size: 1.3rem;
    line-height: 1.5rem;
    text-align: left;
    list-style-type: circle;
}

.logout-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

.logo img {
    max-width: 300px;
}

.account-page-wrapper {
    margin: 0 auto;
    padding-top: 8rem;
    width: 120rem;
    max-height: calc(100vh - 12rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.account-page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.account-page-nav-option {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
}

.account-page-nav-option::after {
    content: '';
    position: absolute;
    top: 120%;
    left: 5%;
    width: 0;
    height: 4px;
    background-color: #474787;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.42, 0, 0.22, 1) ;
}

.account-page-nav-option.selected-nav::after {
    width: 90%;
}

.account-page-nav-option.selected-nav {
    color: #474787;
}

.account-page-data {
    width: 100%;
    margin-top: 6rem;
    overflow-y: scroll;
    padding-top: 1rem;
}

.search-bar-account-page-data {
    margin-top: 0;
}

.search-holder {
    margin-top: 2rem;
}

.no-results {
    text-align: center;
    font-size: 2rem;
}

.header {
    width: 100%;
}

.product img {
    max-width: 300px;
    border-radius: 20px;
}

.email-page {
    display: flex;
    flex-direction: column;
}

.email-list-overflow {
    max-height: 95%;
    overflow-y: scroll;
}

.email-static-scroll {
    overflow-y: scroll;
}

.email-line-wrapper {
    height: 4rem;
    display: flex;
    width: 100%;
    transition: all 0.2s;
}

.email-line-wrapper:not(:first-child) {
    border-top: 1px solid #4747873b;
}

.square-wrapper,
.avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.email-preview {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.start-square {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 3px;
    border: 1px solid grey;
}

.email-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: gray;
}

.email-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: white;
    font-weight: 100;
}

.email-sender {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem;
    padding-left: 0.5rem;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-span {
    white-space: nowrap;
}

.email-address {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7em;
    color: #2c2c55;
}

.email-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.email-preview span {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 100;
}

.email-date {
    min-width: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-header-wrapper {
    font-size: 1.7rem;
    font-weight: 100;
}

.email-header {
    display: inline-block;
    min-width: 10rem;
}

.email-header-heading {
    display: inline-block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    font-weight: 600;
}

.email-sub-text {
    font-size: 0.9em;
    margin-left: 0.5rem;
}

.email-body {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid #2c2c553b;
    font-size: 1.8rem;
    font-family: arial;
}

.email-back-arrow {
    font-size: 3rem;
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 27rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 20rem;
}

.video-title {
    font-weight: 600;
    font-size: 1.2em;
}

.video-img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.video-src {
    margin: auto;
    display: none;
    z-index: 4;
}

.video-overlay {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #000000d1;
    z-index: 3;
}

.video-overlay-wrapper {
    height: 100%;
    width: 80%;
    display: flex;
    margin: auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.vid-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    top: 6rem;
    width: 100%;
    max-height: 80%;
    max-width: 100rem;
}

.vid-wrapper iframe,
.vid-wrapper video {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 100%;
    border-radius: 3rem;
    background-color: black;
}

.width-auto {
    width: auto !important;
}

.vid-wrapper img {
    max-height: 100%;
}

.video-overlay-wrapper video {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 18px 0px #000000;
    z-index: 4;
    outline: 0;
    max-width: 100%;
}

.exit-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    font-size: 3rem;
    cursor: pointer;
}

.page-data-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.page-gap {
    width: 100%;
    height: 2rem;
}

.footer-standard {
    width: 100%;
    margin: auto auto 0;
    /* margin-top: 5rem; */
    padding: 3rem;
    /* background-color: #2c2c5414; */
    box-shadow: 0 -2px 6px 1px #2c2c5412;
}

.footer-bottom {
    width: 80%;
    border-top: 1px solid #47478729;
    padding-top: 2rem;
    margin: auto;
}

.footer-text-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo-holder {
    font-weight: bolder;
    font-size: 1.6em;
    margin-bottom: 1rem;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer {
    font-weight: 100;
    font-size: 0.7em;
    text-align: center;
    padding-bottom: 2em;
}















/* Miscell */
.admin-form ::-webkit-input-placeholder {
    opacity: 0;
}
.admin-form :-moz-placeholder {
    opacity: 0;
}
.admin-form ::-moz-placeholder {
    opacity: 0;
}
.admin-form :-ms-input-placeholder {
    opacity: 0;
}

.email-list::-webkit-scrollbar {
    -webkit-appearance: none;
    appearance: none;
    width: 7px;
}
.email-list::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}






@media (max-width: 1240px) {
    .account-page-wrapper {
        width: 90rem;
    }
    .video-wrapper {
        width: 21rem;
    }
    .page-data-flex {
        gap: 2rem;
    }
}






@media (max-width: 1000px) {
    .home-info h1 {
        font-size: 6rem;
    }
    .home-info p {
        font-size: 2.2rem;
    }
    .home-info-wrapper h2 {
        font-size: 3rem;
    }
    .login-header {
        font-size: 2.5rem;
    }
    .field-label,
    .field-wrapper input {
        padding: 0.5rem 1.5rem;
        font-size: 1.6rem;
    }
    .button {
        font-size: 1.6rem;
    }
    .reset-header {
        font-size: 1.7rem;
    }
}



@media (max-width: 930px) {
    .account-page-wrapper {
        width: 70rem;
    }
    .video-wrapper {
        width: 22rem;
    }
    .page-data-flex {
        gap: 2rem;
    }
}



@media (min-width: 768px) {
    .button:hover {
        background-color: #474787;
    }
    .reset-link:hover {
        color: #474787;
    }
    .account-page-nav-option:not(.selected-nav):hover::after {
        width: 90%;
    }
    .email-line-wrapper:hover {
        background-color: #4747873b;
    }
    .video-wrapper:hover {
        transform: translateY(-10px);
    }
}



@media (max-width: 725px) {
    .account-page-wrapper {
        width: 50rem;
    }
    .video-wrapper {
        width: 24rem;
    }
    .account-page-nav-option {
        font-size: 2rem;
    }
    .field-wrapper-search input {
        width: 100%;
        min-width: auto;
    }
}




@media (max-width: 650px) {
    .home-info h1 {
        font-size: 3.6rem;
    }
    .home-info p {
        font-size: 1.6rem;
    }
    .home-info-wrapper h2 {
        font-size: 2.7rem;
    }
    .field-label,
    .field-wrapper input {
        padding: 0.2rem 1rem;
        font-size: 1.4rem;
    }
    .button {
        font-size: 1.4rem;
    }
    .reset-header {
        font-size: 1.5rem;
    }

    .welcome-back-header {
        font-size: 4rem;
    }
    .welcome-offer {
        font-size: 1.8rem;
    }
    .welcome-explore {
        font-size: 1.8rem;
    }
    .footer-standard {
        padding: 1rem;
    }
    .footer-logo-holder {
        font-size: 1.2em;
    }
    .footer-text-holder {
        font-size: 0.9em;
    }
    .disclaimer {
        font-size: 0.5em;
    }
}


@media (max-width: 515px) {
    body {
        font-size: 15px;
    }
    .square-wrapper,
    .avatar-wrapper {
        padding: 0 0.5rem;
    }
    .admin-form {
        width: 100%;
        padding: 0 1rem;
    }
    .account-page-wrapper {
        width: 100%;
        padding: 0 1rem;
    }
    .video-wrapper {
        width: 100%;
    }
    .account-page-wrapper {
        margin: 3rem auto 0;
    }
    .account-page-data {
        margin-top: 3rem;
    }
    .search-bar-account-page-data {
        margin-top: 0;
    }
    .top-header h1 {
        font-size: 2rem;
    }
    .button {
        font-size: 1.5rem;
    }
    .video-overlay-wrapper {
        width: 92%;
    }
    .email-header {
        min-width: 8rem;
    }
    .email-body {
        padding: 1rem;
    }
    .email-date {
        display: none;
    }
    .welcome-back-header {
        font-size: 3rem;
    }
    .welcome-offer {
        font-size: 1.6rem;
    }
    .welcome-explore {
        font-size: 1.6rem;
    }
    .home-info {
        width: 27rem;
    }
}



@media (max-width: 370px) {
    .home-info h1 {
        font-size: 3.2rem;
    }
    .home-info p {
        font-size: 1.4rem;
    }
    .home-info-wrapper h2 {
        font-size: 1.8rem;
    }

}