body {
    font-family: 'Open Sans', sans-serif !important;
    background-color: #000000;
    overflow-x: hidden;
    outline-color: transparent !important;
    transition: none !important;
    word-break: normal !important;
    margin: 0 !important;
}

.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n2 {
  margin-top: -0.5rem !important;
}

section {
    background-size: cover;
    background-position: center;
}

:focus-visible {
    outline: none !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .navbar, nav, .btn, #countdown, .preloader-inner, footer .nav, li:not(.select2-results__option), .wrt-text {
    font-family: 'Poster Gothic ATF', sans-serif !important;
}

h1, .h1 {
    font-size: 4rem;
}

h2, .h2 {
    font-size: 3.5rem;
}

h3, .h3 {
    font-size: 3rem;
}

h4, .h4 {
    font-size: 2.25rem;
}

h5, .h5 {
    font-size: 1.5rem;
}

h6, .h6 {
    font-size: 1rem;
}

.description-container {
    column-count: 2;
    column-gap: 2rem;
}

span.outline{
    color: transparent !important;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 1 !important;
}

.marquee-text-lg {
    font-size: 12.5rem;
    line-height: 1;
}

.marquee-text-md {
    font-size: 9.5rem;
    line-height: 1;
}

.text-right{
    text-align: right !important;
}

.fa-ul {
    padding-left: 0;
    margin-left: 2.14285714em;
    list-style-type: none;
}

.fa-ul li {
    position: relative;
}

.fa-li {
    position: absolute;
    left: -2.14285714em;
    width: 2.14285714em;
    top: .14285714em;
    text-align: center;
}

.fa-li > i.rounded-pill {
    line-height: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    font-size: 1.2em;
    margin-top: 3px;
    margin-left: 9px;
}

/* NAVBAR */
.navbar .dropdown-menu {
    background-color: #212529;
    border-top: 0;
    left: auto !important;
}

/* SVG */
.svg-object {
    max-width: 100%;
}

/* PRELOADER*/
.preloader {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
    width:100%;
    height:100vh;
    background-image: url(/frontend/themes/wrt/assets/img/racing/landing/splash-background-2.jpg);
    background-size: cover;
    background-position: center;
    opacity:0;
    transition:all 0.5s ease;
    z-index: 99999999999999;
}

.landing {
    opacity: 0;
}

.preloader .preload-logo {
    margin-top: 60px;
    margin-left: 60px;
}

.preloader-inner-container {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 180px;
}

.preloader-inner {
    line-height: 1;
    text-align: left;
    font-size: 4em;
    color: #ffffff;
}

.preloader.show,
.landing.show {
    visibility:visible !important;
    opacity:1 !important;
    transition:all 0.5s ease;
}

#preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#progress-container {
    position: relative;
}

#progress-text {
    line-height: 20px;
    color: #eee;
}

.text-mobile-center{
    text-align: center !important;
}

/* FLOATING CARD */

.floating-card {
    top: 70px;
    z-index: 3 !important;
}

.floating-card-2 {
    top: 310px;
    z-index: 3 !important;
}

