* {
    outline: none;
    box-sizing: border-box;
}

.wrapper {
    overflow: hidden;
}

img {
    max-width: 100%;
}

body {
    font-family: 'Outfit';
    margin: 0;
    background: #171717;
    color: #fff;
    padding-top: 33px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.header {
    margin-bottom: 110px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #878787;
    border-radius: 40px;
    padding: 10px 10px 10px 20px;
}

.logo {
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.logo span {
    color: #91ec9e;
}

.header__menu {
    display: flex;
    gap: 40px;
}

.header__menu .item {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
}

.header__menu .item:hover {
    opacity: 0.8;
}

.header__menu .item.button {
    display: none;
}

.header .button {
    max-width: 143px;
    padding: 16px 10px;
}

.first-screen .top-text {
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    max-width: 400px;
    margin: auto;
    margin-bottom: 30px;
}

.big-title {
    font-weight: 800;
    font-size: 55px;
    line-height: 127%;
    text-transform: capitalize;
    text-align: center;
    max-width: 795px;
    margin: auto;
    margin-bottom: 20px;
}

.big-title span {
    color: #91ec9e;
}

.figure {
    display: block;
    margin: auto;
}

.title {
    font-weight: 700;
    font-size: 48px;
    line-height: 73%;
    text-align: center;
}

.second-screen {
    padding-top: 80px;
}

.second-screen__text {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 70px;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #878787;
    border-radius: 20px;
}

.slider__item {
    padding: 30px 35px 40px 35px;
    width: 350px;
    border-right: 1px solid #878787;
    /*    width: 100%;*/
    
}

.slider__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
}

.slider__top .number {
    font-weight: 300;
    font-size: 20px;
}

.slider__title {
    font-weight: 700;
    font-size: 22px;
    line-height: 127%;
    margin-bottom: 20px;
}

.slider p {
    font-weight: 400;
    font-size: 16px;
    line-height: 187%;
}

.third-screen {
    margin-bottom: 70px;
    padding-top: 155px;
}

.third-screen__list {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 75px;
}

.third-screen__list .item {
    max-width: 300px;
    width: 100%;
}

.third-screen .title {
    max-width: 550px;
    margin: auto;
    line-height: 115%;
    margin-bottom: 70px;
}

.third-screen__list-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-radius: 60px;
    background: #fff;
    color: #000;
    font-weight: 700;
    font-size: 18px;
    max-width: 100px;
    padding: 12px 10px;
}

.third-screen h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 159%;
}

.third-screen p {
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    margin-top: 15px;
}

.form-block .container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 70px 40px 40px 40px;
    border: 1px solid #fff;
    border-radius: 25px;
    margin-bottom: 70px;
}

