:root {
    --white: #ffffff;
    --black: #000000;
    --gray: #bbbbbb;
    --gray3: #c4c4c4;
    --blue: #042e4d;
    --blue2: #2bc5da;
    --yellow: #dfe221;
}

.collaboration .swiper {
    width: 100%;
    /*height: 100%;*/
}

h1.sponsor {
    font-size: 35px;
    font-weight: bold;
    color: var(--black);
    text-align:center;
}

.collaboration .swiper .swiper-slide img {
    display: block;
    width: 100%;
    /*height: 470px;*/
    object-fit: cover;
    object-position: top;
}

.collaboration .swiper .title {
    color: #c2ec09 !important;
    font-size: 1.25rem;
    /*font-weight: 700;*/
    margin: 12px auto 0;
}

.collaboration .swiper .btn-regis {
    display: inline-block;
    color: #ffffff !important;
    background-color: #f90000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-image: none;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 20px;
    margin: 30px auto 0;
    padding: 4px 24px 5px 23px;
}

.collaboration .swiper .btn-regis:hover {
    background-color: #478ac9 !important;
    color: #ffffff;
}

.collaboration .swiper .swiper-button-next,
.collaboration .swiper .swiper-button-prev {
    background-color: #4d4d4d96;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.collaboration .swiper .swiper-button-next:hover,
.collaboration .swiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.collaboration .swiper .swiper-button-next::after,
.collaboration .swiper .swiper-button-prev::after {
    font-size: 1.5rem;
}

.collaboration .swiper .swiper-button-next {
    right: 10px;
}

.collaboration .swiper .swiper-button-prev {
    left: 10px;
}

/* untuk semua ukuran layar */
@media (max-width: 768px) {
    .desktop-img {
        display: none;
    }
    .desktop-wayang {
        display: none;
    }

    .mobile-wayang {
        width: 8em;
        margin-top: -350px;
        margin-bottom: -170px;
    }

    p.desc-dcr {
        font-size: 12px;
        color: var(--gray3);
        text-align: center;
        width: 90%;
    }

    .destination-item {
        aspect-ratio: 3/2;
    }

    .destination-overlay h2 {
        font-size: 1rem;
    }
}

/* Tampilan untuk layar besar */
@media (min-width: 769px) {
    .mobile-img {
        display: none;
    }
    .mobile-wayang {
        display: none;
        width: 16em;
        margin-top: -400px;
    }

    .desktop-wayang {
        width: 16em;
        margin-top: -400px;
    }

    p.desc-dcr {
        font-size: 16px;
        color: var(--gray3);
        text-align: center;
        width: 80%;
    }
}

/* Navbar */
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.navbar-scrolled {
    transition: 0.3s;
    background-color: var(--blue);
}

a.nav-link {
    color: var(--gray3) !important;
}

a.nav-link:hover {
    transition: 0.3s;
    color: var(--white) !important;
}

a.nav-link.active {
    color: var(--yellow) !important;
}

button.navbar-toggler {
    border-color: white;
    display: none;
}

span.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

img.header-logo {
    width: 5em;
    margin-left: 100px;
}

a.btn.btn-signin {
    background-color: var(--yellow);
    color: var(--black);
    font-size: 14px;
    border-radius: 30px;
}

a.btn.btn-signin:hover {
    background-color: var(--blue2);
    color: var(--white);
    transition: 0.3s;
    font-size: 14px;
    border-radius: 30px;
}

a.btn.btn-menu {
    color: var(--gray);
    font-size: 14px;
}

a.nav-link.dropdown-toggle {
    color: var(--black);
}

ul.dropdown-menu.show {
    background-color: var(--white);
}

a.dropdown-item {
    font-size: 15px;
    color: var(--black);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: none;
    border-radius: 0;
}
/* End Navbar */

section.sec-one {
    background-image: url("/images/background/BACKBW2.jpg");
    background-size: cover;
    background-position: center;
    height: 90vh;
    position: relative;
    margin-bottom: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Efek gelap */
}

.text-overlay {
    position: relative;
    color: white;
    text-align: center;
    z-index: 1;
}

img.header-index {
    width: 18em;
    margin-top: 50vh;
    margin-bottom: 5px;
}

img.header-cat {
    width: 5em;
}

img.header-itra {
    width: 18em;
}

h1.pre-sale {
    font-size: 45px;
    font-weight: bold;
    color: var(--white);
}

p.text-tambi {
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 10px;
    color: var(--white);
}

p.text-schedule {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo {
    padding: 10px 0 70px 0;
    background-color: var(--black);
}

img.footer-logo {
    width: 8em;
    display: block;
    margin: auto;
    margin-bottom: 0;
}

img.footer-dieng {
    display: none;
}

a.ig-website {
    display: none;
}

section.sec-three {
    background-color: var(--blue);
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    margin-bottom: 0;
}

img.logo-dcr {
    width: 18em;
    margin-bottom: 5px;
}

section.sec-four {
    background-image: url("/images/background/BACKBWwayang.jpg");
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    margin-bottom: 0;
}

a.race-detail {
    background-color: var(--black);
    color: var(--white);
    padding: 3px;
    font-size: 14px;
    text-decoration: none;
    text-decoration: uppercase;
}

a.race-detail:hover {
    background-color: var(--yellow);
    color: var(--black);
    padding: 3px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    text-decoration: uppercase;
}
/* End Index */

/* Detail Race */
section.race-one-10 {
    background-image: url("/images/background/cat-10.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.race-one-10 .ovl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.race-one-10 .race-content {
    position: relative;
    z-index: 2;
}

section.race-one-1 {
    background-image: url("/images/background/cat-10.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.race-one-1 .ovl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* Sesuaikan transparansi sesuai kebutuhan */
    z-index: 1;
}

.race-one-1 .race-content {
    position: relative;
    z-index: 2;
}

section.race-one-25 {
    background-image: url("/images/background/SDMR8679.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.race-one-25 .ovl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Sesuaikan transparansi sesuai kebutuhan */
    z-index: 1;
}

.race-one-25 .race-content {
    position: relative;
    z-index: 2;
}

section.race-one-45 {
    background-image: url("/images/background/SDMR8865.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.race-one-45 .ovl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Sesuaikan transparansi sesuai kebutuhan */
    z-index: 1;
}

.race-one-45 .race-content {
    position: relative;
    z-index: 2;
}

section.race-one-85 {
    background-image: url("/images/background/SDMR8865.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.race-one-85 .ovl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Sesuaikan transparansi sesuai kebutuhan */
    z-index: 1;
}

.race-one-85 .race-content {
    position: relative;
    z-index: 2;
}

h2.race {
    margin-top: 40vh;
    font-weight: bold;
    text-transform: uppercase;
}

p.race-desc {
    font-size: 16px;
    color: var(--gray3);
    text-align: center;
    /* width: 28em; */
}

p.race-qualy {
    font-size: 16px;
    color: var(--yellow);
    text-align: center;
    margin-bottom: 0;
}

p.race-qualy-desc {
    font-size: 16px;
    color: var(--gray3);
    text-align: center;
}

a.btn.btn-register {
    background-color: var(--yellow);
    color: var(--black);
    font-size: 14px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding: 10px;
}

a.btn.btn-register:hover {
    background-color: var(--blue2);
    color: var(--white);
    transition: 0.3s;
    font-size: 14px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding: 10px;
}

section.race-two {
    background-color: var(--yellow);
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    /* padding: 5px; */
    margin-bottom: 0;
}

/* .row.race-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.col-md-2.race-info {
    background-color: var(--blue);
    /* margin-right: 2px; */
    /* padding: 10px; */
}

p.race-info {
    font-size: 15px;
    color: var(--white);
    text-align: center;
    margin-bottom: 0;
    padding: 10px 0;
}

/* .row.race-info > .col-md-2 {
    flex: 1;
    max-width: 19%;
} */

section.race-three {
    background-image: url("/images/background/BACKBWwayang.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 0;
    padding: 0;
}

.nav-pills .nav-item {
    flex: 1;
    text-align: center;
}

.nav-pills .nav-link {
    width: 100%;
    color: var(--black);
    font-size: 16px;
    border-radius: 0;
}

.nav-pills .nav-link.active {
    background-color: var(--yellow);
    color: var(--black);
    font-size: 16px;
    border-radius: 0;
}

.container-fluid.race-isi {
    margin-top: -20px;
    background-color: rgba(255, 255, 255, 0.8);
    height: 100%;
    color: var(--black);
}

p.text-details {
    margin-top: 50px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

p.desc-details {
    font-size: 15px;
}

img.itra-details {
    width: 8em;
}

.maps-details {
    margin-top: 20px;
}

.container.maps {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

p.text-maps {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.container.rundowsn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

p.text-rundowsn {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

p.desc-madatory {
    font-size: 15px;
    text-align: left;
}
/* End detail race */

/* navigasi footer */
.navigasi-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--black);
    padding: 10px 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.navigasi-footer img {
    width: 50px;
}
/* end navigasi footer */

.bg-running-text {
    background-color: var(--blue);
    color: var(--white);
    width: 100%;
    font-weight: bold;
    padding: 10px;
}

.running-text {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    width: 100%;
    animation: marquee 20s linear infinite;
}

.running-text span {
    display: inline-block;
    padding-right: 100%; /* Tambahkan padding di sebelah kanan untuk memberi ruang */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* destination */
.destination {
    background-color: #000;
    padding: 50px 0 0 0;
}

.destination h1 {
    font-size: 32px;
    font-weight: 900;
}

.destination-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.destination-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.destination-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.destination-wrap:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

.destination-overlay h2 {
    color: white;
    font-size: 14px;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
}

/* collaboration */
.collaboration {
    background-image: linear-gradient(
        to bottom,
        rgba(8, 103, 73, 1),
        rgba(0, 0, 0, 1)
    );
    padding: 90px 0;
}

.collaboration h1 {
    font-size: 30px;
    font-weight: 900;
}

.collaboration .logo-kanan {
    width: 230px;
}

.collaboration h2 {
    font-size: 30px;
    font-weight: 800;
}

.collaboration p {
    font-size: 13px;
    padding: 0 40px;
}

.collaboration h3 {
    font-size: 13px;
}

.collaboration a {
    text-decoration: none;
    color: #f90000 !important;
    font-weight: 600;
}

/* untuk tablet */
@media (min-width: 576px) {
    .bg-running-text {
        background-color: var(--blue);
        color: var(--white);
        width: 100%;
        font-weight: bold;
        padding: 10px;
    }

    .running-text {
        overflow: hidden;
        white-space: nowrap;
        box-sizing: border-box;
        width: 100%;
        animation: marquee 20s linear infinite;
    }

    .running-text span {
        display: inline-block;
        padding-right: 100%; /* Tambahkan padding di sebelah kanan untuk memberi ruang */
    }

    @keyframes marquee {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    p.text-tambi {
        text-align: center;
        font-size: 22px;
        text-transform: uppercase;
        font-weight: bold;
        margin-bottom: 0;
        margin-top: 20px;
        color: var(--black);
    }

    p.text-schedule {
        text-align: center;
        font-size: 20px;
        text-transform: uppercase;
        color: var(--black);
    }
    img.header-cat {
        width: 10em;
    }

    img.logo-dcr {
        width: 30em;
    }

    h1.pre-sale {
        font-size: 85px;
        font-weight: bold;
        color: var(--white);
    }

    section.sec-four {
        background-image: url("/images/background/BACKBWwayang.jpg");
        background-size: cover;
        background-position: center;
        height: 100vh;
        position: relative;
        margin-bottom: 0;
    }

    img.footer-dieng {
        display: block;
        width: 10em;
        margin-bottom: 0;
    }

    a.ig-website {
        display: block;
        color: rgb(199, 199, 199);
        font-size: 16px;
        text-decoration: none;
        text-align: right;
    }

    img.footer-logo {
        display: inline-block;
        margin: 0 auto;
    }

    .footer-logo {
        padding: 10px;
    }

    section.sec-two {
        background-image: url("/images/background/backkonturputih.jpg");
        background-size: cover;
        background-position: center;
        height: 35vh;
        position: relative;
        margin-bottom: 0;
    }

    img.header-logo {
        margin-left: 0;
    }

    .row.race-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .col-md-2.race-info {
        background-color: var(--blue);
        margin-right: 2px;
        padding: 10px;
    }

    p.race-info {
        font-size: 15px;
        color: var(--white);
        text-align: center;
        margin-bottom: 0;
        padding: 10px 0;
    }

    .row.race-info > .col-md-2 {
        flex: 1;
        max-width: 19%;
    }

    .destination h1 {
        font-size: 38px;
    }

    .destination-item {
        aspect-ratio: 4/3;
    }

    .collaboration h1 {
        font-size: 38px;
    }

    .collaboration h2 {
        font-weight: 800;
    }
}

/* untuk dekstop dan seterusnya */
@media (min-width: 768px) {
    /* body {
        background-color: green;
    } */
}
