*{
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
     box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
:root{
    --mainColor:#ff4d01cc;
    --backgroundColor:#f5f5f5;
    --backgroudButton:#ff4c0026;
    --spanColor:#676767;
    --transperntButton:#ffffff2e;
    --transperntLine:#d7d7d71a;
    --borderColor:#DFDFDF;
    --textColor:#302F2F;
    --secondColor:#ffb0502e

}
.container{
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}
/*------start navbar section---------*/
nav{ position: relative;}

nav::after{
    content: '';
    width: 100%;
    position: absolute;
    top: 100px;
    right: 0;
    background-color:var(--backgroundColor);
    border: 1px solid var(--transperntLine);
}
.navber-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 20px ;
    margin-bottom: 5px;
}
.navber-top .search{
    width: 557px;
    height: 42px;
    border: 1px solid var(--borderColor);
    border-radius: 5px;
    padding: 15px;
    position: relative;
    
}
.navber-top::after{
   content: '';
   background-image:url(images/Iconly-Light-outline-Search.png);
    background-size: cover;
    position: absolute;
    top: 34px;
    right: 404px;
    width: 16px;
    height: 16px;
}
.navber-top .search::placeholder{
    color: #837f7f;
}
.navber-top .search:focus{
    border: 1px solid var(--borderColor);
    outline: none;
}
.navber-top .icon{
    display: flex;
    list-style: none;
    padding-right: 15px;
}
.navber-top .icon li{margin: 15px; position: relative;}

.navber-top .icon li img{ width: 18px;}

.navber-top .icon li:nth-child(1)::after,  
.navber-top .icon li:nth-child(3)::after{
    content: '0';
    position: absolute;
    background-color: var(--mainColor);
    color: white;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    text-align: center;
    line-height: 13px;
    font-size: 2px;
    top: -5px;
    left: 12px;
}
#nav-check{display: none;}

 .nav-toggler{
    background-color: var(--mainColor);
    width: 40px;
    height: 34px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    
}
.nav-toggler span{
    width: 27px;
    height: 2px;
    background-color: #fff;
    position: relative;
}
 .nav-toggler span::after,
  .nav-toggler span::before{
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    background-color: #fff;
    position: absolute;
}
.nav-toggler span::before{top:-6px}
.nav-toggler span::after{top:6px}

.navber-bottom{
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
   
}
.navber-bottom .categories{
    display: flex;
    align-items: center;
    background-color: var(--backgroundColor);
    width: 197px;
    height: 44px;
    justify-content: space-around;
    border-radius: 5px;
}
.navber-bottom .categories p{
    font-size: 14px;
    color:var(--textColor);
}

.navber-bottom .menu{
    display: flex;
    align-items: center;
    list-style: none;
}
.navber-bottom .menu li{
    margin: 5px;
}
 a{
    text-decoration: none;
    color: var(--textColor);
    margin: 20px;
    position: relative;
}
 a::after{
    content: '';
    width: 0%;
    height:2px;
    position: absolute;
    bottom: -6px;
    left: 0;
    background-color: var(--mainColor);
}
  a:hover::after{
    width: 100%;
    transition: .5s all ease-out;
}
 li a:hover{
    transition: .5s all ease-out;
    color:var(--mainColor);
    
    
    
}

/*------end navbar section---------*/

