@charset "UTF-8";
/*Обнуление*/
@import url("https://fonts.googleapis.com/css?family=Inter:300,regular,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:regular,700&display=swap");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*--------------------*/
body {
  font-family: 'Inter', 'Times', serif;
  font-size: 20px;
  color: #FFFFFF;
  background-color: #000;
}

a {
  color: #FFFFFF;
  transition: all .3s ease-out;
}

a:hover {
  opacity: .75;
}

.wrapper {
  min-height: 100%;
  overflow: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-min {
  max-width: 1120px;
  padding: 0 15px;
  margin: 0 auto;
}

.content {
  flex: 1 1 auto;
}

.lock {
  overflow: hidden;
}

.title {
  font-family: 'Playfair Display';
  font-size: 81px;
  line-height: 100px;
  text-align: center;
}

.button {
  background: #fff;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 38px;
  line-height: 46px;
  transition: all .3s ease-in-out;
}

.button:hover {
  opacity: .85;
}

.header__burger:hover {
  opacity: 0.6;
}

.header__burger span {
  background-color: #FFFFFF;
  position: absolute;
  width: 100%;
  height: 2px;
  top: 9px;
  left: 0;
  transition: 0.3s;
}

.header__burger::before {
  content: '';
  background-color: #FFFFFF;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0px;
  transition: 0.3s;
}

.header__burger::after {
  content: '';
  background-color: #FFFFFF;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  transition: 0.3s;
}

.header__burger.active::before {
  transform: rotate(45deg);
  top: 9px;
}

.header__burger.active::after {
  transform: rotate(-45deg);
  bottom: 9px;
}

.header__burger.active span {
  transform: scale(0);
}

.header__menu.active {
  right: 0px;
}

.header {
  position: relative;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  margin: 79px 0;
  z-index: 10;
}

.header__body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-weight: 700;
  position: relative;
  margin-right: 50px;
  z-index: 10;
}

.header__menu {
  position: relative;
}

.header__burger {
  display: none;
}

.header .header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #130124;
  z-index: 3;
}

.menu__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.menu__item {
  margin: 0 30px;
}

.main {
  position: relative;
  z-index: 5;
  margin-top: 120px;
}

.main__body {
  position: relative;
  z-index: 5;
}

.main__text {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  max-width: 680px;
}

.main__title {
  text-align: center;
  font-family: 'Playfair Display';
  padding: 100px 0;
  font-weight: 700;
  font-size: 300px;
  line-height: 250px;
}

.main__button {
  display: block;
  left: 12%;
  margin: 0 auto;
  margin-bottom: 40px;
}

.main__bg1 {
  position: absolute;
  top: 0;
  right: -20%;
  height: 530px;
  width: 600px;
  z-index: 1;
  animation: animation_name1 15s linear infinite;
}

.main__bg1 img {
  height: 530px;
  width: 600px;
  animation: animation_name1 15s linear infinite;
}

.main__bg2 {
  position: absolute;
  bottom: 0;
  left: -10%;
  height: 530px;
  width: 600px;
  z-index: 1;
  animation: animation_name2 15s linear infinite;
}

.main__bg2 img {
  height: 530px;
  width: 600px;
  animation: animation_name2 15s linear infinite;
}

@keyframes animation_name1 {
  0% {
    margin-top: 0;
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    margin-top: 50px;
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    margin-top: 0px;
  }
}

@keyframes animation_name2 {
  0% {
    margin-bottom: 0;
  }
  25% {
    transform: rotate(-15deg);
  }
  50% {
    margin-bottom: 50px;
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    margin-bottom: 0px;
  }
}

.portf {
  margin-top: 200px;
}

.portf__title {
  margin-bottom: 75px;
}

.portf__list {
  display: grid;
  justify-content: center;
  grid-template-areas: 'a b' 'a b' 'a d' 'a d' 'c d' 'c d' 'c d' 'f d' 'f g' 'f g';
  gap: 75px;
}

.portf__item {
  list-style: none;
}

.portf__item1 {
  grid-area: a;
}