.floating-card, .floating-card-2 {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-card.hide, .floating-card-2.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.btn:not(.btn-secondary) {
    border-radius: 25px !important;
    padding: 10px 24px;
}

.btn-primary {
    background-color: #F10000 !important;
    border-color: #F10000 !important;
}

.btn-black {
    background-color: black !important;
    color: white !important;
}

.btn-outline-secondary {
    color: white !important;
    border-color: white !important;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    color: black !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-outline-primary {
    color: black !important;
    border-color: white !important;
    background-color: white !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: white !important;
    border-color: white !important;
    background-color: transparent !important;
}

.remove-btn:hover {
    color: #dc2626;
}

.img-rounded{
    border-radius: 15px !important;
}

.text-red,
p a {
    color: #F10000 !important;
}

.text-orange{
    color: #CE593B !important;
}

.bg-red{
    background: linear-gradient(to right, #A82E21 0%, #C52D23 20%, #C52D23 80%, #A82E21 100%);
}

.bg-white-even{
    background: #ffffff !important;
}

.bg-white{
    background: linear-gradient(to right, #BBBBBD 0%, #ffffff 20%, #ffffff 80%, #BBBBBD 100%);
}

.bg-black{
    background: radial-gradient(circle, #3A3A3A 0%, #000 80%, #000 100%);
}

.bg-black-even{
    background: #000 !important;
}

.bg-black-gradient{
    background: radial-gradient(circle, #3A3A3A 0%, #000 80%, #000 100%);
}

.bg-black-transpartent{
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.gradient-black{
    background: linear-gradient(to right, transparent 0%, #000 100%);
}

.bg-dark{
    background-color: #252225 !important;
}

.bg-gradient-red-black{
    background: linear-gradient(to bottom, #A82E21 0%, #000 100%);
}

.border-none{
    border: none !important;
}

.border-rounded{
    border-radius: 15px !important;
}

.border-radius-none{
    border-radius: 0px !important;
}

#race-overview .card{
    border: 2px solid black;
    border-radius: 15px !important;
}

.floating-image {
    position: absolute;
    bottom: 0px; /* duwt de afbeelding 50px omhoog over de section erboven */
    left: 0;
    width: 100%;
    z-index: 2;
}
#race-overview .card:hover{
    background-color: #8E1B13 !important;
    border: 2px solid #8E1B13;
    transition: all 0.5s ease;
}

.slider-wrapper {
  position: relative;
  width: 100vw; /* Slider moet tot de rand van het scherm kunnen */
  margin-left: calc(-1 * (100vw - 100%) / 2); /* Verplaats de wrapper naar links zodat hij met container begint */
  padding-left: var(--bs-gutter-x, 1.5rem); /* Zorg dat de inhoud links aligned is met container */
  padding-right: 0; /* Geen padding rechts */
  box-sizing: border-box;
  overflow: hidden; /* voorkomt overspill van slides */
}



section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
    pointer-events: none; /* zorgt ervoor dat je nog op knoppen etc. kunt klikken */
    z-index: 1;
}

section > .container,
section > .container-fluid {
    position: relative;
    z-index: 2;
}

.h-60 {
    height: 60% !important;
}

.social-footer{
    width: 50px !important;
    height: 50px !important;
    border-radius: 25px;

}

.drivers-card {
  transform: rotate(-5deg); /* kantelt de kaart iets naar links */
  width: 100%;
}

/*.driver-img {
  position: relative;
  z-index: 1;
}

.driver-img:hover {
  z-index: 10;
}

.driver-img:hover img {
  transition: transform 0.2s ease;
  position: absolute;
  transform: scale(1.2);
  pointer-events: none;
}*/


.driver-img {
  position: relative;
  z-index: 1;
}

.driver-img a {
  display: block;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.splide__slide {
  transition: all 0.2s ease-in-out;
}

#year-carousel .splide__slide {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
#year-carousel .splide__slide.active-year {
  background-color: #000;
  border-radius: 0.25rem;
}
#year-carousel .splide__arrow {
  background: transparent;
  color: white;
  font-size: 2rem;
  opacity: 1 !important;
}

#year-carousel .splide__arrow--prev{
    left: -2em !important;
    color: white !important;
}

#year-carousel .splide__arrow--next{
    right: -2em !important;
    color: white !important;
}

#year-carousel .splide__arrow svg{
    fill: #fff !important;
}

/* Toggle slider */

.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Arial Black', sans-serif;
}

.label {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Slider switch styling */
.toggle-container{
    font-family: 'Poster Gothic ATF';
}

.label {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.label.red {
  color: red;
}

.label.gray {
  color: #888888;
}

/* Custom switch styling */
.custom-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  border: 2px solid red;
  border-radius: 34px;
  cursor: pointer;
  transition: 0.4s;
  box-sizing: border-box;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: red;
  transition: 0.4s;
  border-radius: 50%;
}

.custom-switch input:checked + .slider:before {
  transform: translateX(24px);
}


.modal-fullscreen {
  background-color: rgba(0, 0, 0, 0.6); /* Donkere transparante achtergrond */
  color: white;
}

.modal-content {
  background: transparent;
  border: none;
}

.modal-body {
  text-align: center;
}

.month-title {
  color: #F10000;
  font-weight: bold;
  font-size: 1.3em !important;
}

.content-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.after-line:after {
    position: absolute;
    content: "";
    height: 2px;
    background-color: #fff;
    width: 8%;
    left: 46%;
    top: 40%;
}

.testimonial:before {
    position: absolute;
    content: "";
    background-image: url(/frontend/themes/wrt/assets/img/racing/vip/quote-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 2px;
    width: 40%;
    height: 30%;
    right: 0%;
    bottom: 5%;
}

.testimonial:after {
    position: absolute;
    content: "";
    background-image: url(/frontend/themes/wrt/assets/img/racing/vip/quote-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 2px;
    width: 40%;
    height: 30%;
    left: 0%;
    top: 5%;
}

.vh-50{
    height: 50vh !important;
}

.vh-30{
    height: 30vh !important;
}

.vh-20{
    height: 20vh !important;
}

form input,
form select,
form textarea {
    font-family: 'Open sans', sans-serif;
}

.negative-margin{
    margin-top: -200px;
}

.negative-margin-2{
    margin-top: -100px;
}

.badge{
    right: auto;
    top: 15%;
}

.nav-tabs{
    border: none !important;
}

.tab{
    background: linear-gradient(to bottom, rgba(241, 0, 0, 0.6) 0%, transparent 100%);
    color: white;
    border: none !important;
}

.tab.active{
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: white;
}

.car-title,
.race-title {
    text-shadow: 0px 0px 15px #000000;
}

.car-detail-tab-image{
    margin-top: -150px !important;
    pointer-events: none !important;
}

.map{
    min-height: 450px;
}

.min-vh-50{
    min-height: 50vh !important;
}
.h-small-100{
    height: 115% !important;
}

.table-dark, .table th, .table-dark tr, .table-dark td {
    background: transparent !important;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Doorzichtig wit */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.lock-overlay.dark {
    background-color: rgba(0, 0, 0, 0.7);
}

.lock-icon {
    font-size: 3rem;
    color: black;
    padding: 1rem;
    border-radius: 50%;
}

.svg-object{
    max-height: 600px;
}

.pac-container {
  z-index: 9999 !important;
}

#loginModal .nav-link{
    font-family: 'Poster Gothic ATF';
    background-color: transparent;
    color: white !important;
}

#loginModal .nav-link.active{
    font-family: 'Poster Gothic ATF';
    background-color: #fff;
    color: black !important;
}

#webshopLoginModal .nav-link{
    font-family: 'Poster Gothic ATF';
    background-color: transparent;
    color: white !important;
}

#webshopLoginModal .nav-link.active{
    font-family: 'Poster Gothic ATF';
    background-color: #fff;
    color: black !important;
}

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

label{
    font-family: 'Poster Gothic ATF';
}

/*body {
    max-width: 100%;
    overflow-x: hidden;
}*/

.preloader .overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.75);
    z-index: -1;
}

