/* Font Google */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global start */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'sans-serif';
    font-style: normal;
    color: #747e74;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
    display: inline-block;
}

.navbar-brand .image {
    max-width: 150px;
    max-height: 50px;
}

h1 {
    font-family: 'Poppins', 'sans-serif';
    font-weight: 700;
    color: #38424d;
}

span {
    display: contents;
    color: limegreen;
}

p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #747e74;
}

/* Global end */

/* All animation start */

@keyframes video {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}


@keyframes bounceTop-1 {

    0%,
    100% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0px);
    }
}

@keyframes animation-home-shape-1 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* All animation end */

/* All button start */

.login-btn {
    display: inline-block;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 55px;
    border: 2px solid gold;
    border-radius: 5px;
    background-color: yellow;
    color: #38424d;
}

.login-btn:hover {
    background-color: rgba(253, 255, 108, 0.966);
    color: #38424d;
    text-shadow: 2px 2px white;
    border-color: transparent;
}

/* All button end */

/* Navbar start */

.navbar-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.sticky {
    position: fixed;
    background-color: #fff;
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.5);
    /* untuk menurunkan button img corousel galery */
    z-index: 3;
}

.navbar {
    position: relative;
    padding: 20px 0;
}

.navbar-nav .nav-item {
    position: relative;
    margin-left: 40px;
}

.navbar-nav .nav-item .nav-link {
    position: relative;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 400;
    color: #38424d;
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link:hover {
    color: maroon;
}


/* style titik di bawah nav-item (default = hilang) */
.navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    bottom: 0;
    left: 50%;
    border-radius: 50%;
    background-color: #38424d;
    opacity: 0;
    transition: all .3 ease-out 0s;
}

/* style titik di bawah nav-item (diarahkan & active = muncul) */
.navbar-nav .nav-item .nav-link.active::before,
.navbar-nav .nav-item .nav-link:hover::before {
    opacity: 1;
}

/* Navbar end */

/* Home start */

.header-home .home-shape {
    position: absolute;
}

.header-home .home-shape.shape-1 {
    position: relative;
    width: 75px;
    height: 75px;
    left: 6px;
    top: 10px;
    border-radius: 50%;
    background: #E6E6FA;
    animation: animation-home-shape-1 2s linear infinite;
}

.header-home .home-shape.shape-2 {
    width: 20px;
    height: 20px;
    left: 26px;
    bottom: 25%;
    border-radius: 50%;
    background: limegreen;
    animation: animation-home-shape-1 2s linear infinite;
}

.header-home .home-shape.shape-3 {
    width: 40px;
    height: 40px;
    left: 40%;
    top: 140px;
    border-radius: 50%;
    background: #4ebaf5;
    animation: animation-home-shape-1 2s linear infinite;
}

.header-home .home-shape.shape-4 {
    width: 15px;
    height: 15px;
    left: 45%;
    bottom: 70%;
    border-radius: 50%;
    background: #ff846f;
    animation: animation-home-shape-1 2s linear infinite;
}

.header-shape-corner-1 {
    /* position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; */
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.header-shape-corner-2 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.header-home {
    position: relative;
    top: 0;
    background-position: bottom center;
}

.header-home-content {
    position: relative;
}

.header-home-content .header-home-title {
    font-size: 42px;
    color: #38424d;
}

.header-home-content .text {
    margin-top: 30px;
}

.header-home-content ul {
    margin-top: 15px;
}

/* .header-home-content ul li .header-home-video {
    margin-left: 50px;
}

.header-home-content .header-home-video {
    position: relative;
    margin-top: 6px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    border-radius: 50%;
    background-color: yellow;
    color: #38424d;
}

.header-home-content .header-home-video::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: rgb(255, 255, 0);
    z-index: -9;
    animation: video 2s linear infinite;
} */

.header-home-image {
    position: relative;
    padding-top: 30px;
    animation: bounceTop-1 3s ease infinite;
}

/* Home end */

/* Rekap start */

.header-rekap {
    position: relative;
    top: 0;
    background-position: bottom center;
}

.header-rekap h1 {
    margin-bottom: 30px;
}

.table-area {
    margin-top: 10%;
}

.card-table {
    padding: 20px 20px 5px 20px;
    background: rgba(24, 24, 16, .2);
    border-radius: 2em;
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.05);
    background-clip: padding-box;
    box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
    margin-bottom: 20px;
}

.card-table .text {
    font-size: 20px;
    color: white;
    /* text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; */
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px black;
}

/* top-left border-radius */
table tr:first-child th:first-child {
    border-top-left-radius: 1rem !important;
}

/* top-right border-radius */
table tr:first-child th:last-child {
    border-top-right-radius: 1rem !important;
}

/* bottom-left border-radius */
table tr:last-child td:first-child {
    border-bottom-left-radius: 1rem !important;
}

/* bottom-right border-radius */
table tr:last-child td:last-child {
    border-bottom-right-radius: 1rem !important;
}

.tidak_baik {
    background-color: red;
    border-radius: 20px;
    text-align: center;
    color: white;
    min-width: 102px;
}

.kurang_baik {
    background-color: orange;
    border-radius: 20px;
    text-align: center;
    min-width: 102px;
}

.cukup_baik {
    background-color: yellow;
    border-radius: 20px;
    text-align: center;
    min-width: 102px;
}

.baik {
    background-color: yellowgreen;
    border-radius: 20px;
    text-align: center;
    min-width: 102px;
}

.sangat_baik {
    background-color: green;
    border-radius: 20px;
    text-align: center;
    color: white;
    min-width: 102px;
}

/* Rekap end */

/* Galery start */
.header-galery {
    position: relative;
    margin-top: 7%;
}

.header-galery h1 {
    margin-top: 20px;
    margin-bottom: 30px;
}

#myCarousel {
    margin-top: 30px;
    margin-bottom: 20px;
}

.card {
    margin-left: 10px;
}

.card-img-top {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

/* Galery end */

/* Footer start */
.footer-copyright .copyright {
    margin-top: 40px;
    border-top: 2px solid #747e88;
    padding-top: 10px;
    padding-bottom: 25px;
}

.footer-copyright .copyright .copyright-text .text a {
    color: #747e88;
}

/* Footer end */


/* Responsive Blade */
@media screen and (max-width: 990px) {
    .navbar-collapse {
        background: #ffff !important;
    }

    .navbar-nav .nav-item .nav-link.active::before,
    .navbar-nav .nav-item .nav-link:hover::before,
    .navbar-nav .nav-item .nav-link::before {
        opacity: 0;
    }

    .navbar-nav .nav-item .nav-link.active,
    .navbar-nav .nav-item .nav-link:hover {
        color: maroon;
    }

    .header-home-content {
        margin-top: 10%;
    }

    .header-galery h1 {
        margin-top: 10%;
    }

    .slider {
        z-index: -1;
    }

    .table-area {
        margin-top: 25%;
    }

    .header-home-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }

    .header-galery h1 {
        margin-top: 20%;
    }

    #myCarousel {
        /* margin-top: 20%; */
        margin-bottom: 20px;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }
}