.portf__item2 {
  grid-area: b;
}

.portf__item3 {
  grid-area: c;
}

.portf__item4 {
  grid-area: d;
}

.portf__item5 {
  grid-area: f;
}

.portf__item6 {
  grid-area: g;
}

.about {
  margin-top: 380px;
}

.about__title {
  margin-bottom: 70px;
}

.about__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about__text {
  display: block;
  max-width: 630px;
  font-size: 40px;
  line-height: 48px;
}

.about__text p + p {
  margin-top: 65px;
}

.about__image {
  margin-left: 15px;
}

.testi {
  text-align: center;
  margin-top: 340px;
}

.testi__title {
  margin-bottom: 25px;
}

.testi__text {
  font-size: 22px;
  line-height: 27px;
  margin-bottom: 100px;
}

.testi__body {
  display: grid;
  grid-template-columns: 1fr 327px;
  grid-template-rows: 309px 1fr;
  justify-content: center;
  gap: 56px;
}

.testi__item {
  position: relative;
  display: flex;
  background: #181818;
}

.testi__button {
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  text-align: center;
  margin-top: 135px;
}

.testi__description {
  text-align: left;
  padding: 21px 0 21px 21px;
}

.description__title {
  font-weight: 600;
  font-size: 42px;
}

.description__text {
  margin-top: 30px;
  font-weight: 300;
  max-width: 290px;
  font-size: 15px;
  line-height: 18px;
}

.description__button {
  position: absolute;
  color: #fff;
  bottom: 22px;
  background-color: transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  transition: all .3s ease-in-out;
}

.description__button:hover {
  opacity: .6;
}

.description__button::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 28px;
  margin-left: 8px;
  background-image: url("../img/arrow.svg");
  background-repeat: no-repeat;
}

.text-vertical {
  max-width: 220px;
  margin-top: 15px;
}

.item-vertical {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.contact {
  margin-top: 390px;
}

.contact__form {
  display: flex;
  width: 885.5px;
  margin: 0 auto;
  flex-direction: column;
}

.contact__title {
  margin-bottom: 25px;
}

.form__title {
  font-size: 45px;
  line-height: 54px;
  margin-bottom: 5px;
}

.form__input {
  padding: 14px 0px;
  background-color: transparent;
  border-bottom: 2px solid #fff;
  margin-bottom: 58px;
  color: #BBBBBB;
  font-size: 25px;
  line-height: 30px;
}

.form__input::placeholder {
  font-size: 25px;
  line-height: 30px;
  color: #BBBBBB;
}

.form__textarea {
  resize: none;
  color: #BBBBBB;
  padding-bottom: 150px;
  margin-bottom: 100px;
}

.footer {
  margin-top: 410px;
  margin-bottom: 74px;
}

.footer__body {
  text-align: center;
}

.footer__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
}

.footer__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-weight: 300;
  font-size: 22px;
  line-height: 27px;
}

.footer__item + .footer__item {
  margin-left: 38px;
}

@media (max-width: 1600px) {
  .main__bg1 {
    right: -10%;
  }
  .main__bg2 {
    left: -10%;
  }
}

@media (max-width: 1420px) {
  .main__title {
    text-align: center;
    font-family: 'Playfair Display';
    padding: 150px 0;
    font-weight: 700;
    font-size: 175px;
    line-height: 150px;
  }
  .main__bg1 {
    right: -17.5%;
  }
  .main__bg2 {
    left: -17.5%;
  }
  .about {
    margin-top: 350px;
  }
  .about__title {
    margin-bottom: 60px;
  }
  .about__text {
    margin-right: 15px;
    font-size: 36px;
    line-height: 42px;
  }
  .about__text p + p {
    margin-top: 60px;
  }
  .about__image {
    width: 510px;
    height: 700px;
  }
}

