*,
*::after,
*::before{
    box-sizing: border-box;
}

a{
  text-decoration: none;
  color: inherit;
  display: inline-block;
  cursor: pointer;
}

li {
    list-style: none;
}

.container {
    max-width: 1370px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;   
}

body {
    font-family: 'Forum', cursive;
    background-color: #fbfbfb;
    position: relative;
}

.header {
    background-color: #ffffff;
    padding: 25px 0px 50px;
}

.header__content {
    display: flex;
    justify-content: center;
}

.header__nav {
    flex: 1 1 0;
    padding: 25px 0;
}

.header__social {
    display: flex;
    gap: 20px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
}

.banner__title-wrap {
    display: flex;
    justify-content: space-between;
    gap: 160px;
    font-size: 130px;
    line-height: 130px;
    font-weight: 300;
    text-transform: uppercase;
    position: relative;
}

.banner__title-left,
.banner__title-right {
    z-index: 2;
}

.banner__img {
    position: absolute;
    background-image: url('../images/photo_1.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 210px;
    height: 250px;
    left: 44%;
    top: -57px;
    transform: rotate(-6deg);
    z-index: 1;
}

.banner__service-list {
    display: flex;
    justify-content: space-evenly;
    padding-top: 80px;
    gap: 10px;
}

.banner-service__item {
    position: relative;
}

.banner-service__item::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-image: url('../images/icon-service.png');
    background-repeat: no-repeat;
    background-size: contain;
    left: -50px;
    top: -5px;
}

.banner__btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding-top: 50px;
    text-align: center;
}

.order__btn {
    padding: 25px 50px;
    background-color: #f2c988;
    max-width: 60%;
    border: 1px solid #f2c988;
    width: 100%;
    transition: 0.4s all;
}

.order__btn + .order__btn {
    background-color: #ffffff;
}

.order__btn:hover {
    background-color: #ffffff;
}

.order__btn + .order__btn:hover {
    background-color: #f2c988;
}

.section__title {
    font-size: 70px;
    line-height: 80px;
    font-weight: 300;
    text-align: center;
    padding-bottom: 30px;
}

.section-about {
    padding: 100px 0 100px 0;
}

.section-about .section__title {
    text-align: left;
}

.section-about .section__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.section__img-wrap {
    flex: 0 0 40%;
}

.section__img {
    width: 90%;
}

.section-about .section__img {
    transform: rotate(-2deg);
}

.section-specialization {
    padding-bottom: 100px;
}

.section-specialization .section__img {
    transform: rotate(2deg);
}

.section__text {
    font-size: 16px;
    line-height: 21px;
    font-weight: 300;
}

.section__text + .section__text {
    padding-top: 20px;
}

.section-specialization .section__content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.specializations {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 25px;
}

.specialization__item {
    border-bottom: 1px solid #c7bfbf;
    padding-bottom: 20px;
}

.specialization__title {
    text-transform: uppercase;
    padding-bottom: 20px;
    font-size: 32px;
}

.section-characteristic {
    padding-bottom: 100px;
}

.characteristics {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 50px;
}

.characteristic__item {
    font-size: 32px;
    padding: 25px 50px;
    border: 1px solid #c7bfbf;
    border-radius: 10px;
}

.section-education {
    padding-bottom: 100px;
}

.education__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.education__img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.service + .service {
    padding-top: 25px;
}

.service__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
    border: 1px solid #c7bfbf;
    border-radius: 10px;
}

.service__title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 300;
    padding: 20px 0 60px 0;
    text-transform: uppercase;
}

.service__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    background-color: #f8f5f2;
    padding: 25px;
}

.service__line {
    width: 2px;
    height: 100%;
    background-color: #ebb96b;
}

.service__price,
.service__price-all {
    text-align: left;
}

.service__price {
    padding-top: 50px;
}

.service__price-all {
    padding-top: 25px;
}

.service__btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 50px;
}

