* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, "Arial Narrow", Helvetica, sans-serif;
}

header {
    margin: 0 auto;
    padding: 20px;
    position: sticky;
    overflow: hidden;
    top: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    gap: 58px;
    list-style-type: none;
}

.menu a {
    text-decoration: none;
    font-size: 22px;
    color: black;
    font-weight: bold;
}

.menu a:hover {
    color: grey;
}

#cart {
    position: absolute;
    right: 30px;
    width: 30px;
    cursor: pointer;
}

.conceptPhotoDiv {
    height: 500px;
    width: 90%;
    margin: 0 auto;
    display: flex;
}

.conceptPhotoDiv img {
    width: 100%;
    object-fit: fill;
}

/*----------------------------------------------------*/

.container {
    margin: 80px;
}

h2 {
    margin-bottom: 15px;
}

.product {
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product:hover {
    cursor: pointer;
}

.product img {
    height: 285px;
    margin-bottom: 20px;
}

.productContainer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;
}

.description {
    font-size: 15px;
    color: rgb(78, 78, 78);
}

.price {
    margin-top: 20px;
}

/*----------------------------------------------------*/

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(89, 88, 88);
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgb(207, 203, 203);
    padding-bottom: 12px;
    padding-top: 45px;
    margin-top: 100px;
}

.socials {
    list-style-type: none;
    display: flex;
    gap: 30px;
    padding-bottom: 20px;

}

.socials a {
    font-size: 30px;
    color: black;
}

footer p {
    font-size: 12px;
}

/*--------------media query------------------------*/

@media screen and (min-width: 393px) and (max-width: 800px) {
    .socials, .conceptPhotoDiv img, h2 {
        display: none;
    }

    header {
        justify-content: space-between;
        padding: 10px 20px;
    }

    .menu {
        gap: 14%;
    }

    #cart {
        width: 24px;
        height: auto;
        margin-left: auto;
    }

    .conceptPhotoDiv {
        height: auto;
        width: auto;
        margin: auto;
    }

    .container {
        margin: auto;
        margin-top: 50px;
    }

    .productContainer {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin: auto;
    }

    .product {
    width: auto;
    margin-bottom: 50px;
    }

    .price {
        margin-top: 12px;
    }

    footer {
        padding: 20px 0px;
    }

    footer p {
        text-align: center;
    }
}