@media (max-width: 1200px) {
  .title {
    font-size: 71px;
    line-height: 80px;
  }
  .main__title {
    padding: 100px 0;
    font-weight: 700;
    font-size: 150px;
    line-height: 130px;
  }
  .main__bg1 {
    right: -25%;
    top: -10%;
  }
  .main__bg2 {
    left: -25%;
    bottom: -20%;
  }
  .portf {
    margin-top: 150px;
  }
  .portf__title {
    margin-bottom: 50px;
  }
  .portf__list {
    text-align: center;
    gap: 0px;
  }
  .portf__item {
    margin-bottom: 45px;
  }
  .portf__item img {
    width: 90%;
  }
  .about {
    margin-top: 300px;
  }
  .about__title {
    margin-bottom: 55px;
  }
  .about__text {
    margin-right: 15px;
    font-size: 27.5px;
    line-height: 34px;
    max-width: 475px;
  }
  .about__text p + p {
    margin-top: 50px;
  }
  .about__image {
    width: 475px;
    height: 650px;
  }
  .testi {
    margin-top: 340px;
  }
  .testi__title {
    margin-bottom: 25px;
  }
  .testi__text {
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 100px;
  }
  .testi__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .testi__item {
    position: relative;
    display: flex;
    margin: 0 auto;
    background: #181818;
    max-width: 900px;
  }
  .testi__button {
    color: #fff;
    margin-top: 135px;
  }
  .testi__description {
    text-align: left;
    padding: 21px 0 21px 21px;
  }
  .description__title {
    font-size: 36px;
  }
  .description__text {
    margin-top: 20px;
    max-width: 90%;
    font-size: 16px;
    line-height: 18px;
  }
  .description__button {
    bottom: 22px;
    font-size: 18px;
    line-height: 19px;
  }
  .description__button::after {
    width: 100%;
    height: 28px;
    margin-left: 8px;
  }
  .text-vertical {
    max-width: 90%;
    margin-top: 20px;
  }
  .item-vertical {
    display: flex;
    flex-direction: row;
  }
  .footer {
    margin-top: 360px;
    margin-bottom: 70px;
  }
  .footer__title {
    font-size: 22px;
    line-height: 27px;
  }
  .footer__list {
    margin-top: 24px;
  }
  .footer__item + .footer__item {
    margin-left: 38px;
  }
}

@media (max-width: 1000px) {
  .header__logo {
    margin-right: 20px;
  }
  .main__title {
    padding: 100px 0;
    font-size: 120px;
    line-height: 95px;
  }
  .main__bg1 {
    display: none;
  }
  .main__bg2 {
    display: none;
  }
  .about {
    margin-top: 200px;
  }
  .about__title {
    margin-bottom: 50px;
  }
  .about__text {
    font-size: 20px;
    line-height: 26px;
    max-width: 400px;
  }
  .about__text p + p {
    margin-top: 30px;
  }
  .about__image {
    width: 364px;
    height: 500px;
  }
  .contact {
    margin-top: 300px;
  }
  .contact__form {
    max-width: 760px;
    padding-right: 30px;
  }
  .contact__title {
    margin-bottom: 22.5px;
  }
  .form__title {
    font-size: 38px;
    line-height: 46px;
    margin-bottom: 5px;
  }
  .form__input {
    padding: 14px 0px;
    margin-bottom: 48px;
  }
  .form__input::placeholder {
    font-size: 20px;
    line-height: 24px;
  }
  .form__textarea {
    padding-bottom: 125px;
    margin-bottom: 70px;
  }
  .footer {
    margin-top: 300px;
    margin-bottom: 66px;
  }
  .footer__title {
    font-size: 20px;
    line-height: 25px;
  }
  .footer__list {
    margin-top: 22px;
  }
  .footer__item + .footer__item {
    margin-left: 38px;
  }
}

