
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Jura", sans-serif;
    font-weight: 700;
}
a{
    text-decoration: none;
}
main {
    flex: 1;
    /* other styles for your main content area */
}


/* Your existing styles */
body.black-bg {
    background-color: #ffffff;
}
.fake-header {
    
    height: 110px;
    background-color: white;
    width: 100%;
}
.header {
    font-size: 1.1vw;
    position: fixed;
    top: 0px;
    right: 0px;
    background: white;
    opacity: 0.9;
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.header a {
    z-index: 10;
    display: inline;
    margin: 0 5px;
}

.logo-container {
    flex-shrink: 0;
    margin-left: 30px;
}

.logo {
    width: 200px;
    height: auto;
}

.nav-menu {
    text-align: center;
    font-size: 15px;
    z-index: 1;
}

.nav-menu ul {
    text-align: left;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
}

.nav-menu ul li {
    display: inline;
    font-size: 2em;
    margin-right: 20px;
}

.nav-menu ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #2e2e2e;
}

.nav-menu ul li a:hover {
    color: #405952;
}
.container-first *{
    color: white;
    font-family: "Tektur", sans-serif;
    font-weight: 400;
}
.container-first h4{
    font-family: "Jura", sans-serif;
}
.container-first-text h2,
.container-first-text h3,
.container-first-text h4 {
    margin-bottom: 0px;
}
.container-first-text h2{
    font-size: 50px;
    font-weight: 200;
    margin-bottom: 20px;
}
.container-first-text h3{
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 20px;
}
.container-first-text h4{
    font-size: 20px;
    font-weight: 100;
    margin-bottom: 60px;
}
.container-first-text a{
    background-color: #405952;
    padding: 10px;
    border-radius: 3px;
    font-weight: 100;
    font-size: 30px;
}
.container-first-text a:hover{
    background-color: rgb(46, 63, 59);
    transition: 0.3s ease-out;
}
.container-first {
    margin-top: 110px;
    background: 
        linear-gradient(rgba(19, 19, 19, 0.61), rgba(0, 0, 0, 0.8)), 
        url("img/turbine.jpg");
    background-size: cover;
    justify-content: center;
    align-content: center;
    text-align: center;
    display:flex;
    height: 600px;
    background-color: #2e2e2e;
}
.container-second{
    text-align: center;
}
.container-second h3{
    font-size: 30px;
    color: #4b4b4b;
}
.container-second p{
    font-weight: 100;
    font-size: 20px;
    color: #636363;
}
.container-second-card{
    margin: 60px;
}

.container-second-card {
    flex: 1 1 30%; 
    max-width: 30%; 
    box-sizing: border-box; 
}

.container-second-upper, .container-second-lower {
    align-items: flex-start; 
    display: flex;
    justify-content: space-around;
}

.container-second img{
    width: 6em;
}

.container-third{
    color: #fff;
    justify-content: center;
    align-content: center;
    text-align: center;
    display:flex;
    background-color: #405952;
}
.container-third h3{
    font-family: "Tektur", sans-serif;
    margin: 80px 0 50px 0;
    font-size: 40px;
    font-weight: 200;
}
.container-third p{
    font-family: "Oswald", sans-serif;
    margin: 0 150px 0 150px;
    font-size: 25px;
    font-weight: 200;
}
.container-third-text {
    width: 100%;
}
.container-third-text a{
    font-family: "Tektur", sans-serif;
    background-color: #ffffff;
    color: #2e2e2e;
    padding: 10px;
    border-radius: 3px;
    font-weight: 100;
    font-size: 20px;
}
.container-third-text a:hover{
    background-color: #2e2e2e;
    color: #ffffff;
    transition: 0.3s ease-out;
}
.container-third-button{
    display: flex;
    justify-content: center;
    margin: 50px 0 80px 0;
}
.container-fourth {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 60px;
    justify-content: center; /* Центрирование содержимого по горизонтали */
    align-items: flex-start; /* Выровнять элементы по верхнему краю */
}

.container-fourth-text {
    flex: 1;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выровнять текст по верхнему краю */
}

.container-fourth-image {
    flex: 1;
    padding-left: 20px;
    display: flex;
    justify-content: center; /* Центрирование картинки по горизонтали */
    align-items: flex-start; /* Выровнять картинку по верхнему краю */
}


.container-fourth-text h2 {
    font-size: 50px;
    color: #636363;
    margin-bottom: 20px;
}

.container-fourth-text p {
    font-size: 20px;
    color: #636363;
    margin-bottom: 20px;
}



.container-fourth-image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    margin: 20px;
    box-sizing: border-box;
}
.container-fifth{
    color: #fff;
    justify-content: center;
    align-content: center;
    text-align: center;
    display:flex;
    background-color: #405952;
}
.container-fifth h3{
    margin: 80px 0 50px 0;
    font-size: 40px;
    font-weight: 200;
}
.container-fifth-text a{
    font-family: "Tektur", sans-serif;
    background-color: #ffffff;
    color: #2e2e2e;
    padding: 10px;
    border-radius: 3px;
    font-weight: 100;
    font-size: 20px;
}
.container-fifth-text a:hover{
    background-color: #2e2e2e;
    color: #ffffff;
    transition: 0.3s ease-out;
}
.container-fifth-button{
    display: flex;
    justify-content: center;
    margin: 50px 0 80px 0;
}
/*.container-sixth {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

.container-sixth h2 {
    font-family: "Chakra Petch", sans-serif;
    font-size: 40px;
    color: #636363;
    margin-bottom: 40px;
}

.container-sixth-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; 
    padding:40px 80px 40px 80px; 
}

.container-sixth-images img {
    width: 150px; 
    height: auto;
    object-fit: contain;
}*/
.container-seventh {
    background-color: #f2f2f2; /* Светло-серый фон */
    padding: 80px;
    display: flex;
    justify-content: space-between;
}

