/*Адаптивность до ширины 350px*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

p {
    padding: 0;
    margin: 0;
}

a {
    color: #dddddd;
}

@font-face {
    font-family: "Roboto-Light";
    src: url("../fonts/Roboto/Roboto-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Roboto-Regular";
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Roboto-Medium";
    src: url("../fonts/Roboto/Roboto-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Roboto-Bold";
    src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

#loyalty-program_label {
    cursor: pointer;
}

.number-example{
    opacity:0.6;
}

html {
    background-color: #424242;
    font-family: "Roboto-Regular";
    color: #dddddd;
    user-select: none;
    scrollbar-width: thin;
    overflow-x: hidden;
}

body {
    max-width: 1240px;
    margin: auto;
    /*overflow-x: hidden;*/
}

/*Шапка сайта*/
header {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px;
    user-select: none;
}

.header-logo {
    cursor: pointer;
    margin-right: 24px;
}

.logo-icon-short {
    display: none;
}

.header-menu {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.menu-items {
    display: block;
    z-index: 1;
}

.menu-item {
    line-height: 120%;
}

.menu-items-container {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.menu-item {
    padding: 8px 0px;
    margin-left: 24px;
    cursor: pointer;
    font-size: 16px;
    width: max-content;
    text-decoration: none;
}

.menu-item:hover {
    text-decoration: underline;
}

.menu-icon {
    margin-left: 24px;
    cursor: pointer;
}

.user-page {
    margin-left: 24px;
    cursor: pointer;
}

.menu-icon {
    display: none;
}

.password-container {
    position: relative;
    /*width: 300px; */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 48px;
    transform: translateY(-50%);
    cursor: pointer;
}

@media screen and (min-width: 1031px) {
    .menu-items {
        display: block !important;
    }
}

@media screen and (max-width: 1030px) {
    header {
        height: unset;
        padding: 24px 24px;
    }

    header svg {
        height: 24px;
        width: auto;
    }

    .header-logo {
        margin-right: 12px;
    }

    .logo-icon-short {
        display: block;
    }

    .logo-icon-long {
        display: none;
    }

    .menu-items {
        display: none;
        background: #424242;
        border: 1px solid #424242;
        box-shadow: 0px 0px 24px 6px rgba(0, 0, 0, 0.25);
        border-radius: 8px 0px 0px 8px;
        position: absolute;
        top: 68px;
        right: 0px;
        width: fit-content;
        padding: 12px 0px;
    }

    .menu-items-container {
        flex-direction: column;
        justify-content: start;
    }

    .menu-item {
        margin-right: 24px;
        padding: 12px 0px;
    }

    .menu-icon {
        display: block;
        margin-left: 12px;
    }

    .user-page {
        margin-left: 12px;
    }
}

/*Футер*/
footer {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px;
    user-select: none;
}

.footer-logo {
    cursor: pointer;
    margin-right: 24px;
}

.logo-icon-short {
    display: none;
}

.footer-social-media {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.footer-social-media svg {
    margin-left: 24px;
    cursor: pointer;
}

@media screen and (max-width: 1030px) {
    footer {
        height: unset;
        padding: 24px 24px;
    }

    .footer-logo {
        margin-right: 12px;
    }

    .logo-icon-short {
        display: block;
    }

    .logo-icon-long {
        display: none;
    }

    .footer-social-media svg {
        margin-left: 12px;
        width: auto;
    }
    .input-block input {
        font-size: 17px !important;
    }

        .input-block input::placeholder
        .input-block input::-webkit-input-placeholder,
        .input-block input::-moz-placeholder,
        .input-block input:-moz-placeholder,
        .input-block input:-ms-input-placeholder,
        .input-block input::-ms-input-placeholder,
        .input-block input {
            font-size: 17px !important;
        }

    .number-example {
        opacity: 0.6 !important;
        font-size: 17px !important;
    }
}

/*Основной блок "Мужской клуб"*/
.main-part {
    display: flex;
    flex-direction: column;
}

.main-block {
    padding: 68px 130px 68px 75px;
    background-color: #DDDDDD;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 120px;
}

.main-block-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 514px;
}

.main-block-information .main-block-img {
    display: none;
}

.main-block-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    color: #424242;
    margin-bottom: 32px;
}

.large-title {
    font-family: "Roboto-Bold";
    font-size: 64px;
    line-height: 120%;
    margin-bottom: 32px;
}

.text {
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 12px;
}

.main-block-buttons .button.gold {
    margin-bottom: 16px;
}

.button {
    padding: 20px 32px;
    background-color: #2A832A;
    border-radius: 8px;
    width: fit-content;
    cursor: pointer;
    user-select: none;
    transition: 0.5s;
}

.disabled.button {
    background-color: #1b621b;
    cursor: not-allowed;
}

.timer-display {
    margin-top: 32px;
    font-size: 18px;
}

#resendLink {
    display: none;
    cursor: pointer;
    margin-top: 32px;
}