@media (max-width: 767px) {
  .title {
    font-size: 66px;
    line-height: 70px;
  }
  .container {
    padding: 0 15px;
  }
  .header {
    font-size: 17px;
    line-height: 20px;
    margin: 70px 10px;
  }
  .header__logo {
    margin-right: 4px;
  }
  .menu__item {
    margin: 0px 12.5px 5px 12.5px;
  }
  .main {
    margin-top: 75px;
  }
  .main__text {
    font-size: 16px;
    line-height: 20px;
  }
  .main__title {
    padding: 80px 0;
    font-size: 100px;
    line-height: 80px;
  }
  .button {
    padding: 10px 17px;
    font-size: 30px;
    line-height: 36px;
  }
  .portf {
    margin-top: 100px;
  }
  .portf__title {
    font-size: 66px;
    line-height: 70px;
    margin-bottom: 45px;
  }
  .portf__item {
    margin-bottom: 30px;
  }
  .about {
    margin-top: 150px;
  }
  .about__title {
    margin-bottom: 45px;
  }
  .about__text {
    font-size: 14px;
    line-height: 20px;
    max-width: 325px;
  }
  .about__text p + p {
    margin-top: 20px;
  }
  .about__image {
    width: 250px;
    height: 340px;
  }
  .testi {
    margin-top: 175px;
  }
  .testi__title {
    margin-bottom: 25px;
  }
  .testi__text {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 75px;
  }
  .testi__button {
    margin-top: 100px;
  }
  .testi__description {
    text-align: left;
    padding: 20px 0 20px 20px;
  }
  .testi__img {
    width: 220px;
    height: 235px;
  }
  .description__title {
    font-size: 26px;
  }
  .description__text {
    margin-top: 20px;
    font-size: 13px;
    line-height: 16px;
  }
  .description__button {
    bottom: 20px;
    font-size: 16px;
    line-height: 17px;
  }
  .contact {
    margin-top: 200px;
  }
  .contact__form {
    max-width: 560px;
    padding-right: 30px;
  }
  .contact__title {
    margin-bottom: 25px;
  }
  .form__title {
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 5px;
  }
  .form__input {
    padding: 13px 0px;
    margin-bottom: 32px;
  }
  .form__input::placeholder {
    font-size: 16px;
    line-height: 20px;
  }
  .form__textarea {
    padding-bottom: 75px;
    margin-bottom: 50px;
  }
  .footer {
    margin-top: 260px;
    margin-bottom: 60px;
  }
  .footer__title {
    font-size: 18px;
    line-height: 22px;
  }
  .footer__list {
    margin-top: 20px;
    font-size: 18px;
    line-height: 22px;
  }
  .footer__item + .footer__item {
    margin-left: 34px;
  }
}

@media (max-width: 595px) {
  .title {
    font-size: 59px;
    line-height: 65px;
  }
  .container {
    padding: 0 10px;
  }
  .header {
    font-size: 26px;
    line-height: 22px;
    margin: 50px 0;
  }
  .header__burger {
    cursor: pointer;
    display: block;
    bottom: 0;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 5;
    transition: all .3s ease-in-out;
  }
  .header__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #130124;
    padding-top: 125px;
    transition: 0.5s;
  }
  .menu__list {
    display: block;
    text-align: center;
  }
  .menu__item {
    margin: 20px 2.5px;
  }
  .main {
    margin-top: 50px;
  }
  .main__text {
    font-size: 11px;
    line-height: 16px;
  }
  .main__title {
    padding: 60px 0;
    font-size: 75px;
    line-height: 60px;
  }
  .button {
    background: #fff;
    padding: 8px 15px;
    font-size: 26px;
    line-height: 30px;
  }
  .portf {
    margin-top: 75px;
  }
  .portf__title {
    margin-bottom: 40px;
  }
  .portf__item {
    margin-bottom: 20px;
  }
  .about {
    margin-top: 100px;
  }
  .about__title {
    margin-bottom: 37.5px;
  }
  .about__text {
    font-size: 10px;
    line-height: 14px;
    max-width: 250px;
    margin-right: 7.5px;
  }
  .about__text p + p {
    margin-top: 12.5px;
  }
  .about__image {
    margin-left: 7.5px;
    width: 170px;
    height: 230px;
  }
  .testi {
    margin-top: 80px;
  }
  .testi__title {
    margin-bottom: 15px;
  }
  .testi__text {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 40px;
  }
  .testi__button {
    margin-top: 60px;
    background-color: transparent;
  }
  .testi__item {
    margin-bottom: -20px;
  }
  .testi__description {
    padding: 15px 0 15px 15px;
  }
  .testi__img {
    width: 150px;
    height: 160px;
  }
  .description__title {
    font-size: 18px;
  }
  .description__text {
    margin-top: 7.5px;
    font-size: 10.5px;
    line-height: 11px;
  }
  .description__button {
    bottom: 10px;
    font-size: 10.5px;
    line-height: 11px;
  }
  .description__button::after {
    margin-left: 5px;
    background-size: 17% 16px;
  }
  .contact {
    margin-top: 150px;
  }
  .contact__form {
    max-width: 360px;
    padding-right: 10px;
  }
  .contact__title {
    margin-bottom: 22.5px;
  }
  .form__title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 5px;
  }
  .form__input {
    padding: 10px 0px;
    margin-bottom: 24px;
  }
  .form__input::placeholder {
    font-size: 12px;
    line-height: 16px;
  }
  .form__textarea {
    padding-bottom: 50px;
    margin-bottom: 30px;
  }
  .footer {
    margin-top: 200px;
    margin-bottom: 50px;
  }
  .footer__title {
    font-size: 16px;
    line-height: 20px;
  }
  .footer__list {
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
  }
  .footer__item + .footer__item {
    margin-left: 30px;
  }
}

