*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 20px;
    font-size: 15px;
}

body {
    margin: 0;
    padding: 0;
    background-image: url("img/bg5.png");
    background-size: contain;
    background-repeat: repeat;
    background-blend-mode: darken;
    color: white;
    min-height: 3000px;
}

.layar-dalam {
    width: 1150px;
    margin: auto;

}

nav {
    z-index: 1000;
    color: rgb(255, 255, 255);
    text-align: center;
    position: fixed;
    border-bottom: 1px solid gray;
    line-height: 60px;
    width: 100%;
    display: block

}

nav .logo {
    float: left;
    position: relative;
    line-height: 5rem;
    text-align: center;

}

nav .logo img {
    position: relative;
    margin: 0 0px 0 2rem;
    width: 8rem;
    vertical-align: middle;
    left: -8rem;
    
}

nav .menu {
    vertical-align: middle;
    float: right;
    height: 40px;
    max-width: 600px;
    
    margin-top: 10px;
}

nav .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav .menu ul li {
    width: max-content;
    position: relative;
    list-style-type: none;
    float: left;
    line-height: 60px;
    

}

nav ul li a {
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    text-align: center;
    padding: 0px 16px 0px 16px;
}

nav ul li a:hover {
    text-decoration: underline white;
    color: #f59300;
}

.layarpenuh {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* header */
header {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

header .intro {
    z-index: 1;
    color: white;
    text-align: left;
    position: relative;
    top: 3rem;
    padding: 1.4rem 45% 1.4rem 7%;
    font-size: 5rem;
    line-height: 1rem;
    
}

.intro img {
    width: 50rem;
    position: relative;
    right: 5rem;
    bottom: 10rem;
    top: 3rem;
    padding: 1.4rem 7%;
    z-index: 2;

}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 50%;
    z-index: -1;
}

.menu .tombol-menu  {
    position: fixed;
    top: 1.7rem;
    right: -2rem;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    
    text-decoration: none;
}

.menu .tombol-menu .ri-menu-fill {
    font-size: 2rem;
    right: 0rem;
}



header .home-klik {
    position: relative;
    padding: 1.4rem 7%;
    text-align: center;
    top: 1rem;
    background-color: #000000;
    height: 40px;
    padding: 0px 20px 0px 20px;
    line-height: 40px;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border-radius: 10px;
    
}

.home-klik::before,
.home-klik::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: conic-gradient(from var(--gradient-angle) ,#000000, #ffffff, #fff, #000000);
    z-index: -1;
    animation: glowing-border 3s linear infinite;
    border-radius: 1rem;
}



@property --gradient-angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
    
}

@keyframes glowing-border{
    from {
        --gradient-angle: 0deg;
    }to{
        --gradient-angle: 360deg;
    }
    
}

header .home-klik:hover {
    background-color: #ffffff;
    color: #000000;
}

nav.gege {
    background-color: #000000;
}

div .intro{
    top: 35rem
}

div .intro h1,h3{
    font-size: 1.3rem;
    line-height: 2rem;
}

/* mobile header */
@media screen and (max-width: 500px) {
    .layar-dalam{
        width: 60%;
    }

    nav{
        background-color: #000000;
    }

    header .intro img {
      width: 23rem;
      position: relative;
      margin-left: 3.5rem;
      top: -8rem;
      bottom: 40rem;
      margin-bottom: -10rem;
      z-index: 2;
      padding-left: 1rem;
    }

  

    nav .menu ul li a {
        font-size: 1.2rem;
    }
    nav .menu ul {
        display: none;
        margin-top: 5rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #000000;
        border-radius: 0 0 1.5rem 1.5rem;
        
    }

    nav .menu ul li {
        width: 100%;
        text-align: center;
        
        
    }

    nav .logo img {
        width: 8rem;
        margin-left: 5rem;
    }

    div .intro {
        padding: 1.4rem 7% 1rem 7%;
        z-index: 1;
        top: 50%;
    }

    .tombol-menu{
        display: flex;
        margin-right: 4.1rem;
        margin-top: .2rem;
    }

    .tombol-menu .ri-apps-2-fill:hover{
        color: #f59300;
    }

    .tombol-menu .ri-apps-2-fill {
        color: #ffffff;
        text-decoration: none;
    }

    div .intro h1,h3{
        display: flex;
        font-size: .9rem;
        line-height: 1.4rem;
    }

    
}


/* promosi */

.promosi {

    padding: 1.4rem 5% 5rem;
    text-align: center;
    background: #ffffff;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.promosi h4 {
    color: #000000;
    font-size: 3rem;
    justify-content: center;
    text-align: center;
    
    margin-bottom: 3rem;
    margin-top: 3rem;
    top: 1rem;
}