.footer {
    background-color: #ffffff;
    padding: 50px;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social__icon {
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
}

.social__icon-instagramm {
    background-image: url('../images/icon-instagram.png');
}

.social__icon-telegram {
    background-image: url('../images/telegram-icon.png');
}

.social__icon-whatsapp {
    background-image: url('../images/whatsapp-icon.png');
}

.social__icon-vk {
    background-image: url('../images/vk-icon.png');
}

.social__icon-rutube {
    background-image: url('../images/rutube-icon.png');
}

/*Мобильная версия*/
.burger__btn {
    display: none;
    width: 30px;
    height: 27px;
    padding: 4px;
    margin-left: auto;
    cursor: pointer;
    z-index: 10;
}

.burger__line {
    display: block;
    height: 3px;
    background-color: #252525;
}

@media (max-width: 1240px) {
    .banner__img {
        width: 120px;
    }

    .banner__title-wrap {
        font-size: 100px;
        line-height: 100px;
        gap: 80px;
    }
}

@media (max-width: 980px) {
    .header__nav {
        display: none;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #f2c988;
        color: #ffffff;
        z-index: 100;
        padding-top: 100px;
    }

    .header__nav.active {
        display: block;
    }

    .header__nav.active ~ .burger__btn > .burger__line {
        background-color: #ffffff;
    }

    .header__social {
        flex: 1 1 0;
        justify-content: center;
    }
    
    .social__link-text {
        display: none;
    }

    .menu {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .burger__btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 100;
        position: absolute;
        right: 20px;
    }

    .banner {
        height: 71vh;
    }

    .banner__img {
        left: 41%;
    }

    .banner__title-wrap {
        font-size: 60px;
        line-height: 60px;
        gap: 50px;
    }

    .banner__service-list {
        gap: 50px;
    }

    .banner-service__item::before {
        left: -30px;
    }

    .banner__btn-wrap {
        padding-top: 25px;
    }

    .order__btn {
        padding: 16px 38px;
    }

    .section-about .section__content {
        gap: 20px;
        flex-direction: column-reverse;
    }

    .section-specialization .section__content {
        gap: 20px;
        flex-direction: column;
    }

    .section__title {
        font-size: 38px;
        line-height: 38px;
    }

    .specialization__title {
        font-size: 24px;
        line-height: 28px;
    }

    .characteristics {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .characteristic__item {
        padding: 16px 30px;
        text-align: center;
        max-width: 550px;
        width: 100%;
    }

    .education__list {
        grid-template-columns: 1fr;
    }

    .service__wrap {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer__content {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 570px) {
    .header {
        padding: 25px 0px 100px;
    }

    .header__content {
        justify-content: space-between;
    }

    .banner__wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .banner__title-wrap {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding-top: 150px;
    }

    .banner__img {
        width: 180px;
        top: -18px;
        left: 16%;
    }

    .banner__service-list {
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
    }

    .order__btn {
        padding: 10px 20px;
        max-width: 100%;
        width: 100%;
    }
}

.section-education {
    padding-top: 100px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 430px;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .form {
    padding-top: 15px;
  }

  .form__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .form__input {
    width: 100%;
    padding: 16px 21px;
    border-radius: 10px;
    border: 1px solid #f2c988;
  }

  .form__input:focus {
    outline: none;
  }

  .form__number {
    text-align: center;
  }

  .form__submit {
    background-color: #f2c988;
    padding: 16px 21px;
    width: 100%;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }

  #my-form-status {
    padding: 10px;
    text-align: center;
  }

  .modal__text {
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
  }

  .modal__icon {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .modal__icon-hand {
    display: inline-block;
    transform: rotate(198deg);
    position: relative;
    bottom: -10px;
    background-image: url('../images/pointer.png');
  }

  .modal__btn-wrap {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 25px;
  }

  .modal__btn {
    padding: 6px 46px;
    cursor: pointer;
  }

  .modal__btn-whatsapp {
    background-color: #33ab25;
  }

  .modal__btn-telegram {
    background-color: #29a9eb;
  }

  .modal__icon-whatsapp {
    background-image: url('../images/whatsapp-icon.png');
  }

  .modal__icon-telegram {
    background-image: url('../images/telegram-icon.png');
  }