.wrapper{
    position: relative;
}

.header{
    padding: 0 102px;
    background-color: #fff;
}

.header__content{
    display: flex;
    justify-content: space-between;
    height: 84px;
}

.header__logo{
    height: 36px;
    margin-right: 40px;
}

.header__element{
    display: flex;
    align-items: center;
    height: 100%;
}

.header__element--menu{
    display: none;
}

.header__element:last-child{
    gap: 24px;
}

.header__ul{
    display: flex;
    gap: 12px;
    font-weight: 600;
}

.header__content-icon{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2px;
}

.header__content-icon span{
    font-size: 14px;
    color: #848484;
}

.header__btn{
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #262329;
    border: none;
}

.header__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f2f2f2;
}

.banner{
    position: relative;
}

.banner__img{
    display: none;
    width: 100%;
}

.banner__img.active{
    display: block;
}

.banner__control{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 96%;
}

.banner__control .bi{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    background-color: #00000080;
    color: #fff;
    cursor: pointer;
}

.banner__position{
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner__mark{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid grey;
    cursor: pointer;
}

.banner__mark.active{
    background-color: #262329;
}

.menu{
    width: 1280px;
    max-width: 96%;
    margin: 50px auto 0;
}

.menu__btn{
    display: block;
    width: 180px;
    padding: 8px 28px;
    margin: 0 auto 50px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #e5002b;
    border: 1px solid #e5002b;
}

.menu__ttl{
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.menu__content{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 40px;
    margin-top: 28px;
}

.menu__element{
    border-bottom: 1px solid #00000020;
    transition: .2s ease-out;
}

.menu__element:hover{
    transform: scale(1.1);
}

.menu__img{
    width: 100%;
}

.menu__name{
    margin: 12px 0;
    font-size: 14px;
    letter-spacing: -.2px;
    text-transform: uppercase;
    text-align: center;
}

.main__footer{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 1280px;
    max-width: 96%;
    margin: 80px auto 0;
}

.main__img{
    width: 100%;
}

.footer{
    margin-top: 80px;
    background-color: #f8f7f5;
}

.footer__content{
    width: 1280px;
    max-width: 96%;
    margin: 0 auto;
    padding-top: 24px;
}

.footer__logo{
    height: 36px;
}

.footer__data{
    display: flex;
    margin-top: 20px;
}

.footer__left{
    display: flex;
    grid-column: span 4 / span 4;
    gap: 20px;
}

.footer__element{
    width: fit-content;
}

.footer__element:first-child{
    max-width: 208px;
}

.footer__element span,
.footer__ttl{
    font-size: 16px;
    font-weight: 700;
}

.footer__element p{
    font-size: 14px;
}

.footer__right{
    flex: 1;
    text-align: center;
}

.footer__ttl{
    margin-bottom: 16px;
}

.footer__app{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer__end{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 22px 0;
    font-size: 14px;
    border-top: 1px solid #00000020;
}

.developer{
    text-align: center;
}

.developer__top{
    display: flex;
    text-align: center;
}

.developer__top span:first-child{
    padding-right: 8px;
}

.developer__top span:nth-child(3){
    padding-left: 6px;
}

.developer__bottom{
    display: flex;
    gap: 8px;
}

.mobile{
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    padding: 12px 40px;
    background-color: #fff;
    border-top: 1px solid #00000020;
    z-index: 10;
}

.mobile__element{
    text-align: center;
    font-size: 14px;
}

.mobile__element.active{
    color: #e5002b;
}

@media screen and (max-width: 1023px) {
    .header__ul,
    .header__content-icon{
        display: none;
    }

    .header{
        margin: 0;
        padding: 0 16px;
    }

    .menu__content{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mobile{
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .menu__content{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main__footer{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .main__img{
        height: 192px;
        object-fit: cover;
        border-radius: 20px;
    }

    .footer__logo{
        display: block;
        margin: 0 auto;
    }

    .footer__left{
        flex-direction: column;
        align-items: center;
    }

    .footer__element:first-child{
        max-width: 260px;
    }

    .footer__element span{
        display: block;
        text-align: center;
    }

    .footer__data{
        flex-direction: column;
        gap: 60px;
    }

    .footer__end{
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    .mobile{
        justify-content: space-between;
        gap: 0;
    }
}

@media screen and (max-width: 639px) {
    .header__element--menu{
        display: flex;
    }

    .header__btn{
        display: none;
    }

    .header__logo {
        margin-right: 0;
    }
}