*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", serif;
}



body{
    background-color: #f1f1f1;
}

.container{
    width: 80%;
    margin-inline: auto;
}

@media (max-width: 992px){
    .container {
        width: 90%;
    }
}



/* Navbar */
.navbar{
    padding: 20px 0 20px 0;
}
.navbar-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-box .menu{
    display: flex;
    gap: 40px;
}
.navbar-box .menu li{
    list-style-type: none;
}
.navbar-box .menu li a{
    text-decoration: none;
    color: black;
    font-size: 18px;
}
.navbar-box .menu li a:hover{
    border-bottom: 3px solid rebeccapurple;
}
.navbar-box .ri-menu-3-line{
    display: none;
    font-weight: bold;
}

@media (max-width: 768px){
    .navbar-box .ri-menu-3-line{
    display: block;
}
    .navbar-box .menu{
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%);
    flex-direction: column;
    text-align: center;
    background-color: rebeccapurple;
    width: 100%;
    padding: 40px 0 40px 0;
    transition: all 0.2s ease-in-out;
    opacity: 0;
}
.navbar-box .menu.menu-active{
    top: 100px;
    opacity: 1;
}
.navbar-box .menu li a{
    color: white;
    font-size: 20px;
    text-decoration: underline;
}
}
/* Navbar */

/* Hero  */
.hero {
    display: flex;
    position: static;
    margin-inline: auto;
    
    padding-top: 60px;
}

.hero-box {
    width:70%;
    display: grid;
    grid-template-columns: 330px 450px 390px;
    gap:5px;
    
}

.hero-box h1{
    font-size: 36px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: blue;
}

.hero-box p {
    line-height: 2;
    margin-bottom: 30px;
}

.hero-box span {
    text-decoration: none;
    background-color: rebeccapurple;
    color: white;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
}

.hero-box img{
    width: 300px;
    height: 300px;
    margin-top: 30px;
    border-radius: 30px;
}

.hero-box .logo-brand{
    background-color: #f1f4f6;
    border-radius: 10px;
    padding: 9px 9px 9px 9px;
}
.hero-box .logo-brand img{
    
    width: 120px;
    height: 40px;
    margin-top: 10px;
    border-radius: 10px;
   
}

@media (max-width: 768px) {
    .hero-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 70px;
    }
}

.detail-box {
    
    width:70%;
    display: grid;
    grid-template-columns: 780px 390px;
    gap: 10px;
    
}



.detail-box p {
    line-height: 2;
    margin-bottom: 30px;
}

.detail-box .lainnya {
    background-color: #f1f4f6;
    border-radius: 10px;
    padding: 9px 9px 9px 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;         
    }
    
.detail-box .lainnya h1{
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 5px;
    
}


    
.detail-box .lainnya img{
    
    width: 180px;
    height: 180px;
    margin-top: 5px;
    border-radius: 5px;
}
.detail-box .lainnya  img:hover {
    background-color: blue;
    transform: scale(1.05);
}

.detail-box .lainnya  p {
    width: 180px;
   text-overflow: ellipsis;
}


/* Hero  */

/* Sidebar  */
.sidebar {
    display: flex;
   
   position: static;
   
}

.sidebar h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Sidebar   */

/* Brand  */
.brand {
    display: flex;
    position: static;
    margin-inline: auto;
    
    padding-top: 60px;
}

.brand-box {
    width:70%;
    display: grid;
    grid-template-columns: 250px 600px;
    gap: 20px;
}

.brand-box h1{
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: blue;
}

.brand-box p {
    line-height: 2;
    margin-bottom: 30px;
}

.brand-box span {
    text-decoration: none;
    background-color: blue;
    color: white;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
}

.brand-box img{
    width: 200px;
    height: 200px;
    margin-top: 30px;
    border-radius: 30px;
}

.brand-box img:hover {
    background-color: blue;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .brand-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

/* Brand  */


/* Nav Produk */

.produk {
    padding-bottom: 150px;
}

.produk-box h1 {
    text-align: center;
    margin-bottom: 30px;
}

.nav {
    display: flex;
    padding: 10px 20px 10px 20px;
    justify-content: center;
    gap: 20px;
    
    flex-wrap: wrap;
}

.nav-item {
    list-style-type: none;
    background-color: blue;
    color: white;
    font-size: 16px;
    padding: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-item:hover {
    list-style-type: none;
    background-color: white;
    color: blue;
   
}

.nav-item  active {
    background-color: blue;
    color: white;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;         
    }


.row  img {
    width: 250px;
    height: 250px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.row img:hover {
    background-color: blue;
    transform: scale(1.05);
}

.row  p {
    width: 250px;
   text-overflow: ellipsis;
}

@media (max-width: 640px){
        .row img{
            width: 200px;
            height: 200px;
        }
    }


@media (max-width: 475px){
        .row img{
            width: 150px;
            height: 150px;
        }
        .row  p {
        width: 150px;
        }
    }






/* Nav Produk */

/* Footer  */
.footer {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p span{
    font-weight: bold;
    color: rebeccapurple;
}

.footer .boxb:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer .boxb i {
    cursor: pointer;
}

.footer .boxb i:hover {
    color: rebeccapurple;
}

@media (max-width: 768px){
    .footer {
        gap: 20px;
    }
    .footer p {
        font-size: 12px;
    }
    .footer .box:nth-child(2){
        gap: 10px;
    }
}
/* Footer  */