.button.gold {
    background-color: #877247;
    text-decoration: none;
    display: block;
}

.button:hover {
    background-color: #1b621b;
    transition: 0.5s;
}

.button.disabled:hover {
    background-color: #1b621b;
    /*transition: 0.5s;*/
}

.button.gold:hover{
    background-color: #6b552a;
}

.main-block-button {
    font-size: 20px;
}

.main-block-img img {
    height: 569px;
    cursor: pointer;
    transition: transform 1s;
}

.main-block-img img#main-image:hover {
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(20deg) rotateY(-20deg) rotateZ(10deg);
    transition: transform 1s;
}

@media screen and (max-width: 1240px) {
    .main-block {
        border-radius: 0px;
        padding: 64px 32px;
    }

    .main-block-img{
        width: 100%;
        align-items: center;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 1060px) {
    .main-block-img {
        margin-left: 32px;
    }

    .main-block-img img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 925px) {
    .large-title {
        font-size: 48px;
        margin-bottom: 18px;
    }

    .text,
    .main-block-button {
        font-size: 16px;
    }

    .main-block-img {
        display: none;
    }

    .main-block-information .main-block-img {
        display: block;
        margin-left: 0px;
    }

    .main-block-img img {
        width: 280px;
        /*margin-bottom: 8px;*/
        margin-bottom: 20px;
    }

    .main-block-text {
        margin-bottom: 8px;
    }

    .button {
        padding: 16px 24px;
        width: 300px;
        text-align: center;
    }
}

@media screen and (max-width: 580px) {
    .main-block {
        padding: 32px 24px;
    }
}

/*Блок "Описание продукта"*/
.product-description-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 120px;
}

.block-title {
    font-family: 'Roboto-Bold';
    font-size: 48px;
    line-height: 120%;
    margin-bottom: 32px;
}

.block-text {
    font-family: 'Roboto-Regular';
    font-size: 20px;
    line-height: 120%;
}

.modal-card-name-input {
    text-align: left !important;
}

.card {
    border: 2px solid #2A832A;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    /* width: 400px; */
    width: 100%;
    min-width: 400px;
    padding: 32px;
    margin-bottom: 20px;
}

.card-large-title {
    font-family: 'Roboto-Bold';
    font-size: 40px;
    line-height: 120%;
    color: #2A832A;
    margin-bottom: 8px;
}

.card-text {
    font-family: 'Roboto-Regular';
    font-size: 24px;
    line-height: 120%;
    color: #DDDDDD;
}

.block-cards {
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
    margin-top: 24px;
}

