@font-face {
    font-family: "Roboto-Regular";
    src: url('assets/fonts/Roboto-Regular.ttf');
    font-style: normal;
}

@font-face {
    font-family: "Impact";
    src: url('assets/fonts/Impact.ttf');
    font-style: normal;
}

@font-face {
    font-family: "Roboto-SemiBold";
    src: url('assets/fonts/Roboto-SemiBold.ttf');
    font-style: normal;
}

h1 {
    font-family: "Impact";
    color: #AF0C18 !important;
    font-size: calc(1.375rem + 1.5vw);
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 30px;
    font-weight: inherit !important;
    text-transform: uppercase;
}

h2 {
    font-family: "Impact";
    color: #AF0C18 !important;
    font-weight: 500 !important;
    font-size: calc(1.325rem + 0.9vw);
    text-transform: uppercase;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
}

h3 {
    font-family: "Roboto-SemiBold";
    color: #AF0C18;
    font-weight: 100;
    font-size: calc(1.3rem + 0.6vw);
    text-align: center;
    padding-top: 10px;
}

h4 {
    font-family: "Roboto-SemiBold";
    color: #2D2D2D;
    font-weight: 200;
    font-size: calc(1.275rem + 0.3vw);
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
}

p {
    font-family: "Roboto-Regular";
    color: #2D2D2D;
    font-size: 1.2rem;
    padding-top: 0;
    text-align: center;
    margin-top: 0;
    text-transform: none;
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    color: #ffffff;
    background-color: #AF0C18;
    width: 100%;
    font-size: 1.3em;
    margin-top: 20px;
    font-family: "Impact";
    text-transform: uppercase;
    outline: none;
    border: 0px none;
    border-style: none !important;
    border-radius: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:hover {
    background-color: #AF0C18 !important;
    box-shadow: none !important;
    outline: none;
    color: #ffffff;
    border: 0px none;
    border-style: none !important;
    filter: brightness(110%);
}

/* Form related */
.form-check {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

option {
    background-color: #AF0C18;
    color: #ffffff;
}

select.form-control,
select.form-control:focus,
select.form-control:active {
    font-family: "Roboto-Regular"!important;
    font-size: 1em;
    -webkit-appearance: menulist;
    color: #2D2D2D;
    border: 2px solid #2D2D2D;
    padding-bottom: 1.1vh;
    padding-top: 1.1vh;
    min-height: 4vh;
}

.form-control,
.form-control:focus,
.form-control:active {
    font-family: "Roboto-Regular"!important;
    box-shadow: none;
    border: 2px solid #2D2D2D;
    padding-bottom: 0.8vh;
    margin: 0px;
    color: #2D2D2D;
    border-radius: 0px;
    background-color: transparent;
    padding-top: 0.8vh;
    min-height: 4vh;
}

.form-check-input,
.form-check-input:focus {
    background-color: transparent;
    border: 2px solid #2D2D2D;
    outline: 0;
    border-radius: 0px !important;
}

.form-check-input:checked {
    background-color: #AF0C18;
    border: none;
    box-shadow: none;
}

input::-webkit-calendar-picker-indicator {
    display: none !important;
}

.input-date {
    color: #AF0C18;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border: none;
    border-radius: none !important;
    background: #ffffff;
}

.input-date:focus-visible {
    outline: none;
}

label {
    color: #231F20;
    padding: 10px 0px 5px;
    font-family: "Roboto-Regular";
    font-size: 1.1em;
    text-transform: none;
    font-weight: inherit;
}

.form {
    display: block;
    margin-top: 0em;
}

.form-fill-out {
    padding-left: 5px;
    padding-right: 5px;
}

/* file upload input */
#fileUpload {
    text-transform: lowercase;
    font-family: "Roboto-Regular"!important;
    border: none;
    width: 100%;
    min-height: 5vh;
    background-color: #ffffff;
}

::file-selector-button {
    font-family: "Roboto-Regular"!important;
    border: none;
    color: #ffffff;
    padding: 1.2vh 2vw;
    border-radius: 0px;
    background-color: #AF0C18;
    height: 100%;
}

/* placeholder text */
.form-control::placeholder,
.input-date::placeholder {
    font-family: "Roboto-Regular" !important;
    color: #CBA322;
    opacity: 1;
    font-size: 0.9em;
}

::placeholder {
    font-family: "Roboto-Regular" !important;
    color: #CBA322;
}

input[type="text"].form-control::-webkit-input-placeholder,
input[type="tel"].input-date::-webkit-input-placeholder {
    font-family: "Roboto-Regular" !important;
    color: #CBA322;
}

.aria-labelledby {
    color: #CBA322;
}

/* header */
.logo-desktop,
.logo-mobile {
    width: 100%;
}

.logo {
    /* margin-bottom: 5vh */
    display: block;
    margin-top: 5vh;
    position: relative;
    z-index: 49;
}

/* Footer section */
section.footer {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    z-index: 51;
}

.footer-area {
    display: flex;
    justify-content: center;
}

/* XS mobile rules */
@media (min-width:0px) and (max-width:400px){
    .body-content {
        min-height: 63vh;
    }

    #final.body-content {
        margin-top: 27vh !important;
    }

    #game .page-border::after {
        width: min(60vh, 100vw) !important;
    }
}

