*{
    margin: 0;
    padding: 0;
}
body{
   font: 15px/1.5 Arial,helvetica,sans-serif;
   background-color: #f4f4f4;
}

.header{
    background-color: #f4f4f4;
    color: #2c0606;
    padding-top: 0;
    min-height: 70px;
}

header a{
    color: #810c0c;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

.header li{
    display: inline;
    margin: 0 20px 0 20px;
} 

#branding h1{
    float: left;
    display: block;
    padding: 20px 20px 0 20px;
    transform: translate(20px, -7px);
}

header nav{
    float: right;
    margin-top: 25px;
}
/*
.tag{
    background-color: #f4f4f4;
}   

.tag p{
    margin-top: 0;
    padding-left: 610px;
}
*/
/*second nav*/

.nav{
    display: flex;
    background-color: none;
    box-shadow: 0 5px 5px -7px;
}

.nav ul{
    display: flex;
    list-style: none;
    padding-left: 300px;
    justify-content: center;
}

.nav ul li{
    margin: 0, 1rem;
    padding: 1rem;
}

.nav ul li a{
    text-decoration: none;
    text-transform: uppercase;
    color: brown;
}

.nav ul li a:hover{
    color: burlywood;
}

/*showcase*/

.showcase{
    height: 500px;
    margin: 40px;
    padding: 20px;
    background-color: crimson;
}

.carousal{
    height: 450px;
    width: 95%;
    background: url(/images/h&m-store6.jpg);
    margin: 20px auto;
    animation: slide 30s infinite;
}

@keyframes slide{
    25%{
        background: url(/images/h&m-store6.jpg) no-repeat;
    }
    50%{
        background: url(/images/h&m-store5.jpg) ;
    }
    75%{
        background: url(/images/h&m-store4.jpg) ;
    }
    100%{
        background: url(/images/h&m-store3.jpg) ;
    }
}

/* banner*/

.boxes{
    margin: 20px;
    padding: 20px 40px 20px 40px;
    height: 450px;
}

.container-box{
    padding: 20px 0 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box-a{
    padding: 20px;
    width: 250px;
    height: 250px;
    align-items: center;
    background-color: blueviolet;
}
.box-a p{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: brown;
}

.box-b{
    padding: 20px;
    width: 250px;
    height: 250px;
    align-items: center;
    background-color: rgb(86, 96, 235);
}
.box-b p{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: brown;
}

.box-c{
    padding: 20px;
    width: 250px;
    height: 250px;
    align-items: center;
    background-color: rgb(226, 135, 74);
}
.box-c p{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: brown;
}

.box-d{
    padding: 20px;
    width: 250px;
    height: 250px;
    align-items: center;
    background-color: rgb(223, 78, 78);
}
.box-d p{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: brown;
}

/*sarees*/
.box p{
    text-align: center;
    font-weight: bold;
    color: brown;
}

/*banner 2*/

#banner{
    margin: 20px;
    padding: 20px;
}

.title-product{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: rgb(80, 19, 19);
}

#banner a img{
    width: 100%;
    height: 350px;
    background-color: chocolate;
}

/*banner 3*/

.boxes1{
    margin: 20px;
    padding: 20px;
    background-color: none;
    height: 500px;
}

.container-box2{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

/*banner 4*/

.container-box3{    
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.boxes2{
    margin: 20px;
    padding: 20px;
    background-color: none;
    height: 500px;
}

/*banner 2*/

.banner2{
    height: 200px;
    margin: 60px 40px 40px 40px;
    padding: 20px;
    background-color: lightcoral;
}

#banner2 a{
    text-decoration: none;
}

#discount{
    text-align: center;
    font-size: 86px;
    font-weight: bolder;
    color: rgb(88, 13, 28);
    text-transform: uppercase;
    letter-spacing: 10px;
}

#shop-now{
    text-align: center;
    color: rgb(88, 13, 28);
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 10px;
    margin-top: 0;
}

#tc{
    text-align: end;
    color: rgb(88, 13, 28);
    background-color: none;
    margin-top: 10px;
}

.to-buy{
    margin: 20px;
    padding: 20px;
    font-size: 18px;
    font-family: sans-serif;
    line-height: 26px;
    border-top: 1px solid rgb(20, 17, 18);
}

/*footer*/

footer {
    height: 25px;
    background-color: rgb(66, 64, 64);
    color: honeydew;
    text-align: center;
    
}
footer a{
    text-decoration: none;
    color: lightcyan;
}

/*responsive----------------------------------------------------------------------------------------*/

@media (max-width: 480px){

    .container-box{
    padding: 20px 0 20px 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    }

    .container-box .box img{
        height: 200px;
    }
    .container-box .box{
        margin-top: 20px;
    }
    .container-box .box-c{
        margin-top: 50px;
    }
    .container-box .box-d{
        margin-top: 50px;
    }

    .boxes{
    margin: 20px;
    padding: 20px 20px 20px 20px;
    height: 900px;
    }
}

@media (max-width: 780px){

    .nav ul{
        padding-left: 20px;
    }

    .showcase{
        height: 420px;
    }

    .carousal{
        height: 370px;
        width: 90%;
    }

    .sub-box{
        margin: 20px;
        padding: 20px 40px;
        height: 100px;
    }

    .container-box .box{
        margin-top: 20px;
    }
    .container-box .box-c{
        margin-top: 130px;
    }
    .container-box .box-d{
        margin-top: 130px;
    }

    .container-box .box img{
        height: 350px;
    }

    .boxes{
    margin: 20px;
    padding: 20px 40px 20px 40px;
    height: 900px;
    }

 .container-box2 .box img{       
        height: 350px;
        width: 200px;
    }

    .boxes1{
    margin: 20px;
    padding: 20px;
    background-color: none;
    height: 390px;
    }

    .container-box3 .box img{       
        height: 350px;
        width: 200px;
    }

    .boxes2{
    margin: 20px;
    padding: 20px;
    background-color: none;
    height: 350px;
    }
    
    #discount{
    text-align: center;
    font-size: 52px;
    font-weight: bolder;
    color: rgb(88, 13, 28);
    text-transform: uppercase;
    letter-spacing: 5px;
    }

    .banner2{
    height: 150px;
    margin: 60px 40px 40px 40px;
    padding: 20px;
    background-color: lightcoral;
    }

}