.block-cards-first {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.block-cards-first-top {
    display: flex;
    flex-direction: row;
}

.block-cards-first-top .card:nth-child(1) {
    margin-right: 20px;
}

.block-cards-first-bottom .card {
    width: unset;
    /* max-width: 820px; */
    max-width: 100%;
}

.block-cards-second {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1320px) {
    .product-description-block {
        padding-right: 68px;
        padding-left: 68px;
    }

    .block-cards {
        flex-direction: column;
    }

    .block-cards-first {
        margin-right: 0px;
    }

    .block-cards-second {
        flex-direction: row;
    }

    .block-cards-second .card:nth-child(1) {
        margin-right: 20px;
    }
}

@media screen and (max-width: 1240px) {
    .product-description-block {
        padding-right: 32px;
        padding-left: 32px;
    }

    .main-block,
    .product-description-block,
    .select-category-block {
        margin-bottom: 64px !important;
    }
}

@media screen and (max-width: 965px) {

    .block-cards-first-top,
    .block-cards-second {
        flex-direction: column;
    }

    .card {
        min-width: 100%;
    }
}

@media screen and (max-width: 925px) {
    .block-title {
        font-size: 32px;
    }

    .block-text,
    .card-text {
        font-size: 16px;
    }

    .card-large-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 580px) {

    .main-block,
    .product-description-block {
        margin-bottom: 0px;
    }

    .product-description-block {
        padding: 32px 24px;
    }

    .card {
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 450px) {
    .card {
        width: unset;
    }
}

/*Блок "Выбор Категории"*/
.select-category-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 120px;
}

.select-category-block-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.title-container {
    display: flex;
    flex-direction: column;
}

.select-category-block-title .title-container .block-title{
    margin-bottom: 0px !important;
}

.block-subtitle {
    font-family: 'Roboto-Regular';
    font-size: 24px;
    line-height: 120%;
    padding-top: 4px;
    /*padding-left: 24px; */
    margin-bottom: 32px;
}

.block-info {
    cursor: pointer;
}

.select-category-block-rows{
    display: flex;
    flex-direction: column;
}

.select-category-block-row{
    display: flex;
    flex-direction: row;
}

.select-category-block-cards{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.select-category-block-cards .select-card{
    margin-right: 20px;
}

.select-category-block-rows .select-category-block-row:nth-child(2) .select-category-block-cards .select-card{
    width: 100%;
}

.select-category-block-rows .select-category-block-row:nth-child(2) .select-category-block-cards .select-card:nth-child(2){
    margin-right: 0px;
}

.select-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 2px solid #2A832A;
    border-radius: 8px;
    padding: 32px;
    min-width: 400px;
    width: 400px;
}

.select-card-info {
    display: flex;
    flex-direction: column;
}

.select-card {
    margin-bottom: 20px;
    min-height: 241px;
}

.select-category-block-cards-third .select-card {
    margin-bottom: 0;
}

.select-category-block-cards-first .select-card:nth-child(2),
.select-category-block-cards-second .select-card:nth-child(2) {
    min-height: 280px;
}

.select-info-title {
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 8px;
    margin-top: 8px;
}

.select-info-text {
    font-family: 'Roboto-Regular';
    font-size: 16px;
    line-height: 120%;
}
.modal-card-name-title{
    display:inline;
}

.card-name-label {
    cursor: pointer;
}

/*Кастомный чекбокс*/
.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 2px solid #dddddd;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    cursor: pointer;
}

.custom-checkbox:checked+label::before {
    border-color: #dddddd;
    background-color: #dddddd;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2228%22%20height%3D%2220%22%20viewBox%3D%220%200%2028%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M26.728%200.814755C27.1029%201.18981%2027.3135%201.69843%2027.3135%202.22876C27.3135%202.75908%2027.1029%203.2677%2026.728%203.64275L11.7373%2018.6334C11.5392%2018.8316%2011.304%2018.9888%2011.0451%2019.096C10.7863%2019.2032%2010.5088%2019.2584%2010.2286%2019.2584C9.94843%2019.2584%209.67098%2019.2032%209.41212%2019.096C9.15326%2018.9888%208.91806%2018.8316%208.71995%2018.6334L1.27195%2011.1868C1.08093%2011.0023%200.928569%2010.7816%200.823751%2010.5376C0.718933%2010.2936%200.66376%2010.0311%200.661452%209.76556C0.659145%209.5%200.709748%209.23664%200.81031%208.99085C0.910872%208.74505%201.05938%208.52175%201.24716%208.33396C1.43495%208.14618%201.65825%207.99767%201.90405%207.89711C2.14984%207.79655%202.4132%207.74595%202.67876%207.74825C2.94431%207.75056%203.20675%207.80573%203.45076%207.91055C3.69477%208.01537%203.91546%208.16773%204.09995%208.35875L10.228%2014.4868L23.8986%200.814755C24.0844%200.628902%2024.3049%200.481469%2024.5476%200.380879C24.7904%200.28029%2025.0505%200.228516%2025.3133%200.228516C25.576%200.228516%2025.8362%200.28029%2026.079%200.380879C26.3217%200.481469%2026.5422%200.628902%2026.728%200.814755Z%22%20fill%3D%22%23424242%22%2F%3E%3C%2Fsvg%3E");
}