.content h5 {
    font-size: 30px;
}

.promosi p {
    margin-top: 1rem;
    font-size: 20px;
    color: #000000;
    margin-bottom: 40px;
}

.content {
    color: #000000;
}

.promosi .row img {
    width: 20rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content .klik-promo {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    background-color: #000000;
    text-align: center;
    padding: 0px 20px 0px 20px;
    border-radius: 10px;
    color: #ffffff;
    
}



.content .klik-promo:hover {
    background-color: #ffffff;
    color: #000000;
}



/* mobile header */
@media screen and (max-width: 500px) {
    .promosi{
        width: 100%;
    }
    .promosi h4 {
        color: #000000;
        font-size: 2rem;
        margin-bottom: 1rem;
        
        top: 1rem;
    }
    .promosi .row img{
        width: 50%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .content h5{
        font-size: 1.5rem;
    }

    .content p{
        font-size: 1rem;
    }

    .promosi .klik-promo{
        margin-bottom: .1rem;
    }
}

/* tentang kami */

.about {
    padding: 10rem 20% 4.9rem;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.about h5{
    font-size: 3rem;
    margin: 2rem 0 2rem 0;
}

.about h6{
    font-size: 2rem;
    margin: 4rem 0 4rem 0;
}

.about.us{
    top: 0;
    left: 0;
    text-align: center;
    justify-content: space-around;
}

.ab-img img{
    width: 20rem;
    margin: 6rem 0 1rem 0;
    text-align: center;
    justify-content: center;
}

.about-us .ab-img .category .info-klik{
    background-color: #f59300;
    padding: .8rem 1.5rem .8rem 1.5rem;
    margin: 1rem 0 1rem 0;
    line-height: 4rem;
    text-decoration: none;
    color: #000;
    border-radius: 1rem;
}

.about-us .ab-img .category .info-klik:hover{
    background-color: #fff;
    color: #000;
}

.category h1,p{
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    font-size: 1.5rem;
    margin: 1rem 0 1rem 0;
    line-height: 2rem;
}

.ab-img h6{
    color: #f59300;
}

.about-us .category img{
    border-radius: 1rem;
}

.about-us .category img:hover{
    zoom: 200%;
}

/* mobile about */
@media screen and (max-width: 500px) {
    .about{
        width: 100%;
        padding: 10rem 15% 2rem;
    }

    .about h5{
        font-size: 2rem;
    }

    .about h6{
        font-size: 1.7rem;
        line-height: 2.3rem;
    }

    .category p{
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .ab-img img{
        width: 100%;
    }

    .about-us .category img:hover{
    zoom: normal;
    }
}

/* map */

.map-footer{
    text-align: center;
    justify-content: space-between;

}

.map-footer h1{
    font-size: 2rem;
    text-decoration: none;
}

.map-footer h1 i{
    font-size: 1.5rem;
    width: 20rem;
}

iframe{
    margin: 2rem 0 2rem 0;
    height: 20rem;
    width: 100rem;
    border-radius: 1.5rem;
}

/* mobile header */
@media screen and (max-width: 500px) {
    iframe{
    margin: 2rem 0 2rem 0;
    height: 20rem;
    width: 20rem;
    border-radius: 1.5rem;
}
    .map-footer h1{
        font-size: 1.5rem;
    }

    .map-footer h1 i{
        font-size: 1rem;
    }
}

/* admin */

.link-wa{
    font-size: 100rem;
    position: fixed;
    padding: 1.1rem 1rem 1rem;
    justify-content: center;
    background-color: #000000;
    top: 60rem;
    right: 3rem;
    left: 110rem;
    display: flex;
    
    text-align: center;
    border-radius: 1rem;
    
}

.link-wa i{
    color: #fff;
    font-size: 1.3rem;
}

.link-wa a{
    font-size: .8rem;
}

.link-wa::before,
.link-wa::after {
    content: "";
    position: absolute;
    inset: -4px;
    background: conic-gradient(from var(--gradient-angle) ,#000000, #007466, #000000, #007466, #000);
    z-index: -1;
    animation: glowing-border 3s linear infinite;
    border-radius: 1rem;
    
}



@property --gradient-angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
    
}

@keyframes glowing-border{
    from {
        --gradient-angle: 0deg;
    }to{
        --gradient-angle: 360deg;
    }
    
}

.kontak-wa{
    font-size: 100rem;
    position: fixed;
    padding: 2rem 1rem 1.5rem 1rem;
    justify-content: space-between;
    background-color: #000000;
    top: 42.3rem;
    right: 3rem;
    left: 110rem;
    display: none;
    flex-direction: column;
    gap: 2.5rem;
    row-gap: 2.5rem;
    text-align: center;
    border-radius: 1rem;
    text-decoration: none;
    
}

.link-wa:hover .kontak-wa{
    display: flex;
    
}


.kontak-wa a i{
    font-size: 1.5rem;
    text-decoration: none;
    text-decoration-line: none;
    background-color: #007466;
    padding: .5rem .5rem 1rem .5rem;
    border-radius: .5rem;
    text-align: center;
    color: #fff;
    
}

.kontak-wa a{
    text-decoration: none;
    line-height: 3rem;
    font-size: 1rem;
}

.kontak{
    display: none;
}
/* mobile header */
@media screen and (max-width: 500px) {
    .tombol-admin{
        position: fixed;
        justify-content: center;
        text-align: center;
        color: #ffffff;
        display: block;
        top: 85%;
        right: 4%;
        left: 80%;
        
        background-color: #007466;
        padding: 1.3rem .7rem .7rem .7rem;
        border-radius: 1rem;
        text-decoration: none;
    }

    .kontak ul li a {
        font-size: 2rem 10%;
        color: #fff;
        text-decoration: none;
        background-color: #007466;
        line-height: 4rem;
        padding: 5% 20%;
        border-radius: .5rem;
        
    }
    .kontak ul {
        display: none;
        position: fixed;
        top: 53%;
        right: 4%;
        left: 40%;
        width: 60%;
        text-decoration: none;
        background-color: #000000;
        border-radius: 1rem;
        list-style-type: none;
        padding: 5%;
    }

    .kontak ul li {
        
        text-align: center;
        

        
    }

    .tombol-admin i{
        font-size: 2rem;
    }

    .kontak{
        display: block;
    }
}

/* footer */


.logo-footer img{
    width: 30%;
    margin: 0rem 0rem -2rem -3rem;
}

footer{
    width: 100%;
    position: relative;
    bottom: 0;
    background-color: #000;
    background-image: url(img/ongo2.png);
    color: #ffffff;
    padding: 2rem 0 1rem 0;
    font-size: 1rem;
    line-height: 1.3rem;
    height: 100%;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover 50%;
    background-position: right -7rem bottom -15rem;
    z-index: 5;
}

footer .footer-bawah {
    display: grid;
    justify-content: center;
    align-items: center;
}
.logo-footer{
    margin: 1.4rem 6rem 1rem 1rem ;
    padding: 1rem 40rem 1rem 1rem;
}
.logo-footer h2{
    margin: 1.4rem 6rem 1rem 1rem ;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.logo-footer p{
    margin: 1.4rem 15rem 1rem 1rem ;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: start;
}

.logo-footer li a{
    margin: 1rem 1rem 1rem 1rem;
    color: #000000;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.1rem 1rem 1.2rem;
    text-align: center;
    border-radius: 25%;
    list-style: none;
    text-decoration: none;
}

.logo-footer li a:hover{
    background: #f59300;
}

.logo-footer li a i {
    font-size: 2rem;
    color: #000000;
    align-items: center;
}
.logo-footer li{
    list-style: none;
    margin: 1rem 1rem 1rem 0rem;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
    float: left;  
}

.copyright {
    font-size: 1.3rem;
    width: 100%;
    padding: 2rem 0 1rem 0;
    border-top: 1px solid #ffffff;
    justify-content: center;
    text-align: center;
    line-height: 2rem;
}

/* mobile footer */
@media screen and (max-width: 500px) {
    footer{
        background-size: 10%;
    }

    .logo-footer{
        padding: 1rem 1rem 1rem 1rem;
        margin: 1.4rem 1rem 1rem 1rem;
    }

    .logo-footer h2{
        font-size: 1.2rem;
        line-height: 1.2rem;
    }

    .logo-footer p{
        font-size: 1rem;
        text-align: left;
        margin-bottom: 2rem;
        line-height: 1.2rem;
        margin: 1.4rem 2rem 1rem 1rem;
        padding-bottom: 2rem;
    }

    .logo-footer img{
        margin: 1rem 1rem 0rem -.5rem;
    }
    .logo-footer li{
        display: contents;
        margin: 1rem 1rem 1rem 3rem;
    }
    .logo-footer li a{
       margin-top: 1rem;
       padding: 1rem .5rem .5rem .5rem;
       margin: .5rem;
    }

    .logo-footer li a i{
        font-size: 1.5rem;
    }

    .copyright{
        font-size: 1rem;
        display: grid;
    }
}

/* ratio leptop */

@media screen and (max-width: 1550px) and (min-width: 1380px) {
    /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 5rem;
        
    }

    div .intro{
        top: 22rem;
    }

    div .intro img{
        width: 90%;
        left: -3.5rem
    }

    nav .menu ul li{
        right: -4rem;
    }

    /* map */
    iframe{
        width: 80%;
        height: 90%;
    }
    /* footer */

    .logo-footer img{
    
    margin: 0rem 0rem -2rem -1rem;
    }

    /* admin */

    .link-wa{
    top: 90%;
    right: 2%;
    left: 80%;
    }

    .kontak-wa{
    top: 58%;
    right: 2%;
    left: 80%;
    }

    .link-wa:hover .kontak-wa{
    display: flex;
    
    }

    .home__article{
        margin-bottom: 10%;
    }

}

@media screen and (max-width: 1370px) and (min-width: 1290px) {
    /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 5rem;
        
    }

    div .intro{
        top: 12rem;
        
    }

    div .intro img{
        width: 90%;
        left: -3.5rem
    }

    nav .menu ul li{
        right: -4rem;
    }

    /* map */
    iframe{
        width: 80%;
        height: 90%;
    }
    /* footer */

    .logo-footer img{
    
    margin: 0rem 0rem -2rem -1rem;
    }

    /* admin */

    .link-wa{
    top: 90%;
    right: 2%;
    left: 80%;
    }

    .kontak-wa{
    top: 56.5%;
    right: 1.5%;
    left: 79.5%;
    }

    .link-wa:hover .kontak-wa{
    display: flex;
    
    }

    .home__article{
        margin-bottom: 10%;
    }

}

/* ratio leptop */

@media screen and (max-width: 1290px) and (min-width: 1000px) {
    /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 8rem;
        
    }

    nav .menu ul li{
        right: 1rem;
    }

    div .intro{
        top: 13rem;
    }

    div .intro img{
        width: 70%;
        left: -3.5rem;
        top: 2.5rem
    }

    

    
    
    /* map */
    iframe{
        width: 60%;
        height: 70%;
    }
    /* footer */
    footer{
    background-position: right -8rem bottom -15rem;
    }

    .logo-footer img{
    
    margin: 0rem 0rem -2rem -1rem;
    }

    /* admin */

    .link-wa{
    top: 90%;
    right: 2%;
    left: 80%;
    }

    .kontak-wa{
    top: 58%;
    right: 2%;
    left: 80%;
    }

    .link-wa:hover .kontak-wa{
     display: flex;
    
    }

    .home__article{
        margin-bottom: 10%;
    }

}

/* tablet */

@media screen and (max-width: 900px) and (min-width: 600px) {
     /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 13rem;
    }

    nav .menu ul li a {
        font-size: 1rem;
        line-height: 2rem;
        
    }
    
    nav .menu ul{
        margin-right: 33rem;
        margin-left: -14rem;
    }

    
    

    div .intro {
        padding: 1.4rem 7% 1rem 7%;
        z-index: 1;
        top: 39rem;
    }



   

    div .intro{
        top: 32rem;
    }

    div .intro img{
        width: 70%;
        left: -3.5rem;
        top: 2.5rem
    }

    

    
    
    /* map */
    iframe{
        width: 60%;
        height: 70%;
    }
    

    .ab-img .category img:hover{
        zoom: normal;
    }

   

    /* footer */
   

    footer{
    background-repeat: no-repeat;
    background-size: cover 10%;
    background-position: right -30rem bottom -14rem;
    }

    .logo-footer{
        padding: 0 3rem 0 3rem;
        
    }

    .logo-footer p{
        margin-right: 1rem;
        
    }
    
    .logo-footer h2{
        margin-right: 1rem;
    }

    .logo-footer img{
    padding-left: -1rem;
    margin: 0rem 0rem -2rem -1rem;
    }
    

    /* admin */
    .tombol-admin{
        position: fixed;
        justify-content: center;
        text-align: center;
        color: #ffffff;
        display: block;
        top: 85%;
        right: 4%;
        left: 80%;
        
        background-color: #007466;
        padding: 1.3rem .7rem .7rem .7rem;
        border-radius: 1rem;
        text-decoration: none;
    }

    .kontak ul li a {
        font-size: 2rem 10%;
        color: #fff;
        text-decoration: none;
        background-color: #007466;
        line-height: 4rem;
        padding: 10% 30%;
        border-radius: .5rem;
        
    }
    .kontak ul {
        display: none;
        position: fixed;
        top: 59%;
        right: 4%;
        left: 65%;
        
        text-decoration: none;
        background-color: #000000;
        border-radius: 1rem;
        list-style-type: none;
        padding: 5%;
    }

    .kontak ul li {
        
        text-align: center;
        

        
    }

    .tombol-admin i{
        font-size: 2rem;
    }

    .kontak{
        display: block;
    }
}
