/* Initial Root Element */
@font-face {
    font-family: helvetica;
    src: url("../../fonts/FreeSans.otf"); /* IE9 Compat Modes */
    src: url("../../fonts/FreeSans.otf") format("embedded-opentype"), /* IE6-IE8 */
         url("../../fonts/FreeSans.otf") format("woff"), /* Modern Browsers */
         url("../../fonts/FreeSans.otf") format("truetype"), /* Safari, Android, iOS */
         url("../../fonts/FreeSans.otf") format("svg"); /* Legacy iOS */
}

/* Base Root Element 10px => 1rem = 10px */
/* Ukuran Web 2/3 dari ukurang di Figma */
body, html {
    width: 100%;
    font-size: calc(2/3 * 10px);
    font-family: helvetica;
    /* overflow-x: hidden; */
    /* overflow-y: initial; */
    scroll-behavior: smooth;
}

.fade {
    transition-duration: 0.5s;
  }

@media screen and (max-width: 450px) {
    body, html {
        font-size: 3.5;
    }
}

/* Template */
    /* Navbar */
    .navbar {
        min-height: 18.5rem;
        z-index: 999;
    }
    a.navbar-brand #navbar-brand-spbe {
        font-size: 2rem;
        font-weight: 700;
        white-space: pre-line
    }
    a.navbar-brand {
        font-size: 3rem;
        font-weight: 700;
    }
    #navbar-logo {
        width: 6.1rem;
        height: 8rem;
        margin-right: 1rem;
    }
    #navbar-icon {
        width: 33px;
        height: 33px;
        background: red;
        border-radius: 5px;
        padding: 2px;
    }
    .navbar-border {
        border-bottom: 3px solid red;
    }
    .nav-item {
        margin: 0 2px;
        width: 75px;
    }
    .nav-link {
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }
    @media screen and (max-width: 450px) {
        #navbar .container {
            padding: 20 20px 15px 20px;
        }
        .nav-link {
            font-size: 3.5rem;
        }
        .navbar-toggler {
            background: red;
            color: #fff;
            padding: 5px 5px;
            margin: 0;
            width: 30px;
            height: 30px;
            border-radius: 3px;
        }
        .navbar-toggler-icon {
            width: 4em;
            height: 4em;
        }
    }

    .navbar .megamenu { 
        padding: 0rem 0rem 0 15rem; 
        border: none;
        box-shadow: 4px 4px 4px rgb(0 0 0 / 25%);
    }
    .megamenu li {
        margin: 0.5rem 0;
    }
    .navbar-header-icon {
        width: 5rem;
        height: 5rem;
        margin: 0rem 0rem 5rem 0rem;
        filter: invert(12%) sepia(91%) saturate(7163%) hue-rotate(344deg) brightness(104%) contrast(105%);
    }
    .navbar-header-text {
        font-size: 3.5rem;
        font-weight: 700;
        margin: 0rem 2rem 5rem 2rem;
        text-decoration: none;
        color: #111;
        transition: .3s;
    }
    .navbar-header-text:hover {
        color: #EA1E37;
        transition: .3s;
    }
    .navbar-child-header-1 {
        border-bottom: 3px solid red;
        width: 90%;
    }
    .navbar-child-header-1 p {
        font-size: 2.5rem;
        font-weight: 600;
    }
    .navbar-child-link {
        font-size: 2rem;
        color: #111;
        text-decoration: none;
        transition: .3s;
    }
    .navbar-child-link:hover {
        color: #EA1E37;
        transition: .3s;
    }

    /* ============ desktop view ============ */
    @media all and (min-width: 992px) {
        
        .navbar .has-megamenu{
            position: static !important;
        }
        .navbar .megamenu{
            left:0; 
            right:0; 
            width:100%; 
            margin-top:0; 
        }
        
    }

    @media screen and (min-width: 1200px) {


    }
    /* End Navbar */

    /* SPBE */ 
    #main-spbe {
        background: url("../../images/jumbotron_spbe_1.png"), url("../../images/jumbotron_spbe_2.png");
        width: 100%;
        height: 40rem;
        background-repeat: no-repeat;
        background-size: cover;
        object-fit: cover;
        background-position: right;
    }
    .main-spbe-title {
        font-weight: 700;
        font-size: 3.2rem;
    }
    .main-spbe-desc {
        font-size: 2rem;
    }
    .main-spbe-ikuti {
        font-size: 2rem;
        font-weight: 700;
    }
    .main-spbe-icon a {
        text-decoration: none;
        color: #111;
    }
    .sosmed-icon {
        transition: .3s;
    }
    .sosmed-icon:hover img {
        transition: .3s;
        color: #EA1E37;
        filter: invert(12%) sepia(91%) saturate(7163%) hue-rotate(344deg) brightness(104%) contrast(105%);
    }
    @media screen and (max-width: 450px) {
        #main-spbe {
            background: url("../../images/jumbotron_spbe_mobile.png");
            width: 100%;
            height: 120rem;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: bottom;
        }
        #main-spbe .container {
            padding: 15rem 5rem;
        }
        .main-spbe-title {
            font-weight: 700;
            font-size: 5rem;
        }
        .main-spbe-desc {
            font-size: 3.5rem;
        }
        .main-spbe-ikuti {
            font-size: 4rem;
            font-weight: 700;
        }
        .main-spbe-icon a {
            text-decoration: none;
            color: #111;
        }
        .main-spbe-icon a img {
            transform: scale(1.5);
        }
    }
    /* SPBE */

    /* Footer */
    .footer {
        padding: 10rem 0 3.5rem 0;
    }
    .footer-header-1, .footer-header-2, .footer-header-3 {
        font-size: 2.4rem;
        font-weight: 700;
        border-bottom: 3px solid #EA1E37;
    }
    .footer-body-1 ul li, .footer-body-2 ul li {
        list-style: none;
    }
    .footer-body-1 ul li a, .footer-body-2 ul li a, .footer-body-3 ul li p {
        text-decoration: none;
        font-size: 1.8rem;
        color: #111;
    }
    .footer-image {
        margin-top: 5rem;
    }
    #footer-image-1 {
        width: 5.7rem;
        height: 5.7rem;
    }
    #footer-image-2 {
        width: 27rem;
        height: 5.3rem;
    }
    #footer-desc {
        font-size: 2rem;
        font-weight: 700;
    }
    .footer-link {
        transition: .3s;
    }
    .footer-link a:hover {
        transition: .3s;
        color: #EA1E37;
    }
    .statistik {
        padding: 2rem 10rem;
        background: #F1F1F1;
        border-radius: 5px;
    }
    .statistik .row:first-child {
        border-bottom: 3px solid red;
    }
    .statistik-judul {
        font-size: 2.5rem;
        font-weight: 700;
    }
    .statistik-text {
        font-size: 2rem;
        font-weight: 700;
    }
    .statistik-data {
        font-size: 2rem;
        font-weight: 700;
    }
    @media screen and (max-width: 450px) {
        .footer {
            padding: 5rem 5rem 0 5rem;
        }
        .footer-header-1, .footer-header-2, .footer-header-3 {
            font-size: 4rem;
            margin: 5rem 0;
        }
        .footer-body-1 ul li a, .footer-body-2 ul li a, .footer-body-3 ul li p {
            font-size: 3rem;
        }
        .footer-image {
            margin: 20rem 0;
        }
        #footer-image-1 {
            width: 10rem;
            height: 10rem;
        }
        #footer-image-2 {
            width: 50rem;
            height: 10rem;
        }
        #footer-desc {
            font-size: 3rem;
        }
        .statistik-judul {
            font-size: 3.5rem;
            font-weight: 700;
        }
        .statistik-text {
            font-size: 3rem;
            font-weight: 700;
        }
        .statistik-data {
            font-size: 3rem;
            font-weight: 700;
        }
    }
    /* End Footer */
