body {
    overflow-x: hidden;
    padding: 0;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #5b263f; /* your unsaturated yellow vibe */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@font-face {
    font-family: 'VikingFont';
    src: url('/fonts/Viking.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

main {
    min-height: 60vh;
}

p, h2 {
    margin: 30px 0;
}

h1, h2, #header-countdown {
    font-family: 'VikingFont', Arial, sans-serif;
}

h1 {
    font-size: 75px;
}

address {
    font-size: 20px;
    font-weight: 400;
}

p {
    font-size: 20px;
    font-weight: 400;
}

html {
    font-size: 14px;
}

body {
    background-color: #e3d8c1;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #385027;
    color: #fff;
    flex-wrap: wrap; /* allows stacking on small screens */
}

/* Left */
.nav-left img {
    height: 50px;
}

/* Center nav */
.nav-center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1; /* allows center alignment */
    padding: 10px 0;
}

/* Links */
.nav-link {
    text-decoration: none;
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: #fff;
    }

    /* Highlight (Tickets) */
    .nav-link.highlight {
        font-weight: bold;
        color: #fff;
    }

    .nav-link::after {
        content: '';
        display: block;
        height: 1px;
        background: #fff;
        width: 0;
        transition: width 0.2s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* Right */
.nav-right {
    display: flex;
    align-items: center;
}

.follow {
    text-decoration: none;
    color: #ccc;
}

    .follow:hover {
        color: #fff;
    }

/*.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #385027;
    color: white;
    overflow:hidden;
}

    .navbar .card {
        background: #385027;
        padding: 0 3rem 0 0;
        display: table-row;
        align-content: space-evenly;
        grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
        overflow: auto;
        border: none;
    }*/

.nav-homepage {
    text-decoration: none;
}

    .nav-homepage img {
        width: 100%;
        max-width: 50px;
    }


/*.navbar a {
    border-left: 2px solid white;
    padding: 0 10px;
}

.no-border {
    border-left: none !important;
}

.navbar .date {
    width: 300px;
    font-size: 15px;
}*/

.date, .tickets {
    width: 100%;
    max-width: 500px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.follow {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    width: 100px;
}

    .follow:hover, .tickets:hover, .date:hover {
        text-decoration: underline;
    }


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-center {
        order: 3;
    }

    .nav-right {
        order: 2;
        margin-top: 5px;
    }

    .nav-left {
        order: 1;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.text-right {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

header, footer {
    text-align: center;
    background-color: #5b263f;
    color: white;
}

.description-block p {
    max-width: 400px;
    min-height: 200px;
    display: inline-block;
}

/*.navbar-brand, .nav-link {
    color: white;
}*/


html {
    position: relative;
    min-height: 100%;
}

.link-mark-your-calendar {
    text-decoration: none;
    color: #e3d8c1
}



.btn-feature-link {
    background: #5b263f;
    border: 1px solid #81591c !important;
    outline: 6px solid #5b263f;
    color: white;
    margin: 20px;
    border-radius: 0px;
    display: inline-block;
    justify-content: center;
    padding: 0 5px;
}

.icon-features {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.icon-action {
    height: 25px;
    color: white;
}

.btn-feature-link:hover {
    background: #5b263f;
}

.btn-feature-link p {
    position: relative;
    display: flex;
    justify-content: inherit;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    margin: 0;
}

.hover-card {
    position: relative;
    height: auto;
    background: #5b263f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    gap: 0px;
}

/* Icon hidden by default */
.hover-icon {
    width: 0;
    display: inline;
    opacity: 0;
    transform: translateX(-10px) scale(0);
    transition: all 0.3s ease;
}

/* Show icon on hover */
/*.btn-feature-link:hover {
    width: 500px;
    height: 500px;
}*/

/*.btn-feature-link .hover-icon {
    display: none;
}*/

.btn-feature-link:hover .hover-icon {
    width: 100%;
    opacity: 1;
    transform: translateX(0) scale(1);
    text-decoration: none;
}

.btn-feature-link:hover {
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

    .btn-feature-link:hover .hover-card {
        gap: 8px;
    }

.divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1.5px;
        background: #81591c;
    }

    .divider span {
        margin: 0 16px;
        font-size: 20px;
        color: #81591c;
    }


/*footer {
    height: 100%;
}*/

footer h6, footer h5, footer p {
    color: #e3d8c1;
}

/*.footer-menu {
    margin-top: 50px;
    margin-left: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}*/

/*.list-footer-links {
    list-style: none;
    padding: 0;
}

    .list-footer-links li {
        margin-bottom: 15px;
    }

.footer-link {
    text-decoration: none;
    color: #e3d8c1;
}

    .footer-link:hover {
        color: #81591c;
    }*/

/*.footer-policies {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}*/

/*.footer-addresses {
    padding-top: 50px;
    padding-left: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
}*/

/*footer div {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}*/

/*.footer_image {
    margin-top: 50px;
    margin-left: 50px;
    width: 100%;
    width: 100px;
    height: 100px;
}*/

/*.site-footer {
    background: #385027;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1;
}*/

.site-footer {
    background: #385027;
    color: #ddd;
    padding: 40px 20px 20px;
    font-size: 0.95rem;
}

/* Grid layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sections */
.footer-section h5 {
    margin-bottom: 10px;
    color: #fff;
}

.footer-section p {
    margin: 0;
    line-height: 1.5;
}

/* Logo */
.footer-logo img {
    max-width: 120px;
}

/* Links */
.list-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    display: inline-block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

    .footer-link:hover {
        color: #fff;
    }

/* Policy text */
.footer-policy {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
}


.policy-container {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    flex-direction: column;
    padding-top: 2rem;
}

    .policy-container h6 {
        padding: 0 4rem;
    }

.sponsor-list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
    padding: 0;
}

.sponsor-column {
    align-items: center;
    margin-bottom: 30px;
}

.sponsor-logo-container {
    display: flex;
    justify-content: center;
    background: transparent;
    width: 300px;
    height: 200px;
}


    .sponsor-logo-container img {
        width: 100%;
        max-width: 1000px;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: box-shadow 0.3s ease;
        object-fit: fill;
    }

    .sponsor-logo-container:hover img {
        transform: scale(1.05);
        transition: transform 0.3s ease;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }

/* Mobile layout */
@media (max-width: 768px) {

    .navbar a {
        border-left: none;
    }

    /*.footer-container {
        flex-direction: column;
        text-align: center;
    }*/

    .policy-container {
        padding-top: 1rem;
    }

    .navbar .card {
        width: 100%;
        background: #385027;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        border: none;
        overflow: hidden;
        padding: 0;
    }

    .navbar .date {
        width: 100%;
    }

    .follow {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        text-align: center;
    }
}

@media (max-width : 768px) and (min-width:601px) {
    .btn-feature-link p {
        font-size: 15px;
    }

    .description-block {
        height: 400px;
    }

    .no-spacing {
        height: 50px;
    }

    .sponsor-list {
        flex-direction: column;
        justify-content: space-evenly;
        text-align: center;
    }

    .sponsor-column a {
        width: 83vw;
        height: 100%;
    }
}



@media(max-width: 820px) {
    .sponsor-logo-container img {
        width: 60vw;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center; /* centers everything horizontally */
        text-align: center;
        gap: 25px;
        max-width: 800px;
        margin: 0 auto;
        font-size:30px;
    }

    .footer-link{
        font-size:30px;
    }

        .footer-container p {
            font-size: 20px;
            max-width:500px;
        }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width : 768px) {
    .no-spacing {
        height: 300px
    }

    .sponsor-logo-container img {
        width: 60vw;
    }
}

@media (max-width: 1000px) {
    .navbar {
        flex-direction: column;
        justify-content: space-evenly;
        gap: 0;
    }

        .navbar a {
            border-left: none;
        }

    .description-block {
        height: 300px;
    }

    .no-spacing {
        height: 200px
    }

    /*footer img {
        width: 100px;
        height: 100px;
    }*/

    .sponsor-list {
        flex-direction: column;
        justify-content: space-evenly;
        text-align: center;
    }

    .sponsor-column {
        display: flex;
        justify-content: center;
        align-content: center;
        text-align: center;
    }

        .sponsor-column a {
            height: 100%;
        }
}

@media (max-width: 1024px) {
    .navbar{
        display:flex;
        flex-direction:column;
        justify-content:space-evenly;
        align-content:center;
    }
    
    .navbar .card{
        max-width:900px;
        font-size:25px;
    }

    .navbar a{
        font-size:25px !important;
        border:none;
    }
}