.container-seventh-left {
    font-family: "Tektur", sans-serif;
    color: #636363;
    font-size: 20px;
    text-align: left;
    width: 50%;
}
.container-seventh-left :first-child b{
    line-height: 1.8;
    font-size: 25px;
}
.container-seventh-left div{
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.container-seventh-left b {
    font-weight: bold;
}

.container-seventh-left span {
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    font-size: 18px; 
}

.container-seventh-right {
    width: 50%;
    align-items: flex-start; 
}

.container-seventh-right input,
.container-seventh-right textarea {
    font-family: "Oswald", sans-serif;
    font-size: 15px; 
    width: 100%; 
    padding: 10px;
    margin-bottom: 20px; 
    border: 1px solid #ccc;
    border-radius: 0; 
}

.container-seventh-right textarea {
    height: 120px; 
    resize: vertical; 
}


.container-seventh-right :last-child {
    background-color: #405952;
    color: #ffffff;
    font-family: "Tektur", sans-serif;
    font-size: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}
.container-seventh-right button:hover {
    background-color: #374b45;
}
.container-eighth {
    background-color: #ffffff; 
    /*display: none;*/
    justify-content: space-between;
    padding: 60px;
}
.container-eighth-upper img {
    margin: 20px;
    margin-left: auto;
    width: 200px;
}

.container-eighth-lower {
    color: #636363;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по правому краю */
}

.container-eighth-lower .contact-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.container-eighth-lower p{
    line-height: 1;
}
.container-eighth-lower a {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: #636363;
    text-decoration: none;
}

.container-eighth-lower a:hover {
    text-decoration: underline;
}
.copyright-section {
    background-color: #405952; /* Такой же светло-серый фон, как у футера */
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #eeeeee;
}

.copyright-section p {
    margin: 0;
}

.scrollup {
    position: fixed; 
    transition: ease-out 0.3s;
    color: #405952; 
    background-color: #ffffff; 
    right: 20px; 
    bottom: 20px; 
    padding: 4px 10px;
    font-size: 1em; 
    border: 2px solid #e7e9ec;
    border-radius: 4px; 
    cursor: pointer; 
    display: none;
    text-align: center; 

}

.scrollup:hover {
    transition: ease-in 0.3s;
    color: #ffffff;
    background-color: #405952; /* цвет заднего фона при наведении */
    border: 0px solid #e7e9ec; 
}

.loading-animation {
    display: none;
}

@media screen and (min-width: 768px) {
    .dropdown {
        display: none;
    }

    .logo {
        width: 300px;
        min-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .container-second-upper, .container-second-lower {
        display: flex;
        align-items: center;
    }
    .container-second-card{
        flex: 1 1 50%; 
        max-width: 50%; 
    }
    .container-third h3{
        margin: 80px 20px 50px 20px;
        font-size: 40px;
        font-weight: 200;
    }
    .container-third p{
        margin:20px;
        font-size: 20px;
        font-weight: 200;
    }
    .container-first {
        height: 550px;

    }
    .container-first-text{
        margin:0 20px 0 20px;
    }
    .container-second-card{
        margin: 50px;
    }
    .container-second-upper{
        display: flex;
        flex-direction: column;
    }
    .container-second-lower{
        display: flex;
        flex-direction: column;
    }
    .container-first-text h2{
        font-size: 35px;
    }
    .container-first-text h3{
        font-size: 25px;
    }
    .container-fourth {
        flex-direction: column;
        padding: 20px;
    }

    .container-fourth-text {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }

    .container-fourth-image {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .container-fourth-text h2 {
        font-size: 40px;
    }

    .container-fourth-text p {
        font-size: 18px;
    }

    .container-fourth-image img {
        max-width: 100%; 
    }
    .container-sixth-images {
        flex-direction: column;
        gap: 20px; /* Отступы между изображениями на мобильных */
    }

    .container-sixth-images img {
        width: 100%; /* Изображения растягиваются по ширине экрана */
        margin: 20px 0 20px 0;
        max-width: 200px; /* Ограничение максимальной ширины */
    }
    .container-seventh {
        flex-direction: column;
    }

    .container-seventh-right {
        width: 100%;
    }
    .nav-menu {
        display: none;
    }

    .container {
        display: inline-block;
        cursor: pointer;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 6px 0;
        transition: 0.4s;
    }

    .show .bar1 {
        transform: rotate(-45deg) translate(-8px, 8px);
    }

    .show .bar2 {
        opacity: 0;
    }

    .show .bar3 {
        transform: rotate(45deg) translate(-8px, -8px);
    }

    .dropdown {
        max-width: 95%;
        font-size: 14px;
        position: fixed;
        top: 30px;
        right: 10px;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        background-color: #f1f1f1;
        min-width: 160px;
        overflow: auto;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown a:hover {
        background-color: #ddd;
    }

    .show1 {
        display: block;
    }
}
