@import 'fonts/Calibri/stylesheet.css';
@import 'fonts/PressStart2P/stylesheet.css';
@import 'fonts/RussoOne/stylesheet.css';

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #131313;
}

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

.container {
    width: 1320px;
    margin: auto;
    overflow: visible;
}

header.header {
    position: absolute;
    width: 100%;
    z-index: 1;
}

header.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    overflow: visible;
}

.cta-btn {
    background: #FF003D;
    box-shadow: 0px 0px 130px #FF003D;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    width: 200px;
    padding: 15px 0px;
    color: #fff;
    text-align: center;
    font-family: 'Calibri';
    cursor: pointer;
}

.title {
    color: #fff;
    font-family: 'Press Start 2P';
    font-size: 36px;
    display: flex;
    flex-direction: column;
}

.description {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Calibri';
    color: #A0A0A0;
    padding-left: 80px;
    position: relative;
    margin-top: 64px;
}

.description span {
    color: #B0E025;
}

.description div:not(.quotes) {
    margin-bottom: 5px;
}

.quotes {
    font-size: 36px;
    font-family: 'Russo One';
    color: #B0E025;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.first-screen {
    background-image: url('img/first_bg.jpg');
    background-size: cover;
    padding-top: 327px;
    padding-bottom: 357px;
    position: relative;
}

.first-code {
    width: 50vw;
    position: absolute;
    top: 0;
    bottom: 0;
    background-image: url('img/first_code2.png');
    background-size: cover;
    right: 20px;
    mix-blend-mode: exclusion;
     -webkit-animation:  20s linear 0s infinite alternate move_code;
     -moz-animation:  20s linear 0s infinite alternate move_code;
       -o-animation:  20s linear 0s infinite alternate move_code;
          animation:  20s linear 0s infinite alternate move_code;
}

@-webkit-keyframes move_code { from { background-position-y: 0%; } to { background-position-y: 100%; }  }
   @-moz-keyframes move_code { from { background-position-y: 0%; } to { background-position-y: 100%; }  }
     @-o-keyframes move_code { from { background-position-y: 0%; } to { background-position-y: 100%; }  }
        @keyframes move_code { from { background-position-y: 0%; } to { background-position-y: 100%; }  }


.services {
    padding-top: 156px;
    padding-bottom: 172px;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 73px;
}

.single-feature {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Calibri';
    color: #DCDCDC;
    width: 18%;
    padding-left: 7px;
    position: relative;
}

.single-feature:before {
    content: "{";
    color: #B0E025;
    display: block;
    margin-left: -7px;
    font-size: 50px;
    position: absolute;
    left: -30px;
    font-family: inherit;
    opacity: 0.2;
}

.single-feature:after {
    content:"}";
    color: #B0E025;
    display: block;
    font-family: inherit;
    margin-left: -7px;
    font-size: 50px;
    position: absolute;
    right: 20%;
    top: 0;
    opacity: 0.2;
}

.services-container {
    margin-top: 65px;
    display: flex;
    flex-wrap: wrap;
}

.services-single {
    width: 32%;
    margin-right: 15px;
    border: solid 3px #FF003D;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 30px 40px;
    cursor: pointer;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.services-single--big {
    width: 65.1%;
}

.service-title {
    font-family: 'Press Start 2P';
    font-size: 24px;
    color: #ff003d;
    height: 3em;
    position: relative;
    z-index: 1;
}

.service-img {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-70%);
    opacity: 0;
}

.service-img img {
    width: 100%;
}

.services-single:hover {
    background: #FF003D;
    box-shadow: 0px 0px 130px rgba(255, 0, 61, 0.8);
}

.services-single:hover .service-title {
    color: #fff;
}

.services-single .arrow svg.arrow-white {
    opacity: 0;
}

.services-single:hover .arrow svg.arrow-red {
    opacity: 0;
}

.services-single:hover .arrow svg.arrow-white {
    opacity: 1;
}

