/*
theme name: PPA
 */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    background: #111;
    color: #fff;
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

li {
    list-style: none;
}

.container {
    padding: 0 15px;
}

.popup__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000d;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index: 11;
}

.popup__bg.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    border-radius: 20px;
    width: calc(100% - 20px);
    padding: 5px;
    transition: 0.5s all;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.popup__video {
    width: 100%;
    height: calc((100vw - 30px) / 16 * 9);
    border-radius: 15px;
    overflow: hidden;
}

/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
}

.header__inner {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 15;
}

.logo__img {
    width: 38px;
}

.logo__descr {
    font-size: 14px;
    max-width: 120px;
    font-weight: 700;
    color: #fff;
}

.menu__list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu__item {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    padding: 10px;
}

.menu__btn {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 11;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.menu__btn-span {
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: #fff;
    transition: transform .5s, background-color .2s;
}

.menu__btn::before,
.menu__btn::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: #fff;
    transition: transform .5s, background-color .2s;
}

.menu__btn::before {
    top: 0;
}

.menu__btn::after {
    bottom: 0;
}

.menu--active .menu__btn::before {
    transform: rotate(-45deg) translate(-7px, 7px);
    background-color: #fff;
}

.menu--active .menu__btn::after {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: #fff;
}

.menu--active .menu__btn span {
    transform: rotate(45deg);
    background-color: #fff;
}


.menu__list {
    position: absolute;
    z-index: 10;
    top: 0px;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: #000d;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    opacity: 0;
    transition: transform .3s, opacity .4s;
}

.menu--active .menu__list {
    transform: scale(1);
    opacity: 1;
}

.sticky {
    position: fixed;
    animation: down .7s;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #000d;
}

.sticky .header__inner {
    padding: 20px 20px;
}

