*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", serif;
}



body{
    background-color: #f2f4ff;
}

.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 */

.produk {
    padding-bottom: 150px;
    background-color: #f1f1f1;
}

.produk-box h1 {
    text-align: center;
    margin-bottom: 30px;
}

.nav {
    display: flex;
    padding: 10px 20px 10px 20px;
    justify-content: center;
    gap: 10px;
    
    flex-wrap: wrap;
}

.nav-item {
    list-style-type: none;
    background-color: blue;
    color: white;
    font-size: 14px;
    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: 10px;
    justify-content: center;         
    }
    
.row .single:hover {
    border: 2px solid blue;
    transform: scale(1.05);
}
    
.single {
    width: 200px;
    height: 270px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}




.single  img {
    width: 190px;
    height: 190px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.single  span {
    text-decoration: none;
    
    font-size: 12px;
    color: blue;
    padding: 2px 5px 0px 5px;
    border-radius: 2px;
}
    
.single p {
    
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 640px){
        .single img{
            width: 190px;
            height: 190px;
        }
    }


@media (max-width: 475px){
        .single {
            width: 160px;
            height: 240px;
        }
        .single img{
            width: 145px;
            height: 145px;
        }
        .single  p {
        width: 145px;
        }
    }
    
@media (max-width: 360px){
        .single {
            width: 150px;
            height: 230px;
        }
        .single img{
            width: 140px;
            height: 140px;
        }
        .single  p {
            font-size: 12px;
            width: 140px;
        }
    }    






/* 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  */