@font-face {
    font-family: 'Gotham';
    src: url('assets/FONT/Gotham-Rounded-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Righteous';
    src: url('assets/FONT/Righteous-Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Metropolis', sans-serif;
    /* outline: 1px solid red; */
}

.bg-head {
    min-height: 100vh;
    background-image: url('assets/bg_elemen_0.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .sidebar {
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }
    
    .sidebar .nav {
        list-style: none;
        padding: 0;
    }
    
    .sidebar .nav-item {
        padding: 16px;
    }
    
    .sidebar .nav-link, .btn-lomba {
        color: black;
        text-decoration: none;
        font-size: 18px;
        display: block;
        transition: 0.3s;
    }
    
    .sidebar .nav-link:hover, .btn-lomba:hover {
        color: #f1f1f1;
    }
    
    /* The overlay effect when the sidebar is shown */
    .sidebar.active {
        width: 300px; /* Sidebar width when visible */
        background-color: white; /* Semi-transparent black background */
    }
    
    /* Toggle button styling */
    .menu-toggle {
        font-size: 30px;
        cursor: pointer;
    }
    
    /* Overlay effect to disable background scrolling */
    body.overlay-active {
        overflow: hidden;
    }

    .menu-toggle {
        display: block;
        padding: 10px;
        cursor: pointer;
    }

    .logo_iik img {
        width: 20%; /* Smaller logos for mobile */
        max-width: 70px; /* Reduce the max width on small screens */
    }

    .desktopNav {
        padding-top: 2vh;
        overflow-x: hidden;
    }

    .thumb2 {
        order: -1; /* Move thumb2 to the top */
    }
    .thumb1 {
        order: 1; /* Move thumb1 below */
    }

    .img_price1 {
        width: 70%;
    }
    
    .img_price2 {
        width: 100%;
    }

    .bg-subhead {
        background-image: url('assets/m_bgweb1.jpg');
        min-height: 40vh;
        margin-top: -5%;
    }

    .bg_sub1 {
        margin-top: -30%;
        width: 100%;
        height: 100%;
    }

    .bg_sub3 {
        z-index: 2;
        right: 0;
        position: absolute;
        bottom: 0;
        top: 137%;
    }

    .slider img {
        max-height: 15vh;
        margin: 0 -10px;
    }

    .prev, .next {
        top: 107%;
    }

    .lbl_b {
        font-size: 2.5vw;
    }

    .lbl_a {
        font-size: 5.5vw;
    }

    .bg-subcard {
        background-position: 5vh 5vh;
        padding: 4vh;
    }

    .title_footer {
        font-size: 37px;
    }

    .bg-subfooter {
        background-size: 700%;
        padding: 1vh;
        margin-bottom: 10%;
    }

    .col_subfooter {
        align-items: start;
        padding-left: 10%;
    }

    .frame-wrapper {
        width: 75%;
    }

    .frame_vid {
        margin-bottom: 10%;
        margin-left: 15%;
        z-index: 3;
        position: relative;
    }

    .video_trailer {
        width: 68%;
        /* position: absolute; */
        margin-top: -50%;
        margin-left: 12%;
        /* z-index: 4; */
    }

    .banner1, .banner2, .banner3 {
        width: calc(40vh + 10vw);
        margin-bottom: 5%;
        max-width: 100%;
    }

    .banner1 {
        content: url("assets/m_banner1.png");
    }
    .banner2 {
        content: url("assets/m_banner2.png");
    }
    .banner3 {
        content: url("assets/m_banner3.png");
    }

    .lst_cp {
        justify-content: center;
    }

    .center_logo {
        margin-left: -70%;
    }

    .slider-wrapper {
        width: 83%;
        overflow: hidden;
        margin-left: 8%;
    }

    .bg-footer {
        background-image: url('assets/m_bgweb2.jpg');
    }

    .nav-link:hover {
        text-decoration: none;
        background: linear-gradient(45deg, #4B0082, #f6842d);
        border-radius: 15px;
        border: none;
        color: white;
        padding: 5px;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .bg-head {
        background-size: cover;
    }

    .desktopNav {
        padding-top: 5vh;
    }

    .img_price1 {
        width: 50%;
    }
    
    .img_price2 {
        width: 80%;
    }

    .bg-subhead {
        background-image: url('assets/bg_elemen1.jpg');
        min-height: 100vh;
        margin-top: 5%;
    }

    .bg_sub1 {
        margin-top: -35%;
        width: 100%;
    }

    .bg_sub3 {
        z-index: 2;
        position: absolute;
        margin-top: 2%;
        margin-right: -75%;
    }

    .slider img {
        margin: 0 -20px;
        max-height: 30vh;
    }

    .prev, .next {
        top: 118%;
    }

    .lbl_b {
        font-size: 1.2vw;
    }

    .lbl_a {
        font-size: 2.5vw;
    }

    .bg-subcard {
        background-position: 10vh 25vh;
        padding: 10vh 25vh 5vh;
    }

    .title_footer {
        font-size: 40px;
    }

    .bg-subfooter {
        background-size: 120%;
        padding: 20vh;
    }

    .col_subfooter {
        align-items: center;
    }

    .title_sponsor {
        margin-left: -8vw;
    }

    .footer_logo {
        text-align: right;
        margin-top: -30px;
    }

    .footer_label {
        text-align: left;
        padding: 50px;
    }

    .footer_side {
        border-left: 3px solid grey;
        padding-left: 10px;
    }

    .frame-wrapper {
        width: 35%;
    }

    .frame_vid {
        margin-left: 90%;
    }

    .video_trailer {
        width: 33%;
        /* position: absolute; */
        margin-top: -21%;
        margin-left: 32%;
        /* z-index: 4; */
        /* height: 40%; */
    }

    .banner1, .banner2, .banner3 {
        width: 100%;
        margin-bottom: 2%;
    }

    .bordered-col {
        border-right: 2px solid #FFF;
        /* Border color and width */
        padding: 10px;
        /* Padding inside the column */
        box-sizing: border-box;
        /* Ensure padding and border are included in the column width */
    }

    .slider-wrapper {
        width: 94%;
        overflow: hidden;
        margin-left: 3%;
    }

    .bg-footer {
        background-image: url('assets/bg_elemen_4.svg');
    }
}

.video_trailer {
        position: absolute;
        z-index: 4;
    }

.menu-toggle {
    margin-left: auto; /* Align the menu button to the right */
}

.logo_iik {
    border-radius: 10px;
    background-color: white;
    padding: 10px;
}

.logo_iik img {
    width: 30%; /* You can adjust this percentage to fit your layout */
    max-width: 90px; /* Set a maximum width for larger screens */
    height: auto; /* Maintain aspect ratio */
}

.thumb_head {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 5%;
}

.img_thumb1 {
    max-width: 95%;
}

.img_thumb2 {
    width: 80%;
}

.bg-subhead {
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15%;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    z-index: 3;
    margin-top: -15%;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    max-width: 100%;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 2rem;
    margin-top: 2%;
}

.prev {
    left: -10px;
}

.next {
    right: -10px;
}

.lbl_a {
    font-weight: bold;
    /* z-index: 1; */
    background: linear-gradient(45deg, #f6842d, #ffb60a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: 'Gotham';
}

.lbl_b {
    font-weight: bold;
    z-index: 1;
    color: white;
    font-style: italic;
    text-align: center;
    margin-top: 1%;
}

/* .frame-wrapper {
    width: 35%;
} */

.frame_vid {
    width: 100%;
    /* margin-left: 90%; */
    /* Align properly on the right */
    margin-top: 10%;
}

.bg-subcard {
    background-image: url(assets/bg_elemen3.svg);
    background-size: 40% 40%;
    background-repeat: no-repeat;
    min-height: 200vh;
}

.front_img {
    z-index: 2;
    position: relative;
}

.space_grp_card {
    margin-top: 20px;
    margin-left: 20px;
}

.card_custom {
    border-radius: 20px;
    padding: 10px;
}

.font_lomba {
    font-family: 'Righteous';
}

.card_custom:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.judul {
    font-size: 16px;
    font-weight: bold;
}

.isi {
    font-size: 16px;
}

.image-with-line {
    display: flex;
    align-items: top;
    margin-top: 20px;
    /* Align the line and image vertically */
}

.image-with-line::before {
    content: "";
    flex-grow: 1;
    /* Make the line take up the remaining space */
    height: 2px;
    /* Height of the line */
    background-color: #000;
    /* Color of the line */
    margin-right: 10px;
    /* Space between the line and image */
}

.foot_card {
    display: flex;
    flex-direction: column;
    align-items: top;
    text-align: left;
}

.btn_card {
    border-radius: 10px;
    border: 1px solid grey;
    padding: 5px 10px;
    justify-content: center;
    background-color: transparent;
    color: gray;
    width: max-content;
}

.btn_card:hover {
    background: linear-gradient(45deg, #4B0082, #f6842d);
    color: white;
}

.bg-footer {
    min-height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    clear: both;
}

.bg-subfooter {
    min-height: 40vh;
    background-image: url(assets/bg_footer.jpg);
    background-repeat: no-repeat;
    background-position: left -0px;
    clear: both;
    
}

.footer {
    background-color: rgb(43, 43, 43);
    min-height: 30vh;
    padding: 5vh;

    border-top: 10px solid;
    border-image: linear-gradient(to right, #4B0082, #f6842d) 1;
}

.container_footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4vh;
}

.title_footer {
    background: linear-gradient(45deg, #f6842d, #ffb60a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Gotham';
}

.logo_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;

}

.grid_footer,
.col_subfooter {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grp_open_house {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.underline_text {
    border-bottom: 1px solid black;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.lst_cp {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    /* Set the same font size */
    color: white;
    /* Set the same color */
}

.lst_cp img {
    margin-right: 10px;
    /* Add space between the icon and text */
}

.lst_cp a,
.lst_cp span {
    font-size: inherit;
    /* Inherit font size from .lst_cp */
    color: inherit;
    /* Inherit color from .lst_cp */
    text-decoration: none;
    /* Remove underline from link */
}

.lst_cp a:hover {
    text-decoration: underline;
    /* Optional hover effect for the link */
}

.footer_text {
    background: linear-gradient(45deg, #f6842d, #4B0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Gotham';
    font-size: 36px;
}

.btn-lomba {
    padding: 8px;
    background: linear-gradient(45deg, #4B0082, #f6842d);
    border-radius: 15px;
    border: none;
    color: white;
}

.link_custom {
    color: black;
    text-decoration: none;
    margin-top: 10px;
    padding: 0 10px;
}

.link_custom:hover {
    text-decoration: none;
    background: linear-gradient(45deg, #4B0082, #f6842d);
    border-radius: 15px;
    border: none;
    color: white;
    padding: 5px;
}

.footer_act {
    background-color: transparent;
    border-top: none;
    align-items: center;
    display: flex;
    justify-content: center;
}
