* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #1c1c1c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #1c1c1c;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    margin-left: 280px;
    margin-right: 260px;
    padding: 40px;
    width: calc(100vw - 540px);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.section {
    background-color: rgba(34, 34, 34, 0.6);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 20px auto;
    padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
}

h1, h2, h3 {
    text-align: center;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h2 {
    font-size: 2rem;
    margin: 20px 0;
}

.side-menu {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    justify-items: center;
    width: 280px;
    background-color: black;
    padding: 20px;
    position: fixed;
    height: 100vh;
    border-right: 1px solid #FFD700;
}

#side-menu-logo {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#side-menu-logo img {
    max-width: 230px;
    height: auto;
}

.side-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    width: 100%;
}

.nav-links li {
    margin-bottom: 15px;
    text-align: center;
    width: 80%;
}

.nav-links a {
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    color: #FFD700;
    font-weight: 600;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.nav-links a:hover,
.nav-links .active {
    background-color: #ffc107;
    color: #1c1c1c;
    border: 2px solid #FFD700;
    font-weight: bold;
}

.download-button {
    align-items: center;
    justify-content: center;
    text-decoration: none;
    max-width: 200px;
    background-color: #FFD700;
    color: #1c1c1c;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
}

.download-button:hover {
    background-color: #ffc107;
    transform: scale(1.05);
}

.download-button:active{
    transform: scale(0.98);
}

.download-button i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.news-grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    width: 100%;
}

.news-card {
    height: 390px;
    width: 420px;
    text-decoration: none;
    display: block;
    background-color: #222;
    border: 1px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.news-card:hover {
    transform: scale(1.05);
    border-color: #ffc107;
    cursor: pointer;
}

.news-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card .news-date {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 5px;
}

.news-text-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #FFD700;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

#news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

#news-modal .modal-content {
    background-color: #222;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin: auto;
}

#news-modal .modal-header h3 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 20px;
}

#news-modal .modal-image {
    width: 600px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

#news-modal .modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin: 20px 0;
}

#news-modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #FFD700;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1010;
}

#news-modal .close:hover {
    color: #ffc107;
}

.partners-sidebar {
    width: 260px;
    background-color: rgba(34, 34, 34, 0.85);
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid #FFD700;
}

.partners-sidebar h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-top: 20px;
}

.partner-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 10px 55px 10px;
}

.partner-logos img {
    width: 120px;
    height: auto;
    max-height: 120px;
    border-radius: 8px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logos .invert img {
    filter: invert(1);
}

.partner-logos img:hover {
    transform: scale(1.05);
}

.pattern-page .pattern-section {
    width: 90%;
    text-align: center;
    justify-content: center;
}

.pattern-page #lane-pattern-image {
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

.pattern-page .download-button{
    margin-top: 30px;
}

.rules-section .download-button{
    margin-top: 30px;
    margin-bottom: 10px;
}

.rules-card {
    background-color: #1c1c1c;
    padding: 20px;
    margin: 20px auto;
    border: 2px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 80%;
    height: auto;
}

.rules-card object {
    width: 100%;
    height: 490px;
    border-radius: 8px;
    border: 1px solid #444;
}

.menu-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.horizontal-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    background-color: #1c1c1c;
    border: 2px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.horizontal-menu button {
    background-color: #FFD700;
    color: #1c1c1c;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.horizontal-menu button:hover {
    background-color: #ffc107;
    transform: scale(1.05);
}

.horizontal-menu button:active {
    transform: scale(0.95);
}

.results-section .download-button{
    margin-top: 20px;
    margin-bottom: 10px;
}

#results-table-container p{
    padding: 10px;
}

#results-table-container {
    margin: 20px 0;
    overflow-x: auto;
    width: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    background-color: #1c1c1c;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table thead {
    background-color: #FFD700;
    color: #1c1c1c;
    font-weight: bold;
    text-transform: uppercase;
}

