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

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

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

h1 {
    font-family: "Trade-Gothic-LT-Bold";
    color: #ffffff !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: "Trade-Gothic-LT-Bold";
    color: #ffffff !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: "Trade-Gothic-LT-Bold";
    color: #ffffff;
    font-weight: 600;
    font-size: calc(1.3rem + 0.6vw);
    text-align: center;
    padding-top: 10px;
}

h4 {
    font-family: "Trade-Gothic-LT-Bold";
    color: #ffffff;
    font-weight: 600;
    font-size: calc(1.275rem + 0.3vw);
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
}

h5 {
    font-family: "Trade-Gothic-LT-Bold";
    color: #ffffff;
    font-size: calc(1rem + 0.1vw);
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
    font-weight: 600;
}

p {
    font-family: "Trade-Gothic-LT-Regular";
    color: #ffffff;
    font-size: 1rem;
    padding-top: 0;
    text-align: center;
    margin-top: 0;
    text-transform: none;
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    color: #ffffff;
    background-color: #C82027;
    width: 100%;
    font-size: 1.3em;
    margin-top: 40px;
    font-family: "Trade-Gothic-LT-Bold";
    text-transform: uppercase;
    outline: none;
    border: 0px none;
    border-style: none !important;
    border-radius: 0px;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:hover {
    background-color: #ED1C24!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 {
    font-family: "Trade-Gothic-LT-Regular"!important;
    background-color: #014415;
    color: #ffffff;
}

/* select.form-control,
select.form-control:focus,
select.form-control:active {
    font-family: "Trade-Gothic-LT-Regular"!important;
    font-size: 1em;
    -webkit-appearance: menulist;
    color: #005E1C;
    padding-bottom: 1.1vh;
    padding-top: 1.1vh;
    min-height: 4vh;
    background-color: #ffffff;
} */
.form-select,
.form-select:focus,
.form-select:active {
    font-family: "Trade-Gothic-LT-Regular"!important;
    font-size: 1em;
    color: #005E1C;
    background-color: #ffffff;
    border-radius: 0;
}

.form-control,
.form-control:focus,
.form-control:active {
    font-family: "Trade-Gothic-LT-Regular"!important;
    box-shadow: none;
    border: none;
    padding-bottom: 0.8vh;
    margin: 0px;
    color: #005E1C;
    border-radius: 0px;
    background-color: #ffffff;
    padding-top: 0.8vh;
    min-height: 4vh;
}

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

.form-check-input:checked {
    background-color: transparent;
    border: 2px solid #ffffff;
    box-shadow: none;
}

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

.input-date {
    color: #005E1C;
    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: #ffffff;
    padding: 10px 0px 5px;
    font-family: "Trade-Gothic-LT-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: "Trade-Gothic-LT-Regular"!important;
    border: 2px solid #ffffff;
    width: 100%;
    min-height: 5vh;
}

::file-selector-button {
    font-family: "Trade-Gothic-LT-Regular"!important;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.8vh 2vw;
    border-radius: 0px;
    background-color: #ffffff;
    height: 100%;
}

/* placeholder text */
.form-control::placeholder,
.input-date::placeholder {
    font-family: "Trade-Gothic-LT-Light" !important;
    color: #949494;
    opacity: 1;
    font-size: 0.9em;
}

::placeholder {
    font-family: "Trade-Gothic-LT-Light" !important;
    color: #949494;
}

input[type="text"].form-control::-webkit-input-placeholder,
input[type="tel"].input-date::-webkit-input-placeholder {
    font-family: "Trade-Gothic-LT-Light" !important;
    color: #949494;
}

.aria-labelledby {
    color: #949494;
}

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

.hero {
    margin-bottom: 10px;
    display: block;
}

/* Footer section */
.footer {
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

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

.video-body-content {
    background-color: #000000 !important;
}

/* XS mobile rules */
@media (min-width:0px) and (max-width:400px){
    .hero #desktop {
        visibility: hidden;
        display: none;
    }

    .body-content {
        min-height: 65vh !important;
    }

    .fullscreen-video-wrapper {
        height: 40vh !important;
    } 
}

/* Mobile rules */
@media (min-width:400px) and (max-width:767px) {
    .hero #desktop {
        visibility: hidden;
        display: none;
    }

    .hero #mobile {
        min-height: 150px;
        max-height: 400px;
    }

    .body-content {
        min-height: 65vh !important;
    }

    .fullscreen-video-wrapper {
        height: 50vh !important;
    }
}

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

    .hero #desktop {
        min-height: 800px;
        max-height: 950px;
        width: 100%;
    }

    .top-nav .chillsim-logo {
        width: 25em !important;
        height: auto;
        padding: 1em;
    }

    .top-nav .logout {
        width: 4em !important;
        height: auto;
        padding: 1em;
    }

    .img-display {
        /* min-height: 60vh !important;
        max-height: 65vh !important; */
        display: grid;
    }

    .sticky-nav {
        width: 14vw !important;
        gap: 30px !important;
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        right: calc(0px + env(safe-area-inset-right)) !important;
    }

    .upload-btn img {
        width: 80px !important;
        height: 80px !important;
    }

    .back-to-top img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* links */