.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #dddddd;
}

.custom-checkbox:not(:disabled):active+label::before {
    background-color: #dddddd;
    border-color: #dddddd;
}

.custom-checkbox:focus+label::before {
    box-shadow: 0 0 0 0.1rem rgba(221, 221, 221, 0.25);
}

.custom-checkbox:focus:not(:checked)+label::before {
    border-color: #dddddd;
}

.custom-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

.select-card.check {
    background-color: #2A832A;
}

.select-card.check svg path {
    fill: #dddddd;
} 

@media screen and (max-width: 1320px) {
    .select-category-block {
        padding-right: 68px;
        padding-left: 68px;
    }

    .select-category-block-rows .select-category-block-row .select-category-block-cards .select-card,
    .select-category-block-rows .select-category-block-row .select-card:nth-child(2){
        width: 100%;
    }
    
    .select-category-block-rows .select-category-block-row .select-category-block-cards .select-card:nth-child(2){
        margin-right: 0px;
    }

    .select-category-block-rows .select-category-block-row{
        flex-direction: column;
    }
}

@media screen and (max-width: 1240px) {
    .select-category-block{
        padding-right: 32px;
        padding-left: 32px;
    }
}

@media screen and (max-width: 1145px) {
    .title-container .block-title {
        max-width: 500px;
    }
}

@media screen and (max-width: 965px) {
    .select-card {
        width: unset;
        min-height: unset !important;
    }

    .select-category-block-rows .select-category-block-row .select-category-block-cards{
        flex-direction: column;
    }
}

@media screen and (max-width: 925px) {
    .block-subtitle {
        font-size: 16px;
    }

    .title-container .block-title {
        max-width: 320px;
    }

    .block-info {
        margin-left: 8px;
    }
}

@media screen and (max-width: 670px) {
    .title-container {
        flex-direction: column;
    }

    .block-subtitle {
        padding: 0px;
        margin: 0px;
    }

    .select-category-block-title .block-title {
        margin-bottom: 0px;
    }

    .select-category-block-title .title-container {
        margin-bottom: 32px;
    }

    .select-card {
        min-width: unset;
    }
}

@media screen and (max-width: 580px) {
    .select-category-block {
        padding: 32px 24px;
        margin-bottom: 64px;
    }

    .select-card {
        margin-bottom: 8px;
    }
}

/*Всплывающий блок с информацией*/
.tooltip{
    position: relative;
}

.block-info-container {
    display: none;
    position: absolute;
    right: 0;
    background: #424242;
    border: 1px solid #424242;
    box-shadow: 0px 0px 24px 6px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 32px;
    min-width: 620px;
    margin-left: 68px;
}

.block-info {
    width: 36px;
    height: 46px;
    display: flex;
    align-items: end;
}

/*    .block-info:hover + .block-info-container,
    .block-info:active + .block-info-container {
        visibility: visible;
    }*/
.select-category-check {
    display: flex;
    justify-content: center;
}
.check-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.block-info-title {
    font-family: 'Roboto-Bold';
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 24px;
}

.block-info-text {
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
}

.block-info-text-container .block-info-text:nth-last-child(1) {
    margin-bottom: 0px;
}

.block-number {
    font-family: 'Roboto-Medium';
    font-size: 14px;
    line-height: 24px;
    border-radius: 100px;
    background-color: #2A832A;
    min-width: 24px;
    max-width: 24px;
    height: 24px;
    text-align: center;
    margin-right: 12px;
}