.preload-logo-full {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skew-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: clip-path 0.5s ease;
  top: 0;
  left: 0;
}

.image-container .image {
  object-fit: cover;
}

/* Default 45deg split for left image */
.left-side {
    background-image: url(/frontend/themes/wrt/assets/img/racing/landing/racing.jpg);
    background-size: cover;
    background-position: center;
  z-index: 2;
  clip-path: polygon(0 0, 66% 0, 33% 100%, 0 100%);
}

/* Right image just fills the background */
.right-side {
    background-image: url(/frontend/themes/wrt/assets/img/racing/landing/manufacturing.jpg);
    background-size: cover;
    background-position: center;
  z-index: 1;
}

/* Hover zones to detect left/right hover */
.hover-zone {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  z-index: 3;
}

.left-zone {
  left: 0;
}

.right-zone {
  right: 0;
}

/* Hover effects */
.left-zone:hover ~ .left-side {
  clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
}

.left-zone ~ .left-side .btn,
.right-zone ~ .right-side .btn {
    /*position: absolute;
    top: 75%;
    left: 50%;*/
    display: block;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.left-zone:hover ~ .left-side .btn,
.right-zone:hover ~ .right-side .btn {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.right-zone:hover ~ .left-side {
  clip-path: polygon(0 0, 33% 0, 0 100%, 0 100%);
}

/* ===========================================================
   TOOLTIP STYLE
============================================================== */
.tooltip-follow {
    position: fixed;
    pointer-events: none;
    white-space: nowrap;
    z-index: 9999;
    transform: translate(5px, 5px); /* offset from cursor */
    display: none;
}


@media only screen and (max-width: 991px) {
    .image-container {
      position: relative;
      height: 50%;
      transition: none !important;
    }

    /* Default 45deg split for left image */
    .left-side {
      clip-path: none !important;
    }

    .left-zone:hover ~ .left-side {
        clip-path: none !important;
    }

    .right-zone:hover ~ .left-side {
        clip-path: none !important;
    }

    .left-zone:hover ~ .left-side .btn,
    .right-zone:hover ~ .right-side .btn {
        transition: none !important;
    }

    .left-zone:hover{
        display: none !important;
    }

    .right-zone:hover{
        display: none !important;
    }

    .left-zone ~ .left-side .btn, .right-zone ~ .right-side .btn{
        position: relative !important;
        opacity: 1 !important;
    }

    .hover-zone {
      display: none !important;
    }

    .image-container .vh-100{
        height: auto !important;
        bottom: 0px !important;
    }

}

#overlay-menu {
    z-index: 5;
    transition: all 0.2s ease-in-out;
}

#overlay-menu .nav-link {
    font-size: 2rem;
}

