@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,400..500&display=swap');

* {
    box-sizing: border-box;
    text-decoration: none;
    font-family: Inter;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    width: 100vw;
    background: #fff;
    overflow-x: hidden;
}

body::before {
    content: url(image/bg-image.svg);
    position: absolute;
    top: -30px;
    left: 50%;
    /* transform: translate(-50%); */
    z-index: -1;
}
body::after {
    content: url(image/second-bg.svg);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-150%);
    z-index: -1;
}

.navbar {
    padding-top: 20px;
}

.container {
    position: relative;
    width: 1320px;
    padding: 0;
}

.logo {
    margin-top: 31px;
}

.hero {
    width: 100%;
    position: relative;
}

.hero-wrapper  {
    position: relative;
    /* transform: translateX(-67px); */
}

.hero-wrapper img {
    transform: translate(40px, 45px);
}

.hero-wrapper::before {
    content: url(image/middle-title-triangle.svg);
    position: absolute;
    width: fit-content;
    bottom: -55px;
    left: 52%;
}
.hero-wrapper::after {
    content: url(image/right-title-triangle.svg);
    position: absolute;
    width: fit-content;
    right: -65px;
    bottom: -65px;
}

header {
    display: flex;
    margin: 0px 70px 40px 0;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
}

.header-phone {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: right;
    text-decoration: none;
}
.header-phone>div {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.hero-title, .promo-title {
    margin-right: 41px;
    color: #fff;
    font-size: 34px;
    font-weight: 500;
    line-height: 41px;
    letter-spacing: 0px;
    text-align: left;
}

.wrapper {
    display: flex;
    align-items: center;
    padding: 22px 0 29px 67px;
    /* width: 1410px; */
    height: 129px;
    border-radius: 20px;
    background: linear-gradient(90.00deg, rgb(12, 147, 94),rgb(7, 90, 58) 100%);
}

form {
    margin-top: 50px;
    /* margin-left: 67px; */
}

label {
    margin-bottom: 28px;
    color: rgb(0, 0, 0);
    font-family: Inter;
    font-size: 24px;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 0px;
    text-align: left;
}

.form-wrapper {
    display: flex;
    gap: 13px;
}
input, button {
    width: 276px;
    height: 46px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 2px 7px 0px rgb(99, 99, 99);
    background: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;
    text-align: left;
}

button {
    width: 246px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: rgb(255, 189, 47);
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 1px;
    text-align: center;
}

.checkbox-block {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.checkbox-block input {
    margin: 0;
}

.checkbox-block label {
    font-size: 20px;
    margin: 0;
}

.form-btn {
    margin-left: 42px;
}

.promo {
    margin-top: 90px;
    margin-bottom: 60px;
    background: linear-gradient(90.00deg, rgb(12, 147, 94),rgb(7, 90, 58) 100%);
    width: 100vw;
    
}

.promo-wrapper {
    height: 217px;
    padding-left: 0;
    border-radius: unset;
    background: none;
}

.promo-text-block {
    position: relative;
    display: flex;
    flex-direction: column;
}

.promo-wrapper img {
    transform: translateY(0);
}

.promo-btn {
    margin-top: 17px;
}

/* @media (min-width: 1401px) {

    body::before {
        left: 750px;
    }
    body::after {
        left: 550px;
    }

    .container {
        margin: 0 auto;
        max-width: 1320px;
    }

    .wrapper {
        width: 1410px;
    }

    .hero-wrapper  {
        transform: translateX(-67px);
    }
} */

.modal-window-component-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

  .modal-window-component-container .modal-window-component {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-window-component-container.down-slider .modal-window-component {
    align-items: end;
  }

  .modal-window-component-container .modal-window-component .modal-window-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
  }

  .modal-window-component-container .modal-window-component .modal-window-content-container {
    z-index: 1;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 500ms;
    background-color: #FFFFFF;
    max-width: 900px;
  }

  @media only screen and (max-width: 540px) {
    .modal-window-component-container .modal-window-component .modal-window-content-container {
      width: 250px;
      height: 200px;
      border: unset;
      border-radius: 20px;
    }
  }

  .modal-window-component-container .modal-window-component .modal-window-content-container .modal-window-close-button {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: flex;
    padding: 8px;
  }

  @media only screen and (max-width: 540px) {
    .modal-window-component-container .modal-window-component .modal-window-content-container .modal-window-close-button {
      padding-left: 10px;
      padding-bottom: 10px;
    }
  }

  .modal-window-component-container .modal-window-component .modal-window-content-container .modal-window-close-button path {
    /*fill: black;*/
  }

  .modal-window-component-container .modal-window-component .modal-window-content-container .modal-window-content {
    overflow-y: hidden;
    overflow-x: hidden;
    /*max-height: 80vh;*/
    max-height: calc(100vh - 25px - 125px);
    margin: 25px 25px 25px 25px;
    min-width: 150px;
    max-width: 80vw;
    padding-top: 10px;
  }

  @media only screen and (max-width: 540px) {
    .modal-window-component-container .modal-window-component .modal-window-content-container .modal-window-content {
      height: 100%;
      padding-top: 20px;
      padding-bottom: 75px;
      max-width: unset;
    }

    .modal-window-content div h2 {
        padding-top: 20px !important;
    }
  }

@media (max-width: 1400px) {
    .container {
        width: 1140px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-wrapper img {
        transform: translate(0, 40px);
        scale: 0.8;
    }

    .promo-title {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 960px;
    }

    body::before {
        transform: translateX(-20%);
    }
    body::after {
        transform: translateX(-170%);
    }

    .wrapper {
        width: 960px;
        padding: 20px 0 20px 40px;
    }

    .hero-wrapper {
        transform: translateX(0);
    }

    .hero-wrapper::after {
        right: -35px;
        bottom: -80px;
        scale: 0.7;
    }

    .hero-wrapper::before {
        left: 45%;
        scale: 0.9;
    }

    .hero-wrapper img {
        transform: translate(-30px, 50px);
        scale: 0.8;
    }

    .hero-title {
        font-size: 28px;
        /* padding-left: 40px; */
        margin: 0;
    }

    .form-wrapper {
        flex-flow: wrap;
        justify-content: center;
    }

    .form-btn {
        margin-left: 0;
        margin-top: 20px;
    }

    .promo-wrapper {
        height: 250px;
    }

    .promo-title {
        font-size: 31px;
        margin: 0;
    }


    .promo-btn {
        margin: 0;
    }

    .promo-wrapper img {
        transform: translateY(0px);
        scale: 0.9;
    }
}

@media (max-width: 992px) {
    .container {
        width: 720px;
    }

    body::before {
        transform: translate(-25%, -13%);
        scale: 0.8;
    }
    body::after {
        transform: translate(-260%, -60%);
        scale: 0.7;
    }

    .wrapper {
        width: 100%;
        height: 100%;
        padding: 20px 20px;
        flex-flow: wrap;
    }

    header {
        margin: 30px 0px 22px 30px;
    }

    .hero-title, .promo-title {
        font-size: 28px;
        width: 40%;
        margin: 0;
        padding-left: 10px;
    }

    .hero-wrapper {
        transform: none;
    }

    .hero-wrapper::after {
        right: -20px;
        bottom: -120px;
        scale: 0.7;
    }

    .hero-wrapper::before {
        right: unset;
        left: 240px;
        bottom: -55px;
        scale: 0.9;
    }

    .hero-wrapper img {
        transform: translate(310px, -10px);
        scale: 0.8;
        position: absolute;
    }

    .form-wrapper {
        flex-flow: wrap;
        align-items: center;
        justify-content: center;
    }

    label {
        margin-left: 80px;
    }
    

    .form-btn {
        margin-left: 0;
        margin-top: 0;
    }

    button {
        width: 276px;
    }

    .promo-wrapper {
        flex-flow: row;
        
    }

    .promo-wrapper img {
        position: absolute;
        transform: translate(440px, 0);
        scale: 0.85;

    }

    .promo-title {
        width: 60%;
        padding-left: 0;
    }

}

@media (max-width: 767px) {
    .container {
        width: 540px;
    }

    .navbar {
        padding-top: 70px;
    }

    .navbar .container {
        justify-content: center;
    }

    #panelcontainer {
        margin-top: 20px;
    }

    header {
        flex-flow: wrap;
    }

    .hero-wrapper img {
        transform: translate(230px, 0px);
        scale: 0.75;
    }

    .hero-wrapper::after {
        display: none;
    }

    .hero-wrapper::before {
        display: none;
    }

    .hero-title, .promo-title {
        font-size: 24px;
    }
    .hero-title {
        width: 50%;
    }

    .promo-wrapper img {
        transform: translate(310px, 0px);
        scale: 0.75;
    }
    .promo-title {
        font-size: 21px;
        width: 52%;
    }
}

@media (max-width: 575px) {

    body::before {
        top: 0;
        left: 5px;
        scale: 0.3;
        transform: translate(10px, -220px);
    }
    body::after {
        top: 13px;
        left: 0;
        scale: 0.4;
        transform: translate(10px, -100px);
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }

    header {
        margin: 0;
        margin-bottom: 20px;
        gap: 15px;
    }

    .wrapper {
        width: 100%;
        height: 100%;
        padding: 20px 20px;
        flex-flow: wrap;
    }

    .hero-title {
        text-align: center;
        font-size: 30px;
        width: 100%;
    }

    .hero-wrapper {
        transform: none;
        justify-content: center;
    }

    .hero-wrapper img {
        position: relative;
        transform: translate(0px, 20px);
        height: 200px;
        overflow: hidden;
    }

    label {
        margin-left: 0;
        text-align: center;
    }

    .checkbox-block {
        /* margin-top: 30px; */
        gap: 20px;
    }
    
    /* .checkbox-block input {
        margin: 0;
    } */
    
    .checkbox-block label {
        font-size: 16px;
        margin: 0;
        line-height: 25px;
    }

    .promo-wrapper {
        flex-flow: wrap;
        justify-content: center;
        align-items: center;
    }

    .promo-text-block {
        align-items: center;
    }

    .promo-title {
        font-size: 26px;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .promo-wrapper img {
        position: relative;
        transform: translateY(0);
        scale: 1;
        width: 100%;
    }

    .promo-btn {
        margin-top: 20px;
    }

}