.results-table th {
    padding: 12px;
    text-align: center;
    border-right: 1px solid #333;
}

.results-table th:last-child, .results-table td:last-child {
    border-right: none;
}

.results-table tbody tr {
    background-color: #222;
    color: #fff;
    transition: background-color 0.3s ease;
}

.results-table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

.results-table tbody tr:hover {
    background-color: #FFD700;
    color: #1c1c1c;
}

.results-table td {
    padding: 10px;
    text-align: center;
    border-right: 1px solid #333;
}

.results-table th,
.results-table td {
    white-space: nowrap;
}

.gallery-section .image-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.gallery-section p{
    text-align: center;
    font-size: 1rem;
    grid-column: 1/3;
}

.gallery-item {
    position: relative;
    width: auto;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-item {
    animation: fadeIn 0.5s ease;
}

#gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 80px;
}

#gallery-modal .modal-image {
    max-width: 75%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9);
    object-fit: contain;
}

#gallery-modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #FFD700;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1010;
}

#gallery-modal .close:hover {
    color: #ffc107;
}

#gallery-modal .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(34, 34, 34, 0.9);
    color: #FFD700;
    font-size: 2.4rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1010;
    border: none;
}

#gallery-modal .left-arrow {
    left: 40px;
}

#gallery-modal .right-arrow {
    right: 40px;
}

#gallery-modal .nav-arrow:hover {
    background-color: #FFD700;
    color: #1c1c1c;
}

#gallery-modal .nav-arrow i {
    font-size: 2rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 80%;
    margin-top: 20px;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 70px;
}

.contact-info-card {
    background-color: #222;
    border: 1px solid #FFD700;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    color: white;
    flex: 1;
}

.contact-info-card h3 {
    color: #FFD700;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    padding-bottom: 8px;
}

.contact-info-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f5f5f5;
    margin-bottom: 12px;
}

.contact-info-card a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.contact-info-card a:hover {
    text-decoration: underline;
    color: #ffc107;
}

.contact-map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-map{
    border: 1px solid #FFD700;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 12px;
    filter: grayscale(20%) invert(94%) ;
}

#map-dot{
    position: absolute;
    font-size: 75px;
    color:#ffc107;
    margin-top: -58px;
    margin-left: 10px;
    z-index: 100;
}

.language-heading {
    font-size: 2rem;
    width: 100%;
    text-align: center;
}

.language-heading:nth-of-type(2){
    margin-top: 60px;
}

.lang-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 400;
    opacity: 0.9;
}

.table-wrapper{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
    border-radius: 12px;
    overflow-x: auto;
    background-color: #1c1c1c;
}

.prizes-table, .schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background-color: #1c1c1c;
    color: white;
}

.prizes-table th, .schedule-table th {
    background-color: #FFD700;
    color: #1c1c1c;
    font-weight: bold;
}

.prizes-table th, .prizes-table td, .schedule-table th, .schedule-table td {
    padding: 10px 18px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.prizes-table th, .schedule-table th {
    border-right: 1px solid #333;
}

.prizes-table td, .schedule-table td {
    border-right: 1px solid #555;
}

.prizes-table th:last-child, .prizes-table td:last-child {
    border-right: none;
}

.prizes-table thead tr:nth-child(1) th{
    text-align: left;
}

.prizes-table tbody tr, .final-step-table tr {
    background-color: #222;
    transition: background-color 0.3s ease;
}

.prizes-table tbody tr:nth-child(even), .final-step-table tr:nth-child(even) {
    background-color: #2a2a2a;
}

.prizes-table tbody tr:hover {
    background-color: #FFD700;
    color: #1c1c1c;
}

.schedule-table tbody tr:hover td, tbody:hover td[rowspan] {
    background-color: #FFD700;
    color: #1c1c1c;
}

.schedule-table tbody:nth-child(odd){
    background-color: #2a2a2a;
}

.footer {
    background-color: #000;
    padding: 10px;
    color: #FFD700;
    flex-shrink: 0;
    z-index: 100;
    border-top: 1px solid #FFD700;
    position: relative;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.2;
    opacity: 0.75;
}

.bednar-logo {
    position: relative;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-block;
}

.bd-orange {
    color: #f97316;
}

.bd-white {
    color: #ffffff;
}

.bd-dot {
    color: rgba(255,255,255,0.4);
    margin-left: 1px;
    transition: color 0.3s ease;
}

.bednar-logo:hover .bd-dot {
    color: #fdba74;
}

.bd-underline {
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    width: 0;
    background: #f97316;
    transition: width 0.3s ease;
}

.bednar-logo:hover .bd-underline {
    width: 100%;
}

#totop {
    position: fixed;
    z-index: 200;
    bottom: 1rem;
    right: 1rem;
    padding: 12px 16px;
    background-color: #FFD700;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

#totop i {
    color: black;
    font-size: 1.4rem;
    transition: transform 0.2s ease;
}

