body {
    margin: 0;
    font-family: 'Montserrat', 'Arial', sans-serif;
    max-width: 100vw;
}


a {
    text-decoration: none;
    color: white;
}

p, h1, h2, h3, h4 {
    color: #004065;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #008dde;
    padding: 30px 8vw;
}

.logo {
    width: 20vw;
}

.nubmer {
    font-size: 30px;
    font-weight: 500;
}
.mail {
    font-size: 22px;
    font-weight: 200;
}

.headContact {
    display: flex;
    flex-direction: column;
    align-items: end;
}

main {
    display: flex;
    padding: 0px 8vw;
    background-image: url(img/sky.jpg);
    background-position: right bottom;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    margin-bottom: 80px;
}

.promo{
    max-width: 50vw;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 50px;
}

h1, h3, h2, h4 {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

p{
    font-size: 20px;
    font-weight: 500;  
    line-height: 1.5;
}

.plane {
    max-width: 40vw;
    max-height: 540px;
    padding-top: 30px;
}


.why {
    display: flex;
    flex-direction: column;
    

}

.whyUp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0x 60px;
}
.square {
    width: 24vw;
    height: 4px;
    background-color: #004065;
}
.whyBottom {
    display: flex;
    justify-content: center;
    gap: 14vw;
    padding-top: 60px;
    padding-bottom: 40px;
}
.value {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 500;
}

.valueIcon{
    max-width: 130px;
    max-height: 90px;
}


.blueBlock {
    background-color: #008dde;
    display: flex;
    padding: 30px 60px;
    background-image: url(img/plane0.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
}
.blueBlockImg {
    background-image: none;
    width: 40vw;
}
.blueBlockText {
    color: white;
    width: 50vw;
    padding-top: 20px;
    padding-bottom: 20px;
}

h3 {
padding: 0;
margin: 0%;
}

.sevicesBlock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    gap: 1em;
}

.serv {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.whiteText {
    color: white;
    padding-bottom: 10px;
}

h4 {
    padding: 0px 8vw;
    margin-top: 80px;
}


.sevicesBlock {
    padding: 0px 8vw;
}
.servImage {
    border-radius: 20px;
    max-width: 28vw;
    max-height: 260px;
}

footer {
    display: flex;
    background-color: #008dde;
    padding: 60px 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}
.footerLeft{
    display: flex;
    flex-direction: column;
    width: 40vw;
}
.footerOtstup{
    margin-bottom: 40px;
}
.textInFooter{
    color: white;
    font-size: 16px;
    font-weight: 100;
}
#footerRight {
width: 40vw;
height: 400px;
}

/* мобильная версия  */
@media screen and (max-width: 640px) {
    .logo {
        width: 36vw;
    }
    
    .nubmer {
        font-size: 14px;
        font-weight: 500;
    }
    .mail {
        font-size: 10px;
        font-weight: 200;
    }

    header {
        padding: 20px 8vw;
    }
    main {
        padding: 0px 8vw;
        padding-top: 30px;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .promo {
        max-width: 100vw;
        padding-bottom: 20px;
    }
    .plane {
        max-width: 60vw;
        max-height: 540px;
        padding-top: 0px;
    }
    h1, h3, h2, h4 {
        font-size: 22px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 1.2;
        text-align: center;
    }
    
    p{
        font-size: 16px;
        font-weight: 500;  
        line-height: 1.5;
        text-align: center;
    }
    .square {
        width: 24vw;
        height: 4px;
        background-color: #004065;
        display: none;
    }

    .whyUp {
        justify-content: center;
        padding: 0px 8vw;
    }

    .whyBottom {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10vw;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .value {
        font-size: 16px;
    }
    .valueIcon{
        max-width: 100px;
        max-height: 60px;
        margin-bottom: 10px;
    }
    .blueBlock {
        background-color: #008dde;
        display: flex;
        padding: 0px 8vw;
        background-image: url(img/plane0.png);
        background-size: auto 100%;
        background-repeat: no-repeat;
    }
    .blueBlockImg {
        background-image: none;
        width: 0vw;
    }
    .blueBlockText {
        color: white;
        width: 100vw;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .sevicesBlock {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: 1em;
    }

    .serv {
        display: block;
    }
    .servImage {
        border-radius: 10px;
        max-width: 36vw;
        max-height: 220px;
    }

/* подвал */

    footer {
        display: flex;
        background-color: #008dde;
        padding: 60px 8vw;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
    }
    .footerLeft{
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0px 8vw;
        justify-content: center;
        align-items: center;
    }
    .footerOtstup{
        margin-bottom: 40px;
    }
    .textInFooter{
        color: white;
        font-size: 16px;
        font-weight: 100;
    }
    #footerRight {
        width: 90vw;
        height: 40vh;
    }
    #logoFooter {
        width: 60vw;
        text-align: center;
    }
    #nubmerFooter{
        font-size: 22px;
        margin-bottom: 8px;
    }
    #mailFooter{
        font-size: 16px;
    }
    #adressFooter{
        font-size: 16px;
        text-align: center;
    }
    #textFooter{
        font-size: 12px;
        text-align: center;
    }
}

/* мобильная версия  */

/* планшеты */
@media (min-width: 641px) and (max-width: 1040px){ 
    .logo {
        width: 30vw;
    }
        
    .nubmer {
        font-size: 20px;

    }
    .mail {
        font-size: 14px;

    }
    main {
        gap: 20px;
        margin-bottom: 50px;
        align-items: end;

    }
    .promo {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .plane {
        max-width: 34vw;
        max-height: 540px;
        padding-top: 0px;
    }
    h1, h3, h2, h4 {
        font-size: 22px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 1.2;

    }
    
    p{
        font-size: 16px;
        font-weight: 500;  
        line-height: 1.5;

    }

    .square {
        width: 24vw;
        height: 4px;
        background-color: #004065;
        display: none;
    }


    .whyUp {
        justify-content: center;
        padding: 0px 8vw;
    }

    .whyBottom {
        display: flex;
        justify-content: center;

        gap: 10vw;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .value {
        font-size: 16px;
    }
    .valueIcon{
        max-width: 100px;
        max-height: 60px;
        margin-bottom: 10px;
    }
    .valueText {
        font-size: 14px;
    }
    .blueBlock {
        background-color: #008dde;
        display: flex;
        padding: 0px 8vw;
        background-image: url(img/plane0.png);
        background-size: auto 100%;
        background-repeat: no-repeat;
    }
    .blueBlockImg {
        background-image: none;
        width: 0vw;
    }
    .blueBlockText {
        color: white;
        width: 100vw;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .sevicesBlock {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
        gap: 1em;
    }
    
    .serv {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .servImage {
        border-radius: 16px;
        max-width: 25vw;
        max-height: 240px;
    }
}
/* планшеты */
@media (min-width: 1041px) and (max-width: 1490px){
    .servImage {
        border-radius: 16px;
        max-width: 19vw;
        max-height: 210px;
    }
    .promo {
        padding-bottom: 0;
    }
    .square {
        width: 20vw;
        height: 4px;
        background-color: #004065;

    }
}
/* большие мониторы */
@media (min-width: 1800px){
    header {
        padding: 30px 10vw;
    }
    main {
        display: flex;
        padding: 0px 10vw;
        gap: 20px;
}
h4 {
    padding: 0px 10vw;
    margin-top: 80px;
}
footer {
    padding: 60px 10vw;
}
.promo {
    padding-bottom: 0px;
}
}