html{
    margin: 0;
    scroll-behavior: smooth;
  }
  
  *{
    margin: 0;
  }
  
  body{
    margin: 0;
    background-color: #fff9ef;
  }
  
  
  .navbar {
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 225, 225,0);
    padding:0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    transition:padding 0.3s ease;
  }
  
  .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 0;
    padding:44px 36px;
    z-index: 1;
    position: relative;
    background-color: rgba(255, 225, 225, 0);
    transition: background-color 0.5s ease,padding 0.5s ease;
  }
  
  .container.opaque{
    padding:24px 36px;
    background-color: #333;
  }
  
  .search{
    line-height: 0%;
    z-index: 5;
    font-size: 24px;
    cursor: pointer;
  }
  
  .search a{
    text-decoration: none;
    color: #333;
    transition:color 0.5s ease;
  }
  
  .search a.opaque{
    color: #fff9ef;
  }
  
  .logo-text {
    color: #333;
    text-decoration: none;
    font-size: 64px;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 0;
    font-family: "Noto Serif Display";
    font-weight: 900;
    transition:color 0.5s ease, font-size 0.5s ease;
  
  }
  
  .logo-text.light{
    color: #fff9ef;
  }
  
  .logo-text.opaque{
    font-size: 42px;
    color: #fff9ef;
  }
  
  .line{
    width: 0%;
    display: flex;
    align-self: center;
    transition: width 0.5s ease;
    border: 0;
  }
  
  .line.opaque{
    width: 100%;
    border: 1px solid #fff9ef;
  }
  
  .navbar2{
    display: flex;
    justify-content: center;
    padding: 0 0;
    background-color: rgba(240, 234, 223,0);
    box-shadow: none;
    color: #333;
    transition:color 0.5s ease, background-color 0.5s ease,box-shadow 0.5s ease;
  
  }
  
  .navbar2.light{
    color: #fff9ef;
  }
  
  .navbar2.opaque{
    background-color: #3a3a3a;
    color: #fff9ef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar2 ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 60%;
  }
  
  .navbar2 li{
    font-family: "Noto Sans mono";
    font-size: 20px;
    padding-top: 16px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
    transition: padding 0.3s ease;
  }

  .navbar2.opaque li{
    padding-top: 16px;
    padding-bottom: 12px;
  }
  
  .navbar2 a{
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    -moz-transition: text-shadow 0.2s ease-in;
    -o-transition: text-shadow 0.2s ease-in;
    -webkit-transition: text-shadow 0.2s ease-in;
    transition: text-shadow 0.2s ease-in;
  }
  
  .navbar2 a:hover{
    color: inherit;
    text-shadow:0px 0px 30px #333;
    -moz-transition: text-shadow 0.2s ease-in;
    -o-transition: text-shadow 0.2s ease-in;
    -webkit-transition: text-shadow 0.2s ease-in;
    transition: text-shadow 0.2s ease-in;
  }
  
  .navbar2.opaque a:hover{
    color: inherit;
    text-shadow:0px 0px 30px #333;
    -moz-transition: text-shadow 0.2s ease-in;
    -o-transition: text-shadow 0.2s ease-in;
    -webkit-transition: text-shadow 0.2s ease-in;
    transition: text-shadow 0.2s ease-in;
  }
  
  .navbar2 ul li .underline{
    height: 5px;
    background-color: transparent;
    width: 0%;
    display: flex;
    align-self: center;
    transition: width 0.2s ease,background-color 0.2s ease;
    margin: 0;
    border-radius: 50px;
    margin-top: 2.5px;
  }
  
  .navbar2 ul li:hover .underline{
    background-color: #333;
    width: 30px;
  }
  
  .navbar2.light ul li:hover .underline{
    background-color: #fff9ef;
    width: 30px;
  }
  
  .navbar2.opaque ul li:hover .underline{
    background-color: #fff9ef;
    width: 30px;
  }
  
  .menu-container{
    position: absolute;
    padding: 0;
    top: 190px;
    width: 100%;
    left: 0;
    background-color: #fff9ef4f;
    border: 1px solid #333;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }
  
  .navbar2 li:hover .menu-container{
    transition: all 0.3s ease;
    top: 178px;
    opacity: 1;
    visibility: visible;
  }
  
  .navbar2.opaque li:hover .menu-container{
    transition: all 0.3s ease;
    background-color: #fff9ef;
    top: 136px;
    opacity: 1;
    visibility: visible;
  }
  
  .menu-container .content{
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    color: #333;
    height: 450px;
  }
  
  .menu-container .content .row{
    width: 25%;
    line-height: 40px;
  }
  
  .content .row img{
    height: 90%;
    width: 100%;
    object-fit: cover;
    border-radius: 2.5px;
    border: 1px solid #333;
  }
  
  .navbar2 .content .row p{
    font-family: "Noto sans mono";
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    color: #333;
    transition:color 0.5s ease;
  }
  .navbar2 .content.light .row p{
    font-family: "Noto sans mono";
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    color: #fff9ef;
    transition:color 0.5s ease;
  }
  .navbar2.opaque .content.light .row p{
    font-family: "Noto sans mono";
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    color: #333;
  }
  
  .navbar2 .content .row header{
    color: #333;
    font-size: 20px;
    margin-left: 0px;
    border-bottom: 1px solid #333;
    transition:color 0.5s ease;
  }
  .navbar2 .content.light .row header{
    color: #fff9ef;
    font-size: 20px;
    margin-left: 0px;
    border-bottom: 1px solid #fff9ef;
    transition:color 0.5s ease;
  }
  .navbar2.opaque .content.light .row header{
    color: #333;
    font-size: 20px;
    margin-left: 0px;
    border-bottom: 1px solid #333;
  }
  
  .content .row .menu-links{
    display: block;
    margin-left: -60px;
    width: 100%;
  }
  
  .row .menu-links li{
    padding: 0 0;
  }
  
  .navbar2 .row .menu-links li a{
    padding: 0px;
    padding: 0 20px;
    color: #333;
    font-size: 18px;
    display: block;
    transition:all 0.3s ease;
  }
  
  .navbar2 .row .menu-links li a.light{
    padding: 0px;
    padding: 0 20px;
    color: #fff9ef;
    font-size: 18px;
    display: block;
  }
  
  
  .navbar2.opaque .row .menu-links li a.light{
    padding: 0px;
    padding: 0 20px;
    color: #333;
    font-size: 18px;
    display: block;
  }
  
  .personal{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 24px;
  }
  
  .signedin-icons i{
    font-size: 24px;
    color: #333; 
    padding: 0 10px;
    transition: color 0.5s ease;
  }
  
  .signedin-icons i.light{
    color: #fff9ef;
  }
  
  .signedin-icons i.opaque{
    color: #fff9ef;
  }

  .loginbtn{
    display: none;
  }
  
  .loginbtn a{
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-family: "Noto Serif Display";
    text-align: center;
    font-weight: bold;
    padding-left: 20px;
    transition: color 0.5s ease;
  }

  .loginbtn a.opaque{
    color: #fff9ef;
  }


.main-container{
    display: flex;
    flex-direction: row;
    position: relative;
    margin-top: 150px;
}

.filter-container{
    position: fixed;
    width: 20vw;
    margin-top: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff9ef;
    color: #333;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    font-family: "Noto Sans mono";
    /* border-right: 2px solid #333; */
}

.filterForm::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.filter-container.active {
    transform: translateX(0);
}

.title{
    font-size: 32px;
    font-family: "Noto Serif Display";
    text-align: center;
    font-weight: bold;
    padding: 20px;
}

.long-line-bold{
    border: 1px solid #333;
}

.filter-border{
  filter: drop-shadow(0px 2px 2px #333);
}

.filterForm{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 80%;
    height: 500px;
    padding: 20px;
    overflow: scroll;
    margin-bottom: 50px;
}

.filterForm label {
    margin-top: 10px;
    font-weight: bold;
}

.filter-header{
  font-size: 20px;
}

.filterForm div {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.filterForm input[type="checkbox"] {
    display: none;
    margin-right: 10px;
    
}

.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 3px;
    background-color: #fff9ef;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    
}

.custom-label{
    cursor: pointer;
}

input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #333;
    transition: background 0.2s ease, color 0.2s ease;
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '\2713'; /* Unicode checkmark character */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff9ef;
    font-size: 14px;
}

.submit-filter-btn{
    padding: 10px;
    background-color: #fff9ef;
    color: #333;
    border-radius: 2.5px;
    margin: 10px;
    transition: background-color 0.2s ease, color 0.2s ease,box-shadow 0.2s ease;
}

.submit-filter-btn:hover, .submit-filter-btn:active{
    background-color: #333;
    color: #fff9ef;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.right-container{
    margin-left: 0;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    transition: margin-left 0.5s ease, width 0.5s ease;
}

.shrink{
    width: 80%;
    margin-left: 20vw;
}

.heading{
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .heading h1{
    font-family: "Noto Serif Display";
    font-weight: 900;
    font-size: 40px;
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .heading hr{
    border: 1px solid #333;
    color: #333;
  }

.bar{
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

.filter-button{
    background-color: #fff9ef;
    padding: 10px;
    font-size: 14px;
    width: 80px;
    font-family: "Noto Serif Display";
    border-radius: 2.5px;
    border: 2px solid #333;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease,box-shadow 0.2s ease;
}

.filter-button:hover, .filter-button:active{
    color: #fff9ef;
    background-color: #333;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.click{
    color: #fff9ef;
    background-color: #333;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.sort-btn{
    padding: 10px;
    width: 100px;
    display: flex;
    background-color: #fff9ef;
    font-size: 14px;
    font-family: "Noto Serif Display";
    flex-direction: row;
    justify-content: space-evenly;
    border: 2px solid #333;
    border-radius: 2.5px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease,box-shadow 0.2s ease;
}


.sort-btn:hover, .sort-btn:active{
    color: #fff9ef;
    background-color: #333;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.sort-dropdown{
    overflow: hidden;
}
    
.dropdown-content {
    display: none;
    position: fixed;
    right: 20px;
    align-items: center;
    z-index: 5;
    background-color: #fff9ef;
    min-width: 140px;
    border-radius: 2.5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
    
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-family: "Noto Sans mono";
}
    
.dropdown-content a:hover, .dropdown-content a:active {
    background-color: #333;
    color: #fff9ef;
    }
    
    
.sort-dropdown:hover .dropdown-content {
    display: block;
}


.long-line{
    color: #333;
    border-radius: 0.75px;
    margin-bottom: 50px;
}
/* 
.nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    top: 0;
    left: -100%;
    list-style: none;
    background-color: #333;
    height: 100vh;
    width: 50vw;
    padding: 0;
    z-index: 4;
    transition: left 0.5s ease;
} */
 

.product-tiles-container{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
    transition: grid-template-columns 0.5s ease;
    z-index: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

.product-card {
    display: block;
    position: relative;
    align-items: center;
    overflow: hidden;
    max-height: 475px;
    border-radius: 2.5px;
    transition: transform 0.5s ease;
    font-family: "Noto Sans mono";
  }

.product-img {
    position: relative;
    top: 0;
    width: 100%;
    height: 85%;
    object-fit: cover;
  }

  .product-card video{
    position: relative;
    top: 0;
    width: 100%;
    height: 85%;
    object-fit: cover;
    transition: opacity 0.5s ease;
  }

  .product-card h2{
    position: absolute;
    top: 85%;
    left: 5%;
    font-size: 20px;
  }

  .product-card p{
    position: absolute;
    padding-top: 5px;
    top: 90%;
    left: 5%;
    font-size: 16px;
  }

  .product-card i{
    position: absolute;
    right: 5%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .red{
    color: red;
  }

@media (max-width: 768px) {

    .container{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .personal{
        height: 20px;
    }

    .personal i{
        font-size: 20px;
        padding: 0 5px;
    }
    
    .navbar{
      z-index: 3;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: -100%;
        left: 0;
        background-color: #333;
        color: #fff9ef;
        padding: 20px 0;
        height: 55%;
        width: 100%;
        align-items: center;
        justify-content: center;
        transition: top 0.5s ease;
    }

    .nav-links.active{
        position: fixed;
        top: 0%;
    }

    .logo a{
        font-size: 28px;
        position: inherit;
        line-height: 100%;
    }

    .hamburger, .close-menu{
        font-size: 20px;
        line-height: 50%;
    }

    .hamburger{
        height: 100%;
        width: 16px;
    }


    .close-menu{
        display: block;
        position: fixed;
        padding: 25px;
        top: -100%;
        left: 0;
        color: #fff9ef;
        padding-left: 20px;
        transition: top 0.5s ease;
    }
    
    .close-menu-active{
        top: 0%;
        left: 0;
    }

    .container{
        padding: 0 20px;
        z-index: 2;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .bar{
        position: fixed;
        bottom: -20px;
        z-index: 2;
        left: 0;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: space-evenly;
        background-color: #fff9ef;
        
    }

    .long-line{
        margin-bottom: 25px;
    }
    

    .filter-container{
        position: fixed;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background-color: #fff9ef;
        color: #333;
        transform: translateY(100%);
        transition: transform 0.5s ease;
        -webkit-box-shadow: 0px -5px 19px 0px rgba(0,0,0,0.26);
        -moz-box-shadow: 0px -5px 19px 0px rgba(0,0,0,0.26);
        box-shadow: 0px -5px 19px 0px rgba(0,0,0,0.26);
        z-index: 2;
    }

    .filterForm{
        padding-top: 0px;
        height: 100%;
        margin-bottom: 400px;
        width: 90%;
    }

    .filterForm label{
        font-size: 16px;
    }

    .submit-filter-btn{
        font-family: "Noto Seerif Display";
        width: 160px;
        border: 2px solid #333;
        border-radius: 2.5px;
        padding: 20px;
        font-size: 16px;
        align-self: center;
    }
    
    .filter-container.active {
        transform: translateY(40%);
    }

    .sort-btn{
        padding: 10px;
        width: 100px;
        display: flex;
        background-color: #fff9ef;
        font-size: 16px;
        font-family: "Noto Serif Display";
        flex-direction: row;
        justify-content: space-evenly;
        border: 2px solid #333;
        border-radius: 2.5px;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    
    .sort-btn:hover, .sort-btn:active{
        color: #fff9ef;
        background-color: #333;
    }
    
    .sort-dropdown{
        overflow: hidden;
    }

    .dropdown-content {
        display: none;
        position: fixed;
        bottom: 60px;
        right: 20px;
        align-items: center;
        z-index: 5;
        background-color: #fff9ef;
        min-width: 140px;
        border-radius: 2.5px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }
        
    .dropdown-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }
        
    .dropdown-content a:hover, .dropdown-content a:active {
        background-color: #333;
        color: #fff9ef;
        }
        
        
    .sort-dropdown:hover .dropdown-content {
        display: block;
        }

    .shrink{
        width: 100%;
        margin-left: 0;
    }

    .product-tiles-container{
        display: grid;
        width: 100%;
        justify-content: center;
        grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
        gap: 5px;
      }
    
    .product-card {
        align-items: center;
        max-height: 340px;
        justify-content: space-evenly;
        overflow: hidden;
        border-radius: 2.5px;
      }
    
    .product-img {
        width: 100%;
        height: 85%;
        object-fit: cover;
      }

    .product-card h2{
        font-size: 16px;
    }
}