@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
    background: #f1f1f1;
    height: 100vh;
    font-family: "Poppins", sans-serif;
}

/* header */

.tipe-berita .top {
    overflow: hidden;
    max-height: 45vh;
}

.tipe-berita .top h1 {
    /* position: absolute;
        top: 40vh; */
    text-align: center;
    color: rgba(255, 184, 0, 0.8);
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.tipe-berita .top .title {
    position: absolute;
    left: 0;
    right: 0;
    top: 64%;
    bottom: 0;
    margin: auto;
}

.tipe-berita .top hr {
    /* border-color: #FFB800CC; */
    width: 5em;
    border: 1px solid #ffb800cc;
}

.borderr {
    border-radius: 0px 0px 40px 40px !important;
}

.navbar {
    position: absolute;
    background: #2c41a4 !important;
    border-radius: 20px;
    padding: 28px 40px !important;

    font-family: "Poppins", sans-serif;
    font-size: 1vw;
    font-style: normal;
    z-index: 999999 !important;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fc0 !important;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 204, 0, 0.705) !important;
}

.navbar .submenu {
    /* margin-top: 1vh; */
    min-width: 10vw;
    background: #fc0;
    position: absolute;
    text-decoration: none;
    list-style: none;
    border-radius: 10px;
    padding: 10px 0px;
    display: none;
}
.navbar .submenu li {
    padding: 1vh 1vw;
    list-style: none;
    text-decoration: none;
    margin-bottom: 1vh;
}

.navbar .submenu li a {
    text-decoration: none;
    color: #2c41a4;
    padding-left: 5px;
}

.navbar .submenu li:hover {
    background: #2c41a4;
    cursor: pointer;
}

.navbar .submenu li:hover a {
    color: #fff;
}

.navbar .submenu li:hover > a {
    color: #fff;
}

/* HREF ACTION MENU MULTILEVEL */

.navbar li:hover > .submenu {
    display: block;
}

.navbar li:hover > a {
    color: #fc0;
}

/* Multi Level 2 */

.navbar .submenu .submenu2 {
    margin-top: -6vh;
    position: absolute;
    transform: translatex(9vw);
    min-width: 13vw;
    background: #fc0;
    border-radius: 10px;
    padding: 10px 0px;
    display: none;
}

.navbar .submenu .submenu2 li {
    padding: 1vh 1vw;
    list-style: none;
    text-decoration: none;
    margin-bottom: 1vh;
}

.navbar .submenu .submenu2 li a {
    text-decoration: none;
    color: #2c41a4;
    padding-left: 5px;
}

.navbar .submenu .submenu2 li:hover {
    background: #2c41a4;
    cursor: pointer;
}

.navbar .submenu .submenu2 li:hover > a {
    color: #fff;
}

.navbar .submenu li:hover > .submenu2 {
    display: block;
}

/* Multi Level 3 */

.navbar .submenu .submenu2 .submenu3 {
    margin-top: -8vh;
    position: absolute;
    transform: translatex(12vw);
    min-width: 10vw;
    background: #fc0;
    border-radius: 10px;
    padding: 10px 0px;
    display: none;
}

.navbar .submenu .submenu2 .submenu3 li {
    padding: 1vh 1vw;
    list-style: none;
    text-decoration: none;
    margin-bottom: 1vh;
}

.navbar .submenu .submenu2 .submenu3 li a {
    text-decoration: none;
    color: #2c41a4;
    padding-left: 5px;
}

.navbar .submenu .submenu2 .submenu3 li:hover {
    background: #2c41a4;
    cursor: pointer;
}

.navbar .submenu .submenu2 .submenu3 li:hover > a {
    color: #fff;
}

.navbar .submenu .submenu2 li:hover > .submenu3 {
    display: block;
}

.header {
    position: absolute;
    top: 0px;
    z-index: 199;
    padding: 23px 60px !important;
}

.header .atas {
    padding-bottom: 23px;
}

.header .atas a {
    color: #1b2761;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.navbar-fixed {
    position: fixed;
    top: -(10px);
}
/* Footer */

