@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  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;
}

/* Regular */
@media (max-width: 769px) {
  body {
    overflow-x: hidden;
  }
}
html {
  font-family: "Montserrat";
  overflow-x: hidden;
  height: 100%;
}

html.lock {
  overflow: hidden;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 83px;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  background: #fff;
  z-index: 50;
}

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

.header__body {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 14.5px 0 20px;
  height: 83px;
}

.header__burger {
  display: none;
}

.header__list {
  width: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__list li {
  margin: 0 0 0 30px;
}
.header__list li:first-child {
  margin: 0;
}

.header__link {
  color: rgba(0, 0, 0, 0.6);
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  display: block;
  width: 110%;
  padding: 4px 0 0 0;
  height: 32px;
  border-radius: 4px;
  font-weight: 400;
  background: #fff;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.header__link:hover {
  color: #000;
}
.header__link.active {
  color: #fff;
  background: #000;
}

.header__active-link {
  display: none;
  width: 330px;
  text-align: center;
  color: #000;
  font-size: 30px;
  line-height: 32px;
  font-weight: 600;
}

.content {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  margin: 84px 0 0px 0;
}

.content__block {
  position: relative;
}
.content__block img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.content__bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #000;
  opacity: 0.4;
}

.gif {
  margin: -83px 0 0 0;
}
.gif img {
  height: 100vh;
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 83px 0 0 0;
}

.content__textblock {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  margin: 83px auto 0;
  text-align: center;
}

.content__quote {
  font-weight: 600;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 50px;
  color: #fff;
}
.content__quote:before {
  content: '"';
}
.content__quote:after {
  content: '"';
}

.content__origin {
  font-size: 2em;
  width: 100%;
  margin: 30px auto 0;
  text-align: center;
  font-size: 30px;
  color: #fff;
  font-style: italic;
}

.bg__btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  display: block;
  width: 270px;
  height: 75px;
  border-radius: 10px;
  border: 4px solid #fff;
  background: rgba(0, 0, 0, 0);
  margin: 0 auto 0;
  color: #fff;
  line-height: 67px;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
}
.bg__btn:hover {
  bottom: 50px;
}

.content__title {
  margin: 60px 0 0 0;
  font-size: 60px;
  text-align: center;
}
@media (max-width: 600px) {
  .content__title {
    font-size: 40px;
  }
}

.portfolio {
  padding: 0 0 90px 0;
}

.portfolio__block li:nth-child(even) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.relative {
  position: relative;
  width: 100vw;
  height: 300px;
}

.portfolio__item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 75px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
.portfolio__item:hover .portfolio__item-textbox__title {
  font-size: 40px;
  color: #000;
}

.portfolio__item-image img {
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  display: block;
  width: 550px;
  height: 290px;
  -o-object-fit: cover;
     object-fit: cover;
}

.portfolio__item-textbox {
  width: 550px;
  margin: 10px 0 0 0;
  padding: 20px;
}

