@font-face {
    font-family: 'Montserrat';
    src: url(font/Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Inter';
    src: url(font/Inter-Regular.ttf);
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.my-custom-font {
    font-family: "Poppins", sans-serif;
}

.swal2-popup {
    font-family: "Poppins", sans-serif;
}

.my-custom-font {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-title {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-content {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-confirm {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-deny {
    font-family: 'Poppins', sans-serif !important;
}

.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.toggler-icon {
    width: 20px;
    height: 3px;
    background-color: #777777;
    display: block;
    transition: all 0.2s;
}

.middle-bar {
    margin: 2px auto;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .toggler-icon {
    background-color: #777777;
}

.titel-gede {
    font-family: 'Montserrat';
    font-weight: bolder;
    padding-bottom: 0;
    line-height: 0.8;
    margin-top: 10px;
}

.titel-kecil {
    font-family: 'Montserrat';
    font-weight: light;
    font-size: 15px;
}

.nav-item {
    padding-left: 10px;
    padding-right: 10px;
}

.nav-RentNow {
    background-color: black;
    color: white;
    transition: background-color .3s;
}

.nav-RentNow:hover {
    background-color: white;
    color: black;
}

.nav-HowTo {
    display: inline-block;
}

.navbar-toggler::after {
    content: "";
    position: fixed;
    top: 50px;
    /* Awal dari margin-top 50px */
    left: 0;
    width: 100%;
    height: calc(100%);
    /* Sesuaikan tinggi sesuai margin-top akhir */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: top 0.3s, opacity 0.3s, visibility 0.3s;
    z-index: -1;
    /* Posisikan di belakang tombol */
}

.navbar-toggler:not(.collapsed)::after {
    top: 204px;
    /* Akhir dari margin-top 204px */
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    animation: slideDown 0.35s forwards;
}

@keyframes slideDown {
    0% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 204px;
        opacity: 1;
    }
}

.img-fluid {
    width: 700px;
}

.coba-rent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Montserrat;
    font-size: 30px;
}

/*HEADER 1*/

.header1 {
    background: rgb(252, 239, 165);
    background: linear-gradient(0deg, #d9985c 0%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 350px;
    border-radius: 40px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.container-judul {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-top: 110px;
    display: flex;
    flex-direction: column;
}

.container-kalimat {
    display: flex;
}


@media screen and (max-width: 414px) {
    .container-kalimat {
        margin-left: 60px;
        margin-right: 60px;
    }
}

@media screen and (min-width: 414px) {
    .container-kalimat {
        margin-left: 60px;
        margin-right: 60px;
    }
}

@media screen and (min-width: 768px) {
    .container-kalimat {
        margin-left: 30%;
        margin-right: 30%;
    }

}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0px;
}

.btn-rentnow {
    z-index: 1;
    border: none;
    margin-top: 5%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: black;
    color: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    transition: color .3s ease-in-out, background-color .2s ease-in-out, transform .1s;
}

.btn-rentnow:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    transform: scale(1.1);
}

.btn-BacaKetentuan {
    z-index: 1;
    border: none;
    background-color: transparent;
    transition: color .2s;
    font-size: 16px;
    cursor: pointer;
}

.btn-BacaKetentuan:hover {
    color: white;
}

.swal2-popup {
    border-radius: 20px !important;
}


.swal2-confirm, .swal2-deny {
    border-radius: 20px !important;
}

.my-confirm-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
}

.my-deny-button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
}

.my-confirm-button:hover {
    background-color: #45a049;
}

.my-deny-button:hover {
    background-color: #e57373;
}

h2#swal2-title {
    font-family: 'Montserrat';
}

div#swal2-html-container {
    font-family: 'Montserrat';
}

@media screen and (max-width: 414px) {
    div#swal2-html-container {
        font-family: 'Montserrat';
        font-size: 14px;
    }
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.178);
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

/* ---------- HEADER 2 ---------- */

.header2 {
    font-family: 'Montserrat';
    display: flex;
    margin-top: 80px;
    margin-bottom: 60px;
    margin-left: 50px;
    margin-right: 50px;
}

.header2>div {
    flex: 1;
}

.gambar1 {
    width: 50px;
    margin-bottom: 35px;
}

.gambar2 {
    width: 50px;
    margin-bottom: 35px;
}

.gambar3 {
    width: 50px;
    margin-bottom: 35px;
}

.kotak1,
.kotak2,
.kotak3 {
    display: flex;
    justify-content: center;
    padding: 20px;
    flex: 1;
    flex-direction: column;
}

@media screen and (max-width: 615px) {
    .header2 {
        flex-direction: column;
        margin-top: 40px;
        margin-bottom: 20px;
        margin-left: 40px;
        margin-right: 40px;
    }

    .gambar1 {
        margin-bottom: 50px;
    }
}

/* ---------- HEADER 3 ---------- */

.header3 {
    font-family: 'Poppins';
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2)
}

.bg-copyright {
    background-color: #f4f4f4;
    width: auto;
    height: 250px;
}

.hubungi {
    padding-left: 50px;
    padding-top: 30px;
}

.img-sosmed {
    padding-left: 80px;
    padding-top: 25px;
    color: black;
}

.email img,
.wa img,
.channel img,
.github img {
    width: 35px;
    padding-right: 10px;
}

.teks-copyright {
    padding-left: 50px;
    padding-top: 40px;
}

@media screen and (max-width: 615px) {
    .hubungi {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0px;
        padding-top: 30px;
    }

    .bg-copyright {
        background-color: #f4f4f4;
        width: auto;
        height: 290px;
    }

    .img-sosmed {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 25px;
        color: black;
        padding-left: 0px;
    }

    .email img,
    .wa img,
    .github img,
    .channel img {
        width: 35px;
        padding-right: 10px;
    }

    .teks-copyright {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 40px;
    }
}