.info-text {
    font-family: 'Roboto-Regular';
    font-size: 16px;
    line-height: 120%;
}

@media screen and (max-width: 680px) {
    .block-info-container {
        min-width: calc(100vw - 64px);
    } 
}

@media screen and (max-width: 580px) {
    .info-text {
        font-family: 'Roboto-Regular';
        font-size: 14px;
        line-height: 120%;
    }

    .block-info-container {
        min-width: calc(100vw - 48px);
    } 
}

@media screen and (max-width: 480px) {
    .block-info-text {
        display: flex;
        flex-direction: column;
    }

    .block-number {
        margin-bottom: 8px;
    }
}

/*История изменений*/
.change-history-block {
    margin-bottom: 120px;
}
.table-container{
    overflow-x: auto;
    scrollbar-width: thin;
}
.table {
    width: 100%;
    margin-bottom: 20px;
    border: 2px solid #2A832A;
    border-radius: 8px;
    border-collapse: collapse;
    min-width: 655px;
}

.table th {
    font-weight: bold;
    padding: 5px;
    background: #2A832A;
    border: 2px solid transparent;
    text-align: left;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.table td {
    border: 2px solid #2A832A;
    padding: 5px;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    vertical-align: top;
    font-family: "Roboto-Light";
}

.table tr.actual,
.table tr.actual td{
    font-family: "Roboto-Bold";
}
.table tr.no-border-top,
.table tr.no-border-top td{
    border-top: 0px !important;
    padding-top: 2px;
}

.table tr.no-border-bottom,
.table tr.no-border-bottom td{
    border-bottom: 0px !important;
    padding-bottom: 2px;
}

.table td span{
    font-family: "Roboto-Bold";
}

.table th:nth-child(1) {
    border-radius: 8px 0px 0px 0px;
}

.table th:nth-child(4) {
    border-radius: 0px 8px 0px 0px;
}


@media screen and (max-width: 1320px) {
    .change-history-block {
        padding-right: 68px;
        padding-left: 68px;
    }
}

@media screen and (max-width: 1240px) {
    .change-history-block {
        padding-right: 32px;
        padding-left: 32px;
        margin-bottom: 64px !important;
    }
}

@media screen and (max-width: 640px) {

    .table th,
    .table td {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (max-width: 580px) {
    .change-history-block {
        padding: 32px 24px;
    }

    .change-history-block {
        margin-bottom: 64px;
    }
}

@media screen and (max-width: 505px) {
    .table th,
    .table td {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/*Блок с выбором карты*/
.cards-list-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 120px;
    padding: 68px 130px 68px 75px;
    background-color: #DDDDDD;
    border-radius: 8px;
    margin-bottom: 120px;
}

.cards-list-block .block-title {
    font-family: 'Roboto-Bold';
    font-size: 48px;
    line-height: 120%;
    margin-bottom: 32px;
    color: #424242;
}

.cards-list-container{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #424242 #C4C4C4;
    margin-bottom: 32px;
}

.card-item{
    display: flex;
    flex-direction: column;
    width: 240px;
    min-width: 240px;
    margin-right: 32px;
    margin-bottom: 12px;
}

.card-item-img {
    position: relative;
    padding-top: 8px;
    width: 189px;
    margin-bottom: 24px;
    cursor: pointer;
}

.card-item.active .card-item-img img{
    box-shadow: 10px 10px 8px -4px #877349;
    border-radius: 12px;
}

.card-item-img .edit-button{
    position: absolute;
    top: 0px;
    right: -8px;
    border-radius: 8px;
    background-color: #877349;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card-item-img .edit-button:hover{
    background-color: #6b552a;
}

.card-item-info{
    display: flex;
    flex-direction: column;
    color: #424242;
}

.card-name{
    display: flex;
    flex-direction: row; 
    font-family: "Roboto-Medium";
    font-size: 20px;
    line-height: 120%;
    color: #424242;
    align-items: center;
    margin-bottom: 20px;
    height: 48px;
}

.card-name .select-card-check{
    margin-right: 16px;
    height: 24px;
    width: 24px;
}

.card-name .custom-checkbox + label::before,
.card-name .custom-checkbox:not(:disabled):not(:checked) + label:hover::before{
    border: 2px solid #424242;
}

.card-name .custom-checkbox:checked + label::before {
    border: 2px solid #2A832A;
    background-color: #2A832A;
}

.card-category,
.card-number,
.validity-period{
    font-family: 'Roboto-Regular';
    font-size: 18px;
    line-height: 120%;
    color: #424242;
    margin-bottom: 0;
}

@media screen and (max-width: 1240px) {
    .cards-list-block {
        border-radius: 0px;
        padding: 64px 32px;
        margin-bottom: 64px !important;
    }
}

@media screen and (max-width: 925px) {
    .cards-list-block .block-title {
        font-size: 32px;
      }
}

@media screen and (max-width: 580px) {
    .cards-list-block {
        padding: 32px 24px;
    }
}

/*Кнопка прокрутки вверх страницы*/
.btn-up {
    position: fixed;
    background-color: #2A832A;
    right: 10%;
    bottom: 32px;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    box-shadow: 0px 0px 24px 6px rgba(0, 0, 0, 0.25);
}

.btn-up::before {
    content: "";
    width: 30px;
    height: 30px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_19_1471)'%3E%3Cpath d='M16.325 4.10401C15.9734 3.75289 15.4969 3.55566 15 3.55566C14.5031 3.55566 14.0265 3.75289 13.675 4.10401L6.60123 11.174C6.24949 11.5258 6.05188 12.0028 6.05188 12.5003C6.05188 12.9977 6.24949 13.4748 6.60123 13.8265C6.95297 14.1783 7.43004 14.3759 7.92748 14.3759C8.42492 14.3759 8.90199 14.1783 9.25373 13.8265L13.125 9.95652V24.3753C13.125 24.8725 13.3225 25.3495 13.6742 25.7011C14.0258 26.0527 14.5027 26.2503 15 26.2503C15.4973 26.2503 15.9742 26.0527 16.3258 25.7011C16.6774 25.3495 16.875 24.8725 16.875 24.3753V9.95652L20.745 13.8265C20.9191 14.0007 21.1259 14.1388 21.3535 14.2331C21.581 14.3274 21.8249 14.3759 22.0712 14.3759C22.3175 14.3759 22.5614 14.3274 22.789 14.2331C23.0166 14.1388 23.2233 14.0007 23.3975 13.8265C23.5716 13.6524 23.7098 13.4456 23.8041 13.218C23.8983 12.9905 23.9468 12.7466 23.9468 12.5003C23.9468 12.254 23.8983 12.0101 23.8041 11.7825C23.7098 11.5549 23.5716 11.3482 23.3975 11.174L16.325 4.10401Z' fill='%23DDDDDD'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_19_1471'%3E%3Crect width='30' height='30' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.btn-up_hide {
    display: none;
}


@media (hover: hover) and (pointer: fine) {
    .btn-up:hover {
        background-color: #1b621b;
    }
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    /* overflow: hidden; */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    background: #424242;
    border: 1px solid #424242;
    box-shadow: 0px 0px 24px 6px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    /* padding: 100px 120px; */
    padding: 60px 120px;
    position: relative;
    max-width: 800px;
}

.close {
    float: right;
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-title {
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 32px;
    text-align: center;
}

.modal-text {
    font-family: 'Roboto-Regular';
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 12px;
    width: 506;
}

.modal-button {
    margin-top: 32px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
}

.input-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

/*.modal-main-part div:nth-child(2),
.modal-main-part div:nth-child(4) {
    margin-bottom: 32px;
}*/

.input-block label {
    margin-bottom: 4px;
    font-family: 'Roboto-Regular';
    font-size: 16px;
    line-height: 120%;
    color: #DDDDDD;
}

.input-block input {
    border: 2px solid #DDDDDD;
    border-radius: 4px;
    background-color: transparent;
    height: 48px;
    font-family: 'Roboto-Regular';
    font-size: 20px;
    line-height: 120%;
    color: #DDDDDD;
    text-align: center;
    padding-right: 16px;
    padding-left: 16px;
}

.input-block input:focus,
.input-block input:active {
    box-shadow: 0 0 0 0.2rem rgba(221, 221, 221, 0.25);
    outline: none;
}

    .input-block input::placeholder,
    .input-block input::-webkit-input-placeholder,
    .input-block input::-moz-placeholder,
    .input-block input:-moz-placeholder,
    .input-block input:-ms-input-placeholder,
    .input-block input::-ms-input-placeholder {
        font-family: 'Roboto-Regular';
        font-size: 20px;
        line-height: 120%;
        color: #DDDDDD;
        text-align: center;
    }

#modal-registration input {
    text-align: left;
    padding-left: 16px;
}

    #modal-registration input::placeholder
    #modal-registration input::-webkit-input-placeholder,
    #modal-registration input::-moz-placeholder,
    #modal-registration input:-moz-placeholder,
    #modal-registration input:-ms-input-placeholder,
    #modal-registration input::-ms-input-placeholder {
        text-align: left;
        padding-left: 16px;
    }

#modal-registration .check-agreement {
    margin-bottom: 12px;
    margin-top: 24px;
}

#modal-registration .check-agreement .custom-checkbox+label::before {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

#modal-button-number,
#modal-button-number2 {
    background-color: transparent;
    margin-top: 12px;
}

#modal-button-registration {
    margin-bottom: 0px;
}

