@charset "UTF-8";

.text-container {
    width: 100%;
    margin: 0px auto 20px;
}

.header-title {
    color: #FF7F56;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
}

.text-content {
    color: #292929;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-top: 40px;
}

/*  Карточкa товаров  НАЧАЛО*/
.wrapper-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 269px;
    height: auto;
    margin: 0 34px;
}

.wrapper-card:first-child {
    margin-left: 0;
}

.wrapper-card:last-child {
    margin-right: 0;
}

.wrapper-card .item {
    border-radius: 30px;
    border: 1px solid #292929;
    background: #F7EBE5;
    overflow: hidden;
    transition: 0.5s;
    padding: 0 8px;
    scroll-snap-align: start;
}

.wrapper-card img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    margin-top: 8px;
}

.wrapper-card .item .content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

/* Кнопка покупки НАЧАЛО */
.wrapper-card .card-price {
    padding: 15px;
    text-align: center;
}

.buy-button {
    padding: 15px 50px;
    background-color: #E7426A;
    color: #fff;
    border: 1px solid rgb(231, 66, 106);
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.buy-button:hover {
    background-color: rgba(231, 66, 106, 0.7);
    border: 1px solid rgba(231, 66, 106, 0.7);
}

/* Кнопка покупки КОНЕЦ */
/*  Карточкa товаров  КОНЕЦ*/
/*  Скролл карточек НАЧАЛО*/
.direction {
    text-align: center;
    margin-bottom: 30px;
}

.direction-button {
    font-family: cursive;
    font-weight: bold;
    width: 30px;
    height: 30px;
    background-color: #E7426A;
    color: #fff;
    border: none;
    border-radius: 50%;
    transition: 0.5s;
    margin: 0 10px;
}

.direction button:hover {
    background-color: rgba(231, 66, 106, 0.7);
}

/*  Скролл карточек КОНЕЦ*/
#list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: -moz-max-content;
    width: max-content;
}

#formList {
    width: 1280px;
    display: flex;
    max-width: 100%;
    overflow: auto;
    margin: 50px auto 50px;
    /* scroll-behavior: smooth;
  scroll-snap-type: both; */
}

#formList::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 1024px) {
    .text-container {
        width: 100%;
        margin: 20px auto 15px;
    }

    .header-title {
        text-align: center;
        font-size: 36px;
        font-weight: 600;
        margin-top: 40px;
    }

    .text-content {
        font-size: 16px;
        font-weight: 400;
        margin-top: 40px;
    }

    #formList {
        width: 1024px;
        max-width: 100%;
        margin: 40px 30px;
    }

    .wrapper-card {
        width: calc(30vw - 20px);
        margin: 0 28px;
    }

    .wrapper-card:first-child {
        display: block;
    }

    .direction {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .text-container {
        width: 100%;
        margin: 20px auto 15px;
    }

    .header-title {
        text-align: center;
        font-size: 30px;
        font-weight: 600;
        margin-top: 30px;
    }

    .text-content {
        font-size: 14px;
        font-weight: 400;
        margin-top: 30px;
    }

    #formList {
        max-width: 768px;
        max-width: 100%;
        margin: 25px 25px;
    }

    .wrapper-card {
        width: calc(50vw - 20px);
        margin: 0 10px;
    }

    .wrapper-card:first-child {
        display: block;
    }

    .direction {
        display: none;
    }
}


/*# sourceMappingURL=index.css.map */