@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');
header {
    width: 100vw;
    display: block;
    /* word-wrap: n; */
    /* font-family: 'Poppins,sans-serif'; */
}

nav {
    display: inline-block;
    top: 0;
    background-color: rgba(0, 0, 0, 0.40);
}

ul li {
    position: relative;
    display: inline-block;
    padding: 22px;
}

li a {
    display: flex;
    justify-content: space-around;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 1s;
}


li a:hover {
    text-decoration: none;
    color: #000;
    transform: translateY(-20%);
}



@media only screen and (max-width: 600px) {
    ul li {
        position: relative;
        display: inline-block;
        padding: 5px;
    }

    li a {
        display: flex;
        justify-content: space-around;
        color: #fff;
        text-decoration: none;
        font-size: 17px;
        align-items: center;
        padding-top: 10px;
       
    }
    #gallery{
        flex-direction: column;
        justify-items: center;
        align-items: center;
        
    }

    #gallery #card1{
        margin-bottom: 40px;
       
    }
    #gallery #card2{
        margin-bottom: 40px;
    }
    /* #gallery #card3{
        margin-bottom: 20px;
    } */

    nav{
        height: 8vh;
    }

    .card{
        top: 20px;
    }
}


@media only screen and (max-width: 280px) {
    ul li {
        position: relative;
        display: inline-block;
        padding: 1px;
    }

    li a {
        display: flex;
        justify-content: space-around;
        color: #fff;
        text-decoration: none;
        font-size: 10px;
    }
    #gallery{
        flex-direction: column;
        justify-items: center;
        justify-content: space-around;
    }
}


#gallery a{
    display: flex;
    justify-content: space-around;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 1s;
}

#gallery a:hover {
    text-decoration: none;
    color: #000;
    transform: translateY(-20%);
}

.card-body, #footer{
    background-color: #14d3ecc0;
}

.card:hover{
    bottom: 30px;
    opacity: 1;
    cursor: pointer;
}

/* body{
    background-color: #003d55c0;
} */


body {
    font-family: "Poppins", sans-serif;
    color: #444444;
}

a,
a:hover {
    text-decoration: none;
    color: inherit;
}

.section-products {
    padding: 80px 0 54px;
}

.section-products .header {
    margin-bottom: 50px;
}

.section-products .header h3 {
    font-size: 1rem;
    color: #fe302f;
    font-weight: 500;
}

.section-products .header h2 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #444444; 
}

.section-products .single-product {
    margin-bottom: 26px;
}

.section-products .single-product .part-1 {
    position: relative;
    height: 290px;
    max-height: 290px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-products .single-product .part-1::before {
		position: absolute;
		content: "";
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		transition: all 0.3s;
}

.section-products .single-product:hover .part-1::before {
		transform: scale(1.2,1.2) rotate(5deg);
}

.section-products #product-1 .part-1::before {
    background: url("./kids/1.webp") no-repeat center;
    background-size: cover;
		transition: all 0.3s;
        /* object-fit: cover; */
}

.section-products #product-2 .part-1::before {
    background: url("./kids/2.webp") no-repeat center;
    background-size: cover;
}

.section-products #product-3 .part-1::before {
    background: url("./kids/3.webp") no-repeat center;
    background-size: cover;
}

.section-products #product-4 .part-1::before {
    background: url("./kids/4.webp") no-repeat center;
    background-size: cover;
}

.section-products .single-product .part-1 .discount,
.section-products .single-product .part-1 .new {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #ffffff;
    background-color: #fe302f;
    padding: 2px 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-products .single-product .part-1 .new {
    left: 0;
    background-color: #444444;
}

.section-products .single-product .part-1 ul {
    position: absolute;
    bottom: -41px;
    left: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    transition: bottom 0.5s, opacity 0.5s;
}

.section-products .single-product:hover .part-1 ul {
    bottom: 30px;
    opacity: 1;
}

.section-products .single-product .part-1 ul li {
    display: inline-block;
    margin-right: 4px;
}

.section-products .single-product .part-1 ul li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #ffffff;
    color: #444444;
    text-align: center;
    box-shadow: 0 2px 20px rgb(50 50 50 / 10%);
    transition: color 0.2s;
}

.section-products .single-product .part-1 ul li a:hover {
    color: #fe302f;
}

.section-products .single-product .part-2 .product-title {
    font-size: 1rem;
}

.section-products .single-product .part-2 h4 {
    display: inline-block;
    font-size: 1rem;
}

.section-products .single-product .part-2 .product-old-price {
    position: relative;
    padding: 0 7px;
    margin-right: 2px;
    opacity: 0.6;
}

.section-products .single-product .part-2 .product-old-price::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #444444;
    transform: translateY(-50%);
}