/* Основные стили */


:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-akcent-1: #F65959;
    --color-footer: #555555;
    --color-background: #EEEEEE;
}


* {
    margin: 0;
}
body {
    position: relative;
}
html {
    scroll-behavior: smooth;
}
h1, h2,h3 {
    font-family: "Bona Nova", serif;
    font-weight:400;
    font-style: normal;
    margin: 0;
}
h1 {
    font-size: 55px;
}
h2 {
    font-size: 45px;
}
h4 {
    font-family: "Open Sans", serif;
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}
h5 {
    font-family: "Open Sans", serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
h6 {
    font-family: "Open Sans", serif;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}
p, a, li {
    font-family: "Open Sans", serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 150%;
    text-decoration: none;
    list-style-type: none;
    color: var(--color-black);
}
.btn-1 {
    font-family: "Open Sans", serif;
    font-weight: 300;
    background-color: var(--color-akcent-1);
    padding: 12px 40px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s linear;
}
.btn-1:hover {
    background-color: #c63b3b;
}
.wrapper {
    max-width: 1110px;
    margin: 0 auto;
}


/* Стили страницы  */
body {
    background-color: #F5F5F5;
}

.header {
    padding: 15px 0;
    background-color: #e6e6e684;
    backdrop-filter: blur(6px);
    z-index: 200;
    position: relative;
}
.header-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header-menu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: end;
}

/* Мобильное меню  */

.nav-container {
    display: none;
    justify-content: space-between;
    align-items: center;
    height: 62px;
  }
  
  .navbar .menu-items {
    display: flex;
  }
  
  .navbar .nav-container li {
    list-style: none;
  }
  
  .navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
  }
  
  .navbar .nav-container a:hover{
      font-weight: bolder;
  }
  
  .nav-container {
    display: none;
    position: relative;
    height: 60px;
    width: 60px;
  }
  
  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  
  .nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
  }
  
  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-footer);
    z-index: 500;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    padding: 20px;
    transform: translate(-100%, 0);
    transition: 0.3s linear;

  }
  .mobile-menu.active {
    transform: translate(0, 0);
  }
  .mobile-menu img {
    width: 100%;
    object-fit: contain;
  }
  .mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
    padding: 0;
  }
  .mobile-menu-list .header-menu-item a {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
  }
  /* |||||||||||||||||||||||||||||||||||||||||||||||| */