/* Mobile rules */
@media (min-width:400px) and (max-width:767px) {
    .logo #mobile {
        min-height: 300px;
        max-height: 400px;
    }

    .body-content {
        min-height: 63vh;
    }

    #final.body-content {
        margin-top: 25vh !important;
    }

    #game .page-border::after {
        width: min(60vh, 100vw) !important;
    }
}

/* Desktop rules */
@media (min-width:768px) {
    .logo #mobile {
        visibility: hidden;
        display: none;
    }

    .body-content {
        min-height: 50vh;
    }

    body {
        background-color: #FBD043;
        min-height: 90vh;
        position: relative;
    }

    .box-wrap {
        grid-template-columns: 1fr 1fr 1fr !important;
        display: grid;
    }
}

/* links */
a {
    color: #AF0C18;
    text-decoration: underline;
    text-transform: uppercase;
}

a:hover {
    color: #AF0C18 !important;
}

a:hover,
a:focus,
a:visted,
a:active {
    color: #AF0C18 !important;
}

/* general layout */
.body-content {
    overflow: hidden;
    display: block;

    /* padding-bottom: 10vh */
    position: relative;
    z-index: 50;
}

#final.body-content {
    margin-top: 65vh;
}

.header {
    position: absolute;
    z-index: 50;
}

hr {
    margin: 1rem 0;
    color: inherit;
    opacity: 1;
    border-top-width: 2px;
    border-top-color: #ffffff;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    width: 100%;
}

.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

/* body */
body {
    background-color: #FBD043;
    min-height: 100vh !important;
    position: relative;
}

body::before {
    content: "";
    background-image: url('assets/texture.png');
    background-repeat: repeat;
    background-size: cover;
    position: absolute !important;
    z-index: 10;
    min-height: 100vh;
    width: 100%;
    height: 100%;
}

.box-wrap {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-border {
    border: 15px solid #ED1B31;
    min-height: 100vh;
    position: relative;

    /* z-index: 10; */
}

#game .page-border::after {
    content: "";
    background-image: url('assets/bg-vault-artwork3.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;

    /* min-width: 60vh;
    min-height: 60vh; */
    position: absolute !important;
    bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    pointer-events: none;
    width: min(120vh, 180vw);
    aspect-ratio: 1 / 1;
}

/* body end */
/* modal */
.yellow-drop {
    background-color: #FBD043;
    display: flex;
    justify-content: center;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    padding-top: 0;
    padding-bottom: 0;
}

.modal-footer {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.boxes img {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.19);
}