a {
    color: #ffffff;
    text-decoration: underline;
}

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

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

/* general layout */
.body-content {
    min-height: 58vh;
    overflow: hidden;
    display: block;
    padding-bottom: 10vh;
    background-color: #005E1C;
}

.feed-content {
    min-height: 80vh;
    overflow: hidden;
    display: block;
    padding-bottom: 10vh;
    background-color: #EDEDED;
}

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

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

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

body {
    background-color: #005E1C;
    min-height: 90vh;
}

/* tab pills */
button.nav-link {
    text-align: center;
    border-radius: 0px !important;
    text-transform: uppercase;
    font-family: "Trade-Gothic-LT-Bold";
    color: #ffffff;
    box-shadow: none;
    background: #183D1D;
    border: none;
    width: 95%;
    animation: movinggrad 3s ease infinite;
    background-size: 180% 180%;
    padding: 0.5em 0 0.5em 0;
}

button.nav-link.active {
    background: linear-gradient(64deg, rgb(189, 142, 32), rgb(243, 211, 76), rgb(190, 143, 33)) !important;
    text-align: center;
    border-radius: 0px !important;
    text-transform: uppercase;
    font-family: "Trade-Gothic-LT-Regular";
    color: #ffffff;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 0.5em 0 0.5em 0;
}

.pill-title {
    font-family: "Trade-Gothic-LT-Regular";
    color: #ffffff;
    font-size: 1.3rem !important;
    padding: 3em 0 3em 0;
}

/* top nav */
.top-nav .logout {
    width: 3em;
    height: auto;
    padding: 1em;
}

.top-nav .chillsim-logo {
    width: 12em;
    height: auto;
    padding: 1em;
    margin-left: -24px;
}

.fronds {
    background-image: url('assets/frond-shadow.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #005E1C;
}

/* feed page */
.feed-content .header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2vw, 20px);
    min-height: 52px;
    padding: 10px 20px 10px 20px;
}

.winners-header__sort {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* feed card */
.feed-content .card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: none;
    margin-top: 10px;
}

.card .card-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

#user-name,
#time-posted {
    font-size: 0.9rem;
    color: #183D1D;
}

select#sortSelect {
    background-color: #EDEDED;
    color: #757575;
    border: none;
    border-radius: 5px;
    padding: 5px;
}

select#sortSelect:focus,
select#sortSelect:active {
    border: none;
    outline: 0;
}

select#sortSelect option {
    background-color: #EDEDED;
    color: #757575;
    border: none;
    border-radius: 5px;
    padding: 5px;
}

.img-display {
    /* min-height: 60vh !important;
    max-height: 65vh !important; */
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: #000000;
}

.img-display img {
    object-fit: contain;
    object-position: center;
    display: block;
    width: 100%;
}

/* Feed sticky nav */
.sticky-nav {
    background-color: #BD8E20;
    position: fixed;
    display: inline-flex;
    width: 35vw;
    gap: 20px;
    align-items: center;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    z-index: 100;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(0px + env(safe-area-inset-right));
}

.upload-btn {
    background-color: transparent;
    outline: 0;
    border: none;
    padding: 0;
}

.upload-btn img {
    width: 50px;
    height: 50px;
}

.back-to-top img {
    width: 25px;
    height: 25spx;
}

/* upload popover */
.popover {
    background-color: #C82027;
    color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --bs-popover-bg: #C82027;
}

.popover-body {
    font-family: "Trade-Gothic-LT-Regular";
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.popover-arrow,
.popover-arrow::after,
.popover-arrow::before {
    border-top-color: #C82027;
    --bs-popover-bg: #C82027;
}

/* pop-up modals */
.modal-content {
    font-family: "Trade-Gothic-LT-Regular";
    background-color: #C82027;
    color: #ffffff;
}

.btn-close {
    background-image: url('assets/general-icons/x-close.svg');
}

.btn-secondary {
    font-family: "Trade-Gothic-LT-Bold";
    background-color: #ffffff;
    color: #C82027;
    width: 100%;
    font-size: 1.3em;
    text-transform: uppercase;
    outline: none;
    border: 2px solid #ffffff;
    border-radius: 0;
}

.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:focus-visible,
.btn-secondary:hover {
    background-color: transparent!important;
    box-shadow: none !important;
    outline: none;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.social-media {
    display: inline-flex;
    gap: 15px;
}

.social-media img {
    width: 40px;
    height: 40px;
}

#desktop,
#mobile {
    filter: drop-shadow(0 10px 10px rgba(0,0,0,.45));
    -webkit-filter: drop-shadow(0 10px 10px rgba(0,0,0,.45));
}

.bottom-fader {
    width: 100%;
    height: 6em;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    bottom: 0;
    z-index: 99;
}
