html {
    scroll-behavior: smooth;
}

* {
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    height: 900vh;
}

*::before,
*::after {
    box-sizing: border-box;
}

.navbar {
    transition: all 400ms ease-in-out;
}

.navbar .nav-link {
    color: white !important;
}

.navbar-brand img {
    width: 160px;
    height: 40px;
}

.bg-dark {
    background: radial-gradient(circle at 4% 51.2%,
            rgb(255, 124, 0) 0%,
            rgb(255, 124, 0) 15.9%,
            rgb(255, 163, 77) 15.9%,
            rgb(255, 163, 77) 24.4%,
            rgb(11, 134, 210) 24.5%,
            rgb(12, 124, 194) 66%) !important;
}

.form-check.form-switch {
    margin-top: 9px;
    margin-left: 10px;
}

.form-check.form-switch label {
    color: white !important;
    padding: 0 3px;
}

@media (max-width: 990px) {
    .navbar .nav-link {
        text-align: center;
    }

    .form-check.form-switch {
        justify-content: center;
        align-items: center;
        display: flex;
        margin-bottom: 30px;
    }
}

/* banner */
video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100vh;
    z-index: 0;
    object-fit: cover;
    transform: translateX(-50%) translateY(-50%);
}

.banner .carousel-item {
    height: 100vh;
    min-height: 300px;
}

.banner .carousel-caption {
    bottom: 300px;
    z-index: 2;
}

.banner .carousel-caption h5 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px,
        rgb(0, 0, 0) -0.416147px 0.909297px 0px,
        rgb(0, 0, 0) -0.989992px 0.14112px 0px,
        rgb(0, 0, 0) -0.653644px -0.756802px 0px,
        rgb(0, 0, 0) 0.283662px -0.958924px 0px,
        rgb(0, 0, 0) 0.96017px -0.279415px 0px;
}

.banner .carousel-caption p {
    width: 60%;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px,
        rgb(0, 0, 0) -0.416147px 0.909297px 0px,
        rgb(0, 0, 0) -0.989992px 0.14112px 0px,
        rgb(0, 0, 0) -0.653644px -0.756802px 0px,
        rgb(0, 0, 0) 0.283662px -0.958924px 0px,
        rgb(0, 0, 0) 0.96017px -0.279415px 0px;
}

.carousel-caption a {
    text-transform: uppercase;
    text-decoration: none;
    background: #0066ff;
    padding: 5px 20px;
    display: inline-block;
    color: #fff;
    margin-top: 15px;
    border-radius: 5px;
    text-shadow: none;
}

.banner .carousel-caption a:hover {
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0) !important;
    letter-spacing: 0.4px;
    color: white !important;
    border: 2px solid #fff !important;
}

.banner .carousel-inner:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

@media only screen and (max-width: 767px) {
    .carousel-caption {
        bottom: 280px;
    }

    .banner .carousel-caption h5 {
        font-size: 2rem;
    }

    .carousel-caption a {
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

/* banner end */

/* darkmode */
body.darkmode {
    background-image: none;
    background: #0f2027;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left,
            #2c5364,
            #203a43,
            #0f2027);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left,
            #2c5364,
            #203a43,
            #0f2027);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.darkmode .bg-dark {
    background: radial-gradient(circle at 4% 51.2%,
            rgb(255, 124, 0) 0%,
            rgb(255, 124, 0) 15.9%,
            rgb(255, 163, 77) 15.9%,
            rgb(255, 163, 77) 24.4%,
            rgb(19, 30, 37) 24.5%,
            rgb(19, 30, 37) 66%) !important;
}

.darkmode .carousel-caption a {
    background-color: aqua !important;
}

.darkmode .konten .content {
    color: white;
}

.darkmode .konten .content h2 span {
    color: aqua;
}

.darkmode .konten img {
    border: 15px double aqua !important;
}

.darkmode .konten .btn:hover {
    color: aqua !important;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0) !important;
    letter-spacing: 0.4px;
    border: 2px solid aqua !important;
}

.darkmode .konten .btn {
    background-color: aqua !important;
    border: none !important;
    color: black;
}

.darkmode .konten-example h1 {
    color: aqua !important;
}

.darkmode .col {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* darkmode end */
/* kontenboard */
.konten {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.konten .content {
    margin: 20% 10% auto;
    text-align: center;
}

.konten img {
    border: 15px double #0066ff;
}

.konten .content h2 {
    padding-bottom: 5%;
}

.konten .content h2 span {
    color: blue;
}

.konten .btn {
    background: #0066ff !important;
    color: white;
    display: flex;
}

.tombol {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.konten .btn:hover {
    color: #0066ff !important;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0) !important;
    letter-spacing: 0.4px;
    border: 2px solid #0066ff !important;
}

@media (max-width: 1200px) {
    .konten .content p {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .konten .content p {
        font-size: 1em;
        text-align: center;
    }

    .konten .content {
        margin: 0;
        padding-top: 20px;
    }
}

@media (max-width: 440px) {
    .konten .content p {
        font-size: 14px;
        font-weight: 300;
    }

    .konten .content h2 {
        font-size: 20px;
    }

    .content .w-100 {
        padding: 0;
        margin: 0;
    }
}

.col {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 2%;
    transition: ease-in-out 400ms;
}

.col:hover {
    transform: scale(1.1);
}

.konten-example h1 {
    color: #0066ff;
}

/* surfboard end */