:root {
    --color-main: #2c93ec;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

.gap-5r {
    grid-gap: 5rem;
}

.gap-8r {
    grid-gap: 8rem;
}

.main-home {
    padding-top: 10rem;
    margin-bottom: 3rem;
}

.homesection {
    padding: 80px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapheader {
    position: fixed;
    box-shadow: 0 8px 32px #00596229;
    background: #fff;
    width: 100%;
    z-index: 99;
    background-image: url("/images/bg-head.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kurs-box {
    font-size: 13px;
}

.color-main {
    color: var(--color-main);
}

.right-head {
    height: 100%;
    width: 20%;
}
.left-head {
    width: 75%;
}

.right-head {
    width: 20%;
    height: 100%;
}

.kurs-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -1rem;
}

.kurs-card {
    background-color: #0e7490;
    color: white;
    padding: 0.5rem;
    border-radius: 0 0 2rem 2rem;
    width: 100%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    height: 161px;
}

.kurs-date {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.kurs-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    width: 100%;
    font-weight: 600;
    height: 37%;
}

.kurs-box:nth-of-type(2) {
    background-color: #2d8daa;
    color: white;
}

.kurs-box:last-of-type {
    background-color: white;
    color: #155e75; /* cyan-700 */
}

.kurs-box strong {
    font-weight: bold;
    font-size: 1.1rem;
}

.kurs-box strong small {
    font-size: 0.75rem;
    vertical-align: super;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mt-4-important {
    margin-top: 16px !important;
}

.logo-search {
    grid-gap: 5rem;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

#default-carousel .text-carousel {
    margin: 2%;
    width: 96%;
    border-radius: 6px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#default-carousel .arrow-right {
    margin-right: -1rem;
}
#default-carousel .arrow-left {
    margin-left: -1rem;
}

.wisata-circle {
    margin-top: -8rem !important;
}

.image-place {
    margin-top: 5rem !important;
    margin-bottom: 3rem !important;
}

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

.mt-40-important {
    margin-top: 10rem !important;
}

.wisata-circle .wisata-item:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
}
.wisata-circle .wisata-item:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
}
.wisata-circle .wisata-item:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
}
.wisata-circle .wisata-item:nth-child(4) {
    position: absolute;
    bottom: 0;
    right: 0;
}

.ring-16 {
    border: 16px solid rgb(232, 240, 255);
}

.after-gradient:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.7) 90%
    );
    pointer-events: none;
}

@media (max-width: 768px) {
    .wisata-container {
        display: flex;
        flex-direction: column;
    }

    .image-place {
        order: 2;
        margin-top: 1rem !important;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
    }

    .wisata-circle {
        order: 1;
        margin: 0 !important;
    }

    .wisata-circle .wisata-item {
        position: relative !important;
        flex-direction: row !important;
        width: 100%;
        grid-gap: 2rem;
        margin-bottom: 0;
    }
    .wisata-content {
        text-align: start;
        margin-top: -0.5rem;
    }

    .wisata-container .mt-40-important {
        order: 3;
        margin-top: 0 !important;
    }

    #places-container {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }

    .kegiatan {
        margin-bottom: 2rem !important;
    }

    .space-y-8 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .agenda-swiper {
        margin-top: 1rem;
    }

    .homesection {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .main-home {
        padding-top: 12rem;
        padding-bottom: 40px;
    }

    .left-head {
        width: 50%;
    }
    .right-head {
        width: 45%;
    }

    header .container {
        flex-wrap: wrap;
    }
    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .kurs-card {
        height: auto;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .kurs-box {
        font-size: 8px;
        padding: 0.2rem 1rem;
    }

    .kurs-box strong {
        font-size: 14px;
    }

    .kurs-date {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .kurs-wrap {
        margin-bottom: 1rem;
    }

    .logo-search {
        display: flex;
        flex-wrap: wrap;
        grid-gap: 0.3rem;
    }

    .logo-search div.relative {
        width: 100%;
    }
}
