.container {
    width: 90%;
    margin: 0 auto;
}

nav {
    padding: 10px;
    background-color: #2F2D2A;
    color: #fff;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 13;

}

nav>.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nav_item img {
    width: 50px;
}

.burger {
    display: none;
}

.burger button {
    background-color: transparent;
    border: none;
    height: 35px;
    width: 35px;
    text-align: center;
    cursor: pointer;
}

.burger button img {
    width: 100%;
}

.items_link {
    display: flex;
    flex-direction: row;
    gap: 55px;
    align-items: center;


}

.items_link a {
    text-transform: uppercase;
    font-size: 16px;
}

.language_button {
    border-radius: 50%;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #D3AD79;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
}

.mobile_nav {
    position: fixed;
    top: 0;

    padding: 15px 0;

    height: 100vh;
    width: 80vw;

    background-color: #fff;
    z-index: 100;
    transform: translateX(-80vw);
    transition: 0.4s all;

    display: flex;
    flex-direction: column;

}

.mobile-line {
    width: 90%;
    height: 2px;

    background-color: #D3AD79;
    margin: 0 auto;
}

.mobile_nav a {
    color: #000;
}

.active {
    transform: translateX(0);
}

.mobile_nav .logo {
    margin: 0 auto;
}

.mobile_nav .logo img {
    width: 75px;

}

.mobile_nav ul {
    margin-left: 15px;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile_nav .social_icon {
    margin: 15px 15px;
}

.line {
    width: 150px;
    height: 5px;

    margin: 15px auto;
    background-color: #D3AD79;
}

/* Header Slider */
.header {
    position: relative;
    overflow: hidden;

}

.slider {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slider 14.399999999999999s infinite;
}

.slider .slide:nth-child(1) {
    background-image: url('../image/slider_1.jpg');
    animation-delay: 0s;
}

.slider .slide:nth-child(2) {
    background-image: url('../image/slider_2.jpg');
    animation-delay: -4.8s;
}

.slider .slide:nth-child(3) {
    background-image: url('../image/slider_3.jpg');
    animation-delay: -9.6s;
}


@keyframes slider {

    0%,
    27%,
    100% {
        opacity: 1;
        animation-timing-function: ease;
        z-index: 0;
    }

    33% {
        opacity: 0;
        animation-timing-function: step-end;
        z-index: 0;
    }

    94% {
        opacity: 1;
        animation-timing-function: step-end;
        z-index: -1;
    }
}


.header_text {
    position: absolute;
    font-size: 50px;
    color: #fff;

    top: 50%;
    transform: translateY(-50%);
}

.header_text button {
    background: transparent;
    color: #D3AD79;
    border: none;
    border-bottom: 1px solid #D3AD79;
    font-size: 32px;
    margin-top: 65px;
    font-weight: 700;
    cursor: pointer;

}

section.aboutUs {
    padding: 120px 0 120px;

    background-color: #f6f3ef;
}

section.aboutUs h2 {
    text-align: center;
    color: #D3AD79;
    font-size: 50px;
    text-transform: uppercase;

    background: -webkit-linear-gradient(#ffcc7a, #c6884c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section.aboutUs h3 {
    text-transform: uppercase;

}

section.aboutUs ol li {
    list-style-type: decimal;
    text-align: start;
}


.aboutUs_block {
    margin-top: 150px;

    font-size: 18px;
    line-height: 1.8;
    font-weight: normal;
}

.aboutUs_block__item button {
    margin-top: 45px;
    background-color: transparent;
    cursor: pointer;

    border: 0;
    font-size: 18px;
    color: #D3AD79;
    text-transform: uppercase;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

}

.aboutUs_block__item button img {
    width: 25px;
}

.aboutUs_block__item {
    display: flex;

    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aboutUs_block__item p {
    width: 550px;
}

.aboutUs_block__item:nth-child(2) {
    display: flex;

    flex-direction: column;

}

.aboutUs_block__item video {
    border-radius: 25px;
    width: 100%;
    box-shadow: 0px 0px 15px 5px #2F2D2A;
}


section#calculator {
    padding: 120px 0 120px;
    background: url(../image/slider_2.jpg);
    background-position: bottom;

    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    font-weight: normal;
}

section#calculator .container {
    display: flex;
    flex-direction: column;

    gap: 35px;
}

section#calculator h2 {
    font-size: 50px;
    line-height: 1.5;
    text-transform: capitalize;

    font-weight: 200;
}

section#calculator button {
    background: none;
    border: 0;
    border-bottom: 1px solid #ffffff;

    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    cursor: pointer;
    width: 250px;
    margin: 0 auto;

}

section#calculator svg {
    font-size: 18px;
}



section#calculator button img {
    width: 25px;
}


section#projects {
    padding: 120px 0 120px;
}


section#projects h2 {
    text-align: center;
    color: #D3AD79;
    font-size: 50px;
    text-transform: uppercase;

    background: -webkit-linear-gradient(#ffcc7a, #c6884c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.project_block {
    margin-top: 75px;

    display: flex;
    flex-direction: column;
    gap: 45px;
}

.project_block .row {
    align-items: center;
}

.project_block .row:nth-child(odd) {
    flex-direction: row-reverse;
}

.project_block__item {
    text-align: center;
}

.project_block__item p {
    color: #B1AFAA;
    line-height: 1.8;

    margin-top: 20%;
}

