
html {
    font-family: sans-serif;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/*=== Heder ===*/

header .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 40px 10px;
    width: 100%;
}

.navigation {
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.nav_link {
    color: #000;
    margin-right: 50px;
    text-decoration: none;
}

.desctop_navigation {
    display: block;
}

.mobile_navigation {
    display: none;
}

/*=== Home ===*/

.home {
    background-size: cover;
    background-position: center center;
    color: #fff;
    height: 100vh;
}

.home_content {
    max-width: 570px;
    margin: 0 auto 0 0;
    position: relative;
    text-align: left;
    transform: translateY(28vh);
    z-index: 5;
}

.home::before {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: -130px;
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.home_title {
    font-size: 45px;
    text-transform: uppercase;
}

.home_text {
    font-size: 12px;
    line-height: 1.5;
    max-width: 360px;
    margin: 45px auto 60px 0;
}

.home_button {
    background-color: #fff;
    border-radius: 25px;
    color: #80bdb5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    max-width: 200px;
    padding: 20px 50px;
    text-transform: uppercase;
    text-decoration: none;
}

/*=== About ===*/

.about_title {
    color: #dedede;
    font-size: 34px;
    line-height: 4;
    text-align: left;
}

.about_sub_title {
    color: #707070;
    font-size: 14px;
    line-height: 2;
    text-align: left;
}

.about_image {
    box-shadow: 4px 4px 20px 0px #90909080;
    border-radius: 5px;
    width: 690px;
}

.about_item {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 90px 0;
}

.middle_item {
    flex-direction: row;
}

.item_title {
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.item_text {
    font-size: 12px;
}

.text_wrapp {
    line-height: 3;
    padding: 60px;
    text-align: left;
}

/*=== Call ===*/

.call {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 170px 10px;
}

.call_item {
    font-size: 26px;
    line-height: 0.8;
}

.call_name {
    color: #000;
}

.call_data {
    color: #80bdb5;
}

.middle {
    margin: 0 120px;
}

/*=== contact ===*/

.page_link {
    text-decoration: none;
}

.call_data .page_link {
    color: #80bdb5;
}

em .page_link {
    color: #fff;
}

.contact {
    background-color: #80bdb5;
    color: #fff;
}

.contact_wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 80px 0;
}

.contact_message {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.contact_title {
    font-size: 43px;
    font-weight: 900;
    line-height: 2;
}

.contact_text {
    font-size: 16px;
    line-height: 2;
    margin-top: 45px;
}

.underline {
    font-weight: 900;
    text-decoration: underline;
}

/*=== Top button ===*/

#myBtn {
    background-color: rgba(255, 0, 0, 0.4);
    border-radius: 4px;
    border: none;
    bottom: 20px;
    color: white;
    cursor: pointer;
    display: none;
    font-size: 18px;
    outline: none;
    position: fixed;
    padding: 15px;
    right: 30px;
    z-index: 99;
}

#myBtn:hover {
    background-color: #555;
}

/*=== Footer ===*/

footer {
    line-height: 2;
    padding: 20px 0;
    text-align: center;
}

/*=== Other device sizes ===*/

@media screen and (max-width: 750px) {

    /*=== Burger menu ===*/

    .desctop_navigation {
        display: none;
    }

    header .container {
        display: none;
    }

    .mobile_navigation {
        display: block;
    }

    .topnav {
        background-color: #333;
        overflow: hidden;
        position: relative;
    }

    .topnav #myLinks {
        display: none;
    }

    #myLinks {
        background-color: #707070;
    }

    .topnav a {
        color: white;
        display: block;
        font-size: 17px;
        padding: 14px 16px;
        text-decoration: none;
    }

    .topnav a.icon {
        background-color: #80bdb5;
        color: #fff;
        display: block;
        position: absolute;
        right: 10px;
        top: 14px;
    }

    .topnav a:hover {
        color: black;
    }

    .active {
        background-color: #fff;
    }

    /*=== End Burger menu ===*/

    header .container {
        background-color: yellowgreen;
    }

    .home {
        height: 50vh;
    }

    .home::before {
        display: none;
    }

    .home_content {
        transform: translateY(10vh);
        margin: 0 auto;
        text-align: center;
    }

    .home_title {
        font-size: 20px;
        width: 100%;
    }

    .home_text {
        margin: 30px auto 50px;
        line-height: 1;
        width: 100%;
    }

}

@media screen and (max-width: 1000px) {

    .about_title {
        font-size: 24px;
        line-height: 2;
        text-align: center;
    }

    .about_sub_title {
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
    }

    .about_item {
        flex-direction: column;
    }

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

    .about_image {
        width: 100%;
    }

    .text_wrapp {
        line-height: 1.5;
        max-width: 690px;
        padding: 15px;
        text-align: center;
    }

    .call {
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 10px;
    }

    .middle {
        margin: 40px 0;
    }

}

@media screen and (max-width: 1200px) {
    .contact_wrapper {
        flex-direction: column;
    }

    .contact_message {
        margin: 0 auto 40px;
    }
}