.services-single:hover .service-img {
    opacity: 1;
}

.arrow {
    position: relative;
    margin-left: -8px;
}

.arrow svg {
    position: absolute;
}

svg.arrow-red {
    transform: translateY(-100%);
}

svg.arrow-white {
    transform: translateY(-120%) translateX(8px);
}

.portfolio {
    padding-top: 177px;
    background-image: url('img/portfolio_bg.jpg');
}

.portfolio-container {
    margin-top: 168px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.portfolio-single {
    width: 240px;
    height: 240px;
    margin: 0px 15px;
    background: transparent;
    margin-bottom: 30px;
    cursor: url('img/arrow.png'), auto!important;
}

.portfolio-single:hover {
    box-shadow: 0 0 130px rgb(255 255 255 / 80%);
}

.contacts {
    margin-top: 100px;
    text-align: center;
}

.contacts .container {
    padding-bottom: 60px;
}

.contacts .cta-btn {
    margin: auto;
    margin-top: 60px;
}

a.contacts-phone {
    margin-top: 64px;
    display: inline-block;
    color: #dadada;
    font-size: 36px;
    font-family: 'Calibri';
    font-weight: 700;
    text-decoration: none;
}

.contacts-addr {
    font-family: 'Calibri';
    font-size: 18px;
    color: #a0a0a0;
    font-weight: 400;
    margin-top: 10px;
}

.contacts-soc {
    margin-top: 40px;
    font-size: 18px;
    font-family: 'Calibri';
    color: #fff;
    margin-bottom: 64px;
}

.contacts-soc a {
    color: #fff;
}

.grecaptcha-badge {
    visibility: hidden;
}

label.accept {
    color: #fff;
    font-family: calibri;
    width: 300px;
    text-align: left;
    font-size: 14px;
    margin: 0px 5px;
}

/*Код для всплывашки---------------------------------------*/
.popup {
    position: fixed;
    background: rgb(0 0 0 / 0.9);
    width: 100%;
    height: 100vh;
    z-index: 21;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}

.popup.vis {
    opacity: 1;
    pointer-events: all;
}

.popup-header {
    color: #fff;
    font-size: 36px;
    width: 100%;
    margin: auto;
    height: 80px;
    transition: all .3s ease;
    font-family: 'Calibri';
}

.popup-please {
    font-size: 16px;
    margin-top: 20px;
}

.popup-please span {
    color: #B0E025;
    margin-right: 10px;
}

img.popup-cat {
    width: 30%;
    margin-right: 50px;
}

.korm {
    color: #565656;
    font-family: 'Calibri';
    margin-top: 20px;
}

.popup form {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /*height: 45px;*/
    transition: all .3s ease;
}

.popup input[type=text],
.popup input[type=tel] {
    height: 52px;
    padding-left: 15px;
    border: none!important;
    background: #252525;
    color: #fff!important;
    margin: 0px 5px;
    font-family: 'Calibri';
    outline: none!important;
    font-size: 16px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 300px;
}

.popup input[type=text]::placeholder,
.popup input[type=tel]::placeholder {
    color: #fff!important;
    opacity: 0.3;
}

.popup input[type="button"] {
    border: none;
    margin: 0px 5px;
    outline: none;
    background: #FF003D;
    box-shadow: 0px 0px 130px #FF003D;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    width: 200px;
    padding: 15px 0px;
    color: #fff;
    text-align: center;
    font-family: 'Calibri';
    cursor: pointer;
    margin-top: 15px;
}

body.popup-open {
    overflow: hidden;
}

.popup-close {
    color: #B0E025;
    font-size: 50px;
    position: absolute;
    right: 10%;
    top: 10%;
    font-weight: 900;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 50px;
    cursor: pointer;
}

div#result_form {
    color: #fff;
    text-align: center;
    width: 500px;
    font-family: 'Press Start 2P';
    line-height: 2em;
    font-size: 16px;
}

