@font-face {
    font-family: Sublima-ExtraBold;
    src: url(../fonts/sublima/Sublima-ExtraBold.otf) format('opentype');
}

@font-face {
    font-family: Sublima-Light;
    src: url(../fonts/sublima/Sublima-Light.otf) format('opentype');
}

@font-face {
    font-family: Accolade-Medium;
    src: url(../fonts/Accolade-Medium.ttf) format('truetype');
}

@font-face {
    font-family: Goudy-Old-Style-Regular;
    src: url(../fonts/Goudy-Old-Style-Regular.ttf) format('truetype');
}

@font-face {
    font-family: NimbusSansDOT-LighItal;
    src: url(../fonts/NimbusSansDOT-LighItal.otf) format('opentype');
}

body {
    font-family: Sublima-ExtraBold;
    background-color: #d8a223;
}

.section_header .navbar .navbar-nav .nav-item {
    padding: 0 47px;
}
.section_header .bg-white{
    width: 100%; 
    height: 100px; 
    position: absolute; 
    top: 0;
}
.section_header .bg-blue{
    background-color: #263E5E;
    width: 100%; 
    height: 100px; 
    position: absolute; 
    top: 100px; 
    z-index: -1;
}

.section_header .navbar-expand-sm .navbar-nav .nav-link,
.section_header .navbar-brand {
    color: #919191;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.card_section .card-body {
    padding: 7px;
}

.card_section {
    padding-bottom: 10px;
}

.card_section .row .col-md-4 {
    padding: 0 60px;
}

.card_section .container-fluid {
    padding: 0 30px;
}

.card_section .card.bs_factor_card {
    background-color: #0e6062;
    width: 250px;
    border-radius: 15px;
    box-shadow: 0px 15px 10px -14px #111;
    margin-top: 21px;
}

.card_section .card.bs_factor_card h4 {
    font-family: Accolade-Medium;
    font-size: 18px;
    color: #d8a322;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 0;
}

.card_section .card.open_card {
    background-color: #263e5e;
    border-radius: 15px;
    height: 130px;
    margin-top: 0px;
    box-shadow: 0px 15px 10px -14px #111;
}

.card_section .card.open_card h1,
.card_section .card.open_card p {
    font-family: Goudy-Old-Style-Regular;
    color: #fff;
}

.card_section .card.open_card h1 {
    font-size: 70px;
    margin-bottom: 0;
    margin-top: -2px;
}

.card_section .card.open_card p {
    font-size: 24px;
    margin-bottom: 0;
}

.best_score_factor h2 {
    font-family: Sublima-ExtraBold;
    font-size: 60px;
    line-height: 80px;
    color: #3e2319;
}

.best_score_factor h2 span {
    height: 90px;
    display: inline-block;
    padding: 0 11px;
    margin-bottom: 10px;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
}

.best_score_factor .btn-shadow {
    width: 320px;
    padding: 15px 20px;
    font-size: 25px;
    text-align: left;
    margin-bottom: 50px;
    line-height: 30px;
    border-radius: 0;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
}

.best_score_factor .desc {
    font-family: NimbusSansDOT-LighItal;
    color: #3e2319;
    font-size: 30px;
    text-align: left;
    line-height: 36px;
    margin: 0;
}

.centered-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    /* Set a dynamic height based on viewport */
    margin: 0 auto;
    /* Center horizontally */
}

.bottom-paragraph {
    font-family: NimbusSansDOT-LighItal;
    color: #3e2319;
    font-size: 30px;
    text-align: left;
    line-height: 36px;
    transform: translateY(150%);
    margin-bottom: 30px;
}


@media (max-width: 1050px) and (max-width: 1199px) {
    .best_score_factor h2 {
        font-size: 46px;
    }
}

@media (max-width: 1084px) {
    .card_section .card.open_card h1 {
        font-size: 40px;
    }

    .card_section .card.open_card p {
        font-size: 20px;
    }

    .card_section .card.open_card {
        height: 92px;
    }

    .card_section .card.bs_factor_card {
        width: 200px;
        margin-top: 10px;
    }

    .card_section .card.bs_factor_card h4 {
        font-size: 14px;
    }

    .card_section .card.bs_factor_card img {
        width: 60px;
    }
}

@media (max-width: 992px) {
    .centered-row {
        height: 70vh;
    }

    .best_score_factor h2 {
        margin-bottom: 20px;
        margin-top: 100px;
    }

    .best_score_factor h2 {
        font-size: 40px;
    }

    .card_section .card.open_card p {
        font-size: 18px;
    }

    .card_section .card.bs_factor_card {
        margin-top: 33px;
    }

    .card_section .card.open_card {
        margin-top: 24px;
    }

    .section_header .navbar .navbar-nav .nav-item {
        padding: 0 10px;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1140px;
    }
}

@media (max-width: 950px) {
    .card_section .card.open_card h1 {
        font-size: 40px;
    }

    .card_section .card.open_card p {
        font-size: 16px;
    }
}

