* {
    margin: 0;
    padding: 0;
}
nav {
    background-color: black;
    color: white;
    padding: 15px;
}
li,h1,ul {
    display: inline;
}
ul {
    margin-left: 65%;
}

li {
    color: gray;
    cursor: pointer;
}
li:hover {
    color: white;
}
input {
    padding: 10px;
    width: 700px;
    margin-right: 10px;
}
.searchbar {
    padding: 15px;
    text-align: center;
}
.box1,.box2,.box3 {
    border: 2px solid black;
    display: inline-block;
    width: 220px;
    padding: 5px;
    margin-top: 40px;
    cursor: pointer;
}
.box1:hover {
    background-color: black;
    color: white;
}
.box2:hover {
    background-color: black;
    color: white;
}
.box3:hover {
    background-color: black;
    color: white;
}
.products {
    text-align: center;
}
.about {
    text-align: center;
}
.contact {
    background-color: black;
    color: white;
    padding: 20px;
    margin-top: 15px;
    text-align: center;
}
.product-description {
    background-color: black;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    left: 0%;
    display: none;
}
.product-box {
    background-color: white;
    width: 100%;
    height: 600px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.para {
    padding: 20px;
    top: 18%;
    left: 31%;
    position: absolute;
    display: none;
}
.des {
    position: absolute;
    top: 10%;
    left: 31%;
    display: none;
}
.price {
    position: absolute;
    top: 60%;
    left: 31%;
    display: none;
}
.atc {
    position: absolute;
    top: 80%;
    left: 31%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.atc:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.buy {
    position: absolute;
    top: 80%;
    left: 38%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.buy:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: transparent;
    color: black;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.close:hover {
    color: red;
}
.product2 {
    background-color: black;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    left: 0%;
    display: none;
}
.productb2 {
    background-color: white;
    width: 100%;
    height: 600px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.para2 {
    padding: 20px;
    top: 18%;
    left: 31%;
    position: absolute;
    display: none;
}
.des2 {
    position: absolute;
    top: 10%;
    left: 31%;
    display: none;
}
.price2 {
    position: absolute;
    top: 60%;
    left: 31%;
    display: none;
 }
.atc2 {
    position: absolute;
    top: 80%;
    left: 31%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.atc2:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.buy2 {
    position: absolute;
    top: 80%;
    left: 38%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.buy2:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.close2  {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: transparent;
    color: black;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.close2:hover {
    color: red;
}
.product3 {
    background-color: black;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    left: 0%;
    display: none;
}
.productb3 {
    background-color: white;
    width: 100%;
    height: 600px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.para3 {
    padding: 20px;
    top: 18%;
    left: 31%;
    position: absolute;
    display: none;
}
.des3 {
    position: absolute;
    top: 10%;
    left: 31%;
    display: none;
}
.price3 {
    position: absolute;
    top: 60%;
    left: 31%;
    display: none;
 }
.atc3 {
    position: absolute;
    top: 80%;
    left: 31%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.atc3:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.buy3 {
    position: absolute;
    top: 80%;
    left: 38%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    display: none;
}
.buy3:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 50px;
    display: none;
}
.close3  {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: transparent;
    color: black;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.close3:hover {
    color: red;
}
@media screen and (max-width: 768px) {
    li{
        display: block;
        margin: 10px 0;
    }
    .box1, .box2, .box3 {
        width: 100%;
        margin-top: 20px;
    }
    .des {
        left: 50%;
        transform: translateX(-50%);
    }
    .des2 {
        left: 50%;
        transform: translateX(-50%);
    }
    .des3 {
        left: 50%;
        transform: translateX(-50%);
    }
    .price {
        top: 83%;
        left: 50%;
        transform: translateX(-50%);
    }
    .atc {
        top: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
    .buy {
            top: 90%;
            left: 70%;
            transform: translateX(-50%);
        }
        .price2 {
            top: 83%;
            left: 50%;
            transform: translateX(-50%);
        }
        .atc2 {
            top: 90%;
            left: 50%;
            transform: translateX(-50%);
        }
        .buy2 {
            top: 90%;
            left: 70%;
            transform: translateX(-50%);
        }
        .price3 {
            top: 83%;
            left: 50%;
            transform: translateX(-50%);
        }
        .atc3 {
            top: 90%;
            left: 50%;
            transform: translateX(-50%);
        }
        .buy3 {
            top: 90%;
            left: 70%;
            transform: translateX(-50%);
        }



    
}