div#result_form span {
    display: block;
}

div#result_form span:first-of-type {
    text-align: left;
    font-size: 24px;
}

div#result_form span:last-of-type {
    text-align: right;
}

.popup-header.hidden,
.popup form.hidden {
    height: 0px;
    overflow: hidden;
}

.popup-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    cursor: pointer;
    background-image: url(img/first_code2.png);
    background-repeat: repeat-y;
    background-size: 80%;
    mix-blend-mode: exclusion;
    background-color: #000;
     -webkit-animation:  18s linear 0s infinite alternate move_code;
     -moz-animation:  18s linear 0s infinite alternate move_code;
       -o-animation:  18s linear 0s infinite alternate move_code;
          animation:  18s linear 0s infinite alternate move_code;

     -webkit-filter:  blur(5px);
     -moz-filter:     blur(5px);
       -o-filter:     blur(5px);
          filter:     blur(5px);

}

img.custom-cursor {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    -webkit-animation:  10s linear 0s infinite  rotate_cursor;
     -moz-animation:    10s linear 0s infinite  rotate_cursor;
       -o-animation:    10s linear 0s infinite  rotate_cursor;
          animation:    10s linear 0s infinite  rotate_cursor;
}

@-webkit-keyframes rotate_cursor { from { transform: rotate(0deg); } to { transform: rotate(-360deg); }  }
   @-moz-keyframes rotate_cursor { from { transform: rotate(0deg); } to { transform: rotate(-360deg); }  }
     @-o-keyframes rotate_cursor { from { transform: rotate(0deg); } to { transform: rotate(-360deg); }  }
        @keyframes rotate_cursor { from { transform: rotate(0deg); } to { transform: rotate(-360deg); }  }

img.custom-cursor.visible {
    opacity: 1;
}


a.logo.triggered{
    animation: .1s linear 0s infinite triggered;
}

@keyframes triggered { 
    0% { background: red;}
    20% { background: white;}
    40% { background: red;;}
    60% { background: white;}
    80% { background: white;}
    100% { background: red;}
}

img.portfolio-preview {
    max-height: 100%;
    margin: auto;
    display: block;
}

.swiper-slide img.portfolio-preview {
    width: 80%;
}



/*Код для всплывашки портфолио---------------------------------------------*/
.popup-portfolio {
    position: fixed;
    background: rgb(0 0 0 / 0.9);
    width: 100%;
    height: 100vh;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}

.popup-portfolio.vis {
    opacity: 1;
    pointer-events: all;
    /* overflow: auto; */
}

.portfolio-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    top: 100px;
    height: 80%;
    display: flex;
}

img.portfolio-full {
    color: #ff003d;
    font-size: 30px;
    font-family: 'Press Start 2P';
    max-width: 100%;
    max-height: 100%;
}

.portfolio-left {
    width: 40%;
    text-align: center;
    display: flex;
    align-items: center;
}

