*
{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    
}
.header
{
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* General Reset */
ul {
    list-style: none; /* Remove default list styling */
    text-decoration: none;
    margin: 0;
    padding: 0;
}

/* Top-level menu styles */
.d-flex {
    display: flex;
    gap: 20px; /* Space between main items */
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
}

.d-flex > li {
    position: relative; /* Needed for positioning the sub-menu */
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
    color: #fff;
}

.d-flex > li:hover {
    color: whitesmoke;
}

/* Sub-menu styles */
.sub-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Appears below the parent <li> */
    left: 0;
    background-color: white;
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.sub-menu li {
    position: relative; /* Needed for positioning sub-menu2 */
    padding: 10px;
    color: black;
    background-color: white;
    transition: background 0.3s ease;
    font-size: 14px;
}

.sub-menu li:hover {
    color: #4b2942;
}

/* Sub-menu2 styles */
.sub-menu2 {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0; /* Aligns the sub-menu2 at the same height as parent <li> */
    left: 100%; /* Appears to the right of the parent menu */
    background-color: white;
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 11; /* Ensure it appears above the first sub-menu */
}

.sub-menu2 li {
    padding: 10px;
    color: black;
    transition: background 0.3s ease;
}

.sub-menu2 li:hover {
    background-color: white;
    color: #4b2942;
    margin-left: 5px;
}

/* Show sub-menu on hover */
.d-flex > li:hover .sub-menu {
    display: block;
}

/* Show sub-menu2 on hover */
.sub-menu li:hover .sub-menu2 {
    display: block;
}
.Image img
{
    width: 150px;
    height: 80px;
    margin-left: 50px;
}
.search-i
{
    color: white;
    margin-right: 20px;
    font-size: 14px;
    position: relative;

}
.cart-i
{
    color:white;
    margin-right: 50px;
    font-size: 14px;
    position: relative;
}
.form
{
    color: white;
    font-size: 14px;
    position: relative;
}

.search-i
{
    color: white;
}

/* product data */
#cardio
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    height: 100%;
}
.card
{
    width: 300px;
    height: 350px;
    margin-top: 20px;
    border: 1px solid black;
}
.card-img
{
    width: 100%;
    height: 200px;
}
.card-img img
{
    height: 100%;
    width: 100%;
}
.card-body
{
    height: 150px;
    text-align: center;
    padding-top: 20px;
    color: black;
}


.btn-load
{
    padding: 15px 30px;
    font-size: 16px;
    background-color: white;
    font-weight: bold;
}

/* footer */
/* General styles for links */
.hover-link {
    color: gray;
    text-decoration: none;
    font-size: 14px;
    position: relative; 
    padding-bottom: 2px; 
}

/* Text color change on hover */
.hover-link:hover {
    color: white;
}

/* Line effect using ::after pseudo-element */
.hover-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; 
    height: 2px; 
    background-color: white; 
    transition: width 0.3s ease;
}

/* Line expands fully on hover */
.hover-link:hover::after {
    width: 100%; 
}

/* gym */
#gym
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    height: 100%;
}

#bicycle
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    height: 100%;
}

#plate
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    height: 100%;
}

#weight
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    height: 100%;
}