/*------start header section---------*/
header{
    background-image:
    linear-gradient(to top, rgb(14 14 14 / 84%), rgb(41 33 52 / 48%)),
    url(images/Mask.png);
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
header::after{
    content: '';
    position: absolute;
    background: url(images/Mask\ Group\ 1.png) no-repeat center;
    background-size: cover;
    top: 0;
    right: 0px;
    width: 700px;
    height: 400px;
}

header .text {
    color: #fff;
}
header .text p{
    font-size: 36px;
    font-weight: 600;
    padding-bottom: 10px;
    white-space: pre-line;
}
header .text span{
    font-size: 16px;
    white-space: pre-line;
}
header .btn{padding-top: 30px; display: flex;}
header .btn button:first-of-type{
    width: 137px;
    height: 50px;
    background-color: var(--mainColor);
    border: none;
    color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-right: 10px;
}
header .btn button:first-of-type img{
    width: 20px;
}
header .btn button:last-of-type{
    width: 240px;
    height: 50px ;
    background-color: var(--transperntButton);
    border: none;
    color: #fff;
    border-radius: 5px;
}

.header{
    text-align: center;
    text-transform: uppercase;
    padding-top: 35px;
    padding-bottom: 35px;
}
.header span{
    font-size: 15px;
}
.header p{
    font-weight: 400;
    font-size: 25px;
}
/*------end-header-section---------*/

/*------start-explore-products-section---------*/
.explore-products{
    position: relative;
    
}
.explore-products::after{
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    background-color: var(--backgroundColor);
    height: 250px;
    z-index: -1;
}

.explore-products .all-products{
    display: grid;
    justify-content: space-between;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.explore-products .all-products .prod{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 270px;
    height: 270px;
}

.explore-products .all-products .prod p{
    font-size: 15px;
    color: var(--textColor);
    padding-bottom: 15px;
    padding-top: 15px;
}

.explore-products .all-products .prod span{
    font-size: 14px;
    background-color: var(--backgroudButton);
    color:var(--mainColor);
    width: 56px;
    height: 31px;
    border-radius: 10px;
    text-align: center;
}
/*------end-explore-products-section---------*/

/*------start-div-btn-prodouct----------*/
.div-btn-prodouct{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 50px;
}
.div-btn-prodouct button{
    width: 244px;
    height: 56px;
    background-color: #fff;
    border: 2px solid var(--borderColor);
    color: var(--textColor);
    border-radius: 5px;
    font-size: 15px;
    position: relative;
}
.btn-hover::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: all .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: -1;
    background-color: var(--mainColor);

}
.btn-hover:hover::before{
   transition: all .5s ease-in-out;
   transform: scaleX(1);
   color: #fff;
   
   

}
button{cursor: pointer;}
.div-btn-prodouct button:hover{
    transition: all .5s ease;
    background-color: var(--mainColor);
    border: none;
    color: #fff;
}
/*------start-div-btn-prodouct----------*/

/*------start-sneaker-section---------*/
.sneaker{
    background-image:
    linear-gradient(to top, rgb(14 14 14 / 84%), rgb(41 33 52 / 48%)),
    url(images/Rectangle1.png) ;
    background-size: cover;
    background-position:center;
    height: 280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;

}
.sneaker p{
    margin-left: 30px;
    font-size: 35px;
    white-space: pre-line;
    font-weight: bold;
}
.sneaker .btn-hover{
    width: 244px;
    height: 56px;
    background-color: var(--transperntButton);
    border: 2px solid var(--borderColor);
    color:#fff;
    border-radius: 5px;
    font-size: 15px;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}
/*------end-sneaker-section---------*/

/*------start-collection-section---------*/
.collection{ padding-bottom: 40px;}

.collection .all-shoes{
    display: flex;
    justify-content: space-evenly;
}

.collection .all-shoes .shoes-left{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 30px;
}

.collection .all-shoes .shoes-left .shoe{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 255px;
    height: 313px;
    border-radius: 5px;
}

.collection .all-shoes .shoes-left .shoe .text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}
.collection .all-shoes .shoes-left .shoe .text p{ font-size: 18px; color: var(--textColor);}

.collection .all-shoes .span-shoe{
    font-size: 14px;
    background-color:var(--secondColor);
    color: var(--mainColor);
    width: 63px;
    height: 34px;
    border-radius: 25px;
    text-align: center;
    line-height: 34px;
}

.collection .all-shoes .shoes-right{
    
    width: 540px;
    height: 680px;
    background-color: var(--backgroundColor);
    border-radius: 5px;
}

.collection .all-shoes .shoes-right .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.collection .all-shoes .shoes-right .top span:first-of-type{
    font-size: 14px;
    background-color: #030303;
    color: #fff;
    width: 100px;
    height: 34px;
    border-radius: 25px;
    text-align: center;
    line-height: 34px;
}
.collection .all-shoes .shoes-right .top span:last-of-type{background-color:#fff;}
.collection .all-shoes .shoes-right .bottom p{font-size: 25px;padding-left: 35px;}
.collection .all-shoes .shoes-right .bottom span{font-size: 15px;padding-left: 25px; color: var(--spanColor);}
/*------end-collection-section---------*/

/*------start-top-prodects-section---------*/
.top-prodects{ padding-bottom: 80px;}

.top-prodects .grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    gap: 20px;
}