#totop:hover {
    background-color: #ffc107;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

#totop:active {
    transform: scale(0.95);
    background-color: #e6b800;
}

.error-page h2 {
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    margin-top: 10px;
    font-size: 1rem;
    background-color: #FFD700;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.error-page .button:hover {
    background-color: #ffc107;
    transform: scale(1.05);
}

.text-left-align{
    text-align: left;
}

.schedule-table, .prizes-table, .results-table, #results-table-container {
    white-space: nowrap;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1c1c1c;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 8px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffc107;
}

@media (max-width: 1700px) {
    .main-content{
        width: calc(100vw - 490px);
        margin-left: 250px;
        margin-right: 240px;
    }

    .partners-sidebar {
        width: 240px;
    }
    
    .partners-sidebar h3 {
        font-size: 1.1rem;
        margin-top: 10px;
    }
    
    .partner-logos img {
        width: 110px;
        max-height: 110px;
    }

    .side-menu{
        width: 250px;
    }

    #side-menu-logo img {
        max-width: 220px;
    }

    .side-menu nav{
        margin-top: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px;
    }

    .pattern-page #lane-pattern-image {
        max-width: 800px;
    }
}

@media (max-width: 1500px) {
    .partners-sidebar {
        width: auto;
        height: auto;
        position: relative;  
        border-left: none;   
        border-top: 1px solid #FFD700;
        overflow-x: auto;
        margin-left: 250px;
    }

    .partners-sidebar h3{
        margin-top: 10px;
    }

    .partner-logos{
        flex-direction: row;
        justify-content: space-around;
        display: inline-flex;
        padding: 10px;
    }
    
    .main-content{
        margin-right: 0;
        width: auto;
        min-height: 100vh;
    }

    #side-menu-logo img {
        max-width: 215px;
    }

    .schedule-table th, .prizes-table th, .results-table th, .schedule-table td, .prizes-table td, .results-table td {
        font-size: 0.95rem;
        padding: 6px 8px;
    }  

    .contact-info {
        width: 100%;
        flex-direction: column;
        padding: 10px;
    }

    .contact-map {
        height: 380px;
        margin-bottom: 20px;
    }

    .pattern-page #lane-pattern-image {
        max-width: 700px;
    }

}

@media (max-width: 1200px) {
    .side-menu {
        width: 100%;
        height: auto;
        position: relative;
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid #FFD700;
    }

    .side-menu nav{
        margin-top: 10px;
    }

    #side-menu-logo img {
        max-width: 200px;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links a {
        padding: 8px;
        font-size: 0.95rem;
    }

    .partners-sidebar {
        margin-left: 0;
    }

    .partner-logos img {
        width: 100px;
        max-height: 100px;
    }

    .main-content{
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
    }

    .section {
        width: 100%;
        min-height: 100%;
        padding: 20px;
    }

    .rules-card object {
        display: none;
    }

    .rules-section .download-button{
        margin-top: 10px;
    }

    .pattern-page #lane-pattern-image {
        max-width: 90%;
    }
}