#overlay-menu .nav-link:hover {
    color: #F10000 !important;
}

.navbar .dropdown-menu .dropdown-item:active {
    background-color: #F10000;
}

#subnavigation .navbar {
    min-height: fit-content;
}

#subnavigation .navbar a {
    color: #0ac2aa !important;
}
#subnavigation .navbar a:hover {
    color: #ffffff !important;
}

.nav-link.active{
    text-decoration: underline !important;
}

.live-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    animation: fade 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;

  }
  100% {
    opacity: 1;
  }
}

.category_container {
    --gap: 0.5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(var(--gap) * 2);

    width: 100%;
    height: 100%;
}

.meet-drivers .content {
    --active: 0;

    cursor: pointer;
    overflow: clip;

    position: relative;
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;

    padding: 2.5rem;

    width: calc((100% / 3) - var(--gap));
    min-height: 500px;
    transition: width 0.2s ease-in-out;
}
.meet-drivers .content:hover {
    --active: 1;

    width: calc(70% - var(--gap));
}

.meet-drivers .content img {
    position: absolute;
    z-index: -20;
    top: 0;
    left: 0;

    width: 150%;
    height: 150%;

    object-fit: cover;
    object-position: 50% 20%;
    transform: translate(-20%, 0);
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}


.profile_quote {
    width: 100%;
}

.profile_quote p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    transition: transform 0.2s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
}

