*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;   
}

html{
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*******___<HEADER>___********/
/*            ↓↓             */
header{
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.navbar{
    width: 100%;
    max-width: 1440px;
}

.navbar__container{
    display: flex; 
    justify-content: space-around;
    max-width: 1440px;
    align-items: center; 
    flex-direction: row;
    margin: 1.5rem 0;
}

.container__logo{
    width: 100%;
    max-width: 212.34px;
}

.container__navbar-menu{
    margin-left: 27%;
}

.navbar-menu__list{
    display: flex;
    flex-direction: row;
    list-style-type: none;
    gap: 24px;
}

.navbar-menu__item a {
    color: #000;
    text-decoration: none;
    font-family: "Anonymous Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.navbar-menu__item a:hover{
    text-decoration:underline;
    text-underline-offset: .7em;
}

/*******___<MAIN>___********/
/*           ↓↓            */
main{
    display: flex;
    justify-content: center;
    background: #f1f1f1;
    min-height: 100%;
    flex: 1 0 auto;
}

.main-content{
    width: 100%;
    max-width: 1440px;
}

.main-content__title{
    color:#121723;
    font-size: 48px;
    font-family: "Anonymous Pro";
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 25px 0 25px 9.6%;;
}

.main-content__sneakers-cards{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 25px;
}

.sneakers-cards__sneaker-card{
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    width: 23.1875rem;
    transition: all 0.2s;
}

.sneaker-card__link{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sneakers-cards__sneaker-card:hover{
    transform:translateY(-10px);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 
}

.sneaker-card__sneaker-image{
    padding: 25px;
}

.sneaker-card__card-text{
    padding: 32px 24px;
    font-family: "Anonymous Pro";
    font-style: normal;
    line-height: normal;
    color: #121723;  
}

.card-text__title{
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text__description{
    font-size: 20px;
    font-weight: 400;
}

/*******___<FOOTER>___********/
/*            ↓↓             */
footer{
    display: flex;
    justify-content: center;
    height: 133px;
    background: #121723;
    flex: 0 0 auto;
}

.footer__navbar{
    width: 100%;
    max-width: 1440px;
    height: 87px;
}

.footer-container__logo a{
    color: #fff;
    text-decoration: none;
    font-family: "Russo one";
    font-size: 25px;
    font-style: normal;
    line-height: normal;
    cursor: default;
    letter-spacing: 2px;
}

#footer-menu{
    margin-left: 22%;
}

#footer-menu__item a{
    color:#fff;
}

.footer__registered{
    display: flex;
    background: #121723;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 53px;
}

.registered__border{
    width: 100%;
    max-width: 1160px;
    border: none;
    background-color: rgba(230, 232, 236, 0.40);
    height: 1px; 
}

.registered__text{
    color: #A1A6B4;
    font-family: "Anonymous Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 18px;
}

/*******___<MEDIA>___********/
/*            ↓↓            */
@media screen and (max-width : 1366px) {

    .sneakers-cards__sneaker-card{      
        width: 22rem;      
    } 

    #header-menu{
        margin-left: 22rem;
    }

    #footer-menu{
        margin-left: 17rem;
    }

    .registered__border{
        width: 69rem;
    }

}
@media screen and (max-width : 1280px) {
    
    .main-content__title{
        margin-left: 7.9rem;
    }

    .sneakers-cards__sneaker-card{      
        width: 20.3rem;      
    } 

    #header-menu{
        margin-left: 17rem;
    }

    #footer-menu{
        margin-left: 12rem;
    }

    .registered__border{
        width: 63.4rem;
    }

}
@media screen and (max-width : 1024px) {

    .main-content__title{
        margin-left: 6.5rem;
    }

    .sneakers-cards__sneaker-card{      
        width: 24.7rem;      
    } 

    #header-menu{
        margin-left: 6rem;
    }

    #footer-menu{
        margin-left: 2rem;
    }

    .registered__border{
        width: 50.6rem;
    }

}
@media screen and (max-width : 820px)  {

    .main-content__title{
        font-size: 2.2rem;
        margin-left: 4.8rem;
    }

    .sneakers-cards__sneaker-card{      
        width: 20rem;      
    } 

    #header-menu{
        margin-left: 0.8em;
    }

    #footer-menu{
        margin-left: 0rem;
    }

    .registered__border{
        width: 43rem;
    }

}
@media screen and (max-width : 768px)  {

   .navbar__container{
        flex-direction: column; 
        justify-content: center;
    }

    #header-menu{ 
        margin: 0;         
    }

    .container__logo{
        margin-bottom: 1.25rem
    }

    .navbar-menu__item a {
        font-size: 1.25rem;
    }

    .main-content__title{
        margin-left: 3.2rem;
    }

    .footer-container__logo{
        margin-bottom: 1.5rem;
    }

    #footer-menu{
        margin: 0;
    }

    .registered__border{
        width: 40rem;
    }

}
@media screen and (max-width : 600px)  {

    .main-content__title{
        font-size: 2rem;
        margin: 2rem 3.65rem;
    }

    .sneakers-cards__sneaker-card{      
        width: 30rem;      
    }

    .registered__border{
        width: 30rem;
    }

}
@media screen and (max-width: 480px){

    .main-content__title{
        margin: 2rem 2.5rem;    
        font-size: 2rem;
    }
    .sneakers-cards__sneaker-card{      
        width: 25rem;      
    }
    .registered__border{
        width: 25rem;
    }
}
/*         <Макет>          */
/*            ↓↓            */
@media screen and (max-width: 375px){

    .main-content__title{
        margin: 2rem 1rem;    
        font-size: 2rem;
    }
    
    .sneakers-cards__sneaker-card{
        width: 21.4375rem;
    }

    .registered__border{
        width: 21.4375rem;
    }
}