body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat Alternates', sans-serif;
    color: #1D175C;
    font-size: 32px;
    letter-spacing: .1rem;
}

h1 {
    font-size: 40px;
    text-transform: uppercase;
    font-style: normal;
    line-height: 1.2em;
    text-align: center;
}

h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2em;
    text-transform: uppercase;
}

h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2em;
}

.text {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2em;
}

.text_small {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2em;
}

.container {
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.header {
    background-image: url(../img/background_header.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 60px;
}

.header_firefly {
    background-image: url(../img/header_firefly.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    padding-top: 20px;
}

.nav_logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo span {
    margin-left: 20px;
}

.nav_tel {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_tel a {
    text-decoration: none;
    color: #1D175C;
    margin-right: 20px;
}

.nav_tel a:hover {
    color: #3e30d6;
}

.title {
    margin-top: 3em;
    text-align: center;
}

.title h1 {
    margin-bottom: 1.5em;
    background: radial-gradient(38.79% 38.79% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.title span {
    display: block;
    margin-bottom: 2em;

}

.btn_offer {
    color: #1D175C;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 49px;
    background: linear-gradient(92.85deg, #adadad -7.88%, #ffffff 118.93%);
    box-shadow: 0px 8px 10px #3B7BDB;
    border-radius: 18px;
    padding: 10px 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn_offer:hover {
    color: #A3DFF2;
    background: linear-gradient(92.85deg, #2B7EAD -7.88%, #0056FE 118.93%);
}

.our_fountains h1 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.our_fontains_list {
    display: flex;
    justify-content: space-evenly;
}

.fountains_card {
    width: 30%;
    padding-bottom: 20px;
    background-color: white;
    border-radius: 40px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 8px 30px #3B7BDB;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #1D175C;
}

.fountains_card:hover {
    box-shadow: 0px 0px 30px #ffffff;
}

.fountains_card img {
    width: 100%;
    margin-bottom: 10px;
}

.about_us {
    padding-bottom: 40px;
}

.about_us h1,
.request h1,
.buy h1,
.description h1,
.galery h1,
.order h1,
.contacts h1,
.video h1{
    background: radial-gradient(40.23% 34.86% at 50% 50%, rgba(129, 232, 218, 0.46) 0%, rgba(132, 197, 206, 0) 75.52%);
    margin-top: 1em;
    margin-bottom: .5em;
}

.about_us p {
    text-align: center;
}

.advantages {
    background-image: url(../img/advantages_background.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0px;
}

.advantages h1 {
    background: radial-gradient(38.79% 38.79% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.dignities {
    display: flex;
    justify-content: space-between;

}

.dignity {
    width: 23%;
    text-align: center;
}

.dignity h3 {
    text-align: inherit;
    height: 70px;
}

.dignity img {
    width: 100px;
    margin-top: 50px;
}

.request {
    padding: 20px 0 60px 0;
}

.request_data {
    display: flex;
    justify-content: space-between;
}

.request_left_side,
.request_right_side {
    width: 46%;
}

.request_left_side {
    justify-content: space-between;
}

input[type=text] {
    background: rgba(217, 217, 217, 0.3);
    border-width: 0px 0px 5px 5px;
    border-style: solid;
    border-color: #1D175C;
    border-radius: 0px 30px;
    width: 95%;
    font-family: inherit;
    font-size: 24px;
    padding: 10px;
    margin-bottom: 30px;
}

textarea {
    background: rgba(217, 217, 217, 0.3);
    border-width: 0px 0px 5px 5px;
    border-style: solid;
    border-color: #1D175C;
    border-radius: 0px 30px;
    resize: none;
    width: 95%;
    height: 200px;
    font-family: inherit;
    font-size: 24px;
    padding: 10px;
}

.request h1 {
    margin-bottom: 40px;
}

.checkbox-submit,
.form_checkbox {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.checkbox-submit label {
    font-size: 16px;
    margin-left: 10px;
    text-align: left;
}

.form-button button {
    color: #1D175C;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 18px;
    line-height: 34px;
    background: linear-gradient(92.85deg, #adadad -7.88%, #ffffff 118.93%);
    box-shadow: 0px 8px 10px #3B7BDB;
    border-radius: 18px;
    padding: 3px 35px;
    transition: all 0.2s ease;
    font-family: 'Montserrat Alternates', sans-serif;
    border: none;
    cursor: pointer;
}

.form-button button:hover {
    color: #A3DFF2;
    background: linear-gradient(92.85deg, #2B7EAD -7.88%, #0056FE 118.93%);
}

footer {
    background: linear-gradient(125.3deg, rgba(65, 237, 206, 0.66) 14.39%, rgba(13, 117, 150, 0.49) 100.66%);
    font-size: 20px;
    padding: 10px 0px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-modal {
    background: #0000003b;
}

.request-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    z-index: 99;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
}

.request-modal-window {
    font-size: 20px;
    flex-shrink: 0;
    flex-grow: 0;
    background: white;
    width: 600px;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.2s ease 0s;
    transform: scale(0.9);
    opacity: 0;
    border-radius: 40px;
    color: #1D175C;
    padding: 30px;
}

.request-modal-window {
    text-align: center;
}

.request-modal__opened {
    position: fixed;
    right: 0;
    left: 0;
    overflow: hidden;
}

input[type=text]._error {
    box-shadow: 0 0 15px red;
}

._checkbox._error {
    box-shadow: 0 0 10px red;
}

.cards {
    display: flex;
    justify-content: space-between;
}

.card {
    display: flex;
    align-items: center;
    flex-flow: column;
}

.card img {
    width: 80%;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    width: 70%;
    color: #09B01A;
}

.btn_buy1,
.btn_buy2,
.btn_buy3,
.btn_buy4 {
    color: #ffffff;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 35px;
    background: linear-gradient(92.85deg, #24FF3A -7.88%, #09B01A 118.93%);
    box-shadow: 0px 8px 10px #3B7BDB;
    border-radius: 18px;
    padding: 0px 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn_buy1:hover,
.btn_buy2:hover,
.btn_buy3:hover,
.btn_buy4:hover {
    background: linear-gradient(92.85deg, #27fcf1 -7.88%, #104f63 118.93%);
    box-shadow: 0px 8px 20px #1428dd;
    color: #ffffff;
}

.description,
.order {
    margin-top: 70px;
    font-size: 24px;
}

.description p,
.order p {
    text-indent: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: .12em;
    line-height: 1.2em;
}

.tech_desc {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.1em;
}

table {
    width: 100%;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.1em;
    border-collapse: collapse;
    border-spacing: 0px;
}

table caption {
    text-align: start;
    padding-bottom: 10px;
}

table tr:nth-child(odd) {
    background-color: #b1f1e5;
}

table tr:nth-child(even) {
    background-color: #ffffff;
}

table td:nth-child(1) {
    vertical-align: top;
}

table td:nth-child(2) {
    text-align: end;
}

.photos,
.videos {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 20px;
}

.photos img,
.videos video {
    width: 30%;
}

.paragraph {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.1em;
}

.our_works_photos1,
.our_works_photos2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.our_works_photos1 img {
    width: 48%;
    padding-bottom: 10px;
}

.our_works_photos2 img {
    width: 31.5%;
    padding-bottom: 10px;
}

.our_works_videos1,
.our_works_videos2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.our_works_videos1 video {
    width: 31.5%;
    padding-bottom: 10px;
}

.our_works_videos2 video {
    width: 48%;
    padding-bottom: 10px;
}


@media screen and (max-width: 1200px) {
    .container {
        width: 1140px;
    }
}

@media screen and (max-width: 1199px) {
    .container {
        width: 960px;
    }

    h2 {
        font-size: 40px;
    }

    .buy_h1 h1 {
        font-size: 48px;
    }

    .price {
        font-size: 20px;
    }

}

@media screen and (max-width: 991px) {
    body {
        font-size: 26px;
    }

    .title {
        margin-top: 3em;
    }

    .container {
        width: 720px;
    }

    h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 14px;
    }

    .nav {
        font-size: 16px;
    }

    .nav_logo img {
        width: 80px;
    }
    
    .our_fontains_list {
        font-size: 22px;
    }

    .about_us h1,
    .advantages h1,
    .buy h1,
    .description h1,
    .galery h1,
    .order h1,
    .contacts h1 {
        margin-bottom: 0em;
    }

    .about_us {
        padding-bottom: 20px;
    }

    .about_us p {
        margin-top: 10px;
    }

    .advantages {
        padding: 10px 0px;
    }

    .dignity h3 {
        height: 30px;
    }

    .text_small {
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2em;
    }

    .request h1 {
        margin-bottom: 1em;
        margin-top: 0em;
    }

    input[type=text] {
        font-size: 16px;
    }

    textarea {
        font-size: 16px;
        height: 167px;
    }

    footer img a:first-of-type img {
        width: 80px;
    }

    .price {
        font-size: 16px;
    }
    
    .description {
        font-size: 18px;
    }
    
    .order {
        margin-top: 40px;
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: 18px;
    }

    .container {
        width: 540px;
    }

    .nav {
        font-size: 12px;
    }

    .nav_logo span {
        margin-left: 10px;
    }

    h1 {
        font-size: 26px;
    }

    .btn_offer {
        font-size: 18px;
    }

    .our_fountains h1 {
        margin-top: 1em;
    }

    .fountains_card {
        width: 40%;
    }
    
    .our_fontains_list {
        font-size: 16px;
    }

    .fountains_card {
        width: 30%;
    }

    .text {
        font-size: 26px;
    }

    .checkbox-submit label {
        font-size: 13px;
    }

    .dignities {
        flex-wrap: wrap;
    }

    .dignity {
        width: 45%;
    }

    .dignity img {
        width: 60px;
        margin-top: 20px;
    }

    .dignity h3 {
        height: 36px;
    }

    textarea {
        font-size: 16px;
        height: 167px;
    }

    footer img {
        width: 80px;
    }

    .price {
        font-size: 12px;
    }

    .btn_buy1,
    .btn_buy2,
    .btn_buy3,
    .btn_buy4 {
        line-height: 26px;
        padding: 0px 5px;
    }

    .description,
    .order {
        margin-top: 50px;
        font-size: 13px;
    }

    .galery h1 {
        margin-bottom: 1em;
    }

    .order {
        margin-top: 40px;
        font-size: 16px;
    }
}

@media screen and (max-width: 575px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 93%;
        padding: 0 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 12px;
    }

    .text {
        font-size: 16px;
    }

    .text_small {
        font-size: 10px;
    }

    .nav a img {
        width: 50px;
    }

    .nav_logo span {
        margin-left: 5px;
    }

    .nav_tel a {
        margin-right: 10px;
    }

    .title span {
        display: block;
        margin-bottom: 1em;
    }

    .btn_offer {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .our_fontains_list {
        font-size: 14px;
    }

    .fountains_card {
        border-radius: 30px;
        padding-bottom: 10px;
    }

    .dignity h3 {
        height: 30px;
    }

    .dignities {
        justify-content: space-evenly;
    }

    .dignity {
        width: 40%;
    }

    input[type=text] {
        font-size: 10px;
    }

    textarea {
        font-size: 10px;
        height: 152px;
    }

    .form-button button {
        font-size: 14px;
        line-height: 22px;
        padding: 4px 14px;
    }

    footer img {
        width: 50px;
    }

    footer {
        font-size: 16px;
    }

    .request-modal-window {
        width: 500px;
    }

    .checkbox-submit label {
        font-size: 12px;
    }

    .discription {
        display: block;
    }

    .contacts {
        font-size: 14px;
    }
}

@media screen and (max-width: 500px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 93%;
        padding: 0;
    }

    .nav {
        font-size: 8px;
    }

    .title {
        margin-top: 2em;
    }

    h1 {
        font-size: 18px;
    }

    .title h1 {
        margin-bottom: 0.5em;
    }
    
    .our_fontains_list {
        font-size: 12px;
    }

    .fountains_card {
        border-radius: 20px;
        padding-bottom: 10px;
    }

    .request {
        padding: 20px 0 20px 0;
    }

    textarea {
        width: 90%;
    }

    .price {
        font-size: 10px;
    }

    .request-modal-window {
        width: 320px;
        font-size: 10px;
    }

    .description {
        font-size: 12px;
    }
}

@media screen and (max-width: 420px) {
    .description {
        font-size: 12px;
    }
}