.top-prodects .grid .shoe{
    width: 269px;
    height: 269px;
    border-radius: 5px;
    background-color: var(--backgroundColor);
    display: flex;
    flex-direction: column;
    
}

.top-prodects .grid .shoe .text{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #fff;
    padding-top: 20px;
}
.top-prodects .grid .shoe .text span{
    font-size: 14px;
    background-color: var(--secondColor);
    color:var(--mainColor);
    width: 56px;
    height: 31px;
    line-height: 31px;
    border-radius: 20px;
    text-align: center;
}
/*------end-top-prodects-section---------*/


/*------end-footer-section----------*/
footer{
padding-top: 40px;
padding-bottom: 40px;
}
footer .all-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .all-div .div-left p{
    white-space: pre-line;
    font-size: 16px;
    color: var(--textColor);
    line-height: 1.6;
}
footer .all-div .div-right{
    display: flex;
    align-items: stretch;}

footer .all-div .div-right .link{list-style: none;}
footer .all-div .div-right .link li {
    color: var(--spanColor);
    padding: 10px 0px 5px 45px;
    white-space: pre-line;
    font-size: 13px;
}
footer .all-div .div-right .link li a{margin:0;}
/*------end-footer-section----------*/
/*---------
576px for portrait phones
768px for tablets
992px for laptops
1200px for large devices
*/
@media (max-width: 1200px) { 
    nav .container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav::after,.navber-top .search,
    .navber-top .icon,.navber-bottom .categories{ display: none;}
     
    .navber-top{ margin-bottom: 0;}
    .navber-top::after{display: none;}
    .navber-bottom{ 
        opacity: 0;
        visibility: visible;
        width: 100%;
        position: absolute;
        left:0;
        background-color: #302F2F;
        z-index: 1;
        margin-bottom: -300px;
    }
    .nav-toggler{visibility: visible;}
    
    #nav-check:checked ~ .navber-bottom {opacity: 1;visibility:visible;}
    #nav-check:checked ~ .nav-toggler span{background-color: transparent;transition: all 0.5s ease-in-out}
    #nav-check:checked ~ .nav-toggler span::before{top:0; transform: rotate(-45deg);transition: all 0.5s ease-in-out;}
    #nav-check:checked ~ .nav-toggler span::after{top:0; transform: rotate(45deg);transition: all 0.5s ease-in-out;}
    .navber-bottom,.navber-bottom .menu { display: flex;flex-direction: column-reverse;align-items: center;}
    
    .navber-bottom .menu li a {color: #e2e2e2;}
    .div-btn-prodouct {margin-top: 95px;}
    
}
@media (max-width: 992px) {
    header::after {width: 430px;}
    header .text p {font-size: 30px;}
    header .text span {font-size: 12px;}
    .explore-products .all-products { grid-template-columns: 1fr 1fr;gap: 80px;}
    .div-btn-prodouct button {margin-top: 97px;}
    .div-btn-prodouct {padding-bottom: 20px;}
    .collection .all-shoes { flex-direction: column; justify-items: center; align-items: center;}
    .collection .all-shoes .shoes-right{padding-top: 10px;}
    .top-prodects .grid {grid-template-columns: 1fr 1fr;gap: 30px;}
    .sneaker p {font-size: 25px;}
    footer .all-div .div-left p {font-size: 12px;}
    footer .all-div .div-right .link li {font-size: 12px;} 
}
@media (max-width: 576px) {

    header::after {opacity: 0.7}
    header .text{z-index: 1;}
    header .text p {font-size: 30px;}
    header .text span {font-size: 12px;}
    .explore-products .all-products { grid-template-columns: 1fr}
    .collection .all-shoes .shoes-left {grid-template-columns: 1fr;}
    .top-prodects .grid {grid-template-columns: 1fr }
    .sneaker p {font-size: 15px;}
    footer .all-div {align-items: end;flex-direction: column;}
    footer .all-div .div-left p {font-size: 12px;}
    footer .all-div .div-right .link li {font-size: 12px;} 
}