*,
*::before,
*::after {
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5,
p,
div,
span,
img {
    margin: 0;
    padding: 0;
}

.basis {
    margin: 0 auto;
    /* max-width: 1280px; */
    background: #FFFFFF;
}

@media screen and (max-width: 1300px) {
    .basis {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1200px) {
    .basis {
        max-width: 1100px;
    }
}

@media screen and (max-width: 1100px) {
    .basis {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1000px) {
    .basis {
        max-width: 900px;
    }
}

@media screen and (max-width: 900px) {
    .basis {
        max-width: 800px;
    }
}

@media screen and (max-width: 800px) {
    .basis {
        max-width: 700px;
    }
}

@media screen and (max-width: 700px) {
    .basis {
        max-width: 600px;
    }
}

@media screen and (max-width: 600px) {
    .basis {
        max-width: 500px;
    }
}

@media screen and (max-width: 500px) {
    .basis {
        max-width: 400px;
    }
}

@media screen and (max-width: 400px) {
    .basis {
        max-width: 320px;
    }
}

@media screen and (max-width: 300px) {
    .basis {
        max-width: 220px;
    }
}

/* header */

.header_offer {
    padding-left: 50px;
    padding-right: 50px;
    background: radial-gradient(51.41% 100.2% at 50% 50%, #22414E 0%, #00202B 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
}

header {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 150px;
}

.header_link {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
    text-decoration: none;
}

#about,
#products {
    margin-right: 15px;
}

.header_img_link {
    width: 30px;
    margin-left: 20px;
}

.right_menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Центрируем контент */
    color: white;
    padding: 20px 0 30px 0;
    gap: 20px;
    /* Чуть-чуть пространства между элементами */
    flex-wrap: wrap;
}

.text-content {
    flex: 1.4;
}

.title_text-content {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 39px;
    line-height: 46px;
    color: #FFFFFF;
}

.line {
    margin: 15px 0 15px 0;
    width: 100px;
    height: 0px;
    border: 0.5px solid #FFFFFF;
}

.bottom_text_offer {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.specs {
    flex: 0.5;
    text-align: right;
}

.title_specs {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 28px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

#specs_number_1,
#specs_number_2 {
    margin-bottom: 10px;
}

.over_specs_number {
    display: flex;
}

.title_specs_number {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.text_specs_number {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 15px;
    color: #FFFFFF;
}

/* refurbishing */
.refurbishing-process {
    display: flex;
    align-items: center;
    margin: 50px;
    gap: 40px;
}

.title_refurbishing {
    flex: 0.7;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    color: #000000;
}

.process-cards {
    display: flex;
    justify-content: space-between;
    flex: 2.3;
    gap: 20px;
}

.card {
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(26, 57, 70, 0.1);
    border-radius: 10px;
    max-width: 300px;
    padding: 20px;
}

.card_title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #000D12;
    margin-bottom: 15px;
}

.card_text {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000D12;
}

/* original_apple */

.original_apple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 50px 0 50px;
}

.img_original {
    /*flex: 1;*/
    max-width: 30%;
    height: auto;
}

.cards_original_box {
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cards_original_box_text {
    width: 100%;
}

.title_original_apple {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    /* identical to box height */
    color: #000000;
    margin-bottom: 30px;
    text-align: right;
}

.cards_original_block_one_style,
.cards_original_block_two_style {
    background: #1D3C49;
    border-radius: 10px;
    padding: 20px;
    color: #FFFFFF;
    width: 50%;
}

.cards_original {
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(29, 60, 73, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 50%;
}

.cards_original_block_one,
.cards_original_block_two {
    display: flex;
}

.cards_original_block_one {
    margin-bottom: 20px;
}

#margin_original_right {
    margin-right: 20px;
}

#margin_original_left {
    margin-left: 20px;
}

.card_title_original {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    /* identical to box height */
    margin-bottom: 10px;
}

.card_text_original {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */
}

/* Compatibility & Connectivity */

.compatibility_connectivity {
    margin: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.overlay_connectivity {
    display: 2.3;
}

.img_compatibility {
    /*flex: 0.7;*/
    max-width: 30%;
    height: auto;
}

.compatibility_connectivity_text {
    padding: 30px;
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(29, 60, 73, 0.1);
    border-radius: 10px;
}

.title_compatibility_connectivity {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    /* identical to box height */
    color: #000000;
    margin-bottom: 30px;
}

.img_number_features {
    width: 50px;
    margin-right: 15px;
}

.features_compatibility {
    margin-bottom: 20px;
    display: flex;
}

.number_features_compatibility {
    display: flex;
    align-items: flex-start;
}

.title_number_features {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    /* identical to box height */
    color: #000D12;
    margin-bottom: 5px;
}

.text_number_features {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000D12;
}

.top_text_connectivity {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */
    color: #000D12;
    margin-bottom: 10px;
}

.style_text_compatibility_top {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */
    color: #000D12;
    margin-bottom: 10px;
}

.bottom_text_connectivity {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000D12;
}

#number_features_compatibility_1,
#number_features_compatibility_2 {
    margin-right: 20px;
}

/* Why Choose This Mouse */

.why_choose {
    padding: 0 50px;
}

.title_why_choose {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    /* identical to box height */
    text-align: right;
    color: #000000;
    margin-bottom: 30px;
}

.img_why_choose {
    width: 70px;
    height: auto;
    margin-right: 15px;
}

.title_card_why_choose {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
}

.text_card_why_choose_botton {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

.features_why_choose_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
}

.card_why_choose {
    display: flex;
    align-items: flex-start;
    width: 50%;
    padding: 20px;
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(29, 60, 73, 0.1);
    border-radius: 10px;
}

.card_why_choose_style {
    display: flex;
    align-items: flex-start;
    width: 50%;
    padding: 20px;
    background: #1D3C49;
    border-radius: 10px;
    color: #FFFFFF;
}

.features_why_choose_bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: stretch;
}

#card_why_choose_margim,
#card_why_choose_style_margim {
    margin-right: 20px;
}