/* End Template */

/* Scroll to top */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll {
    width: 7rem;
    height: 7rem;
    position: sticky;
    left: 89%;
    bottom: 70px;
    background: #EA1E37;
    box-shadow: 4px 4px 25px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: .5s;
    animation: fade-in-up 0.5s ease-out;
}

@media screen and (max-width: 450px) {
    .scroll {
        width: 7rem;
        height: 7rem;
    }
    #scroll-arrow {
        width: 25%;
    }
}

/* End Scroll to top */

/* Sumber Infomasi */
#title-sumber-informasi {
    margin: 40px 30px 20px 105px;
    font-size: 28px;
    color: #000000;
    font-weight: 700;
}

#container-sumber-informasi {
    margin: 20px 20px 20px 105px;
}

#container-sumber-informasi img {
    width: 85%;
}

@media (min-width: 320px) and (max-width: 480px) {
  
    #title-sumber-informasi {
        margin: 15px;
        font-size: 16px;
    }

    #container-sumber-informasi {
        margin: 15px 15px 0 15px;
    }
    
}

/* End Sumber Informasi */

@media (min-width: 768px) and (max-width: 1024px) {
  
    body, html {
        width: 100%;
        font-size: 6px;
    }

    #title-sumber-informasi {
        margin: 20px 20px 0px 45px;
        font-size: 18px;
    }

    #container-sumber-informasi {
        margin: 20px 20px 0px 45px;
    }

    .navbar .has-megamenu{
        position: static !important;
    }

    .navbar {
        display: flex;
        justify-content: center;
    }

    .navbar .megamenu{
        left:0; 
        right:0; 
        width:100%; 
        margin-top:0; 
    }

    .navbar .container {
        margin: 0 15px;
    }

    .navbar .container {
        display: block;
    }

    .navbar .navbar-brand {
        margin: 10px 25px;
    }
    
}

@media (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
  
    body, html {
        width: 100%;
        font-size: 7px;
    }

    #title-sumber-informasi {
        margin: 20px 20px 0px 55px;
        font-size: 18px;
    }

    #container-sumber-informasi {
        margin: 20px 20px 0px 55px;
    }

    .nav-item {
        margin: 0 3px;
        width: 62px;
        text-align: center;
    }

    .nav-link {
        font-size: 10px;
    }
    
}