.portfolio-right {
    width: 60%;
    text-align: left;
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.portfolio-title {
    color: #fff;
    font-family: 'Press Start 2P';
    font-size: 32px;
}

.portfolio-description {
    color: #fff;
    font-family: 'Calibri';
    margin-top: 40px;
    margin-bottom: 70px;
}

.popup-portfolio .popup-close {
    top: 0px;
    right: 5%;
}


::-webkit-scrollbar{
    width: 10px;
    background: #131313;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb{
    width: 10px;
    background: #ff003d;
    border-radius: 5px;
}

.portfolio-img img {
    width: 100%;
    position: absolute;
    right: 0;
    top: -300px;
    width: 45%;
}

.portfolio-img {
    position: relative;
}

.portfolio-subtitle {
    color: #fff;
    font-family: 'Calibri';
    margin-top: 20px;
    font-size: 20px;
}

.portfolio-subtitle:before {
    content: "*//";
    font-size: 24px;
    font-family: 'Russo One';
    color: #b0e025;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

a.portfolio-link {
    color: #fff;
    font-family: 'Calibri';
}


/*-------------------------------------------------------------------------*/

/*Код для всплывашки услуг ------------------------------------------------*/
.popup-service {
    position: fixed;
    background: rgb(0 0 0 / 0.9);
    width: 100%;
    height: 100vh;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}

.popup-service.vis {
    opacity: 1;
    pointer-events: all;
    /* overflow: auto; */
}

.service-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    top: 100px;
    height: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.popup-service-title {
    color: #fff;
    font-family: 'Press Start 2P';
    font-size: 36px;
    width: 100%;
    text-align: left;
    padding: 60px 60px 0px;
}

.popup-service-descr {
    color: #fff;
    font-family: 'Calibri';
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    padding: 0px 60px;
}

.popup-service .popup-close {
    top: 0px;
    right: 0%;
}

.popup-marketing .popup-overlay {
    background-image: url("img/services/marketing-min.jpg");
    background-size: cover;
    animation: none!important;
}

.popup-sites .popup-overlay {
    background-image: url("img/services/sites-min.jpg");
    background-size: cover;
    animation: none!important;
}

.popup-photovideo .popup-overlay {
    background-image: url("img/services/photo-min.jpg");
    background-size: cover;
    animation: none!important;
}

.popup-social .popup-overlay {
    background-image: url("img/services/soc-min.jpg");
    background-size: cover;
    animation: none!important;
}

.popup-presentation .popup-overlay {
    background-image: url("img/services/kit-min.jpg");
    background-size: cover;
    animation: none!important;
}

.psd-single {
    width: 50%;
    padding: 0px 50px 30px 0px;
}

.psd-single b {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
}

.popup-service-btn.trg-popup {
    padding: 20px 40px;
    margin: auto;
    background: #FF003D;
    box-shadow: 0px 0px 130px #FF003D;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    width: 200px;
    color: #fff;
    text-align: center;
    font-family: 'Calibri';
    cursor: pointer;
}

::-webkit-scrollbar{
    width: 10px;
    background: #131313;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb{
    width: 10px;
    background: #ff003d;
    border-radius: 5px;
}

label.accept a {
    color: #fff;
}

.slide-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    overflow: hidden;
    z-index: 1;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
}

.slide-popup img {
    max-width: 100%;
    max-height: 100%;
}


.footer_copyright {
    color: #a0a0a0;
    text-align: left;
    margin-top: 50px;
    font-family: Calibri;
    font-size: 14px;
}



#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #2c2c2c;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 650px;
  margin: auto;
}
#cookie-banner button {
  background: #ff003d;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
}
#cookie-banner button:hover {
  background: #ff003d;
}

#cookie-banner p {
    margin-bottom: 0;
}

#cookie-banner a {
    color: #fff;
}


section#footer-about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-single--full {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.services-single--full .service-title {
    height: 2em;
}

.footer-about-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: #a0a0a0;
    font-family: Calibri;
}

.footer-about-contacts .contacts-addr {
    margin-top: 0;
}

.footer-about-contacts a.contacts-phone {
    margin-top: 0;
    font-size: unset;
    color: unset;
    font-weight: unset;
}

.footer-about-cta .title {
    text-align: right;
    font-size: 26px;
}

.footer-about-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

section#footer-about {
    padding-bottom: 80px;
    padding-top: 60px;
}

/*-------------------------------------------------------------------------*/

