*{
    box-sizing: border-box;
    margin: 0;
}
img{
    max-width: 100%;
}

html{
    font-size: 16px;
}

body{
    background: #021A3F;
}
button{
    border: none;
    background: none;
}
a{
    text-decoration-line: none;
}
button:hover{
    cursor: pointer;
}
a:hover{
    cursor: pointer;
}
.main_content, footer{
    max-width: calc(960px + 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.flex_card{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}
.header_card{
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1rem;
    gap: 1rem;
    width: 40rem;
    background: linear-gradient(180deg, rgba(11, 112, 226, 0.70) 0%, #0B70E2 36.29%), url("../images/header.png"), lightgray 28.8125rem 0.1015rem / 218.927% 48.65% no-repeat;
    justify-content: end;
}
.logo{
    width: 9.1489rem;
    height: 2.5rem;
}
.container_logo{
    padding-bottom: 0.5rem;
}
.header_card h1{
    align-self: stretch;
    color: #FFF;
    font-family: PT Sans;
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 43.75;
    line-height: 125%;
    letter-spacing: 0.03125rem;
}

.header_card h3{
    color: #FFF;
    font-family: PT Sans;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
}
.buttons a div{
    width: 100%;
    padding: 1rem 2rem 1rem 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap:0.25rem;
    align-items: center;
}
.buttons a{
    border-radius: 8px;
}
.buttons{
    padding-top: 0.5rem;
}
.buttons a img{
    height: 1.5rem;
}
.header_card .buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.header_card .buttons h3{
    font-size: 1rem;
    font-weight: 700;
}
.buttons .color_yellow{
    background: linear-gradient(180deg, #FA0 0%, #FF782C 100%);
}

.buttons .color_yellow:hover{
    background: linear-gradient(to bottom, rgba(255, 140, 0, 1) 0, rgba(255, 157, 0, 1) 56%, rgba(255, 170, 0, 1) 99%, rgba(255, 170, 0, 1) 99%);
}

.buttons .white_border{
    border: 1px solid  #FFF;
}

.buttons .white_border:hover{
    background: rgba(255, 140, 0, 1);
    border: 1px solid  rgba(255, 140, 0, 1);
}
.directory_card{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 19rem;
}

.directory_card img{
    display: block;
}

.directory_card .main_directory{
    border-radius: 0px 0px 16px 16px;
    background: rgba(255, 255, 255, 0.10);
    padding: 0px 1.5rem 2rem  1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    height: 100%;
}
.advantages_store{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
.directory_card h3{
    color: #FFF;
    font-family: "PT Sans";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}
.advantages_store .icon_phrase p{
    font-weight: 700;
}
.icon_phrase{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
    align-items: center;
}
.directory_card .icon_phrase img{
    width: 3rem;
    height: 3rem;

}
.icon_phrase a{
    color: #F90;
    text-decoration-line: underline;
    font-weight: 400;
}
.group_links .link{
    text-decoration-line: none;
}
.icon_phrase p{
    color: #FFF;
    font-family: "PT Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
}

.current_links{
    display: flex;
    padding: 2rem 1.5rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(55, 172, 9, 0.10) 0%, rgba(55, 172, 9, 0.10) 100%), linear-gradient(0deg, #FFF 0%, #FFF 100%), #FFF;
    width: 100%;
}

.contacts{
    border-radius: 16px;
    background: #FFF;
    display: flex;
    padding: 2rem 1.5rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.icon_phrase img{
    height: 2rem;
    width: 2rem;
}
.icon_phrase h3{
    color:  #232323;
    font-family: "PT Sans";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /*  */
}

.group_links{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.group_links .link{
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    background: #FFF;
    padding: 1rem;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}

.group_links .link img{
    width: 1.25rem;
    height: 1.25rem;
}
.group_links .link .link_address{
    color: #232323;
    font-family: "PT Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.group_links .link .link_to_forum, .group_links .link .link_to_shop{
    color: #232323;
    font-family: "PT Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
}
.group_links .link .arrow_phrase{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: center;
}
.group_links .link:hover img{
    transform: translateX(40%);
    transition: ease-in-out 300ms;
}
.current_links a{
    color: #F90;
    font-family: "PT Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    text-decoration-line: underline;
}
p{
    margin: 0;
}
.contacts p{
    color:  #666;
    font-family: "PT Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 142.857%;
    padding-top: 0.5rem;
}
.group_contacts{
    display: flex;
    flex-direction: column;
}
.group_contacts .icon_phrase{
    display: flex;
    flex-direction: row;
    padding-top: 1rem;
}
.contacts .icon_phrase a{
    color: #232323;
    font-family: "PT Sans";
    font-size: 1rem;
    text-decoration: none;
}
.telegram_advertisement{
    display: flex;
    flex-direction: row;
    gap: 1.375rem;
    width: 100%;
    padding: 0 2rem;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 16px;
    background-image: url("../images/background_telegram_advertisement.png");
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
.telegram_advertisement_header h2{
    color:  #232323;
    font-family: "PT Sans";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.015rem;
}
.telegram_advertisement_header h2 span{
    color:  #F90;
}
.telegram_advertisement_content{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.telegram_advertisement .group_advertisement{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.telegram_advertisement .group_advertisement .icon_phrase img{
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}
.telegram_advertisement .group_advertisement .icon_phrase p{
    color:  #232323;
    font-family: "PT Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 128.571%;
}
.telegram_advertisement .group_advertisement .icon_phrase{
    width: auto;
}
.telegram_advertisement .group_advertisement .icon_phrase p span{
    font-weight: 700;
}
.telegram_advertisement .telegram_advertisement_content {
    width: 37.5rem;
}
.gift p{
    width: 12rem;
}
.domain p{
    width: 13.4775rem;
    flex-shrink: 0;
}
.tg_subscription{
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #46A9EE 0%, #3889D5 100%), linear-gradient(180deg, #FA0 0%, #FF782C 100%);
    padding: 0.75rem 2rem;
    width: max-content;
}
.tg_subscription .icon_phrase{
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    gap:0.625rem;
}

.tg_subscription .icon_phrase img{
    width: 1.246rem;
    height: 1.05rem;
    flex-shrink: 0;
}
.tg_subscription .icon_phrase p{
    color: #FFF;
    text-align: center;
    font-family: "PT Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 114.286%;
}
.container_phone_image{
    padding: 1rem 0 0 0.039rem;
    justify-content: flex-end;
    align-items: center;
    height: 13.1875rem;
}
.image_phone{
    width: 15.8994rem;
    height: 25.9464rem;
    transform: rotate(-5deg);
}
.reviews{
    display: flex;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-radius: 16px;
    background: #FFF;
    position: relative;
}
.reviews .top_reviews_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.reviews .all_reviews_button{
    padding: 0.25rem 1rem;
    align-items: center;
    border-radius: 8px;
    border: 0.0625rem solid #F90;
    height: max-content;
}
.reviews .all_reviews_button p{
    color: #F90;
    font-family: "PT Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 142.857%;
    white-space: nowrap;
}

footer{
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
}
footer .header_and_text{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}
footer .header_and_text h3{
    color: #FFF;
    font-family: "PT Sans";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem;
}
footer .header_and_text p{
    color: #FFF;
    font-family: "PT Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    opacity: 0.7;
}
.swiper{
    width: 100%;
}

.swiper-button-next.my_button_next::after{
    content: url("../images/next.svg");
}

.mySwiper .swiper-button-next.my_button_next{
    height: 2.5rem;
    width: 2.5rem;
    right: -3%;
}

.mySwiper .swiper-button-prev.my_button_prev{
    height: 2.5rem;
    width: 2.5rem;
    left: -3%;
}
.reviews .swiper-button-next, .reviews .swiper-button-prev{
    top: 55%;
}
.mySwiperPhoto .swiper-wrapper .swiper-slide img, .mySwiperVideo .swiper-wrapper .swiper-slide .video_poster{
    width: 19rem;
    height: 12.75rem;
}
.mySwiperPhoto .swiper-wrapper .swiper-slide, .mySwiperVideo .swiper-wrapper .swiper-slide {
    width: 19rem;
    height: 12.75rem;
}
.mySwiperPhoto .swiper-wrapper .swiper-slide img, .mySwiperVideo .swiper-wrapper .swiper-slide .container_video_slide, .video_poster{
    border-radius: 8px;
}
.container_video_slide{
    position: relative;
    background: #000;
    height: 12.75rem;
}
.mySwiperVideo .swiper-wrapper .swiper-slide .container_video_slide .video_preview_icon{
    width: 3rem;
    height: 3rem;
}

.mySwiperVideo .swiper-wrapper .swiper-slide .video_preview_icon{
    position: absolute;
    z-index: 11;
    right: 8rem;
    top:4.875rem;
}
.video_poster{
    opacity: 0.8;
}
.mySwiper .swiper-slide img{
    cursor: pointer;
}
.reviews .swiper-button-next.swiper-button-disabled, .reviews .swiper-button-prev.swiper-button-disabled{
    opacity: 0;
    cursor: default;
}
.group_links .icon_phrase, .contacts .icon_phrase{
    gap: 0.5rem;
}

.swiper-button-prev.my_button_prev::after{
    content: url("../images/next.svg");
    transform: rotate(180deg)
}
h3{
    margin: 0;
}

.mySwiper .swiper-pagination-bullet-active{
    background: #F90;
}
.mySwiper .swiper-wrapper{
    margin-bottom: 1.5rem;
}
.line_break_for_tablet {
    display: none;
}
.mySwiper .swiper-pagination-bullet.swiper-pagination-bullet-active{
    width: 1.188rem;
    height: 0.375rem;
    border-radius: 8px;
}

.mySwiper .swiper-pagination-bullet{
    width: 0.422rem;
    height: 0.375rem;
}

@media (max-width: 1008px) {
    html{
        font-size: 1.587vw;
    }
}
@media (max-width: 768px) {
    html{
        font-size: 2.083vw;
    }
    .flex_card.header_directory_card{
        flex-direction: column;
    }
    .main_content, footer{
        width: auto;
        padding: 1.5rem 1.5rem 1.875rem 1.5rem;
        margin: 0;
    }
    .header_card{
        width: auto;
    }
    .directory_card{
        width: auto;
    }
    .directory_card .top_directory{
        width: 100%;
        height: 2.625rem;
    }
    .directory_card .advantages_store{
        flex-direction: row;
        width: 100%;
    }
    .main_directory .icon_phrase{
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
    }
    .telegram_advertisement{
        padding-right: 0;
    }
    .telegram_advertisement .group_advertisement{
        width: max-content;
    }
    .image_phone{
        height: unset;
        width: 18rem;
    }
    .telegram_advertisement {
        padding-right: 0;
    }
    .line_break_for_tablet {
        display: inline;
    }
    .gift p{
        width: auto;
    }
    .domain p{
        width: auto;
    }
    .group_advertisement .icon_phrase p{
        white-space: nowrap;
    }
    .group_advertisement .icon_phrase{
        gap: 0.5rem;
    }
    .current_links{
        gap: 1rem;
    }
    .container_phone_image{
        display: flex;
        align-items: baseline;
        right: 0;
        bottom: 0;
        top:0;
        position: absolute;
        overflow: hidden;
        height: 100%;
    }
    .telegram_advertisement{
        position: relative;
    }
    .group_advertisement{
        width: max-content;
    }
    .group_links .icon_phrase{
        padding-bottom: 0.5rem;
    }
    .reviews .swiper-button-next, .reviews .swiper-button-prev{
        display: none;
    }

}
@media (max-width: 480px) {
    html{
        font-size: 4.44vw;
    }
    .main_content, footer{
        width: auto;
        padding: 1.5rem 1rem 1.875rem 1rem;
        margin: 0;
    }

    .header_card h1{
        font-size: 1.875rem;
        line-height: 120%;
    }
    .header_card{
        padding: 1.5rem;
    }
    .header_card h3{
        font-size: 1rem;
    }

    .header_card .buttons{
        flex-direction: column;
        padding-right: 0;
        width: 100%;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }
    .header_card .buttons div{
        padding: 1rem 2rem 1rem 2.25rem;
        justify-content: center;
        gap: 0.25rem;
    }
    .header_card .buttons div h3{
        font-size: 1rem;
    }
    .directory_card .advantages_store{
        flex-direction: column;
    }
    .directory_card .advantages_store .icon_phrase{
        flex-direction: row;
        align-items: center;
    }
    .links_card{
        flex-direction: column;
    }
    .links_card .current_links .link p{
        font-size: 0.875rem;
    }
    .links_card .current_links .link .arrow_phrase{
        gap: 0;
        align-items: center;
    }
    .container_phone_image{
        display: none;
    }
    .telegram_advertisement .telegram_advertisement_header{
        font-size: 1.5rem;
    }
    .telegram_advertisement .telegram_advertisement_header h2{
        line-height: 100%;

    }
    .telegram_advertisement .group_advertisement{
        flex-direction: column;
    }
    .telegram_advertisement{
        background-image: url("../images/background_telegram_advertisement.png");
        background-position: center;
        background-size: cover;
    }
    .container_video_slide{
        height: 10rem;
    }
    .mySwiperPhoto .swiper-wrapper .swiper-slide, .mySwiperVideo .swiper-wrapper .swiper-slide{
        width: 14.9019rem;
        height: 10rem;
    }
    .mySwiperPhoto .swiper-wrapper .swiper-slide img, .mySwiperVideo .swiper-wrapper .swiper-slide .video_poster {
        width: 14.9019rem;
        height: 10rem;
    }
    .mySwiperVideo .swiper-wrapper .swiper-slide .video_preview_icon{
        position: absolute;
        z-index: 11;
        right: 6.2745rem;
        top: 3.82355rem;
        width: 2.3529rem;
        height: 2.3529rem;
    }
    .reviews .top_reviews_header .icon_phrase{
        gap: 0.75rem;
    }
    .reviews .all_reviews_button p{
        font-size: 0.75rem;
    }
}