#modal-button-select,
#modal-button-confirm {
    margin-bottom: 0px;
}

#modal-card-entertainment .modal-text,
#modal-card-auto .modal-text,
#modal-card-travel .modal-text,
#modal-card-sport .modal-text,
#modal-card-house .modal-text{
    margin-bottom: 0;
}

#select-card-entertainment,
#select-card-auto,
#select-card-travel,
#select-card-sport,
#select-card-house{
    cursor: pointer;
}

.modal-text b{
    font-family: 'Roboto-Medium';
}

.modal-text.error {
    text-align: center;
}
@media screen and (max-width: 825px) {
    .modal-content {
        padding: 50px 60px;
        margin-right: 100px;
        margin-left: 100px;
    }

    .modal-text {
        font-size: 16px;
    }

    .modal-title,
    .modal-button {
        font-size: 20px;
    }
}

@media screen and (max-width: 825px) {
    .modal-content {
        padding: 50px 60px;
        margin-right: 100px;
        margin-left: 100px;
    }

    .modal-text {
        font-size: 16px;
    }

    .modal-title,
    .modal-button {
        font-size: 20px;
    }

    .input-block input {
        font-size: 17px !important;
    }

        .input-block input::placeholder
        .input-block input::-webkit-input-placeholder,
        .input-block input::-moz-placeholder,
        .input-block input:-moz-placeholder,
        .input-block input:-ms-input-placeholder,
        .input-block input::-ms-input-placeholder {
            font-size: 17px !important;
        }

    .number-example {
        opacity: 0.6 !important;
        font-size: 17px !important;
    }
}

@media screen and (max-width: 700px) {
    .modal-content {
        padding: 32px 32px;
        padding-top: 50px;
        margin-right: 24px;
        margin-left: 24px;
    }

    .modal-text {
        font-size: 16px;
    }

    .modal-title,
    .modal-button {
        font-size: 18px;
    }

    .modal-main-part .check-agreement label {
        font-size: 14px;
    }

    .input-block input {
        font-size: 17px;
    }

        .input-block input::placeholder
        .input-block input::-webkit-input-placeholder,
        .input-block input::-moz-placeholder,
        .input-block input:-moz-placeholder,
        .input-block input:-ms-input-placeholder,
        .input-block input::-ms-input-placeholder {
            font-size: 17px;
        }

    .number-example {
        opacity: 0.6;
        font-size:17px;
    }
}



.main-block-img img {
    transition: transform 1s;
}

.main-block-img img#main-image:hover {
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(20deg) rotateY(-20deg) rotateZ(10deg);
}

.main-block-img img#image.active {
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(20deg) rotateY(-20deg) rotateZ(10deg);
}