@keyframes down {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* intro */
.intro {
    padding-top: 90px;
    background: linear-gradient(#000, #999);
    height: 100vh;
    min-height: 800px;
    position: relative;
}

.intro__inner {
    position: relative;
    z-index: 2;
}

.intro__title {
    font-size: 26px;
    margin-bottom: 20px;
    max-width: 320px;
}

.intro__descr {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 260px;
}

.intro__btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro__btn {
    text-align: center;
    font-size: 20px;
    padding: 12px 20px;
    border: 2px solid #fff;
    border-radius: 15px;
}

.messages__list {
    position: absolute;
    top: 100px;
    right: 0;
}

.intro__play {
    position: absolute;
    top: 480px;
    left: 60px;
    cursor: pointer;
    background: #ddd;
    border-radius: 50%;
    width: 88px;
    height: 88px;
    padding: 20px;
    border: none;
}

.intro__play span {
    position: absolute;
    top: 10px;
    transform: rotate(-10deg);
    right: -100px;
    color: #fff;
    font-size: 20px;
}

.intro__play span::after {
    content: url('img/svg/icon-arrow.svg');
    position: absolute;
    left: -60%;
    bottom: -20px;
}

.intro__play svg {
    position: relative;
    z-index: 1;
}

.intro__play::after,
.intro__play::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9998;
    display: block;
    border-radius: 50%;
}

.intro__play::before {
    animation: impuls 3s 1.5s infinite;
}

.intro__play::after {
    animation: impuls 3s infinite;
}

@keyframes impuls {
    0% {
        transform: scale(1);
        background: #dddf;
    }

    100% {
        transform: scale(2);
        background: #ddd0;
    }
}

/* project */
.project {
    background-color: #999;
    padding: 120px 0 20px;
}

.project__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.project__video {
    max-width: 100%;
    height: calc((100vw - 30px) / 16 * 9);
    border-radius: 10px;
    overflow: hidden;
}

.project__swiper {
    padding-bottom: 20%;
}

.project__button-next,
.project__button-prev {
    position: absolute;
    font-weight: 700;
    top: 90%;
    color: #fff;
}

.project__button-next {
    right: calc(50% - 50px);
}

.project__button-prev {
    left: calc(50% - 50px);
}

/* services */
.services {
    background: linear-gradient(#999, #000);
    padding: 120px 0 20px;
}

.services__title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.services__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 15px;
}

.services__item {
    width: calc((100% - 15px) / 2);
}

.services__item-img {
    border-radius: 10px;
    margin-bottom: 10px;
}

.services__item-title {
    font-size: 14px;
    text-align: center;
}

/* footer */
.footer {
    background-color: #000;
    padding: 120px 0 20px;
}

.footer__title {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer__descr {
    margin-bottom: 20px;
}

.footer__form-text {
    margin-bottom: 20px;
}

form p {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    /* gap: 20px; */
    margin-bottom: 0 auto 20px;
}

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #41dc32;
}

form .footer__input {
    width: 100%;
    padding: 0 15px;
    font-size: 18px;
    background-color: #fff;
    border: none;
    height: 46px;
    border-radius: 15px;
}

form .footer__input-btn {
    padding: 12px 18px;
    font-size: 20px;
    background-color: #999;
    color: #fff;
    font-weight: 700;
    border-radius: 15px;
    border: none;
}

.footer__item-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer__item-link {
    font-size: 18px;
}

/* video */
.video {
  padding-top: 90px;
}

.video__link {
  display: inline-block;
  position: relative;
  padding: 10px 15px 10px 40px;
}

.video__link::after {
  content: '←';
  position: absolute;
  font-size: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

.video__title {
  font-size: 24px;
  text-align: center;
  margin: 20px 0 50px;
}

.video__list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.video__item iframe {
  width: 100%;
  height: calc((100vw - 30px) / 16 * 9);
}

.video__item {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* ring */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring i {
    position: absolute;
    inset: 0;
    border: 2px solid #29034b;
    transition: 0.5s;
}

.ring i:nth-child(1) {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    box-shadow: 40px 40px 50px #29034bcc,
        40px -40px 50px #29034bcc,
        -40px 40px 50px #29034bcc,
        -40px -40px 50px #29034bcc,
        inset 20px 20px 50px #29034bcc,
        inset 20px -20px 50px #29034bcc,
        inset -20px 20px 50px #29034bcc,
        inset -20px -20px 50px #29034bcc;
    animation: animate 15s linear infinite;
}

.ring i:nth-child(2) {
    border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
    box-shadow: 25px 25px 25px #29034bee,
        25px -25px 25px #29034bee,
        -25px 25px 25px #29034bee,
        -25px -25px 25px #29034bee,
        inset 25px 25px 25px #29034bee,
        inset 25px -25px 25px #29034bee,
        inset -25px 25px 25px #29034bee,
        inset -25px -25px 25px #29034bee;
    animation: animate 18s linear infinite;
}

.ring i:nth-child(3) {
    border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
    box-shadow: 10px 10px 10px #29034b,
        10px -10px 10px #29034b,
        -10px 10px 10px #29034b,
        -10px -10px 10px #29034b,
        inset 10px 10px 10px #29034b,
        inset 10px -10px 10px #29034b,
        inset -10px 10px 10px #29034b,
        inset -10px -10px 10px #29034b;
    animation: animate2 20s linear infinite;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);

    }

    50% {}

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (min-width: 425px) {

    /* header */
    .logo__img {
        width: 42px;
    }

    .logo__descr {
        font-size: 16px;
    }

    /* intro */
    .intro {
        padding-top: 98px;
    }

    .intro__title {
        font-size: 32px;
    }

    .intro__descr {
        font-size: 20px;
        max-width: 300px;
    }

    .messages__list {
        top: 190px;
    }

    .intro__play {
        top: 530px;
        left: 100px;
    }

    /* project */
    .project__title {
        font-size: 32px;
    }

    /* services */
    .services__title {
        font-size: 32px;
    }

    .services__item-title {
        font-size: 18px;
    }

    /* footer */
    .footer__title {
        font-size: 32px;
    }

    .footer__descr,
    .footer__form-text {
        font-size: 20px;
    }

    .footer__form-text {
        margin-bottom: 30px;
    }

    form {
        margin-bottom: 30px;
    }
}

@media (min-width: 576px) {

    /* header */
    .logo__img {
        width: 48px;
    }

    .logo__descr {
        font-size: 18px;
    }

    /* intro */
    .intro__inner {
        height: calc(100vh - 105px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .intro__btns {
        flex-direction: row;
    }

    .intro__title {
        font-size: 44px;
        max-width: 100%;
        width: 480px;
    }

    .messages__list {
        top: 230px;
    }

    .intro__play {
        top: 360px;
        left: 340px;
    }

    /* footer */
    form .footer__input {
        width: 400px;
        margin: 0 auto;
    }

    form .footer__input-btn {
        margin: 0 auto;
    }

    /* video */
    .video__title {
      font-size: 32px;
      text-align: center;
      margin: 20px 0 50px;
    }

    .video__item iframe {
      height: calc(((100vw - 30px) / 2) / 16 * 9);
    }

    .video__item {
      width: calc((100% - 30px) / 2);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 738px;
        margin: 0 auto;
    }

    /* intro */
    .intro__title {
        font-size: 48px;
        width: 520px;
    }

    .intro__descr {
        font-size: 24px;
        max-width: 100%;
        width: 450px;
        margin-bottom: 40px;
    }

    .intro__play {
        top: 430px;
        left: 500px;
    }

    .intro__btns {
        gap: 30px;
    }

    /* project */
    .project__title {
        font-size: 36px;
    }

    .project__video {
        height: calc((738px - 60px) / 2 / 16* 9);
    }

    .project__swiper {
        padding-bottom: 10%;
    }

    /* services */
    .services__title {
        font-size: 36px;
    }

    .services__list {
        gap: 20px;
        justify-content: center;
    }

    .services__item {
        width: calc((100% - 40px) / 3);
    }

    /* footer */
    .footer {
        text-align: center;
    }

    /* video */
    .video__title {
      font-size: 40px;
    }

    .video__item iframe {
      height: calc((708px / 2) / 16 * 9);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 962px;
    }

    .popup {
        width: 800px;
    }

    .popup__video {
        height: calc((800px - 10px) / 16 * 9);
    }

    /* header */
    .menu__btn {
        display: none;
    }

    .menu__list {
        position: relative;
        flex-direction: row;
        transform: scale(1);
        opacity: 1;
        height: 100%;
        background-color: transparent;
    }

    /* intro */
    .intro__title {
        font-size: 56px;
        width: 780px;
    }

    .intro__descr {
        font-size: 28px;
        width: 560px;
    }

    .intro__btn {
        font-size: 24px;
    }

    .messages__list {
        top: 180px;
    }

    .messages__link svg {
        width: 60px;
        height: 60px;
    }

    .intro__play {
        top: 390px;
        left: 640px;
        width: 118px;
        height: 118px;
        padding: 35px;
    }

    .intro__play span {
        font-size: 24px;
        right: -125px;
    }

    .intro__play span::after {
        bottom: -25px;
    }

    /* project */
    .project__video {
        height: calc((962px - 60px) / 2 / 16* 9);
    }

    .project__button-prev {
        left: calc(50% - 70px);
        font-size: 24px;
    }

    .project__button-next {
        right: calc(50% - 70px);
    }

    .project__button-prev::after,
    .project__button-next::after {
        font-size: 50px;
    }

    /* services */
    .services__item-title {
        font-size: 20px;
    }

    /* video */
    .video__title {
      font-size: 48px;
    }

    .video__item iframe {
      height: calc((932px / 3) / 16 * 9);
    }

    .video__item {
      width: calc((100% - 60px) / 3);
    }
}

@media (min-width: 1440px) {
    .container {
        /* max-width: 1410px; */
    }
}