.portfolio__item-textbox__title {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  font-size: 32px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__item-textbox__title:hover {
  color: #000;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.portfolio__item-textbox__description {
  margin: 20px 0 0 0;
}

.portfolio__item-textbox__description-text {
  color: #282828;
  font-size: 20px;
  line-height: 24px;
}
.portfolio__item-textbox__description-text a {
  color: rgba(0, 0, 0, 0.6);
  font-size: 20px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__item-textbox__description-text a:hover {
  color: #000;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__item-textbox__description-text p {
  display: block;
  margin: 8px 0 0 0;
}

.portfolio__item-textbox__tag {
  margin: 10px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
  color: #656565;
  font-size: 16px;
  line-height: 120%;
}
.portfolio__item-textbox__tag li {
  margin: 0 20px 0 0;
}
.portfolio__item-textbox__tag li:last-child {
  margin: 0;
}
.portfolio__item-textbox__tag li:before {
  content: "#";
  color: #656565;
  float: left;
}

.portfolio__link {
  position: relative;
  display: block;
  margin: 100px auto 0px;
  max-width: 320px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  font-size: 20px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__link img {
  position: absolute;
  top: 2px;
  right: -10px;
  display: block;
  width: 17px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__link:hover {
  color: #000;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.portfolio__link:hover img {
  right: -20px;
}

.portfolio__image-link img {
  border-radius: 20px;
}

.about {
  margin: 30px 0 0 0;
}

.about__mainblock-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}

.about__block-image img {
  display: block;
  border-radius: 50%;
  width: 400px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
}

.about__block-textblock {
  margin: 0px 0 0 50px;
}

.about__block-textblock__name {
  color: #000;
  font-size: 40px;
  font-weight: 600;
  line-height: 44px;
  margin: 22px 0 0 0;
}

.about__block-textblock__hello {
  margin: 20px 0 0 0px;
  color: #282828;
  font-size: 25px;
  line-height: 30px;
}
.about__block-textblock__hello p {
  display: block;
  margin: 10px 0 0 0;
  font-size: 30px;
  font-weight: 600;
  color: #000;
  line-height: 32px;
}
.about__block-textblock__hello span {
  color: #000;
  font-weight: 600;
}

.about__descriptionblock {
  padding: 0 0 90px 0;
}
.about__descriptionblock span {
  color: #000;
  font-weight: 600;
}

.about__desc-item .portfolio__link {
  margin: 40px 0 0 8px;
  padding: 0;
  max-width: 320px;
  font-size: 28px;
  font-weight: 400;
  font-weight: 600;
}
.about__desc-item .portfolio__link img {
  margin: 0 -20px 0 0;
  width: 28px;
  height: 28px;
}

.about__desc-title {
  margin: 75px 0 0 0;
  color: #000;
  font-weight: 600;
  font-size: 37px;
  line-height: 42px;
}

.about__quote {
  margin: 25px;
  background: #fafafa;
  color: #000;
  padding: 25px;
  text-align: center;
}
.about__quote span {
  font-weight: 600;
  display: block;
  font-size: 30px;
}
.about__quote span:before {
  content: '"';
}
.about__quote span:after {
  content: '"';
}
.about__quote .author-quote {
  font-weight: 400;
}
.about__quote .author-quote:before {
  content: "";
}
.about__quote .author-quote:after {
  content: "";
}

.about__desc-text {
  color: #282828;
  font-weight: 400;
  font-size: 28px;
  line-height: 35px;
  margin: 25px 0 0 8px;
}

.contacts {
  margin: 75px 0 0 0;
}

.contacts__list {
  max-width: 500px;
  margin: 0 auto;
}
.contacts__list li {
  margin: 40px auto 0;
}

.contacts__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.contact__option {
  display: none;
  color: rgba(0, 0, 0, 0.75);
  font-size: 50px;
  font-weight: 600;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 250;
  text-align: center;
}
.contact__option:hover {
  color: #000;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.contacts__image {
  color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}
.contacts__image img {
  width: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.contacts__image img:hover {
  width: 110px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.portfolio__selector-row {
  margin: 25px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.portfolio__selector-row-item {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 25%;
          flex: 1 1 25%;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: block;
  width: 250px;
  height: 200px;
  background: #fff;
  border-radius: 20px;
  -webkit-box-shadow: 0px 5px 10px -2px rgba(34, 60, 80, 0.2);
          box-shadow: 0px 5px 10px -2px rgba(34, 60, 80, 0.2);
  border: 0px solid #000;
}
.portfolio__selector-row-item.active {
  background: #000;
  -webkit-box-shadow: 0px 5px 14px 6px rgba(34, 60, 80, 0.2);
          box-shadow: 0px 5px 14px 6px rgba(34, 60, 80, 0.2);
}
.portfolio__selector-row-item.active img {
  -webkit-filter: invert(1);
          filter: invert(1);
}

.portfolio__selector-row-item-icon {
  width: 100px;
  margin: 50px auto 0;
}
.portfolio__selector-row-item-icon img {
  width: 100px;
  height: 100px;
}

.portfolio__item {
  -webkit-transition: all 1s ease 0s;
  transition: all 1s ease 0s;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.portfolio__selector-title {
  margin: 60px 0 40px 0;
  font-size: 60px;
  text-align: center;
}
.portfolio__selector-title:after {
  content: ":";
}

@media (max-width: 650px) {
  .portfolio__selector-row-item {
    height: 170px;
  }

  .portfolio__selector-row-item-icon {
    width: 75px;
    margin: 47.5px auto 0;
  }
  .portfolio__selector-row-item-icon img {
    width: 75px;
    height: 75px;
  }
}
@media (max-width: 490px) {
  .portfolio__selector-row-item {
    height: 125px;
  }

  .portfolio__selector-row-item-icon {
    width: 75px;
    margin: 25px auto 0;
  }
  .portfolio__selector-row-item-icon img {
    width: 75px;
    height: 75px;
  }

  .portfolio__link img {
    display: none;
  }

  .portfolio__selector-title {
    font-size: 40px;
  }
}
@media (max-width: 370px) {
  .portfolio__selector-row {
    gap: 10px;
  }

  .portfolio__selector-row-item {
    height: 90px;
  }

  .portfolio__selector-row-item-icon {
    width: 70px;
    margin: 10px auto 0;
  }
  .portfolio__selector-row-item-icon img {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 769px) {
  .header__link {
    color: rgba(0, 0, 0, 0.6);
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    display: inline;
    width: 110%;
    padding: 4px 0 0 0;
    height: 32px;
    border-radius: 4px;
    font-weight: 400;
    background: #fff;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
  .header__link:hover {
    color: #000;
  }
  .header__link.active {
    color: #000;
    background: #fff;
  }

  .portfolio__link {
    font-size: 18px;
    text-align: center;
  }
  .portfolio__link img {
    top: 1px;
  }

  .header__burger {
    display: block;
    position: relative;
    width: 36px;
    height: 32px;
    z-index: 3;
  }

  .header__burger:before,
.header__burger:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #000;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
  }

  .header__burger:before {
    top: 0;
  }

  .header__burger:after {
    bottom: 0;
  }

  .header__burger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background: #000;
    top: 14px;
    border-radius: 4px;
  }

  .header__burger.active span {
    display: none;
  }

  .header__burger.active:before {
    top: 14px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
  }

  .header__burger.active:after {
    bottom: 14px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
  }

  .header__menu {
    position: absolute;
    background: #fff;
    top: 0;
    left: -150%;
    margin: 0 0 0 -20px;
    -webkit-transition: all 0.24s ease-out 0s;
    transition: all 0.24s ease-out 0s;
    width: 50vw;
    height: 100vh;
  }
}
@media (max-width: 769px) and (max-width: 440px) {
  .header__menu {
    width: 60vw;
  }
}
@media (max-width: 769px) {
  .header__menu.active {
    left: 0;
  }
}
@media (max-width: 769px) {
  html.lock {
    overflow: hidden;
  }
}
@media (max-width: 769px) {
  .header__list {
    display: block;
    margin: 85px 0 0 20px;
  }
  .header__list li {
    margin: 18px 0 0 0;
  }
}
@media (max-width: 769px) {
  .content.blur {
    -webkit-filter: blur(6px);
            filter: blur(6px);
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
}
@media (max-width: 769px) {
  .header__link {
    color: rgba(0, 0, 0, 0.6);
    font-size: 30px;
    line-height: 30px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
  .header__link:hover {
    color: #000;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
}
@media (max-width: 769px) and (max-width: 329px) {
  .header__link {
    font-size: 20px;
    line-height: 23px;
  }
}
@media (max-width: 769px) {
  .header__active-link {
    display: block;
    position: absolute;
    top: 22.5px;
    left: 0;
    right: 0;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}
@media (max-width: 769px) {
  .header__active-link {
    color: #000;
    font-size: 36px;
    line-height: 38px;
    font-weight: 600;
  }
}
@media (max-width: 769px) and (max-width: 600px) {
  .header__active-link {
    font-size: 24px;
    line-height: 26px;
    top: 28.5px;
  }
}
@media (max-width: 769px) and (max-width: 465px) {
  .container {
    padding: 0 8px;
  }

  .lang__image {
    display: none;
  }

  .header__language {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
}
@media (max-width: 769px) and (max-width: 382px) {
  .header__active-link {
    width: 200px;
    font-size: 24px;
    line-height: 26px;
  }
}
@media (max-width: 769px) {
  .header__list {
    width: 150px;
  }
}
@media (max-width: 769px) {
  .header__link.active {
    display: none;
  }
}
@media (max-width: 769px) {
  .content__textblock {
    top: 22vh;
  }
}
@media (max-width: 871px) {
  .portfolio__item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media (max-width: 1144px) {
  .portfolio__item-image img {
    width: 400px;
    height: 225px;
  }
}
@media (max-width: 871px) {
  .portfolio__item-image img {
    width: 600px;
    height: 337.5px;
  }
}
@media (max-width: 625px) {
  .portfolio__item-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }
}

@media (max-width: 1144px) {
  .portfolio__item-textbox {
    width: 400px;
    margin: 0;
  }
}
@media (max-width: 871px) {
  .portfolio__item-textbox {
    width: 600px;
  }
}
@media (max-width: 625px) {
  .portfolio__item-textbox {
    width: 400px;
  }
  .portfolio__item-textbox .portfolio__item-textbox__title {
    display: block;
    text-align: center;
  }
}

@media (max-width: 425px) {
  .content__textblock {
    top: 18vh;
  }
}
@media (max-width: 361px) {
  .content__textblock {
    top: 10vh;
  }
}

@media (max-width: 613px) {
  .content__quote {
    font-size: 40px;
  }
}
@media (max-width: 425px) {
  .content__quote {
    font-size: 35px;
  }
}
@media (max-width: 329px) {
  .content__quote {
    font-size: 28px;
  }
}

@media (max-width: 821px) {
  .about__mainblock-row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }

  .about__block-textblock {
    margin: 10px 0 0 0;
  }

  .about__block-image {
    margin: 0 auto;
  }

  .about__block-textblock__name {
    text-align: center;
  }

  .about__block-textblock__hello {
    text-align: center;
  }
}
@media (max-width: 444px) {
  .about {
    margin: 25px 0 0 0;
  }

  .about__block-image img {
    width: 250px;
  }

  .about__quote.quote {
    padding: 10px;
    margin: 15px 0 15px 0;
  }
  .about__quote.quote span {
    font-size: 24px;
  }

  .about__block-textblock__hello {
    font-size: 22px;
    line-height: 24px;
  }

  .about__desc-text {
    font-size: 22px;
    line-height: 24px;
  }

  .about__desc-title {
    margin: 50px 0 0 0;
    font-size: 30px;
    line-height: 34px;
  }
}
@media (max-width: 389px) {
  .about__block-textblock__hello {
    font-size: 20px;
    line-height: 22px;
  }

  .about__desc-text {
    font-size: 20px;
    line-height: 22px;
  }

  .about__desc-title {
    font-size: 23px;
    line-height: 25px;
  }

  .about__quote.quote span {
    font-size: 20px;
  }

  .portfolio__item-textbox__description-text {
    font-size: 18px;
    line-height: 20px;
  }
}
@media (max-width: 290px) {
  .about__block-image img {
    width: 200px;
  }
}
.footer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  height: 50px;
  width: 100%;
  background: #000000;
}

.footer__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
}

.footer__author {
  font-size: 17px;
  line-height: 50px;
  font-weight: 600;
}

.footer__year {
  font-size: 17px;
  line-height: 50px;
  font-weight: 600;
}