/* information */

.faq-container {
    width: 100%;
    padding: 50px;
    margin: auto;
    font-family: Arial, sans-serif;
}

details {
    margin-bottom: 20px;
    padding: 20px 30px;
    background: #FFFFFF;
    box-shadow: 2px 2px 5px rgba(29, 60, 73, 0.1);
    border-radius: 10px;
}

summary {
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary::before {
    content: "";
    background: url('../img/check-circle-svgrepo-com.png') no-repeat center/contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    transition: transform 0.3s ease;
    order: 1;
}

details[open] summary::before {
    background: url('../img/close-circle-svgrepo-com.png') no-repeat center/contain;
    transform: rotate(180deg);
}

details[open] {
    background: #ffffff;
}

.title_faq {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-align: left;
}

.text_faq {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-top: 10px;
}

.title_faq_top {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 43px;
    /* identical to box height */
    color: #000000;
    margin-bottom: 30px;
}

/* footer */

footer {
    background: #1D3C49;
    padding: 30px 50px;
}

.img_footer_logo {
    width: 150px;
}

.thanks {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    margin-bottom: 15px;
    padding: 0 20px;
}

.img_link_footer {
    width: 35px;
}

#link_footer_one {
    margin-right: 10px;
}

.link_footer_box {
    display: flex;
}

.over_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */
    text-align: center;
    color: #FFFFFF;
}

/* media */

@media (max-width: 1000px) {
    .process-cards {
        flex-direction: column;
    }

    .card {
        max-width: 100%;
    }

    .features_compatibility {
        flex-direction: column;
    }

    #number_features_compatibility_1,
    #number_features_compatibility_2 {
        margin-bottom: 20px;
        margin-right: 0;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 0 30px 0;
        align-items: normal
    }

    .text-content,
    .specs {
        max-width: 100%;
        text-align: center;
    }

    .specs {
        margin-top: 20px;
    }

    .title_text-content,
    .bottom_text_offer,
    .specs {
        text-align: left;
    }

    .title_specs,
    .title_specs_number,
    .text_specs_number {
        text-align: right;
    }

    .over_specs {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    #specs_number_1,
    #specs_number_2 {
        margin-right: 20px;
        margin-bottom: 0;
    }
}

@media (max-width: 700px) {

    .refurbishing-process,
    .original_apple,
    .compatibility_connectivity {
        flex-direction: column;
    }

    .img_original,
    .img_compatibility {
        max-width: 80%;
    }

    .features_why_choose_top {
        flex-direction: column;
    }

    .features_why_choose_bottom {
        flex-direction: column;
        flex-direction: column-reverse;
    }

    .card_why_choose_style,
    .card_why_choose {
        width: 100%;
    }

    #card_why_choose_margim,
    #card_why_choose_style_margim {
        margin-right: 0;
    }

    #card_why_choose_margim {
        margin-bottom: 20px;
    }

    #card_why_choose_style_margim {
        margin-top: 20px;
    }

    .over_footer {
        flex-direction: column;
    }

    .img_footer_logo {
        margin-bottom: 10px;
    }

    .link_footer_box {
        margin-bottom: 15px;
    }
}

@media (max-width: 600px) {

    .header_offer,
    .original_apple,
    .why_choose,
    .faq-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .refurbishing-process,
    .compatibility_connectivity {
        margin-left: 30px;
        margin-right: 30px;
    }

    .links {
        display: none;
    }
}

@media (max-width: 400px) {
    .title_text-content {
        font-size: 30px;
        line-height: 35px;
    }

    .bottom_text_offer {
        font-size: 18px;
        line-height: 24px;
    }

    .over_specs {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
    }

    #specs_number_1,
    #specs_number_2 {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cards_original_block_one,
    .cards_original_block_two {
        display: flex;
        flex-direction: column;
    }

    #margin_original_right {
        margin-right: 0;
        margin-bottom: 20px;
    }

    #margin_original_left {
        margin-left: 0;
        margin-top: 20px;
    }

    .cards_original,
    .cards_original_block_one_style {
        width: 100%;
    }

    .card_why_choose,
    .card_why_choose_style {
        flex-direction: column;
    }

    .img_why_choose {
        margin-right: 0;
        margin-bottom: 15px;
    }
}