/*Версия для ноутбуков 1366px ---------------------------------------------*/
@media only screen and (max-width: 1400px) {
    .container {
        width: 1200px;
    }

    .first-screen {
        padding-top: 250px;
        padding-bottom: 160px;
    }

    .service-title {
        font-size: 20px;
    }

    .services-single {
        height: 300px;
    }

    section.services {
        padding-top: 100px;
        padding-bottom: 120px;
    }

    section.portfolio {
        padding-top: 120px;
    }

    .portfolio-single {
        width: 215px;
    }
    
    .portfolio-content {
        max-height: 65ch;
        top: 50px;
    }
    
    .portfolio-title {
        font-size: 18px;
    }
    
    .portfolio-description {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    img.portfolio-preview {
        max-width: 100%;
    }
    
    .portfolio-title {
        font-size: 14px;
    }

    .popup-service .popup-close {
        top: -1%;
        right: -10%;
    }

    .service-content {
        top: 70px;
    }

    .popup-service-title {
        font-size: 32px;
    }
}
/*-------------------------------------------------------------------------*/

/*Мобильная версия --------------------------------------------------------*/
@media only screen and (max-width: 1200px) {

    .container {
        width: 100%;
        padding: 0px 30px;
    }

    header.header .container {
        flex-direction: column;
        padding-top: 20px;
    }

    .header .cta-btn {
        margin-top: 30px;
    }

    .title {
        font-size: 16px;
    }

    .description {
        font-size: 14px;
        padding-left: 40px;
        margin-top: 30px;
    }

    .quotes {
        font-size: 20px;
        transform: translateY(0);
        top: 0;
    }

    section.first-screen {
        padding-bottom: 60px;
    }

    .first-code {
        background-size: 150%;
    }

    section.services {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .features {
        flex-wrap: wrap;
    }

    .single-feature {
        width: 45%;
        margin-bottom: 50px;
    }
    
    .single-feature:before {
        left: -10px;
    }
    
    .single-feature:after {
        right: -10px;
    }

    .services-single {
        width: 100%;
        margin-right: 0;
        height: 250px;
    }

    .service-title {
        font-size: 16px;
    }

    section.portfolio {
        padding-top: 60px;
    }

    .portfolio-container {
        margin-top: 60px;
    }

    .portfolio-single {
        margin: 5px;
        width: 46%;
        height: 140px;
    }

    .popup-header {
        font-size: 18px;
        height: auto;
    }

    .popup form {
        display: flex;
        flex-direction: column;
        width: 300px;
        margin: auto;
        height: auto;
        margin-top: 30px;
    }

    .popup input[type=text],
    .popup input[type=tel] {
        width: 100%;
        margin-bottom: 10px;
    }

    .popup-close {
        top: 5%;
        right: 5%;
    }
    
    .popup-overlay {
        background-size: 60%;
    }

    .popup input[type="button"] {
        width: 100%;
    }
    
    img.portfolio-preview {
        max-width: 100%;
    }
    
    .portfolio-content {
        width: 90%;
        margin: auto;
    }
    
    .service-img {
        width: 40%;
    }
    
    .portfolio-img {
        display: none;
    }

    .popup-service-title {
        font-size: 14px;
        padding: 0;
        text-align: center;
    }

    .popup-service-descr {
        height: 370px;
        flex-direction: column;
        flex-wrap: wrap;
        width: 300px;
        display: block;
        overflow-y: scroll;
    }

    .psd-single {
        width: 100%;
    }

    .popup-service .popup-close {
        top: -70px;
    }

    .psd-single {
        padding: 0;
    }

    .popup-service-descr {
        padding: 0;
    }

    img.popup-service-img {
        width: 120%;
        left: 50%;
        transform: translateX(-50%);
        top: 40px;
    }

    .portfolio-description {
        max-height: 40%;
        overflow: auto;
    }

    .portfolio-subtitle:before {
        display: block;
    }

    .popup.popup-contact {
        flex-direction: column;
    }

    img.popup-cat {
        margin: 0;
        width: 50%;
    }

    .popup-header {
        text-align: center;
        margin-top: 20px;
    }

    section#footer-about .container {
        flex-direction: column;
    }

    .footer-about-contacts {
        padding: 40px 0px;
    }

    .footer-about-cta .title {
        text-align: center;
        font-size: 16px;
    }

    .footer-about-cta .cta-btn {}

    .footer-about-cta {
        align-items: center;
    }
}