:root {
    --blue-dark: #445161;
    --black: #333333;
    --gray: #989898;
}




body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    font-size: 1rem;
    color: var(--gray-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
}

*,
*::before,
*:after {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.common_title {
    font-weight: 500;
    font-size: 1.8rem;
    margin-bottom: 2.2rem;
    color: var(--blue-dark);
    text-align: center;
}

.navigation {
    background-color: var(--blue-dark);
    padding-top: 32px;
    color: #fff;
}

.nav {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    flex-wrap: wrap;
}

.navlinks_top,
.navlinks_bottom {
    display: flex;
}

.nav_link {
    color: #fff;
    text-decoration: none;
    margin: 0 0 0 2rem;
    font-weight: bold;
    position: relative;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.nav_link:hover {
    transform: translateY(-4px);
    border-bottom: 3px solid #fff;
}

.header {
    background-color: var(--blue-dark);
    padding: 32px 0 50px 0;
    color: #fff;
}

.header_inner {
    display: flex;
    justify-content: space-between;
}

.header_title {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 3rem;
}

.header_string {
    display: flex;
    margin-bottom: 0.9rem;
}

.header_img {
    width: 25px;
    height: 19px;
    margin-right: 10px;
}

.header_block {
    width: 430px;
    height: 214px;
    background-color: #fff;
    margin-top: 1rem;
}

.about {
    padding: 50px 0;
    background-color: #fff;
}

.about_title {
    font-weight: 500;
    font-size: 1.8rem;
    margin-bottom: 2.2rem;
    color: var(--blue-dark);
}

.about_text {
    color: var(--black);
}

.about_text_wrapper {
    width: 675px;
    line-height: 24px;
    font-size: 1rem
}

.about_inner {
    display: flex;
    justify-content: space-between;
}

.about_block {
    width: 430px;
    height: 245px;
    background-color: var(--blue-dark);
}

.pluses {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.plus_block {
    width: 590px;
    display: flex;
    margin-bottom: 2rem;
    line-height: 20px;
}

.pluses_img {
    padding: 6px;
    background-color: var(--blue-dark);
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.plus_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.screenshots {
    padding: 50px 0;
    background-color: white;
}

.img_description_block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.img_description {
    display: flex;
    margin-bottom: 30px;
}

.your_img {
    width: 200px;
    height: 150px;
    background-color: var(--blue-dark);
    margin-right: 1rem;
}

.img_description_text {
    width: 364px;
}

.img_description_title {
    font-size: 24px;
    font-weight: 400;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.img_description_paragraph {
    line-height: 22px;
    color: var(--black);
}

.reviews {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.reviews_block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.review {
    display: flex;
    margin-bottom: 1.5rem;
}

.user_picture {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: var(--blue-dark);
    margin-right: 1rem;
}

.review_text {
    background: url('../img/review_bg.png') no-repeat;
    width: 483px;
    height: 121px;
    padding: 0.9rem 0.5rem 0.8rem 28px;
    font-size: 0.9rem;
    line-height: 1.1rem;
}

.review_paragraph {
    font-style: italic;
    color: var(--black);
    margin-bottom: 0.6rem;
}

.review_autor {
    color: var(--gray);
}

.buy_it_now {
    padding: 50px 95px;
    background-color: #fff;
}

.tariffs {
    display:  flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tariff {
    background-color: var(--blue-dark);
    padding: 18px 0 20px 0;
    color: #fff;
    width: 300px;
    margin-bottom: 2rem;
    border: 1px solid var(--blue-dark);
    border-radius: 5px;
}

.tariff_title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
}

.price {
    margin-top: 18px;
    margin-bottom: 22px;
    background-color: white;
    color: var(--blue-dark);
    text-align: center;
    font-size: 40px;
    border: 2px solid var(--blue-dark);
    padding: 10px 0;
}

.tariff_text {
    font-size: 0.9rem;
    line-height: 24px;
}

.tariff_btn {
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    width: 260px;
    text-transform: uppercase;
    padding: 7px 0;
    border-radius: 5px;
    border: 1px solid var(--gray);
}

.tariff_btn:hover {
    color: #fff;
    background-color: var(--black);
    border: 1px solid var(--black);
}
 
.tariff_btn_wrapper {
    padding: 0 20px;
}

.tariff_standart {
    height: 317px;
    transform: translateY(194px);
}

.tariff_premium {
    height: 415px;
    transform: translateY(96px);
}

.contacts {
    padding: 50px 0;
    background-color: var(--blue-dark);
}

.contacts_title {
    color: #fff;
}

.contacts_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.contacts_forms {
    width: 500px;
    margin-left: 200px;
    margin-right: 46px;
    outline: none;
}

.contacts_form {
    width: 100%;
    padding: 15px 0 14px 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--gray);
    margin-bottom: 21px;
    outline: none;
}

.contacts_form_message {
    width: 100%;
    padding: 15px 0 0 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--gray);
    margin-bottom: 21px;
    height: 170px;
    outline: none;
}

.btn_contacts_forms {
    width: 140px;
    background-color: #fff;
    color: var(--blue-dark);
    border-radius: 5px;
    border: 1px solid #fff;
    padding: 0.9rem 0;
    line-height: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 180px;
}

.btn_contacts_forms:hover {
    color: #fff;
    background-color: var(--black);
    border: 1px solid var(--black);
}

.your_contact {
    display: flex;
    margin-bottom: 20px;
}

.your_contact_text {
    color: #fff;
    line-height: 24px;
    margin-left: 6px;
}

.your_contacts_block {
    display: flex;
    margin-top: 42px;
}

.your_contacts_btn {
    text-decoration: none;
}

.your_contacts_btn:hover {
    transform: translateY(-5px);
}

.your_contacts_font_socialico {
    font-family: 'Socialico';
    color: #fff;
    font-size: 60px;
    letter-spacing: 2px;
    line-height: 24px;
}

.footer {
    padding: 10px 0;
    background-color: #ebebeb;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: var(--blue-dark);
    letter-spacing: 0px;
    line-height: 24px;
}


/* классы для анимации на сайте */

.opacity {
    opacity: 0;
}

/* конец классов анимации на сайте */


/* модальное окно */
.modal {
    display: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow: auto;

    background-color: var(--blue-dark);
    opacity: 99%;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.modal_inner {
    max-width: 650px;
    max-height: 400px;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: auto;
    margin-top: 5rem;
    padding: 5px 5px 0 1rem;
    background-color: #fff;
    transform: scale(1);
}

.modal_btn_close_wrapper {
    display: flex;
    justify-content: flex-end;
}

.modal_btn_close {
    border: none;
    padding: 0;
    background-color: #fff;
    height: 25px;
    width: 25px;
}

.close_img {
    width: 25px;
    height: 25px;
}

.modal_form_block {
    display: flex;
    justify-content: space-between;
}

.modal_paragraph {
    margin: 14px 1rem 0 1rem ;
}

.modal_form {
    width: 70%;
    padding: 15px 0 14px 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1.5px solid var(--blue-dark);
    margin: 0 6rem 1rem 0;
}

.modal_btn {
    width: 140px;
    background-color: #fff;
    color: var(--blue-dark);
    border-radius: 5px;
    border: 1.5px solid var(--blue-dark);
    padding: 10.5px 0;
    line-height: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1.5rem auto 0 auto;
}

.modal_btn:hover {
    color: #fff;
    background-color: var(--black);
    border: 1px solid var(--gray);
}

.show {
    display: flex;
}





/* Responsive */

@media (max-width: 1200px) {

    .container {
        width: 960px;
    }

    .common_title {
        font-size: 2rem;
    }

    .about_title {
        font-size: 2rem;
    }

    .plus_block {
        margin: 0 auto 2rem auto;
    }

    .about_block {
        margin-left: 2.5rem;
        height: inherit;
    }
    
    .img_description {
        margin: 0 auto 50px auto;
    }

    .review {
        margin: 0 auto 1.5rem auto
    }

    .img_description_text {
        width: 400px;
    }

    .buy_it_now {
        padding: 50px 0;
    }

    .tariffs {
        flex-direction: column;
    }

    .tariff {
        margin: 0 auto 3rem auto;
    }

    .tariff_standart {
        transform: translateY(0);
    }

    .tariff_premium {
        transform: translateY(0);
    }

    .contacts_forms {
        margin: 0 50px 0 40px;
    }

}


@media (max-width: 992px) {

    .container {
        width: 720px;
    }

    .nav {
        justify-content: flex-start;
    }

    .header {
        padding-top: 20px;
    }

    .header_block {
        margin: auto 0;
        width: 322.5px;
        height: 160.5px;
    }

    .contacts_forms {
        width: 350px;
    }

    .btn_contacts_forms {
        margin: 0 105px;
    }


}


@media (max-width: 768px) {

    .container {
        width: 540px;
    }

    .navlinks_top {
        margin: 0 auto 10px auto;
    }

    .navlinks_bottom {
        margin: 0 auto;
    }

    .nav_link {
        margin: 0 1rem 0 0;
    }

    .header_inner {
        display: block;
    }

    .header_block {
        width: 430px;
        margin: 0 auto;
    }

    .header_title {
        text-align: center;
    }

    .header_string {
        width: 380px;
        margin: 0 auto 1rem auto;
    }

    .header_text_wrapper {
        margin-bottom: 2.5rem;
    }

    .your_img {
        height: 129.6px;
        width: 172.8px;
        transform: translateY(60px);
    }

    .img_description_text {
        width: 300px;
    }

    .img_description_title {
        text-align: center;
        transform: translateX(-100px);
        margin-bottom: 0.6rem;
    }

    .user_picture {
        height: 50px;
        width: 50px;
        margin-right: 10.67px;
        margin-top: 0.75rem;
    }

    .review_text {
        width: 322px;
        height: 108px;
        padding: 9.6px 5.3px 8.53px 18.67px;
        font-size: 9.6px;
    }

    .review_paragraph {
        margin-bottom: 6.4px;
    }

    .contacts_forms {
        margin: 0 auto;
        width: 81%;
        margin-bottom: 2rem;
    }

    .contacts_form_message {
        height: 130px;
    }

    .btn_contacts_forms {
        width: 120px;
        margin: 0 160px;
        padding: 10.5px 0;
    }

    .your_contact_wrapper_flex {
        display: flex;
    }

    .your_contact_wrapper {
        margin: 0 44px; ;
    }

    .your_contacts_block {
        margin: 32px 145px 0 145px;
    }

}


@media (max-width: 576px) {

    .container {
        width: 90%;
    }

    .nav_link_media {
        margin-right: 0;
    }

    .header_title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .header_string_block {
        width: 300px;
        margin: 0 auto;
    }

    .header_string {
        width: 100%;
        font-size: 0.8rem;
    }

    .header_img {
        width: 20px;
        height: 15.2px;
        margin-right: 8px;
    }

    .header_block {
        width: 258px;
        height: 128.4px;
    }

    .about_inner {
        display: block;
    }

    .about_title {
        margin-bottom: 2rem;
    }

    .about_text_wrapper {
        width: 280px;
        margin: 0 auto;
    }

    .about_text {
        margin-bottom: 1rem;
    }

    .about_block {
        margin: 1.5rem auto 0 auto;
        width: 240px;
        height: 140px ;
    }

    .img_description {
        flex-wrap: wrap-reverse;
        margin-bottom: 4rem;
    }

    .img_description_text {
        width: 260px;
        margin: 0 auto;
    }

    .your_img {
        transform: translateY(0);
        margin: 1rem auto 0 auto;
    }

    .img_description_title {
        margin-bottom: 1rem; 
        transform: translateX(0); 
    }

    .reviews {
        padding: 50px 0 0 0;
    }

    .user_picture {
        width: 35px;
        height: 35px;
        margin-right: 8px;
        margin-top: 1rem;
    }

    .review {
        margin-bottom: 3rem;
    }

    .review_text {
        width: 225.4px;
        height: 75.6px;
        padding: 6.72px 3.71px 5.97px 13.07px;
        font-size: 6.72px;
    }
    .review_paragraph {
        margin-bottom: 0;
    }

    .tariff {
        width: 288px;
    }

    .btn_contacts_forms {
        width: 30%;
        margin: 0 35%;
    }

    .your_contact_wrapper_flex {
        display: flex;
        flex-wrap: wrap;
    }

    .your_contact_wrapper {
        margin: 0 20%;
    }

    .your_contacts_block {
        margin: 32px 10% 0 16%;
    }

    .your_contacts_font_socialico {
        font-size: 48px;
    }

}

@media (max-width: 370px) {
    .nav_link {
        font-size: 0.6rem;

    }
}





