html {
    background-color: #0385E1;
    width: 100%;
}

body {
    max-width: 1360px;
    margin: 0 auto;
    background-color: aliceblue;
}

header {
    background-image: url("../img/site/cover1.png");
    background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: top;
}

main {
    width: 100%
}

.logo {
    width: calc(75px + 2vh);
    margin-left: 5vw;
    margin-top: 2vh;
}

.main-nav {
    padding-top: calc(15px + 1.5vw);
    float: right;
}

.main-nav ul {
    display: flex;
    margin-right: 50px;
    width: fit-content;
}

.main-nav_item {
    color: aliceblue;
    font-size: calc(16px + 0.8vw);
    text-decoration: none;
    margin-right: 0.5vw;
    margin-left: 0.5vw;
    display: inline;
    padding: 0.5vw;
    }

.main-nav_item:hover {
    border: 2px solid aliceblue;
    margin-right: calc(0.5vw - 2px);
    margin-left: calc(0.5vw - 2px);
    border-radius: calc(16px + 1.8vw);
}

ul {
    list-style: none;
    width: 100%;
}

.main-nav img {
    width: calc(5vw);
    margin-right: 5vw;
    margin-top: 2vh;
    display: none;
}

.mobile-nav {
    width: 500px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mobile-nav li {
    width: 450px;
    font-size: 25px;
    margin-left: 30px;
    display: block;

}

.mobile-nav a {
    text-decoration: none;
    display: block;
    width: 100%;
    color: black;
    font-weight: bold;
    margin: 10vh 20px;
}

h1 {
    font-size: calc(16px + 5vw);
    color: aliceblue;
    margin-top: 300px;
    margin-left: 10vw;
    margin-bottom: 2vh;
    text-decoration: underline;
    text-decoration-color: yellow;
}

.company-description {
    font-size: calc(8px + 1.5vw);
    color: aliceblue;
    margin-left: 10vw;
    margin-top: 0;
    margin-bottom: 250px;
}

.short {
    display: flex;
    width: 100%;
    max-width: 1240px;
    margin: 10px auto;
    color: aliceblue;
    height: fit-content;
    background: #0385E1;
    vertical-align: top;
}

.about_short {
    display: block;
    width: 30%;
    min-height: 100%;
    margin-left: 2.2%;
}

.about_short_hr {
    width: 7vw;
    float: left;
    margin: 0;
    background: aliceblue;
    display: block;
    height: 2px;
}

.about_short p {
    font-size: 2vh;
}

.about_short h3 {
    font-size: 3vh;
}

.about_main {
    display: flex;
    margin: 50px 5%;
}

.about_main img{
    background: #0385E1;
    width: 35vw;
    height: 35vw;
    max-width: 500px;
    max-height: 500px;
    margin: 0 5vw;
    display: inline-block;
}

.about_main-info h3 {
    font-size: calc(12px + 2vw);
    margin-top: 0;
}

.about_main-info p {
    font-size: calc(6px + 1vw);
}

.works {
    padding: 5%;
    width: 90%;
}

.works h2 {
    font-size: calc(16px + 2vw);
    text-decoration: underline;
    width: fit-content;
}

.works-container {
    width: 100%;
    display: block;
    justify-content: center;
}

.works-container article {
    display: inline-block;
    width: 48.5%;
    font-size: 21px;
    font-style: italic;
}

.works-container h3 {
    font-weight: bold;
    font-size: 27px;
    text-decoration: underline;
    text-decoration-color: #0385E1;
}

footer {
    background-color: #1C001F;
    color: aliceblue;
    width: 100%;
    min-height: 300px;
    height: fit-content;
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer_contacts {
    width: 100%;
    display: flex;
}

.footer_contacts h3 {
    width: calc(100vw - 370px);
    max-width: 850px;
    display: flex;
    font-size: calc(16px + 1vw);
    text-decoration: underline;
    margin: 10px 0 0 50px;

}

.footer_contacts-info {
    width: 500px;
    max-width: 850px;
    display: block;
    font-size: 20px;
}

.footer_contacts-info span {
    width: 120px;
    display: inline-block;
}

.footer_contacts-info a {
    width: 190px;
    display: inline-block;
}

.message_form {
    display: block;
    margin: 30px auto 0 auto;
    width: 400px;
}

.message_form label {
    font-size: 20px;
    font-style: italic;
    margin: 10px;
}

.message_form input {
    width: 376px;
    height: 30px;
    border: 1px solid;
    border-radius: 20px;
    padding-left: 20px;
}

.message_form textarea {
    width: 374px;
    height: 125px;
    border-radius: 20px;
    border: 1px solid;
    padding-left: 20px;
}

.message_form button {
    margin: 10px auto;
    width: 150px;
    height: 50px;
    border: 1px solid;
    border-radius: 20px;
    display: block;
}








@media(max-width: 768px) {
    .about_main {
        display: block;
        margin: 50px 10%;
    }

    .about_main img{
        background: #0385E1;
        width: 50vw;
        height: 50vw;
        margin: 0 auto;
        display: block;
    }

    .about_main h3 {
        font-size: 1.7em;
        margin-top: 20px;
    }

    .about_main p {
        font-size: 1.3em;
    }

    .works-container article {
    display: block;
    width: 100%;
    font-size: calc(12px + 1vw);
}
}

@media(max-width: 1100px) {
    .short {
        display: block;
        padding: 15px 30px;
        margin: 0 30px;
        width: calc(100vw - 135px);
    }

    .about_short {
        width: calc(100vw - 180px);
    }

    .about_short p {
    font-size: 1.25vh;
    }

    .about_short h3 {
        font-size: 2vh;
    }

    .main-nav ul {
        display: none;
    }

    .main-nav img {
        display: block;
    }
}

@media(max-width: 500px) {
    .footer_contacts-info span {
        display: block;
    }

    .footer_contacts-info a {
        display: block;
    }

    .footer_contacts {
        display: block;
    }

    .footer_contacts p {
        width: calc(100vw - 40px);
        margin-left: 40px;
    }
}