@media (max-width: 890px) {
    .card_section .card.open_card h1 {
        font-size: 30px;
        margin-top: 10px;
    }

    .card_section .card.open_card p {
        font-size: 14px;
    }

    .card_section .card.bs_factor_card {
        width: 164px;
    }

    .card_section .card.bs_factor_card img {
        width: 50px;
    }

    .card_section .card.bs_factor_card h4 {
        font-size: 14px;
        text-align: center;
        letter-spacing: 6px;
    }
}

@media (max-width: 850px) {
    .card_section .card.open_card h1 {
        font-size: 24px;
        margin-top: 0;
    }

    .card_section .card.open_card p {
        font-size: 14px;
    }

    .card_section .card.bs_factor_card {
        width: 140px;
        margin-top: 46px;
    }

    .card_section .card.bs_factor_card img {
        width: 40px;
    }

    .card_section .card.bs_factor_card h4 {
        font-size: 12px;
        text-align: center;
        letter-spacing: 6px;
    }
}

@media (max-width: 768px) {
    .card_section .row .col-md-4 {
        padding: 0;
    }

    .card_section .container-fluid {
        padding: 0 20px;
    }

    .best_score_factor h2 {
        font-size: 31px;
        margin-top: 331px;
        text-align: center;
    }

    .container,
    .container-sm {
        width: 100%;
        max-width: 100%;
    }

    .card_section .card.open_card h1 {
        margin-top: 10px;
    }

}

@media (max-width: 500px) {
    .card_section .card.bs_factor_card {
        width: 100px;
    }

    .best_score_factor h2 {
        font-size: 20px;
        margin-top: 180px;
    }

    .best_score_factor .btn-shadow {
        font-size: 20px;
    }

    .bottom-paragraph {
        font-size: 20px;
        transform: none;
    }

    .centered-row {
        height: 600px;
    }
}

@media (max-width: 576px) {
    .homepage .section_header .container,
    .upload .section_header .container {
        display: none;
    }
    .upload .section_header .bg-blue {
        height: 50px;
    }

    .card_section .card.open_card p {
        font-size: 12px;
    }
}

.best_score_factor table tr td,
.section_header table tr td {
    background-color: transparent;
    text-align: center;
}

.best_score_factor .form-control,
.section_header .form-control {
    font-family: Sublima-ExtraBold;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
    background-color: #d8a223;
    border: 0px;
    text-transform: uppercase;
    border-radius: 0;
}

.best_score_factor table tr td:first-child,
.section_header table tr td:first-child {
    width: 30%;
    text-align: left;
}

.upload .centered-row {
    height: auto;
    margin-top: 30px;
}

.section_header table {
    margin-top: 15px;
    margin-bottom: 0;
}

.section_header table tr td p {
    font-family: Sublima-ExtraBold;
    margin: 0;
    font-size: 0.9rem;
    color: #919191;
    text-transform: uppercase;
    padding: .5rem 1rem;
}

.best_score_factor .buttons .btn-shadow {
    width: 270px;
    margin: .5rem .5rem;
    font-size: 22px;
}

.best_score_factor .buttons .box-or {
    width: 100px;
}

@media (max-width: 992px) {

    .best_score_factor table tr td .form-control,
    .section_header table tr td .form-control {
        width: 100px;
    }
    .best_score_factor .buttons .btn-shadow{
        width: 240px;
        font-size: 18px;
    }
    .best_score_factor .buttons .box-or{
        width: 100px;
    }
}

@media (max-width: 380px) {
    .best_score_factor .buttons .box-or{
        margin-left: auto;
        margin-right: auto;
    }
}

.best_score_factor{
    margin-bottom: 60px;
}
.best_score_factor .box_shadow{
    font-family: Sublima-ExtraBold;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
    background-color: #d8a223;
    border: 0px;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
    font-size: 55px;
    line-height: 60px;
    padding: 40px;
    text-align: center;
    width: 500px;
    margin-top: 60px;
    color: #3e2319;
}
.best_score_factor .btn.box_shadow{
    font-family: Sublima-Light;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
    background-color: #d8a223;
    border: 0px;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: inset 6px 6px 2px 0 rgba(0, 0, 0, 0.4), inset -2px -2px 10px 0 rgba(159, 114, 8, 0.5);
    font-size: 20px;
    line-height: 50px;
    padding: 8px;
    text-align: center;
    width: 200px;
    display: block;
    margin: 30px auto 0 auto;
    font-weight: 700;
}
.best_score_factor .btn.btn-submit{
    font-family: Sublima-ExtraBold;
    margin-bottom: 40px;
}
.best_score_factor .btn.btn_correct{
    font-family: Sublima-Light;
    font-size: 20px;
    line-height: 24px;
    width: 400px;
    font-weight: 700;
}
@media (max-width: 576px) {
    .best_score_factor .btn.btn_correct{
        width: auto;
    }
}