#product1{
    width: 100%;
    height: 100%;
}

#product_main{
    padding: 5vh 0;
}

h1{
    color: teal;
    font-weight: 400;
    font-size: 1.8vw;
    margin-bottom: 20px;
}

#product1_container{
    width: 80%;
    margin-left: 10%;
    display: flex;
    justify-content: space-between;
}

#product_sidenav{
    width: 30%;
}

#product_sidenav li{
    list-style-type: none;
    font-size: 1.2vw;
    font-weight: 400;
    padding: 2.4vh 1vh;
    border-bottom: 1px solid teal;
    color: rgb(129, 129, 129);
}

#product_sidenav li:hover{
    background-color: teal;
    color: rgb(236, 236, 236);
}

#products{
    width: 70%;
}

#product_name, #product_name2{
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
}

#product_name div, #product_name2 div{
    margin: 10px;
    text-decoration: none;
    border: 1px solid teal;
    overflow: hidden;
}

#product_name img, #product_name2 img{
    width: 11vw;
    height: 11vw;
    object-fit: contain;
    scale: 1.2;
}

@media screen and (max-width: 768px) {
    h1{
        font-size: 2.6vw;
        margin-bottom: 10px;
    }
    
    #product_sidenav li{
        font-size: 1.8vw;
    }

    #product_name a, #product_name2 a{
        margin: 5px;
    }    
    
    #product_name img, #product_name2 img{
        width: 15vw;
        height: 15vw;
    }
}

@media screen and (max-width: 480px) {
    
    #product_sidenav{
        width: 35%;
    }

    #products{
        width: 65%;
    }

    h1{
        font-size: 3vw;
    }

    #product_sidenav li{
        font-size: 2.5vw;
        padding: 1.8vh 1vh;
    }
    
    #product_name img, #product_name2 img{
        width: 18vw;
        height: 18vw;
    }
}