@font-face {
    font-family: 'Inter';
    src: url("./fonts/Inter/Inter-VariableFont_slnt\,wght.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal;
}

@font-face {
    font-family: 'Russo One';
    src: url("./fonts/Russo_One/RussoOne-Regular.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal;
}

html {
    scroll-behavior: smooth;
    background-color: #000000;
}

body {
    margin: 0;
    overflow-x:hidden;
}

.body-overflow {
    overflow: hidden;
}

.wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
}

/* Header */
.wrapper__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header {
    position: absolute;
    z-index: 1;
    width: 100%;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px 0;
}

.logo {
    width: 50%;
}

.logo__image {
    width: 90%;
    user-select: none;
}

.header__navigation {
    width: 50%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin: 0;
    user-select: none;
}

.navigation__text {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.navigation__text:hover {
    color: #C42924;
}

.menu-navigation {
    display: none;
}

/* Home */
.wrapper__home {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: end;
}

.home {
    position: relative;
    height: 100vh;
}

.home-slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -2;

    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
}
  
.showing {
    opacity: 1;
    z-index: -1;
}

.home-slide:nth-of-type(1),
.home-slide:nth-of-type(2),
.home-slide:nth-of-type(3),
.home-slide:nth-of-type(4) {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    background-attachment: fixed;
}
  
.home-slide:nth-of-type(1) {
    background-image: url(./images/home-background/1.jpg);
}
.home-slide:nth-of-type(2) {
    background-image: url(./images/home-background/2.jpg);
}
.home-slide:nth-of-type(3) {
    background-image: url(./images/home-background/3.jpg);
}
.home-slide:nth-of-type(4) {
    background-image: url(./images/home-background/4.jpg);
}

.home__information {
    position: absolute;
    right: 30px;
    margin-bottom: 100px;
    width: 380px;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: #FFFFFF;
}

.home__text {
    margin: 20px 0;
    padding-left: 60px;
    background-image: url(./images/svg/square.svg);
    background-repeat:no-repeat;
    background-position: 6% 50%;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
    user-select: none;
}

.home__phone {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.phone {
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Russo One', sans-serif;
    font-size: 3.2rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.phone:hover {
    color: #C42924;
}

.phone:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.home__network {
    width: 270px;
    display: flex;
    justify-content: space-between;
    margin: 10px;
    padding: 0;
    list-style-type: none;
}

.network__item{
    filter: grayscale(1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    user-select: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.network__item:hover {
    filter: grayscale(0);
    color: #C42924;
}

.network__item:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.network__item-text {
    margin-left: 10px;
}

/* Services */
.services {
    background-image: url(./images/background/white.webp);
    padding: 50px 0;
}

.block-name {
    font-family: 'Russo One', sans-serif;
    font-size: 2.2rem;
    text-align: right;
    letter-spacing: 0.05em;
    margin: 0;
    opacity: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    user-select: none;
}

.block-name.element-show {
    opacity: 1;
    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
}

.services__layouts {
    border-top: 1px solid #000000;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service__content-external-design,
.service__content-internal-design,
.service__content-souvenir-products,
.service__content-printing,
.service__content-cutting-materials,
.service__content-designer-services {
    position: relative;
    font-family: 'Inter', sans-serif;
    width: 30%;
    margin-top: 50px;
    background-color: #FFFFFF;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.service-images-external-design,
.service-images-internal-design,
.service-images-souvenir-products,
.service-images-printing,
.service-images-cutting-materials,
.service-images-designer-services {
    position: absolute;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    z-index: 1;
    top: 0;
    border-radius: 10px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    user-select: none;
}

.service-images-img {
    height: 200px;
}

.service-images-external-design-active,
.service-images-internal-design-active,
.service-images-souvenir-products-active,
.service-images-printing-active,
.service-images-cutting-materials-active,
.service-images-designer-services-active {
    top: -80%;
}

.service-name-external-design,
.service-name-internal-design,
.service-name-souvenir-products,
.service-name-printing,
.service-name-cutting-materials,
.service-name-designer-services {
    position: absolute;
    z-index: 1;
    top: 80%;
    width: 70%;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 15%;
    border-radius: 10px;
    background-image: url(./images/svg/square.svg);
    background-repeat: no-repeat;
    background-position: 7%;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #FFFFFF;
    user-select: none;
}

.service-name-external-design-active,
.service-name-internal-design-active,
.service-name-souvenir-products-active,
.service-name-printing-active,
.service-name-cutting-materials-active,
.service-name-designer-services-active {
    top: 0;
    background-color: #EAEAEA;
    border-radius:  10px 10px 0 0;
}

.service-list-external-design,
.service-list-internal-design,
.service-list-souvenir-products,
.service-list-printing,
.service-list-cutting-materials,
.service-list-designer-services {
    padding: 0 15%;
    margin-top: 80px;
    margin-bottom: 21px;
    list-style: square;
    opacity: 0;
}

.service-list-external-design-active,
.service-list-internal-design-active,
.service-list-souvenir-products-active,
.service-list-printing-active,
.service-list-cutting-materials-active,
.service-list-designer-services-active {
    padding: 0 15%;
    margin-top: 80px;
    margin-bottom: 21px;
    list-style: square;
    opacity: 1;
}

/* Gallery */
.gallery {
    padding: 50px 0;
    color: #FFFFFF;
    background-image: url(./images/background/gallery.jpg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    background-attachment: fixed;
}

.gallery__line {
    border-top: 1px solid #FFFFFF;
}

.itcss {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.itcss__wrapper {
    position: relative;
    overflow: visible;
    max-width: 800px;
    margin: auto;
}

.itcss__items {
    display: flex;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.5s ease;
    will-change: transform;
}

.itcss__item {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.img-item {
    width: 98%;
    user-select: none;
}

/* кнопки Prev и Next */
.itcss__btn {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 4rem;
    color: #fff;
    background: rgb(0 0 0 / 30%);
    border: none;
    outline: none;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

.itcss__btn_hide {
    display: none;
}

.itcss__btn:hover,
.itcss__btn:focus {
    color: #fff;
    text-decoration: none;
    border: none;
}

.itcss__btn_prev {
    left: 30px;
}

.itcss__btn_next {
    right: 30px;
}

.itcss__btn::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}

.itcss__btn_prev::before {
    background-image: url(./images/svg/arrows/prev.svg);
}

.itcss__btn_next::before {
    background-image: url(./images/svg/arrows/next.svg);
}

/* класс для отключения transition */
    .transition-none {
    transition: none;
}

/* Production */
.production {
    background-color: #FFFFFF;
    padding: 50px 0;
}

.production__line {
    border-top: 1px solid #000000;
    margin-bottom: 50px;
}

.production__content {
    background-image: url(./images/background/white.webp);
    border-radius: 10px;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    text-align: justify;
    user-select: none;
}

.production__content-information {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.production__content-text {
    width: 60%;
}

.production__content-images {
    width: 35%;
}

.production__content-photo {
    width: 100%;
}

/* Footer */
.footer {
    padding: 50px 0;
    color: #FFFFFF;
}

.footer__blocks {
    display: flex;
    justify-content: space-between;
}

.footer__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__information {
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.footer__network {
    width: 40%;
    margin: 10px 0;
    padding: 0;
    list-style-type: none;
}

.network__item-width {
    width: 116px;
}

.footer__contacts {
    width: 60%;
    margin: 10px 0;
    padding: 0;
    list-style-type: none;
}

.contacts__item{
    filter: grayscale(1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contacts__item:hover {
    filter: grayscale(0);
    color: #C42924;
}

.contacts__item:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.contacts__item-text {
    margin-left: 10px;
}

.footer__navigation {
    width: 90%;
}

.footer__photo-block {
    width: 50%;
    display: flex;
    align-items: center;
    user-select: none;
}

.photo-office {
    width: 100%;
}

@media (max-width: 1000px) {
    .itcss {
        -webkit-mask: none;
    }
    
    .itcss__wrapper {
        overflow: hidden;
    }
    
    .img-item {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .logo {
        width: 80%;
        z-index: -2;
    }

    .footer__content,
    .footer__information,
    .footer__photo-block {
        width: 100%;
    }

    .header__navigation {
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        z-index: -2;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    .header__navigation-active {
        height: 100%;
        z-index: 1;
    }
    
    .navigation {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: end;
        padding: 20px 30px;
        position: absolute;
        z-index: 1;
        top: 0;
        right: -120%;
        background: linear-gradient(180deg, #C42924 20%, rgba(0, 0, 0, 0) 90%);
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    .navigation-active {
        right: 0;
    }

    .navigation__item {
        margin: 10px 0;
    }
    
    .navigation__text {
        font-family: 'Russo One', sans-serif;
        font-size: 1.3rem;
    }
    
    .navigation__text:hover {
        color: #FFFFFF;
    }

    .navigation__text:active {
        color: #C42924;
    }

    .menu__navigation {
        position: relative;
        width: 40px;
        height: 40px;
        background-color: #C42924;
        border-radius: 5px;
        display: block;
        position: absolute;
        z-index: 2;
        user-select: none;
        top: 30px;
        right: 0;
        margin-right: 30px;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    .menu__navigation-active {
        right: 85%;
        background-color: #FFFFFF;
    }

    .menu__navigation-line {
        display: block;
        width: 30px;
        height: 4px;
        position:absolute;
        left: 5px;
    }

    .line-1,
    .line-2,
    .line-3 {
        background-color: #FFFFFF;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
    .line-1 {
        top:8px;
    }
    .line-2 {
        top:18px;
    }
    .line-3 {
        top:28px;
    }

    .line-1-active {
        top:18px;
        background-color: #C42924;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .line-2-active {
        background-color: #C42924;
        opacity: 0;
    }
    .line-3-active {
        top:18px;
        background-color: #C42924;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .home,
    .wrapper__home{
        height: 600px;
    }

    .home-slide:nth-of-type(1),
    .home-slide:nth-of-type(2),
    .home-slide:nth-of-type(3),
    .home-slide:nth-of-type(4) {
        background-attachment: local;
    }

    .home__information {
        font-size: 1.5rem;
    }

    .phone {
        font-size: 2.8rem;
    }

    .phone:hover {
        color: #FFFFFF;
    }

    .phone:active {
        color: #C42924;
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -o-transform: scale(0.9);
        transform: scale(0.9);
    }

    .network__item,
    .contacts__item {
        filter: grayscale(0);
    }

    .network__item:hover,
    .contacts__item:hover {
        color: #FFFFFF;
    }

    .services,
    .gallery,
    .production,
    .footer {
        padding: 30px 0;
    }

    .service__content-external-design,
    .service__content-internal-design,
    .service__content-souvenir-products,
    .service__content-printing,
    .service__content-cutting-materials,
    .service__content-designer-services {
        width: 47%;
        height: 350px;
        margin-top: 30px;
        z-index: 0;
    }

    .service-images-external-design,
    .service-images-internal-design,
    .service-images-souvenir-products,
    .service-images-printing,
    .service-images-cutting-materials,
    .service-images-designer-services {
        height: 290px;
    }

    .itcss {
        padding-top: 30px;
    }

    .production__line {
        margin-bottom: 30px;
    }

    .production__content {
        font-size: 1.2rem;
        padding: 0;
    }

    .footer__blocks {
        flex-direction: column;
        align-items: center;
    }

    .footer__navigation {
        display: none;
    }
}

@media (max-width: 550px) {
    .navigation__text {
        font-size: 1.1rem;
    }

    .menu__navigation-active {
        right: 80%;
        background-color: #FFFFFF;
    }

    .home, .wrapper__home {
        height: 450px;
    }

    .home__information {
        right: auto;
        text-align: center;
        width: 90%;
    }

    .phone {
        font-size: 2rem;
    }

    .network__item-width {
        filter: grayscale(1);
    }

    .network__item-width:hover {
        filter: grayscale(1);
    }

    .network__item-width:active {
        filter: grayscale(0);
    }

    .services,
    .production,
    .footer {
        padding: 15px 0;
    }

    .block-name {
        font-size: 1.5rem;
        text-align: right;
    }

    .service__content-external-design,
    .service__content-internal-design,
    .service__content-souvenir-products,
    .service__content-printing,
    .service__content-cutting-materials,
    .service__content-designer-services {
        width: 100%;
        height: 100px;
        margin: 10px 0;
    }

    .service__content-external-design-active,
    .service__content-internal-design-active,
    .service__content-souvenir-products-active,
    .service__content-printing-active,
    .service__content-cutting-materials-active,
    .service__content-designer-services-active {
        height: 350px;
    }

    .service-images-external-design,
    .service-images-internal-design,
    .service-images-souvenir-products,
    .service-images-printing,
    .service-images-cutting-materials,
    .service-images-designer-services {
        height: 100px;
        justify-content: flex-start;
        margin-left: 20px;
    }

    .service-images-external-design-active,
    .service-images-internal-design-active,
    .service-images-souvenir-products-active,
    .service-images-printing-active,
    .service-images-cutting-materials-active,
    .service-images-designer-services-active {
        top: 0;
    }

    .service-images-img {
        height: 60%;
    }

    .service-name-external-design,
    .service-name-internal-design,
    .service-name-souvenir-products,
    .service-name-printing,
    .service-name-cutting-materials,
    .service-name-designer-services {
        width: 70%;
        top: 20%;
        left: 30%;
        padding: 20px;
        background-image: none;
    }

    .service-name-external-design-active,
    .service-name-internal-design-active,
    .service-name-souvenir-products-active,
    .service-name-printing-active,
    .service-name-cutting-materials-active,
    .service-name-designer-services-active {
        top: 0;
        background-color: #EAEAEA;
        border-radius: 0 10px 0 0;
    }

    .service-list-external-design,
    .service-list-internal-design,
    .service-list-souvenir-products,
    .service-list-printing,
    .service-list-cutting-materials,
    .service-list-designer-services {
        padding: 0 15%;
        margin-top: 100px;
    }

    .service-list-external-design-active,
    .service-list-internal-design-active,
    .service-list-souvenir-products-active,
    .service-list-printing-active,
    .service-list-cutting-materials-active,
    .service-list-designer-services-active {
        padding: 0 15%;
        margin-top: 100px;
    }

    .gallery {
        padding: 15px 0;
    }

    .itcss {
        padding-top: 10px;
    }

    .production__line {
        margin-bottom: 10px;
    }

    .production__content-images {
        width: 95%;
    }

    .production__content {
        font-size: 1rem;
        padding-top: 0px;
        padding-bottom: 15px;
    }

    .production__content-information {
        flex-direction: column;
        padding: 0 20px;
    }

    .flex-rever {
        flex-direction: column-reverse;
    }

    .production__content-text {
        width: 100%;
    }

    .footer__information {
        flex-direction: column;
        align-items: center;
    }

    .footer__network {
        width: 270px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .network__item-width,
    .footer__contacts {
        width: 100%;
    }

    .network__item-text {
        display: none;
    }
}

@media (max-width: 440px) {
    .menu__navigation-active {
        right: 75%;
    }

    .service-name-external-design,
    .service-name-internal-design,
    .service-name-souvenir-products,
    .service-name-printing,
    .service-name-cutting-materials,
    .service-name-designer-services {
        width: 60%;
    }
}

@media (max-width: 350px) {
    .menu__navigation-active {
        right: 70%;
    }
}