@media (max-width: 364px) {
  .title {
    font-size: 51px;
    line-height: 59px;
  }
  .main {
    margin-top: 35px;
  }
  .main__text {
    font-size: 9.5px;
    line-height: 10px;
  }
  .main__title {
    padding: 40px 0;
    font-size: 70px;
    line-height: 55px;
  }
  .button {
    padding: 8px 10px;
    font-size: 26px;
    line-height: 20px;
  }
  .portf {
    margin-top: 60px;
  }
  .portf__title {
    margin-bottom: 35px;
  }
  .portf__item {
    margin-bottom: 12.5px;
  }
  .about {
    margin-top: 60px;
  }
  .about__title {
    margin-bottom: 20px;
  }
  .about__text {
    text-align: center;
    margin-right: 0px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 20px;
  }
  .about__text p + p {
    margin-top: 20px;
  }
  .about__image {
    display: none;
  }
  .testi {
    margin-top: 70px;
  }
  .testi__title {
    margin-bottom: 15px;
  }
  .testi__text {
    font-size: 9px;
    line-height: 14px;
    margin-bottom: 30px;
  }
  .testi__button {
    margin-top: 50px;
    background-color: transparent;
  }
  .testi__item {
    margin-bottom: -20px;
  }
  .testi__description {
    padding: 12px 0 12px 12px;
  }
  .testi__img {
    width: 120px;
    height: 132px;
  }
  .description__title {
    font-size: 16px;
  }
  .description__text {
    font-size: 9px;
    line-height: 11px;
  }
  .description__button {
    bottom: 10px;
    font-size: 9px;
    line-height: 10px;
  }
  .description__button::after {
    margin-left: 3px;
    background-size: 17% 11px;
  }
  .contact {
    margin-top: 75px;
  }
  .contact__form {
    max-width: 260px;
    padding-right: 10px;
  }
  .contact__title {
    margin-bottom: 20px;
  }
  .form__title {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 5px;
  }
  .form__input {
    padding: 10px 0px;
    margin-bottom: 20px;
  }
  .form__input::placeholder {
    font-size: 10px;
    line-height: 12px;
  }
  .form__textarea {
    padding-bottom: 30px;
    margin-bottom: 20px;
  }
  .footer {
    margin-top: 125px;
    margin-bottom: 30px;
  }
  .footer__title {
    font-size: 14px;
    line-height: 16px;
  }
  .footer__list {
    margin-top: 17.5px;
    font-size: 14px;
    line-height: 16px;
  }
  .footer__item + .footer__item {
    margin-left: 25px;
  }
}

@media (min-width: 2000px) {
  .main__bg1 {
    right: -4%;
  }
  .main__bg2 {
    left: -4%;
  }
}
