@font-face {
    font-family: 'Bauhaus Std';
    src: url('../assets/fonts/BauhausStd-Heavy.woff') format('woff'),
        url('../assets/fonts/BauhausStd-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Voltaire Regular';
    src: url('../assets/fonts/Voltaire-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-header-font-family: Bauhaus Std;

    --masthead-blue: #004e81;
    --masthead-font: white;

    --custom-orange: #fcb620;
    --custom-orange-dark: #ce9211;
    --custom-blue: #30aee9;
    --custom-blue-dark: #2a94c5;
    --custom-purple: #6111ab;

    --custom-primary: var(--custom-purple);
    --custom-primary-dark: var(--custom-blue-dark);
    --custom-secondary: var(--custom-orange);
    --custom-secondary-dark: var(--custom-orange-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Bauhaus Std", sans-serif;
}

.time-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    padding: 0.5rem;
    width: 80%;
    font-family: Bauhaus Std;
}

.col-12:has(#time-counter) {
    border: 5px solid white;
    border-radius: 15px;
}

.time-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1rem;
    width: 25%;
}

.time-counter-number {
    font-size: 3rem;
}

.navbar-brand {
    font-family: "Segoe UI", sans-serif;
    font-weight: 400;
}

.masthead h1.location {
  font-family: Bauhaus Std;
  color: var(--masthead-font);
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.2rem;
}

@media (max-width: 991.98px) {
    .masthead h1.modelworx {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}

.text-blue {
    color: var(--masthead-blue);
}

.map iframe {
    border-radius: 10px;
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    max-width: 100%;
}

.highlighted {
    color: var(--custom-highlight)!important;
}

.wide-btn {
    width: 90%;
}

.dl-btn {
    align-items: center;

}

.dl-img {
    width: 1.5rem;
    filter: invert(1);
}

.modal-footer button {
    height: 60px !important;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.categories-container {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    margin: auto;
}

.categories-container button {
    width: 100%;
    margin: auto 0;
}

#collapseCategories {
    width: 100%;
}

#collapseCategories .card-body {
    background-color: rgba(0,0,0,0);
    border: 2px solid var(--custom-secondary);
    color: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    & .cat-row {
        width: 100%;
        display: flex;
        flex-direction: row; 
        & .cat-group, span {
            width: 50%;
            display: flex;
            justify-content: start;
            align-items: center;
            text-align: left;
            margin-bottom: 0;
        }
    }
}

.cat-group {
    & h4 {
        margin-left: 10px;
    }
}

#collapseJudging {
    width: 100%;
}

#collapseJudging .card-body {
    background-color: rgba(0,0,0,0);
    border: 2px solid var(--custom-secondary);
    color: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;
    & h5 {
        font-family: var(--bs-body-font-family);
    }
}

.vendor-icon {
    object-fit: contain;
    height: 180px;
    max-width: 100%;
    background-color: RGBA(0,0,0,0);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.74));
    border-radius: 7px;
    transition: 0.3s ease-in-out;
}

.vendor-icon:hover {
    transform:scale(1.2);
}

.sponsor-icon {
    max-height: 150px;
    max-width: 100%;
    margin-top: 0;
    -webkit-box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    -moz-box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    border-radius: 7px;
    transition: 0.3s ease-in-out;
}

.sponsor-icon:hover {
    transform:scale(1.2);
}

.sponsor-icon.no-shadow {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.hobby-shop-img {
    -webkit-box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    -moz-box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    box-shadow: 0px 0px 16px -3px rgba(0,0,0,0.74);
    border-radius: 7px;
    margin: auto;
}

.vendor-row {
    color: white;
    width: 100%;
    & h4 {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
        font-size: 1.3rem;
    }
}

#sponsors .card {
    border: none;
} 

#sponsors .card-body {
    padding: 0px;
}

#sponsors a {
    text-decoration: none;
}

.landing-img {
    width: 100%;
}

.nav-title-img {
    height: 2.5rem;
    padding-right: 5px;
}

.nav-title-img.kc {
    transform: scale(1.2) translateY(-4px);
    padding-right: 12px;
}

@media (min-width: 992px) {
    #mainNav .navbar-brand .nav-title-img {
        filter: grayscale(1);
        opacity: 0.3;
    }
}

/* This is when the navbar is white */
@media (min-width: 992px) {
    #mainNav.navbar-shrink .navbar-brand .nav-title-img {
        filter: grayscale(0);
        opacity: 1;
    }
}

.navbar-brand {
    align-content: center;
    display: flex;
}

.martin-pic {
    border-radius: 10px;
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
}

footer .navbar-nav {
    flex-direction: row;
    flex: 1;
    justify-content: space-between;
    width: 60%;
    margin: auto;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

@media (max-width: 991px) {
    footer .navbar-nav {
        flex-direction: column;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

.footer {
    padding: 3rem 0;
}

#mainNav {
    top: auto !important;
    height: 72px;
}

#mainNav.navbar-shrink {
    background-color: #fff;
    transition: 0.3s ease-in-out;
    top: 0 !important;
}

.masthead-main-img:hover {
    animation: shake 0.7s;
    animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shirt-image {
    padding: 20px;
}

.footer-social-media {
    height: 3rem;
    margin: 0 0.5rem;
    transition: transform 0.3s ease-in-out;
}

.footer-social-media:hover {
    transform: scale(1.2);
}

/* TABLET CONTENT */
@media (max-width: 991.98px) {
    #mainNav {
        height: auto;
    }
    .masthead {
        padding: 10rem 0;
    }
    .masthead h1.location:nth-of-type(1) {
        margin-top: 1.5rem;
    }
}

/* SMALL CONTENT AND BELOW */
@media (max-width: 767.98px) {
    .hidden-on-mobile {
        display: none;
    }
    .only-on-mobile {
        display: block;
    }
    .masthead h1.location {
        font-size: 2rem;
        line-height: 2rem;
    }
    .time-counter-number {
        font-size: 2rem;
    }
    .masthead {
        padding: 8rem 0;
    }
    .masthead-main-img {
        width: 40%;
        margin-bottom: 2rem;
    }
    .col-12:has(#time-counter) {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-on-mobile {
        display: block;
    }
    .only-on-mobile {
        display: none;
    } 
}

.footer-link {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

.italic {
  font-style: italic;
}

.form-check {
    padding-left: 2.75em;
    & .form-check-input {
        width: 2em;
        height: 2em;
        margin-left: -2.75em;
    }
}

#demoCollapse .card, #raffleCollapse .card {
    border: 2px solid var(--custom-primary);
    background-color: white;
    color: black;
}

#demoCollapse .card:hover, #raffleCollapse .card:hover {
    transform: scale(1.0);
}

#demoCollapse .card .card-header, #raffleCollapse .card .card-header {
    background-color: var(--custom-primary);
    color: white;
}