.profile_quote {
    min-height: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.meet-drivers .content:hover img,
.meet-drivers .content:hover + .profile_quote {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.meet-drivers .splide__arrow {
    background: transparent;
}

.meet-drivers .splide__arrow--prev {
    left: -2em !important;
}

.meet-drivers .splide__arrow--next {
    right: -2em !important;
}

.meet-drivers .splide__arrow svg {
    fill: #ffffff;
    height: 1.75em;
    width: 1.75em;
}

.masonry-row {
    width: 100%;
    overflow: hidden;
    min-width: 100%;
}

.masonry-row img {
    height: 100%;
    width: auto;
}

.masonry-item {
    height: 250px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.masonry-overlay .download-icon {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    padding: 15px;
    background-color: rgba(0,0,0,0.66);
    line-height: 1;
    border: 2px solid white;
    opacity: 0.66;
}

.masonry-overlay {
    opacity: 0;
    top: 0;
    left: 0;
    width: fit-content;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: rgba(0,0,0,0.33);
}

.race-dates {
    overflow: visible !important;
}

.race-dates .splide__arrow {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.race-dates .swiper-button-next,
.race-dates .swiper-button-prev {
    color: black;
}
.race-dates .swiper-button-next:after,
.race-dates .swiper-button-prev:after {
    font-size: 1.5rem !important;
}

.race-dates .swiper-button-prev {
    top: 50%;
    left: 42%;
}

.race-dates .swiper-button-next {
    top: 50%;
    right: 42%;
}

.race-dates .swiper-slide .race-date {
    padding: 5px 20px;
    color: black;
    background-color: rgba(0,0,0,0);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    width: fit-content;
}

.race-dates .swiper-slide.swiper-slide-active .race-date {
    opacity: 1;
    color: white;
    background-color: rgba(0,0,0,1);
    transition: all 0.2s ease-in-out;

}

.race-dates .swiper-slide:not(.swiper-slide-active) .race-date {
    opacity: 0.25;
}

.race-dates .race-country {
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
}

.race-dates .swiper-slide.swiper-slide-active .race-date + .race-country {
    opacity: 1;
}
.race-dates .swiper-slide:not(.swiper-slide-active) .race-date + .race-country {
    opacity: 0;
}

.track-image {
    margin-top: -50px;
}

.featured-track-image{
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.racetrack-image{
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.halloffame-title{
    position: absolute !important;
    bottom: 0px !important;
    top: 50% !important;
    width: 50%;
    left: 25%;
}

.text-first-gradient {
    background: #DEAE71;
    background: radial-gradient(circle farthest-corner at center center, #DEAE71 0%, #FCE3A5 50%, #5E4A30 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-second-gradient {
    background: #B0B1B3;
    background: radial-gradient(circle farthest-corner at center center, #B0B1B3 0%, #B6B6B7 50%, #3F3F41 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-third-gradient {
    background: #C48E80;
    background: radial-gradient(circle farthest-corner at center center, #C48E80 0%, #91695F 50%, #C48E80 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faded-top {
  position: relative;
  z-index: 0;
  background: none; /* the image will live in ::before */
}

.faded-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;

  /* Fade effect only on the background */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, white 10%);
  mask-image: linear-gradient(to bottom, transparent 0%, white 10%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.faded-bottom {
  position: relative;
  z-index: 0;
  background: none; /* the image will live in ::before */
}

.faded-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;

  /* Fade effect only on the background */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, white 10%);
  mask-image: linear-gradient(to top, transparent 0%, white 10%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.play-button {
    background-color: rgba(255,255,255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    color: #000;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: scale(2);
    transition: all 0.2s ease-in-out;
}

.play-button:hover {
    transform: scale(2.5);
}

.play-button i {
    padding-left: 4px;
}

.shop-img,
.car-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.2s ease-in-out;
}

.shop-img:hover,
.car-img:hover {
    transform: scale(1.1);
    z-index: 999 !important;
}

.driver-img {
    aspect-ratio: 312 / 497;
}


.shop-img {
    aspect-ratio: 2 / 3;
}

.car-img {
    aspect-ratio: 4 / 5;
}

.page-link, .page-link:hover, .page-link:active {
    color: #F10000;
}

.before-rule-line {
    position: relative;
}
.before-rule-line::before {
    position: absolute;
    content: "";
    height: 2px;
    background-color: #fff;
    width: 8%;
    left: 46%;
    top: 0%;
}

.back-to-top {
    background-color: #F10000 !important;
    color: white !important;
    position: fixed;
    bottom: 85px;
    right: 20px;
    display: none;
    z-index: 999;
    font-size: 24px;
    text-align: center;
    line-height: 1;
    padding: 12px !important;
}

.race-detail-header{
    min-height: 60vh !important;
}

.blog-body img {
    width: 100%;
}

.splide__pagination {
    display: none !important;
}

.pagination .page-item .page-link,
.pagination .page-item .page-link:active,
.pagination .page-item .page-link:focus {
    background-color: #F10000;
    color: white;
    outline: none;
}

.pagination .page-item .page-link:active,
.pagination .page-item .page-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
}

.pagination .active>.page-link,
.pagination .page-link.active {
    border-color: #000000;
    background-color: #000000;
}

.w-30 {
    width: 30%;
}

.w-50 {
    width: 50%;
}

.dropdown-item:focus, .dropdown-item:hover,
.dropdown-item.active, .dropdown-item:active {
    color: black !important;
    background-color: white;
}

.twg-disabled-input {
    background-color: lightgray;
}

.shop-lock-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(2px);
    z-index: 50;
}
.shop-lock-overlay .lock-box {
    background: #fff;
    border-radius: .75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
    text-align:center;
}

.checkout-locked {
    position: relative;
}

.checkout-locked *:where(input, select, textarea, button, a.btn) {
    pointer-events: none !important;
}

.checkout-locked .checkout-btn {
    opacity: .6;
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}


@media only screen and (min-width: 1199px) {
    .min-vh-lg-100{
        min-height: 100vh !important;
    }

    .min-vh-lg-30{
        min-height: 30vh !important;
    }

    .h-lg-100{
        height: 100% !important;
    }

    .drivers-card {
      transform: rotate(-5deg); /* kantelt de kaart iets naar links */
      width: 70%;
    }

    .w-lg-50{
        width: 50% !important;
    }

    .w-md-25{
        width: 25% !important;
    }

    .w-lg-75{
        width: 75% !important;
    }

    #webshopLoginModal .modal-dialog{
        max-width: 40% !important;
    }

    .splide-drivers-new,
    .splide-drivers-new .splide__track,
    .splide-drivers-new .splide__list {
        overflow: visible;
    }

    .driver-img:hover {
      transform: scale(1.2);
      z-index: 999 !important;
    }
}

@media only screen and (min-width: 991px) {
    .w-md-50{
        width: 50% !important;
    }

    .w-md-25{
        width: 25% !important;
    }
}

@media only screen and (max-width: 1450px) {
    .race-dates .swiper-button-prev {
        left: 36% !important;
    }

    .race-dates .swiper-button-next {
        right: 36% !important;
    }
}

@media only screen and (max-width: 1199px) {
    .fs-small {
        font-size: 1.5em !important;
    }

    h1, .h1 {
        font-size: 3.75rem !important;
    }

    h2, .h2 {
        font-size: 3.25rem !important;
    }

    h3, .h3 {
        font-size: 2.75rem !important;
    }

    h4, .h4 {
        font-size: 2.25rem !important;
    }

    h5, .h5 {
        font-size: 1.25rem !important;
    }

    .marquee-text-lg {
        font-size: 12rem !important;
    }

    .marquee-text-md {
        font-size: 9rem !important;
    }

    .masonry-row {
        flex-wrap: wrap;
    }

    .masonry-item {
        max-width: 25%;
    }

    #webshopLoginModal .modal-dialog{
        max-width: 80% !important;
    }

    .dropdown-menu:not(.logo-dropdown){
        text-align: center;
    }

    .race-dates .swiper-button-prev {
        left: 34% !important;
    }

    .race-dates .swiper-button-next {
        right: 34% !important;
    }



    .halloffame-title{
        top: 47% !important;
        font-size: 1.7em !important;
    }

    .race-detail-header{
        min-height: 50vh !important;
    }

}

@media only screen and (max-width: 991px) {
    .fs-small{
        font-size: 0.7em !important;
    }

    h1, .h1 {
        font-size: 3.5rem !important;
    }

    h2, .h2 {
        font-size: 3rem !important;
    }

    h3, .h3 {
        font-size: 2rem !important;
    }

    h4, .h4 {
        font-size: 1.75rem !important;
    }

    h5, .h5 {
        font-size: 1.25rem !important;
    }

    .marquee-text-lg {
        font-size: 10rem !important;
    }

    .marquee-text-md {
        font-size: 8.75rem !important;
    }

    .masonry-item {
        max-width: 33.33%;
    }

    .svg-object{
        max-height: 400px;
    }

    #year-carousel .splide__arrow--next {
        right: -1.5em !important;
    }
    .negative-margin:not(.cars-btn),
    .negative-margin-2 {
        margin-top: 0px;
    }

    .cars-btn {
        margin-top: -100px;
    }

    .halloffame-title{
        top: 47% !important;
        font-size: 1.5em !important;
    }

    .preloader .preload-logo-full {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .preloader .preload-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .landing .logo {
        width: 150px;
    }

    .race-dates .swiper-button-prev {
        left: 32% !important;
    }

    .race-dates .swiper-button-next {
        right: 32% !important;
    }

    .racetrack-image{
        aspect-ratio: 2 / 1;
    }
}

@media only screen and (max-width: 767px) {
    h1, .h1 {
        font-size: 3rem !important;
    }

    h2, .h2 {
        font-size: 2.5rem !important;
    }

    h3, .h3 {
        font-size: 1.75rem !important;
    }

    h4, .h4 {
        font-size: 1.5rem !important;
    }

    h5, .h5 {
        font-size: 1.25rem !important;
    }

    .marquee-text-lg {
        font-size: 9rem !important;
    }

    .marquee-text-md {
        font-size: 7.5rem !important;
    }

    .masonry-item {
        max-width: 50%;
    }

    .svg-object{
        max-height: 200px;
    }

    .preloader-inner-container{
        left: calc(50% - 90px) !important;
        right: calc(50% - 90px) !important;
    }

    .driver-active{
        opacity: 1 !important;
        transition: opacity 0.2s ease-in-out !important;
    }

    .before-rule-line::before {
        top: 15%;
    }
    #year-carousel .splide__arrow--next {
        right: -0.5em !important;
    }
    #year-carousel .splide__arrow--prev {
        left: -0.5em !important;
    }

    .race-dates {
        margin-bottom: 60px;
    }

    .race-dates .swiper-button-prev {
        left: 22% !important;
    }

    .race-dates .swiper-button-next {
        right: 22% !important;
    }

    .track-image {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .car-img {
        aspect-ratio: 8 / 5 !important;
    }

    .halloffame-title{
        top: 50% !important;
        font-size: 2.25em !important;
    }

    .preloader-inner{
        font-size: 2em;
        text-align: center;
    }

    .preloader .preload-logo-full {
        width: 80%;
    }

    .landing .logo {
        width: 100px;
    }

    .drivers-card {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 576px) {
    .splash-title{
        font-size: 2em !important;
    }

    #webshopLoginModal .modal-dialog{
        max-width: 100% !important;
    }


}

@media only screen and (max-width: 390px) {
    .race-dates .swiper-button-prev {
        left: 25%;
    }

    .race-dates .swiper-button-next {
        right: 25%;
    }

    .drivers-card {
        transform: rotate(0deg);
        width: 100%;
    }
}