.main-window {
    /* background-image: url(../img/main-img.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    margin-top: -77px;
    position: relative;
    height: 100vh;
    z-index: 100;

}
.main-window-block {
    padding-top: 155px;
    padding-bottom: 170px;
    width: 390px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 100;
}
.main-window-block h1, .main-window-block p {
    z-index: 100;
}
.main-h1, .main-desck, .main-btn {
    display: none;
}
.main-h1.active, .main-desck.active, .main-btn.active {
    display: block;
    
}
.whit-h1, .whit-desck{
    color: var(--color-white);
}
.main-h1.active {
    animation: textDown 0.5s 0.5s linear 1 alternate backwards;
}
.main-desck.active {
    animation: textLeft 0.5s 0.7s linear 1 alternate backwards;
}
.main-btn.active {
    animation: btnDown 1s 0.7s linear 1 alternate backwards;
}
.main-window-block .btn-1 {
    width: 217px;
    box-sizing: border-box;
    z-index: 100;
}
.main-nav {
    position: absolute;
    padding: 10px 7px;
    border: 2px solid var(--color-white);
    background-color: #e6e6e684;
    backdrop-filter: blur(6px);
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    bottom: 100px;
    right: 63px;
    box-sizing:inherit;
    align-items: center;
    z-index: 100;
}
.main-nav-item {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: #ffffff8a;
    cursor: pointer;
    transition: 0.3s linear;
}
.main-nav-item.active {
    width: 14px;
    height: 14px;
    background-color: #ffffff;
}
.main-nav-item:hover {
    transform: scale(1.4, 1.4);
    background-color: #ffffff;
}
.main-nav-item.active:hover {
    transform: scale(1, 1);
}
.main-img-block {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    z-index: 1;
    overflow: hidden;
    scroll-behavior: smooth;

}
.main-img-list {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}
.main-img-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.why-we {
    margin-top: 120px;
}
.why-we-block h2 {
    text-align: center;
    margin-bottom: 20px;
}
.why-we__text-block {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.why-we__text-block p {
    width: 100%;
    text-align: justify;
}

.about {
    margin-top: 120px;
    background-color: var(--color-background);
    padding: 100px 0;
}
.about-block {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 90px;
}
.about-img {
    /* height: 100%; */
    width: 255px;
    object-fit: cover;
    border-radius: 5px;
}
.about__text-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about__text-block p {
    text-align: justify;
}
.for-whom {
    margin-top: 120px;
}
.for-whom-head {
    text-align: center;
}
.for-whom-desc {
    text-align: center;
    padding: 0 20%;
    margin: 30px 0;
}
.for-whom-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}
.for-whom-item {
    border-radius: 5px;
    background-color: var(--color-background);
    padding: 30px;
    box-sizing: border-box;
    width: 32%;
}
.for-whom-item__head {
    margin-bottom: 10px;
}
.main-line {
    height: 1px;
    background-color: #CBCBCB;
}
.for-whom-item__desc {
    margin-top: 20px;
    /* height: 200px; */
    margin-bottom: 20px;
}
.for-whom-item .btn-1 {
    display: block;
    width: 215px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 15px;
}
.our-serves {
    margin-top: 120px;
    background-color: var(--color-background);
    padding: 100px 0;
}
.our-serves-block h2{
    text-align: center;
}
.our-serves-list {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.our-serves-item {
    display: flex;
    flex-direction: row;
    background-color: var(--color-white);
    box-shadow:  0px 0px 7px rgba(0, 0, 0, 0.203);
    padding: 10px 20px;
    border-radius: 5px;
    width: 445px;
    height: 70px;
    box-sizing: border-box;
    gap: 22px;
    align-items: center;
}

/* Контакты */


.contact {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
}
.contact-left, .contact-right {
    width: 50%;
}
.contact-left {
    padding-left: calc((100vw - 1110px) / 2 );
    padding-right: 50px;
    margin-bottom: 150px;
}
.contact-left h2 {
    margin-top: 100px;
}

.contact-list {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: flex-start;
}
.contact-colum {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: start;
}
.contact-item-img {
    margin-top: 3px;
    width: 22px;
    height: 22px;
}
.contact-item-head {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}
.contact-item-social {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.contact-item__list-sochial {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.contact-form {
    margin-top: 50px;
}
.contacts__form {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}
.contacts__form-left {
    width: 47%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contacts__form-right {
    width: 47%;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #B4B4B4;
    outline: none;
    box-sizing: border-box;
    resize: none;
}
.contacts__form-left  input {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #B4B4B4;
    outline: none;
}
.contact-right iframe {
    height: 100%;
    width: 100%;
}


/* Футер */
.footer {
    background-color: var(--color-footer);
    height: 300px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.fooret-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;   
}
.footer-menu:last-child{
    align-items: end;
}
.footer-menu h4, .footer-menu a{
    color: var(--color-white);
}
.footer-tel  {
font-size: 22px;
}

footer .main-line {
    margin-top: 50px;
    height: 1px;
    background-color: #ffffff41;
}
.footer-prava {
    margin-top: 20px;
    color: var(--color-white);
    font-size: 12px;
}


/* Модальное окно  */


.modal-window {
    position: fixed;
    backdrop-filter: blur(10px);
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0000006c;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-window-block {
    background-color: var(--color-background);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.modal-window-block h3{
    font-size: 35px;
    font-weight: 400;
    text-align: center;
}
.modal-window-block form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.modal-window-block input {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--akcent);
    outline: none;
}
.modal-window-block textarea {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--akcent);
    outline: none;
    height: 134px;
    resize: none;
}
.modal-window-block img {
    position: absolute;
    width: 40px;
    height: 40px;
    object-fit: cover;
    top: -10px;
    right: -10px;
    cursor: pointer;
}


@media (max-width: 1110px) {
    .wrapper {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .contact-left {
        padding-left: 10px;
    }
}
@media (max-width: 930px) {
    .for-whom-list {
        gap: 20px;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about-block {
        padding: 0;
    }
    .for-whom-item {
        width: 80%;
    }
}
@media (max-width: 780px) {
    .footer-menu:nth-child(3){
        display: none;
    }
    .contact-left {
        padding-right: 20px;
    }
    .about-img {
        width: 40%;
    }
    .about__text-block {
        width: 60%;
    }
}
@media (max-width: 670px){
    .about-block {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .contact {
        flex-direction: column;
    }
    .contact-left {
        width: 100%;
        box-sizing: border-box;
    }
    .contact-right {
        width: 100%;
        height: 400px;
    }
    .header-menu {
        display: none;
    }
    .nav-container {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .about__text-block {
        width: 80%;
    }
    .main-img-list img {
        object-position: center left;
    }   
}
@media (max-width: 480px){
    .footer-menu:nth-child(2){
        display: none;
    }
    .about-img {
        width: 60%;
    }
    .why-we__text-block {
        flex-direction: column;
        align-items: center;
    }
    .why-we__text-block p {
        width: 80%;
    }
    .main-img-block {
        height: 500px;
    }
    .main-window {
        height: 500px;
    }
    .main-nav {
        display: none;
    }
}
@media (max-width: 400px){
    .fooret-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
    .footer-menu:last-child {
        align-items: start;
    }
    .footer {
        height: auto;
    }
    .contact-form h4{
        text-align: center;
    }
    .contacts__form {
        flex-direction: column;
        align-items: center;
    }
    .contacts__form-left {
        width: 250px;
    }
    .contacts__form-right {
        width: 250px;
    }
    .main-window-block {
        width: auto;
        align-items: center;
    }
    
    .main-h1 {
        font-size: 40px;
        text-align: center;
    }
    .main-desck {
        text-align: center;
    }
    .main-nav {
        bottom: 30px;
        right: 30px;
    }
    .for-whom-item .btn-1 {
        width: 160px;
        text-align: center;
    }
}




  