:root{
    --primary-text-color: #777777;
    --primary-text-color-hover: #555;
    --main-fint-size: 13px;
    --main-fontfamilyDecsript:  'Open Sans', Arial, Helvetica, sans-serif;
    --main-fontfamilyheader: 'Open Sans Condensed';
    --main-darkBackground: #222222;
    --main-lightBackground: #333333;

}
.imageFile {

    margin: 10px;
    cursor: pointer;
    border: 0px solid #ccc;
    transition: border-color 0.3s;
}
.imageFile:hover {
    border-color: #666;
}
/* Styl dla modalu - pełny ekran, ciemne tło */
#imageModal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#imageModal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px white;
    border-radius: 8px;
}
.mainRacesPanel{
    margin-top: 150px;
}
.infoPanel {
    position: relative;
    padding-bottom: 16px;
    background: url('https://trialwyniki.pl/public/images/shadow.png') center bottom no-repeat;
    background-size: 100% 16px;
}
body{
    font-family: var(--main-fontfamilyDecsript);
    font-size: var(--main-fint-size);
    color: #666666;
}
.navbar{
    height: 95px;
    background: #ffffff;
}
.navbar-nav .nav-link {
    color: var(--primary-text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    border-bottom: 3px solid transparent;
    font-size: var(--main-fint-size);
}
.navbar-nav .nav-link:hover {
    color: var(--primary-text-color-hover);
    text-decoration: none;
    box-shadow: none;
    moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background: none;
    border-bottom: 3px solid #3e4950
}
/*heading*/
.headimg-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    color: var(--primary-text-color);
font-family: var(--main-fontfamilyheader);
    align-items: center;
    gap: 15px;
}
.headimg-title:hover{
    color: var(--primary-text-color);

}
 .caption {
    position: absolute;
    width: 100%;
    top: 60%;
    margin-top: -180px;
    text-align: left;
    color: #fff;
    line-height: 1;
    font-weight: 700;
}
.caption .txt1 {
    font-size: 20px;
    padding-bottom: 20px;
    letter-spacing: 1px;
    font-family: var(--main-fontfamilyheader);
}
.caption .txt2 {
    font-size: 50px;
    padding-bottom: 20px;
    font-family: var(--main-fontfamilyheader);

}
.slider-link2 {
    display: inline-block;
    text-decoration: none;
    color: #444444;
    font-weight: 700;
    font-family: 'Open Sans Condensed';
    font-size: 14px;
    line-height: 50px;
    padding: 0 60px 0 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    position: relative;
    overflow: hidden;
}.slider-link2:before {
     content: '';
     display: block;
     width: 60px;
     height: 60px;
     background: #1c2931;
     position: absolute;
     right: -10px;
     top: 0;
     transition: all 0.3s ease-out;
     -moz-transition: all 0.3s ease-out;
     -webkit-transition: all 0.3s ease-out;
     -o-transition: all 0.3s ease-out;
     -webkit-transform: skewX(-25deg);
     -ms-transform: skewX(-25deg);
     transform: skewX(-25deg);
 }.slider-link2:after {
      content: "\f105";
      font-family: 'FontAwesome';
      display: inline-block;
      position: absolute;
      right: 0;
      top: 0;
      font-size: 20px;
      color: #fff;
      width: 42px;
      text-align: center;
  }

/*end *heading*/


/* Stylizacja nawigacji breadcrumb */
nav[aria-label="breadcrumb"] {
    background: #2a2a2a; /* Ciemne tło, aby wyróżnić nawigację */

}
.parallax-bg {
    position: relative;
    z-index: 1;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://hagerty.co.uk/wp-content/uploads/2021/03/SN_Vertigo_Spain66-scaled-e1615828856828.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-attachment: fixed;
    opacity: 0.05; /* ← tylko tło */
    z-index: -1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif; /* Nowoczesna czcionka */
    font-size: 14px;
    color: #f4f4f4;
}

.breadcrumb-item {
    margin-right: 0px;
    padding: 5px 0px 6px 0px;

}

.breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    color: var(--primary-text-color);
    margin: 0 0px;
}

.breadcrumb-item a {
    color: var(--primary-text-color);
    font-weight: 500;

    transition: color 0.3s ease;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    font-size: var(--main-fint-size);}

.breadcrumb-item a:hover {
    color: #e3b07d; /* Zmienia kolor na piaskowy podczas najechania */
    transform: scale(1.1); /* Efekt powiększenia przy najechaniu */
}

.breadcrumb-item.active {
    color: #1c2931;
    font-weight: bold;
}

/* Stylizacja efektu piaskowego tła */
nav[aria-label="breadcrumb"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.5; /* Lekko przezroczysty efekt piasku */
    z-index: -1;
    filter: blur(4px); /* Rozmycie tła */
}



.race-button {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 0; /* brak ramki */
    overflow: visible;
    background: none;
    text-decoration: none;
    color: white;
    aspect-ratio: 16 / 9;
}

.race-button img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.race-button:hover img {
    transform: scale(1.02);
}

.race-button-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
}


.footer-back {
    position: relative;
    background-color: #111; /* lub inny ciemny kolor */
    color: white;
    z-index: 1;
    overflow: visible;
}

.footer-back::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px; /* szerokość tła */
    height: 800px; /* wysokość tła */
    background-image: url('https://static.vecteezy.com/system/resources/previews/051/016/653/non_2x/a-long-pile-of-brown-orange-colored-soil-on-isolated-white-background-with-clipping-path-free-png.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    #rider {
        height: 320px !important;
    }
}
.site-footer .footer-content,
.site-footer .footer-bottom {
    position: relative;
    z-index: 2;
}
.justify-text{
    text-align: justify;
}
