body{
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
span {
    color: rgb(238, 49, 143);
    /* background-color: rgba(63, 12, 12, 0.371); */
}

.container {
    
    background-color: rgb(51, 20, 20);
    padding: 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
}

h2 {
    color: white;
    font-size: 40px;
    padding: 10px;
    font-family: sans-serif;
    position: fixed;
    text-align: center;
    top: 7%;
    left: 50%;
    transform: translate(-50%, -50%);
}

ul {
    text-align: center;

}

ul li {
    display: inline;
    flex-wrap: wrap;
    padding: 20px;
    font-size: 18px;
}

ul li a {
    color: white;

    &:hover {
        color: white;
        background-color: rgba(209, 6, 107, 0.87);
        padding: 0.5vw;
        border-radius: 20%;
        /* cursor: pointer; */
        text-decoration: none;

    }
}

.logo-img {
    height: 6vw;
    width: 6vw;
}

#icon {
    color: white;
    margin-left: 2vw;
    cursor: pointer;
}

.header-image {
    width: 100%;
    background-color: #ECCEC1;
    /* height: 50vh; */
}

.woman-img {
    float: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 8vw;
}

h1 {
    text-align: center;
    font-size: 5rem;
    padding: 2rem;
}

p {
    text-align: center;
    width: 50%;
    font-size: 1.5rem;
    padding: 2rem;
}

.btn-shop {
    text-align: center;
    padding: 1.3rem;
}

.btn {
    padding: 0.6vw;
    border-radius: 1vw;
    width: 9rem;
    background-color: #f7a298;
}

h3 {
    margin-top: 3vh;
    font-size: 2rem;
    text-align: center;
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    text-decoration: underline;
}

.main-products {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.product img {
    margin-top: 5vh;
    width: 24rem;
    height: auto;
    border-radius: 2vw;

    &:hover {
        transform: scale(1.05);
        transition: 0.3s ease-in-out;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
       
    }
}

.product p {
    width: 100%;
    text-align: center;

}

.slider-container {
    width: 90%;
    margin: 0 auto;
    margin-top: 4vh;
    overflow: hidden;
    background-color: #FDF6F2; /* Soft background color that complements the border color */
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slider-content {
    display: flex;
    align-items: center;
}

.image-item {
    display: inline-block;
    margin: 0 25px; 
    text-align: center;
}

.image-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #ECCEC1;
    padding: 10px;
    background-color: white; /* Add background to images */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

    &:hover{
        transform: scale(1.05);
        
    }
}
@keyframes preload {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-container {
    animation: preload 0.5s ease;
}
.product-deatils{
    margin-top: 4vh;
    margin-left: 5vw;
    display: flex;
    flex-wrap: wrap;
}
.product-deatils img{
    border-radius: 2vw;
    &:hover {
        transform: scale(1.05);
        transition: 0.3s ease-in-out;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        transform: scaleX(-1);
    }
}
.product-deatils p{
    font-size: 2.5rem;
    text-align:center;
}
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgb(51, 20, 20);
    color: white;
}

h4 {
    border-bottom: 2px solid rgb(238, 49, 143);
    padding: 0.2vw;

}

.info {
    padding: 4vw;
    list-style: none;
    text-align: center;
    margin: auto;
    cursor: pointer;

}

.nav-item {
    &:hover {
        padding: 2px;
        text-decoration: underline;
        cursor: pointer;
    }
}

.navs {
    padding: 8px;
    font-family: sans-serif;
}

footer {
    margin-top: 5vh;
}

/* Fixing the syntax error in @media query */
@media screen and (max-width: 768px) {
    .navs {
        padding: 4px;
        font-size: 14px;
    }

    header h2 {
        font-size: 30px;
        top: 5%;
    }

    ul li {
        padding: 10px;
        font-size: 16px;
    }

    .container {
        padding: 10px;
    }

    .woman-img {
        margin-right: 4vw;
        width: 100%;
        display: block;
    }

    h1 {
        font-size: 3rem;
        padding: 1rem;
    }

    p {
        width: 80%;
        font-size: 1.2rem;
        padding: 1rem;
    }

    .btn {
        width: 7rem;
        padding: 0.5vw;
    }

    .main-products {
        flex-direction: column;
        align-items: center;
    }

    .product img {
        width: 18rem;
    }

    .slider-container {
        width: 100%;
        padding: 10px 0;
    }

    .image-item img {
        width: 100px;
        height: 100px;
    }

    .product-deatils {
        flex-direction: column;
        margin-left: 0;
        align-items: center;
    }

    .product-deatils img {
        width: 90%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .info {
        padding: 2vw;
    }
}

@media screen and (max-width: 480px) {
    .navs {
        font-size: 12px;
    }

    header h2 {
        font-size: 24px;
    }

    ul li {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        width: 6rem;
    }

    .product img {
        width: 15rem;
    }

    .image-item img {
        width: 80px;
        height: 80px;
    }

    .footer {
        font-size: 12px;
    }
}