@media (max-width: 1024px) {
    #news-modal .modal-content {
        max-width: 90%;
        padding: 20px;
    }

    #news-modal .modal-header h3 {
        font-size: 1.6rem;
    }

    #news-modal .modal-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    #news-modal .close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }

    .pattern-page #lane-pattern-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .language-heading{
        font-size: 1.5rem;
    }

    #map-dot{
        font-size: 60px;
        margin-top: -50px;
    }

    .contact-map {
        height: 350px;
        margin-bottom: 20px;
    }

    #side-menu-logo img {
        max-width: 190px;
        height: auto;
    }

    h1, h2 {
        font-size: 1.5rem;
    }

    .download-button {
        font-size: 0.9rem;
        padding: 8px 12px;
        max-width: 150px;
    }

    .horizontal-menu {
        padding: 5px;
        gap: 5px;
    }

    .horizontal-menu button {
        font-size: 0.8rem;
    }

    .schedule-table, .prizes-table{
        display: block;
        white-space: nowrap;
        width: 100%;
    }

    .schedule-table th, .prizes-table th, .results-table th, .schedule-table td, .prizes-table td, .results-table td {
        font-size: 0.75rem;
        padding: 5px 6px;
    }  
    
    .news-grid {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 20px;
    }

    .news-card{
        width: auto;
    }

    .news-text-overlay {
        font-size: 1rem;
        padding: 8px;
    }

    #news-modal .modal-content {
        width: 95%;
        padding: 15px;
    }

    #news-modal .modal-header h3{
        font-size: 1.4rem;
    }

    #news-modal .modal-image {
        height: auto;
        width: 80%;
        max-height: 350px;
    }

    #news-modal .modal-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    #news-modal .close {
        top: 10px;
        right: 10px;
        font-size: 1.7rem;
    }

    #gallery-modal .modal-image{
        height: auto;
        max-height: 400px;
        max-width: none;
        width: 100%;
        object-fit: cover;
    }

    #gallery-modal .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    #gallery-modal .left-arrow {
        left: 10px;
    }
    
    #gallery-modal .right-arrow {
        right: 10px;
    }
    
    #gallery-modal .nav-arrow i {
        font-size: 1.6rem;
    }

    .footer {
        padding: 10px 12px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .footer p {
        font-size: 0.82rem;
        line-height: 1.25;
        opacity: 0.9;
        max-width: 92vw;
        margin: 0 auto;
    }

    .bednar-logo {
        font-size: 0.95em;
        white-space: nowrap;
    }

    .bd-underline {
        bottom: -2px;
        height: 2px;
    }

    .main-content {
        margin: 0;
        padding: 10px;
    }

    .section {
        padding: 25px 15px;
    }

    .rules-card, .contact-info-card {
        padding: 15px;
        width: 100%;
    }

    .gallery-section p{
        font-size: 0.8em;
    }

    .gallery-section .image-grid {
        gap: 15px;
        grid-template-columns: 1fr 1fr;
        padding: 10px;
    }

    .gallery-item {
        max-height: 150px;
    }

    .gallery-item img {
        object-fit: cover;
    }

    .menu-container button {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .download-button:hover {
        transform: scale(1.02);
    }

    .contact-info h3{
        font-size: 1.2rem;
    }

    .contact-info-card p{
        font-size: 0.9rem;
    }

    .contact-info-card {
        padding: 10px;
    }
    .table-wrapper{
        width: 100%;
    }

    #results-table-name-container{
        font-size: 0.8rem;
    }

    #results-table-container p{
        font-size: 0.8rem;
    }

    #totop {
        padding: 10px 14px;
    }
    
    #totop i {
        font-size: 1.3rem;
    }

    .partner-logos img {
        width: 80px;
        max-height: 80px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