.form-title {
    font-weight: 800;
    font-size: 48px;
    line-height: 115%;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.form-block p {
    font-weight: 400;
    font-size: 16px;
    line-height: 187%;
}

.form-block__left {
    max-width: 365px;
}

.form-block__right {
    max-width: 490px;
    width: 100%;
}

.field {
    display: block;
    color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
    background: none;
    margin-bottom: 30px;
    max-width: 490px;
    width: 200%;
}

textarea {
    background: none;
    border: none;
    /*    border-bottom: 1px solid #fff;*/
}

.label-item {
    display: block;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.label-item span {
    color: #91ec9e;
}

.form .button {
    max-width: 270px;
    width: 100%;
    padding: 20px 10px;
    margin-top: 25px;
    float: right;
}

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #fff;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #fff;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #fff;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}

::placeholder {
    /* Most modern browsers support this now. */
    color: #fff;
}

.contacts-block .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 85px;
}

.mail {
    font-weight: 700;
    font-size: 40px;
    text-transform: lowercase;
    color: #91ec9e;
}

.address p {
    font-weight: 500;
    font-size: 16px;
    line-height: 175%;
    text-align: right;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 55px;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-menu .item {
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}

.footer-menu .item:hover {
    opacity: 0.8;
}


.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: auto;
    bottom: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 9999999;
}

.slick-next {
    right: 20px;
    background: #fff url(../img/arrow.png) no-repeat center;
    height: 46px;
    border-radius: 100%;
    width: 46px;
    -moz-transform: scale(-1, -1);
    -o-transform: scale(-1, -1);
    -webkit-transform: scale(-1, -1);
    transform: scale(-1, -1);
    bottom: -78px;
}

.slick-prev {
    width: 46px;
    left: auto;
    right: 85px;
    background: #fff url(../img/arrow.png) no-repeat center;
    height: 46px;
    border-radius: 100%;
    bottom: -100px;
}

.slick-prev:before,
.slick-next:before {
    content: '';
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    outline: none;
    background: #fff url(../img/arrow.png) no-repeat center;
    opacity: 0.8;

}

@media screen and (max-width:1023px) {
    .container {
        max-width: 300px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .slider {
        border-radius: 0;
        border: none;
    }

    .slider__top {
        margin-top: 30px;
    }

    .header .container {
        padding: 12px 10px 12px 20px;
    }

    .header .button {
        display: none;
    }

    .header__menu .button {
        display: block;
    }

    .logo {
        font-size: 20px;
    }

    .header {
        margin-bottom: 60px;
    }

    .first-screen .top-text {
        font-size: 18px;
    }

    .big-title {
        font-size: 30px;
        line-height: 133%;
    }

    .title {
        font-size: 30px;
        line-height: 133%;
        text-align: left;
    }

    .second-screen {
        padding-top: 70px;
    }

    .second-screen__text {
        font-size: 18px;
        line-height: 156%;
        margin-top: 15px;
        text-align: left;
        margin-bottom: 30px
    }

    .slider__item {
        border-radius: 20px !important;
        padding: 20px 20px 20px 20px;
        border: 1px solid #fff;
    }

    .third-screen {
        padding-top: 150px;
    }

    .slick-prev {
        width: 46px;
        left: auto;
        right: auto;
        background: #fff url(../img/arrow.png) no-repeat center;
        height: 46px;
        border-radius: 100%;
        bottom: -90px;
        left: 85px;
    }

    .slick-next {
        right: 80px;
        background: #fff url(../img/arrow.png) no-repeat center;
        height: 46px;
        border-radius: 100%;
        width: 46px;
        -moz-transform: scale(-1, -1);
        -o-transform: scale(-1, -1);
        -webkit-transform: scale(-1, -1);
        transform: scale(-1, -1);
        bottom: -68px;
    }

    .third-screen .title {
        margin-bottom: 40px;
    }

    .third-screen__list,
    .form-block .container,
    .contacts-block .container,
    .footer .container,
    .footer-menu {
        flex-direction: column;
    }

    .third-screen__list {
        gap: 40px;
    }

    .third-screen__list-top {
        font-size: 16px;
        max-width: 85px;
        padding: 10px;
        margin-bottom: 15px;
    }

    .third-screen__list-top img {
        width: 22px;
    }

    .third-screen h3 {
        font-size: 18px;
    }

    .third-screen p {
        font-size: font-size: 14px;
        line-height: 157%;
        margin-top: 10px;
    }

    .form-title {
        font-size: 30px;
        line-height: 133%;
        margin-bottom: 15px;
    }

    .form-block .container {
        padding: 31px 10px 40px 10px;
    }

    .form-block p {
        font-size: 14px;
        line-height: 157%;
        margin-bottom: 30px;
    }

    .field {
        max-width: 280px;
    }

    .label-item {
        font-size: 14px;
    }

    textarea.field {
        margin-bottom: 0;
    }

    .form .button {
        display: block;
        margin: auto;
        margin-top: 30px;
        float: none;
    }

    .form-block .container {
        margin-bottom: 65px;
    }

    .mail {
        font-size: 30px;
        text-align: center;
        margin-bottom: 15px;
    }

    .address p {
        font-size: 14px;
        line-height: 200%;
        text-align: center;
    }

    .contacts-block .container {
        margin-bottom: 50px;
    }

    .footer .container {
        font-size: 14px;
    }

    .copyright {
        margin-bottom: 15px;
    }

    .footer-menu {
        gap: 15px;
    }
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background: #91ec9e;
    position: absolute;
    height: 3px;
    width: 28px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 10px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

.container .menu-button::after {
    margin-top: 8px;
    /*    transform: rotate(-405deg);*/
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    transform: rotate(-405deg);
    margin-top: 0;
}

.button,
.header__menu .item .button,
#menu-toggle:checked~.header__menu .item.button {
    font-family: 'Montserrat';
    border-radius: 50px;
    padding: 8px 22px;
    background: #91ec9e;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.5s;
    color: #000;
}

.button:hover {
    background: #affdba;
}

.button:focus {
    background: #50ba5f;
}


.modal {
  top: -100%;
  left: -100%;
  opacity: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: opacity 0.25s;
}
.modalOpen .modal {
  top: 0;
  left: 0;
  opacity: 1;
}
.modalClose .modal {
  top: 0;
  left: 0;
  opacity: 0;
}
.modal__shadow {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.9);
  z-index: 1;
  cursor: pointer;
}
.modalOpen .modal__shadow, .modalClose .modal__shadow {
  position: fixed;
}
.modal__wrap {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 450px;
  max-height: calc(100% - 30px);
  height: initial;
  background: #1D1D1D;
  border-radius: 8px;
  overflow-y: auto;
}
.modal__box {
  padding: 20px;
}
.modal__text {
  font-size: 16px;
  color: #fff;
  text-align: center;
}
.modal__close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.modal__close:before, .modal__close:after {
  position: absolute;
  content: "";
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateZ(-45deg);
  background: #E6E6E6;
  opacity: 1;
  transition: background 0.25s;
}
.modal__close:after {
  transform: translate(-50%, -50%) rotateZ(45deg);
}
.modal__close:hover:before, .modal__close:hover:after {
  background: #5e5e5e;
}

@media (max-width: 1023px) {
    .menu-button-container {
        display: flex;
        position: relative;
        z-index: 99999;
    }

    .header__menu .item.button {
        display: block;
    }

    .header__menu {
        position: absolute;
        top: 0;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 0;
        background-color: #171717;
        max-width: 280px;
        right: 0;
        margin: auto;
        margin-top: 83px;
    }

    #menu-toggle~.header__menu .item {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        opacity: 0;
    }

    #menu-toggle~.header__menu .item.button {
        height: 55px;
    }

    #menu-toggle:checked~.header__menu .item {
        /*        height: 75px;*/
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        padding: 35px;
        opacity: 1;
        max-width: 100%;
        text-align: center;
    }

    #menu-toggle:checked~.header__menu .item:nth-child(3) {
        margin-bottom: 20px;
    }


    .header__menu>.item {
        /*        display: flex;*/
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #171717;
    }

    .header__menu>.item:not(:last-child) {
        border-bottom: 1px solid #444;
    }
}