.project_block__item h3 {
    color: #D3AD79;
    font-size: 62px;

    margin-top: 50px;
}

.project_block__item img {
    width: 100%;
}

.project_block__item button {
    background: none;
    border: 0;
    border-bottom: 1px solid #000;

    color: #000;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    cursor: pointer;
    width: 130px;
    margin: 50px auto 0 auto;
}


footer {
    padding: 50px 0;
    background-color: #2F2D2A;
}

.footer_item {
    display: flex;
    flex-direction: column;
    gap: 35px;

    color: #fff;
}

.footer_item h3 {
    color: #BABABA;
    font-size: 32px;
}

.footer_link a {
    text-decoration: underline;
    color: #fff;
    line-height: 1.8;
    font-size: 24px;
}

.footer_item ul {
    display: flex;
    flex-direction: column;
    gap: 15px;

}

.footer_item a {
    font-weight: 700;
}

.social_icon {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.social_icon button {
    border-radius: 50%;
    border: 1px solid #D3AD79;
    background-color: transparent;

    width: 50px;
    height: 50px;

    text-align: center;
    cursor: pointer;
}

.social_icon button img {
    width: 50%;
}

.align_center {
    margin-top: 35px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.align_center button {
    background: none;
    border: 0;
    border-bottom: 1px solid #D3AD79;

    color: #D3AD79;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    text-transform: uppercase;

    cursor: pointer;
    width: 230px;
    margin: 50px auto 0 auto;
}

.modal-overlay {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);

    z-index: 100;

}

.modal-content {
    height: 100vh;
    width: 50%;
    margin: 0 auto;
    background-color: #2F2D2A;

    color: #fff;

    display: flex;
    flex-direction: column;
    gap: 35px;

    padding: 35px 50px;
    position: relative;
}

#closeModal {
    position: absolute;
    top: 15px;
    right: 15px;

    background-color: #c6884c;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 5px 5px;

}

.modal-content h2 {
    font-size: 45px;
}

.modal-content p {
    color: #B1AFAA;
    font-size: 1.6em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-content p .old-price {
    text-decoration: line-through;
    font-size: 22px;
}

.modal-content p span {
    color: #D3AD79;
}

.modal-content #outputSpanOld {
    text-decoration: line-through;
    font-size: 22px;
}

.modal-content form {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.modal-content form input {
    padding: 15px 15px;
    color: #B1AFAA;
    font-size: 18px;
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid #B1AFAA;
}

.modal-content form button {
    padding: 15px 5px;
    background-color: #c6884c;
    width: 35%;
    border: 0;

    color: #fff;
    font-size: 18px;
    cursor: pointer;
}


@media only screen and (max-width: 1200px) {

    .header_text {
        font-size: 65px;
    }

    .aboutUs_block__item p {
        width: 425px;
    }

    .project_block__item p {
        margin-top: 50px;
    }

    .project_block__item h3 {
        font-size: 50px;
    }

    .modal-content {
        width: 70%;
        gap: 10px;
    }

    .modal-content h2 {
        font-size: 34px;
    }
}

@media only screen and (max-width: 992px) {
    .header_text {
        text-align: center;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .aboutUs_block__item p {
        margin-top: 35px;
        width: 635px;
    }

    .aboutUs_block {
        margin-top: 50px;
    }

    .project_block {
        gap: 100px;
    }

    .project_block__item p {
        margin-top: 25px;
    }

    .project_block__item h3 {
        margin-top: 0;
    }

    .project_block__item button {
        margin-top: 10px;
    }

    .nav_item:nth-child(2),
    .nav_item:nth-child(3) {
        display: none;
    }

    .burger {
        display: block;
    }

    .modal-content form button {
        width: 45%;
    }


}

@media only screen and (max-width: 675px) {
    .aboutUs_block__item p {
        width: 550px;
    }

    .modal-content {
        width: 95%;
        gap: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .aboutUs_block__item p {
        width: 410px;
    }

    .project_block__item h3 {
        font-size: 32px;
        margin-top: 15px;
    }
   

    .header_text {
        font-size: 36px;
    }

    .aboutUs_block {
        font-size: 16px;
    }

    section#calculator {
        font-size: 17px;
    }

    section#calculator h2 {
        font-size: 45px;
    }

    .modal-content {
        padding: 35px 25px;
    }

    .modal-content h2 {
        font-size: 25px;
    }

    .modal-content p {
        font-size: 1.2em;
    }

    .modal-content p .old-price {
        font-size: 18px;
    }

    .modal-content p .new-price {
        font-size: 24px;
    }

    .modal-content form button {
        width: 60%;
    }

    .modal-content #outputSpan {
        width: 135px;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
    }

    .modal-content #outputSpanOld {
        width: 135px;
        font-size: 18px;
        text-align: center;
    }

    section.aboutUs h3 {
        margin-top: 35px;
    }



}

@media only screen and (max-width: 376px) {
    .aboutUs_block__item p {
        width: 360px;
    }

    .header_text {
        font-size: 38px;
    }

    .footer_link a {
        font-size: 21px;
    }

    .modal-content h2 {
        font-size: 22px;
    }

    .modal-content p {
        font-size: 1em;
    }

    .modal-content form button {
        width: 70%;
    }

}

@media only screen and (max-width: 320px) {
    .aboutUs_block__item p {
        width: 310px;
    }

    .header_text {
        font-size: 38px;
    }

    .footer_link a {
        font-size: 18px;
    }
}