.footer {
    padding: 10px;
    background: linear-gradient(
            3deg,
            rgba(0, 28, 168, 0.903) 2.46%,
            rgba(120, 139, 232, 0.63) 97.51%
        ),
        url("../images/home/footer-hi.png");
    /* background: url("../images/home/footer.png"); */
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
}

.footer .copyright p {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.footer .copyright .link {
    text-decoration: none;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.footer h1 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.footer h5 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.footer p {
    padding-left: 10px;
    color: #d2d2d2;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.footer .logo {
    background: #fff;
    margin-right: 10px;
    width: 3vw;
    height: 3vw;
    padding: 5px;
    border-radius: 2px;
}

.footer #maps-foot {
    height: 20vh;
    border-radius: 2vh;
}

.animation .unit-animate {
    height: auto;
    animation: jalan 20s linear infinite;
    width: 4vw;
}

.animation .unit-animate-back {
    height: auto;
    animation: jalan-back 19s linear infinite;
    width: 4vw;
}
.animation .unit-animate-back-2 {
    height: auto;
    animation: jalan-back 25s linear infinite;
    width: 4vw;
}

@media only screen and (max-width: 800px) {
    .animation .unit-animate {
        width: 9vw;
        animation: jalan 16s linear infinite;
    }

    .animation .unit-animate-back {
        width: 9vw;
        animation: jalan-back 14s linear infinite;
    }
    .animation .unit-animate-back-2 {
        width: 8vw;
        animation: jalan-back 17s linear infinite;
    }
}

@keyframes jalan {
    0% {
        transform: translateX(-6vw);
    }
    100% {
        transform: translateX(100vw);
    }
}

@keyframes jalan-back {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-20vw);
    }
}

/* Pagination */

/* Pagintation */

.pagination .page-item {
    margin: 0px 0.5vw;
}
.pagination .page-item a,
.pagination .page-item span {
    border: none;
    border-radius: 50%;
    width: 3vw;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #2c41a4;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.pagination .page-item a:hover {
    color: #2c41a4;
    background: none;
    color: #ffb800;
}

.pagination .page-item.active a,
.pagination .page-item.active span {
    background: #ffb800;
}

.pagination .page-item.active a:hover {
    background: #2c41a4;
    color: #ffb800;
}

.pagination .page-item.disabled a {
    color: #aaaaaa !important;
}

footer ul {
    padding-inline-start: 5px !important;
}

footer ul li {
    list-style: none;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 10px;
    text-align: left;
}

@media only screen and (min-width: 2500px) {
    .navbar img {
        height: 60px !important;
        font-size: 40px;
    }

    .navbar .nav-item {
        font-size: 20px;
    }

    .footer .copyright p {
        font-size: 10px;
    }

    .footer .copyright .link {
        font-size: 11px;
    }

    .tipe-berita .top {
        max-height: 60vh;
    }
}

@media only screen and (min-width: 1360px) {
    .tipe-berita .top {
        overflow: hidden;
        max-height: 55vh;
    }
}

@media only screen and (max-width: 800px) {
    .footer {
        padding-top: 30px;
    }

    .header {
        padding: 5px 20px !important;
    }

    .footer .logo {
        width: 10vw;
        height: 10vw;
    }

    .footer #maps-foot {
        height: 15vh;
        border-radius: 2vh;
    }

    .navbar a {
        font-size: 16px !important;
    }

    .navbar .submenu {
        position: initial;
    }

    .navbar .submenu .submenu2 {
        margin-top: 20px;
        transform: translateX(0);
        position: initial;
    }
    .navbar .submenu .submenu2 .submenu3 {
        margin-top: 20px;
        transform: translateX(0);
        position: initial;
    }

    .pagination .page-item a,
    .pagination .page-item span {
        width: 5vw !important;
        height: 6vw !important;
        font-size: 10px !important;
    }

    .tipe-berita .top {
        overflow: hidden;
        max-height: 55vh !important;
    }

    .tipe-berita .top h1 {
        font-size: 12px !important;
    }
}
