@media screen and (max-width: 768px) {
    body {
        margin: 0;
        /* font-family: Arial, sans-serif; */
    }

    #logo{
        display:none;
    }
    #head a{
        font-size:1rem;
    }
    
    #banner {
        background-color: #f0f0f0;
        height: 60px;
        text-align: center;
        line-height: 30px;
    }

  

    .intro-text{
    margin: 0;
    max-width:100%;   
    flex-direction: row;
    gap: 0px;
    padding: 45px 0;
    }

    .intro-text h1{
        display:none;
    }

    .intro-text img{
        position:fixed;
        margin:30px -10px;
        padding:0;
        width:100%;
        max-height:100%;
        z-index:1;
        animation: fadeOut 6s ease-in-out forwards; /* 2-second fade, stays invisible */
    }

    @keyframes fadeOut {
      from {
        opacity: 1;
      }
      to {
        opacity: 0;
      }
    }

    .intro-text-text {
        z-index:1;
        
        
    }

    #sidebar {
        background-color: #ffffff;
        width: 100%;
        height: auto;
        z-index:2;
        border:none;
        position:fixed;
        bottom:0px;
    }

    #sidebar hr{
        display:none;
    }

    #sidebar nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        
        
    }

    #sidebar nav ul li {
        margin: 5px 5px;
    }

    #sidebar nav ul li a {
        text-decoration: none;
        color: #050505;
        
        padding:0.5rem;
    }

    #main-content {
        margin-left: 0;
        padding: 10px;
        min-height: auto;
    }

    #footer {
        display: none;
    }


/*shop*/


    .category-filter {
            margin: 0 auto;
        text-align:center;
        }
        .category-filter a {
             font-family: 'LemonMilk';
             font-weight: 100;
             font-size: 1rem;
            
            text-decoration: none;
            color: #dbdbdb;
        }
        .category-filter a.active, .category-filter a:hover {
           font-weight: 500;
           color: white;
        }





    
/*PRODUCT PAGE*/

.product-images img{
    max-width:100%;
}



/*SHOPPING CART*/

.cart h1{
font-size:small;
text-align:center;
}



/*CONTACT*/



    .contact .form{
        display:block;
        clear:both;
    }
    .parent {
        display: flex;
        flex-direction: column;
    }

.contact h1{
    font-size:small;
    text-align:center;  
}

   .contact_form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin-bottom:2rem;
}

.contact_form form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact_form p {
    width:100%;
    margin-bottom:0;
    margin-top:0;
}

.contact_form label {
    margin:0;
    padding:1rem 0 0 0 ;
    display: block;
}

.contact_form input,
.contact_form textarea {
    
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    
}

.contact_form button {
    padding: 10px 20px;
    cursor: pointer;  
    margin-top:1rem;
}



/*MODAL*/

    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .modal-content {
        background-color: white;
        margin: 20% auto;
        padding: 15px;
        width: 90%;
        max-width: 350px;
        border-radius: 5px;
        position: relative;
    }

    .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 18px;
        cursor: pointer;
    }

    .modal-content form {
        display: flex;
        flex-direction: column;
    }

    .modal-content form label {
        margin: 8px 0 4px;
    }

    .modal-content form input,
    .modal-content form textarea {
        padding: 6px;
        margin-bottom: 8px;
    }

    .modal-content form button {
        padding: 8px;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

    .modal-content form button:hover {
        background-color: #555;
    }

    .error {
        color: red;
        margin: 8px 0;
        text-align: center;
        font-size: 14px;
    }

    .success {
        color: green;
        margin: 8px 0;
        text-align: center;
        font-size: 14px;
    }





    
    /*INVENTORY FORM*/

    #inventory-form {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #inventory-form label {
        margin: 8px 0 4px;
    }

    #inventory-form input,
    #inventory-form textarea {
        padding: 6px;
        margin-bottom: 8px;
    }

    #inventory-form textarea {
        height: 80px;
        resize: vertical;
    }

    #inventory-form button {
        padding: 8px;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

    #inventory-form button:hover {
        background-color: #555;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    table th,
    table td {
        padding: 6px;
    }

    table img {
        max-width: 40px;
    }
}