*{
    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: 900px;
}

.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;
    background-color: #000;
}

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;
    color: #ffffff;
}



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;
    }
}

/* galery */

.gallery{
    padding-top: 10rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.gallery h1{
    font-size: 4rem;
    margin-bottom: 4rem;
    margin-top: -2rem;
    text-align: center;
}

/* mobile header */
@media screen and (max-width: 500px) {
    .galery h5{
        font-size: 2rem;
    }
}

/* 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;
}

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: 1300px) {
    /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 5rem;
        
    }

    nav .menu ul li{
        right: -4rem;
    }

    /*armada*/

    .home__img{
        width: 60%;
        margin-top: 13rem;
        right: 4rem;
        margin-right: -2rem;
    }

    .home__img1{
        width:60%;
        margin-top: 18.5rem;
        right: 4rem;
        margin-right: -2rem;
    }

    .home__deskripsi{
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .order__button1{
        margin-top: 5rem;
    }

    /* 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: 3rem;
    }
}
/* ratio leptop */

@media screen and (max-width: 1290px) and (min-width: 1000px) {
    /* header */
    nav .logo img {
        width: 10rem;
        margin-left: 10rem;
        
    }

    nav .menu ul li{
        right: 1rem;
    }

    /*armada*/

    .home__img{
        width: 55%;
        margin-top: 16.5rem;
        right: 4rem;
        margin-right: -2rem;
    }

    .home__img1{
        width:55%;
        margin-top: 20.5rem;
        right: 4rem;
        margin-right: -2rem;
    }

    .home__deskripsi{
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .order__button1{
        margin-top: 5rem;
    }

    /* 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: 103rem;
        margin-left: -31rem;
    }

    
    

    



   


    div .intro img{
        width: 70%;
        left: -3.5rem;
        top: 2.5rem
    }


    

    div .intro {
        padding: 1.4rem 7% 1rem 7%;
        z-index: 1;
        top: 39rem;
    }

    

    

    


    /*armada*/

    .home__img{
        width: 65%;
        margin-top: 7.5rem;
        right: 5rem;
        margin-right: -2rem;
    }

    .home__img1{
        width:65%;
        margin-top: 11rem;
        right: 5rem;
        margin-right: -2rem;
    }

    .home__deskripsi{
        margin-top: 9rem;
        margin-bottom: 1rem;
    }

    .order__button{
        width: 20%;
    }
    .order__button1{
        width: 20%;
        margin-top: 5rem;
    }

    /* 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%;
        z-index: 4;
        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%;
        z-index: 4;
        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;
    }
}

/* filosofi home mobile */
@media screen and (max-width: 500px) and (min-width: 300px) {
    .gallery h1{
        font-size: 2rem;
    }
}
