* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', serif;
    font-weight: 600;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    display: none;
}

html::-webkit-scrollbar{
  display: none;
}

html {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -moz-scrollbars-none;
}


a {
    text-decoration: none;
}

.menubar_cont {
    height: 90px;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.menubar_grad_white {
    height: 30px;
    background: white;
    position: fixed;
    z-index: 105;
    width: 100vw;
}

.menubar_grad {
    height: 30px;
    background: linear-gradient(
        0deg,
        rgba(144,0,0,0.25) 0%,
        rgba(144,0,0,0.1) 100%
    );
    position: fixed;
    z-index: 105;
    width: 100vw;
}

.menubar {
    height: 60px;
    background: linear-gradient(
        90deg,
        rgba(120,0,0,1) 0%,
        rgba(144,0,0,1) 50%
    );
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 30px;
}

.menubar_content {
    width: 990px;
    height: 60px;
    position: fixed;
    top: 30px;
    left: calc(50% - 495px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 130;
}

.page_label {
    position: fixed;
    top: 30px;
    height: 60px;
    width: 300px;
    left: calc(50% - 150px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    z-index: 300;
    text-align: center;
}

.logo {
    height: 100px;
    cursor: pointer;
}

.menu {
    height: 60px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu_button {
    color: white;
    background-color: #700000;
    padding: 5px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
}

.menu_button:active {
    background-color: #800000;
}

.background_grad {
    background: linear-gradient(
        180deg,
        rgba(144,0,0,0.1) 0%,
        rgba(144,0,0,0) 100%
    );
    position: fixed;
    top: 90px;
    left: 0;
    height: 500px;
    width: 100vw;
}

.content_wrapper {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    overflow-y: scroll;
    mask-image: linear-gradient(
        180deg,
        rgba(0,0,0,0.2) 90px,
        rgba(0,0,0,1) 120px
    );
    opacity: 0;
}

@keyframes content_load {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
    }
}

.content_wrapper[loaded='true'] {
    animation: content_load forwards 0.3s;
}

.content {
    width: 800px;
    background-color: white;
    margin: 120px auto 0 auto;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 30px;
}

@media all and (max-width: 1100px) {
    .menubar_content {
        width: 90vw;
        left: 5vw;
    }

    .content {
        width: 95vw !important;
        left: 2.5vw !important;
    }
}

@media all and (max-width: 550px) {
    .page_label {
        font-size: 16px;
        top: 20px;
        width: 180px;
        left: calc(50% - 90px);
    }
    
    .menu_button {
        font-size: 15px;
    }

    .logo {
        height: 90px;
    }

    .menubar {
        top: 20px;
    }

    .menubar_content {
        top: 20px;
        width: 95vw;
        left: 2.5vw;
    }

    .menubar_grad, .menubar_grad_white {
        height: 20px;
    }

    .background_grad {
        top: 80px;
    }

    .content {
        margin-top: 100px;
    }

    .content_wrapper {
        mask-image: linear-gradient(
            180deg,
            rgba(0,0,0,0.2) 80px,
            rgba(0,0,0,1) 100px
        );
    }
    
}

@media all and (max-width: 400px) {
    .page_label {
        font-size: 15px;
        top: 15px;
        width: 150px;
        left: calc(50% - 75px);
    }
    
    .menu_button {
        font-size: 10px;
    }

    .logo {
        height: 70px;
    }

    .menubar {
        top: 15px;
    }

    .menubar_content {
        top: 15px;
        width: 95vw;
        left: 2.5vw;
    }

    .menubar_grad, .menubar_grad_white {
        height: 15px;
    }

    .background_grad {
        top: 70px;
    }

    .content {
        margin-top: 90px;
    }

    .content_wrapper {
        mask-image: linear-gradient(
            180deg,
            rgba(0,0,0,0.2) 75px,
            rgba(0,0,0,1) 90px
        );
    }
}

/* FLASH */

@keyframes flash_anim {
    0% {
        opacity: 0;
    } 5% {
        opacity: 1;
    } 95% {
        opacity: 1;
    } 100% {
        opacity: 0;
        display: none;
        visibility: hidden;
        z-index: -1;
    }
}

@keyframes flash_cancel {
    0% {
        opacity: 1;
    } 100% {
        opacity: 0;
        display: none;
        visibility: hidden;
        z-index: -1;
    }
}

.flash {
    position: fixed;
    z-index: 500;
    background-color: #900000;
    color: white;
    bottom: 20px;
    right: 20px;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 20px;
    border-radius: 30px;
    animation: flash_anim 8s forwards;
    cursor: pointer;
}

.flash[cancelled='true'] {
    animation: flash_anim 0.5s forwards !important;
}

/* LOGIN */

.login_form {
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-field {
    width: 95%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    position: relative;
}

.form-field label {
    margin-bottom: 8px;
}

.form-field input {
    background-color: transparent;
    border: 1px solid #900000;
    color: #900000;
    padding: 5px 10px;
    border-radius: 30px;
}

.form-field input:focus {
    outline: none;
    border-color: #38436f;
    color: #38436f;
}

.login_form input[type='submit'] {
    background-color: #900000;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    margin-top: 20px;
    cursor: pointer;
    align-self: center;
}

.field-error {
    font-size: 12px;
    color: #900000;
    position: absolute;
    top: 2px;
    right: 8px;
}


