/* fonts */
@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-ExtraLight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Akrobat";
    src: url("../fonts/Akrobat-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

/* general */
html{
    box-sizing: border-box;
}
*,
*::after,
*::before{
    box-sizing: inherit;
}

:root {
    --red: #DC0033;
    --white: #FFFFFF;
    --black: #1C1C1C;
    --red-dark: #A40227;
    --font-main: "Akrobat", sans-serif;
    --font-decorative: "Playfair Display", serif;
}

body {
    background-color: var(--black);
    font-family: "Akrobat", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
}

a {
    text-decoration: none;
}

.title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 38px;
    text-align: center;
    text-transform: uppercase;
}

section {
    margin-bottom: 100px;
}

sup {
    font-size: 1.1em;
    position: relative;
    /* top: -0.1em; */
    color: var(--red);
}

h2{
    margin: 0;
    font-family: "Akrobat", sans-serif;
}

.portfolio-icon {
    width: 50px;
    max-width: 100%;
    height: auto;
}
.form-success{
    display: none;
}
.form-success.active{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    gap: 20px;
}
/* //hover */
.hero-btn,
.card-btn,
.form--btn{
    transition: background-color .3s ease; /*ease-easy transition when hover - how to do the hower*/
    transition: transform 0.3s ease;
}
.portfolio-website,
.portfolio-behance,
.clients-link{
    transition: transform 0.3s ease;
}
.clients-link:hover{
    color: rgb(255, 21, 21);
    transform: translateX(2px);
}
.menu__link{
    position: relative;
    display: inline-block;
}
.menu__link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px; /* расстояние от текста */
    width: 100%;
    height: 1px;
    background-color: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.menu__link:hover::after{
    transform: scaleX(1);
}
.portfolio-website:hover,
.portfolio-behance:hover{
    transform: translateX(2px);  /*exactly what to do when hover, how to do the hover is declared above*/
}
.hero-btn:hover,
.card-btn:hover,
.form--btn:hover{
    /* background-color: var(--red-dark); */
    transform: translateX(2px);
    box-shadow: 0 0 7px rgb(255, 255, 255);
}
.hero-btn:focus,
.card-btn:focus,
.form--btn:focus{
    /* background-color: var(--red-dark); */
    transform: translateX(2px);
    box-shadow: 0 0 7px rgb(255, 255, 255);
}
.hero-btn:active,
.card-btn:active,
.form--btn:active{
    background-color: var(--red-dark);
    transform: translateX(2px);
    box-shadow: 0 0 7px rgb(255, 255, 255);
}

/* header together with hero*/
/* header-top */
.container {
    max-width: 1240px;
    margin: 0 auto;
    /* center elements */
    padding: 0 20px;
}

.container-header {
    border-bottom: 1px solid var(--white);
}

.header-top {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.menu__list {
    display: flex;
    gap: 0 30px;
    list-style: none;
}

.menu__link {
    text-transform: uppercase;
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
}

.logo__img {
    max-height: 50px;
    width: auto;
}

/* dropdown-languages */
.form-group {
    display: flex;
    width: auto;
    max-width: none;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.form-control {
    display: flex;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-size: 24px;
    background-color: var(--red);
    font-style: normal;
    font-weight: 500;
    color: var(--white);
}

.form-control:focus {
    outline: none;
    border: 1px solid var(--white);
}

.dropdown {
    position: relative;
    /* height: 72px; */
}

.dropbtn {
    cursor: pointer;
    display: flex;
}

.dropbtn::after {
    font-size: 24px;
}

.dropbtn:focus {
    outline: none;
    border: 2px solid var(--white);
}

.dropdown-content {
    top: 100%;
    display: none;
    position: absolute;
    left: 0;
    background-color: var(--red);
    width: 100%;
    font-family: "Akrobat", sans-serif;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content a {
    color: var(--white);
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-top: 1px solid var(--white);
    max-width: none;
    font-family: "Akrobat", sans-serif;
    font-size: 24px;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: var(--red-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: var(--red);
    border-radius: 10px 10px 0 0;
}

/* hero */
.header {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.header__inner {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: auto;
}

.hero__inner__img {
    max-height: 75vh;
    width: auto;
}

.hero__inner {
    display: flex;
    gap: 0 20px;
    align-items: center;
    /* левая и правая сторона центрируются по вообразимой центральной линии относительно друг друга */
    justify-content: space-between;
    /* чтоб растянулись две половины по ширине контейнера */
}

.hero__inner__box {
    max-width: 700px;
}

.hero-title-box {
    max-width: 540px;
}
.hero-title-box.ru, .hero-title-box.ukr{
    max-width: 800px
}
.hero-title {
    font-size: 80px;
    font-style: normal;
    font-weight: 800;
}

.hero-title-decor {
    font-family: var(--font-decorative);
    font-size: 80px;
    font-style: italic;
    font-weight: 800;
    /* margin: 40px 0; */
}
.hero-title-decor.ukr, .hero-title-decor.ru{
    font-size: 65px;
}

.hero-btn {
    background-color: var(--red);
    padding: 15px 30px;
    display: inline-block;
    /* перестает вести себя как линейный элемнт и становится как блочный - не заходит на текст */
    border-radius: 60px;
    margin-top: 30px;
    margin-bottom: 50px;
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

/* main content */
.what-i-do,
.references {
    /* margin: 50px 0; */
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    padding: 50px 0;
}

.what-i-do-content,
.references-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.inner-list {
    display: flex;
    text-align: left;
    /* gap: 0 30px; */
}
.inner-list > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
dt {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
}

dd {
    margin: 0;
}

.what-i-do .inner-list div {
    padding: 0 30px;
    border-right: 1px solid var(--white);
}

.references .inner-list div {
    padding: 0 30px;
    border-right: 1px solid var(--white);
}

.inner-list>div:first-child {
    border-left: 1px solid var(--white);
}

.portfolio-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.portfolio-text {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}



/* clients */
.clients-list .clients-img {
    margin-bottom: 50px;
}

.my-clients .three-arias {
    margin-top: 60px;
}

.clients-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* єто віровняло иконки по их размеру. они были растянуты по ширине контейнера после применения flex */
    border: 1px solid var(--white);
    padding: 50px;
}

.my-clients .clients-list:not(:last-child) {
    border-right: none;
}

.clients-link {
    font-size: 24px;
    color: var(--red);
    font-weight: 400;
}

.clients-link {
    margin-top: auto;
}

.clients-list dd {
    margin-bottom: 30px;
}

.references div dd {
    margin-bottom: 30px;
}


/* services */
.services-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* we wont 2 colums with a size 1 fr which means 2 equal fractions, size unknown */
    /* grid-template-rows: repeat(2, 1fr); */
    align-items: stretch;
    min-height: 80vh;
    margin-top: 50px;
}

.services-header-2 {
    grid-column: span 2;
}

.service-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.card-btn {
    background-color: var(--red);
    padding: 10px 20px;
    border-radius: 60px;
    color: var(--white);
    font-weight: 600;
    font-size: 22px;
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 1px;
}

.card-text {
    margin-bottom: 50px;
}

.services-header-2,
.services-header-3,
.services-header-others {
    background-color: var(--red);
    border: 1px solid var(--white);
    text-align: center;
    letter-spacing: 1px;
    padding: 25px 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--white);
    padding: 30px;
}

.card-title {
    text-transform: uppercase;
    font-size: 26px;
}
.header-title{
    text-transform: uppercase;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* we wont 2 colums with a size 1 fr which means 2 equal fractions, size unknown */
    align-items: stretch;
    min-height: 80vh;
    margin-top: 60px;
}

.services-header-3 {
    grid-column: span 3;
}

.services-other {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
  
}

.other--list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* elements will go from next row*/
    /* max-width: 1200px; */
    margin: 0;
    padding: 0;
    align-self: stretch;
}

.other--list--item {
    padding: 20px;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 28px;
    border: 1px solid var(--white);
    flex-grow: 1;
    text-align: center;
}

.other-btn{
    background-color: var(--red);
    padding: 10px 30px;
    border-radius: 60px;
    color: var(--white);
    font-weight: 600;
    font-size: 22px;
    margin-top: auto;
    display: block;
    align-self: flex-start;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* gallery */
.gallery {
    margin: 0 auto;
    overflow: hidden;
    width: 100vw;
    /* margin-left: calc(50% - 50vw); */
    /* border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white); */
    padding: 20px 0 40px;
}

.gallery-inner {
    display: flex;
}

.gallery-item {
    width: fit-content !important;
    height: 200px;
    flex-shrink: 0;
    line-height: 0;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;

    filter: brightness(70%) saturate(80%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    filter: brightness(100%) saturate(100%);
    transform: scale(1.05);
}
.swiper-free-mode>.swiper-wrapper {
    margin: 20px auto;
}
.gallery-pagination .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 0.2;
}
.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--red-dark); 
    opacity: 1;
}



/* why me */
.titel-decorative{
    font-family: var(--font-decorative);
    font-style: italic;
    text-transform: capitalize;
    font-size: 38px;
    text-align: center;
    
}
.titel-decorative-add{
    color: var(--red);
    text-transform: uppercase;
}
.why-me--text{
    text-align: center;
    margin: 50px 0;;
}

/* references */
.reference-card {
    display: flex;
    flex-direction: column;
}


/* clients's feedback */
/* swiper */
.swiper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.gallery-swiper.swiper { /* перебивает стили главного свайпера выше*/
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
.reviews--slider {
    padding-bottom: 40px;
}
.reviews--item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    height: auto;
}
.reviews-item-text {
    margin-bottom: 20px;
}
.reviews--inner {
    display: flex;
    margin-top: 50px;
}
.reviews-autor {
    margin-top: auto;
}
.quotes-down-icon {
    align-self: flex-end;
}

/* arrows + heart */
.reviews-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
}

.reviews--item-prev,
.reviews--item-next,
.reviews-heart {
    cursor: pointer;
}

.reviews--item-prev img,
.reviews--item-next img,
.reviews-heart img {
    display: block;
}

.heart-heartbeat img{
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.12);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.12);
    }
    40% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* contacts */
.contact-form{
    margin-bottom: 150px;
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    padding: 50px 0;
}
.contact-form--inner{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* padding: 50px 0; */
    margin-top: 40px;
}
.contact-form--icons{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.form{
    max-width: 800px;
}
.form--input{
    width: 100%;
    display: inline-block;
    margin-bottom: 30px;
    padding: 20px 25px;
    font-size: 24px;
    background-color: #343434;
    border: 1px solid var(--white);
    font-family: "Akrobat", sans-serif;
    font-weight: 400;
    color: var(--white);
}

.form--input::placeholder{
    font-family: "Akrobat", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #BBBBBB;
}

.form--btn{
    background-color: var(--red);
    display: inline-block;
    border: none;
    padding: 25px 40px;
    width: 100%;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--white);
    font-family: "Akrobat", sans-serif;
    border-radius: 60px;
    cursor: pointer;
}

.contact-form-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.contacts-title{
    margin: 0;
    text-transform: uppercase;
    font-size: 26px;
}

.form--textarea {
    min-height: 180px;
    resize: vertical;
}

.footer{
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    padding: 50px 0;
}

.footer--inner{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.footer--logo{
    justify-self: start;
}
.footer--text{
    max-width: 200px;
    font-weight: 200;
    justify-self: center;
    text-align: center;
}
.footer--links{
    display: flex;
    gap: 20px;
    justify-self: end;
}

.menu-btn{
    display: none;
}
.mob-true{
    display: none;
}
.logo-mobile{
    display: none;
}


@media (max-width: 1090px){
    .gallery-img {
        filter: none;
    }
    .hero__inner__img {
        max-height: 65vh;
    }
    .hero__inner__text{
    margin: 0.5em auto;
   }
   .hero-title{
    font-size: 70px;
   }
   .hero-title-decor{
    font-size: 70px;
   }
   .clients-list{
    padding: 30px;
   }
   dt{
    font-size: 24px;
   }
   .clients-img{
    max-height: 60px;
    width: auto;
   }
   .clients-list .clients-img {
    margin-bottom: 30px;
   }
   /* .gallery-img{
    max-height: 200px;
   } */
   .services-header-2, .services-header-3, .services-header-others {
    padding: 20px 0;
   }
   .service-card {
    padding: 20px;
   }
   .services-grid-2{
    margin-top: 40px;
   }
   .my-clients .three-arias{
    margin-top: 40px;
   }
   .what-i-do-content, .references-content{
    margin-top: 20px;
   }
   .references .inner-list div {
    padding: 0 20px;
   }
   .form--btn {
    padding: 20px 40px;
   }
   .form--input{
    margin-bottom: 20px;
   }
   .hero-title-decor.ukr, .hero-title-decor.ru{
    font-size: 50px;
   }
   .gallery-item{
    height: 180px;
   }
}


@media (max-width: 900px){
    .hero__inner__img {
        max-height: 60vh;
    }
    .hero-title{
        font-size: 60px;
    }
    .hero-title-decor{
        font-size: 60px;
    }
    .clients-list{
        padding: 25px;
       }
       dt {
        margin-bottom: 20px;
       }
       .hero-title-decor.ukr, .hero-title-decor.ru{
        font-size: 45px;
       }
       
}


@media (max-width: 840px){
    body{
        font-size: 18px;
    }
    .hero__inner__img {
        max-height: 40vh;
    }
    .hero-title{
        font-size: 50px;
     }
    .hero-title-decor{
        font-size: 50px;
    }
    .menu__list{    /*navigation+js*/
        display: block;
        position: absolute;
        left:0;
        right: 0;
        width: 100%;
        top:0;
        padding: 70px 0;
        text-align: center;
        z-index: 1;
        background-color: var(--black);
        border-bottom: 1px solid var(--white);
        transform: translateY(-120%);   /*navigation+js*/
        transition: transform .3s ease;
    }
    .menu__list.menu--open{    /*navigation+js*/
        transform: translateX(0%);
    }
    .menu__link{
        padding: 15px 0;
        display: block;
    }
    .menu-btn{
        display: flex;
        border:none;
        background-color: transparent; 
        padding: 0;
        position: relative;
        z-index: 2;
    }
    .hero-btn {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .menu{
        order: -1;  /* switch places logo and burger menu  */
    }
    .hero-btn{
        width: 100%;
        text-align: center;
    }
    .header {
        min-height: auto;
    }
    .header__inner {
        padding: 40px 0;
    }
    .what-i-do-content, .references-content {
        gap:30px;
    }
    .what-i-do .inner-list div {
        padding: 0 15px;
    }
    .portfolio-text {
        font-size: 24px;
    }
    dt{
        font-size: 22px;
       }
       .clients-img{
        max-height: 50px;
        width: auto;
       }
       .clients-list{
        padding: 15px;
       }
       h3{
        margin-block-start:0.5em;
        margin-block-end:0.5em;
       }
       .service-card {
        padding: 15px;
       }
       /* .gallery-img{
        max-height: 150px;
       } */
       .other--list--item {
        padding: 15px;
        font-size: 22px;
       }
       ul{
        padding-inline-start: 20px;
       }
       section{
        margin-bottom: 50px;
       }
       .reviews--inner{
        margin-top: 30px;
       }
       .form--input{
        padding: 10px 15px;
        font-size: 20px;
       }
       .gallery-item{
        height: 150px;
       }
}


@media (max-width: 760px){
    .services-grid-2,
    .services-grid-3 {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .services-header-2,
    .services-header-3 {
        grid-column: 1 / -1;
    }
    .service-card{
        padding: 40px;
    }
    .reviews--item-heart{
        height: 35px;
        width: auto;
    }
    .references .inner-list div{
        padding: 0 15px;
    }
    .clients-link{
        font-size: 22px;
    }
    .form--input{
        padding: 10px 10px;
        font-size: 18px;
        margin-bottom: 15px;
       }
       .form--btn{
        padding: 15px 40px;
       }
       .form--input::placeholder {
        font-size: 20px;
    }
    .hero-title-decor.ukr, .hero-title-decor.ru{
        font-size: 40px;
       }
}


@media (max-width: 680px){
    .mob-true {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .mob-none{
        display: none;
    }
    
    .hero__inner__box {
        max-width: 100%;
    }
    .hero__inner {
        display: block;
        text-align: center;
    }
    .hero-title-box {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: baseline;
        gap: 0 10px;
        text-align: center;
    }
    .hero__inner__text{
        max-width: 540px;
    }
    .hero-btn{
        max-width: 540px;
        text-align: center;
    }
    .inner-list {
        flex-direction: column;
    }
    .portfolio-links {
        justify-content: center;
        width: 100%;
    }
    .referensec-text{
        text-align: center;
        margin-block-start:0.5em;
        margin-block-end:0.5em;
    }
    .service-text-note {
        text-align: left;
        margin-bottom: 30px;
    }
    dl{
        margin-block-start: 0.5em;
        margin-block-end: 0.5em;
    }
    .references .inner-list div{
        padding: 20px 0;
    }
    .contact-form--inner{
        margin-top: 20px;
    }
    .contact-form--inner {
        grid-template-columns: 1fr;
        gap:20px;
    }
}


@media (max-width: 680px){
    .logo__img {
        max-height: 40px;
    }
    .hero__inner__img {
        max-height: 40vh;
    }
    .hero-title{
        font-size: 40px;
     }
    .hero-title-decor{
        font-size: 40px;
    }
    .header__inner{
        max-width: 450px;
        margin: 0 auto;
    }
    .header-top {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .form-control, .dropdown-content a {
        font-size: 20px;
    }
    .what-i-do .inner-list div,
    .references .inner-list div {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--white);
        padding: 30px 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }
    .inner-list > div:first-child {
        border-left: none;
    }
    .inner-list > div:last-child {
        border-bottom: none;
    }
    .footer--links .portfolio-icon {
        width: 50px;
        min-width: 50px;
    }

    .footer--links a {
        flex-shrink: 0;
    }
    .my-clients .inner-list {
        flex-direction: column;
        align-items: center;
    }

    .my-clients .clients-list {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 30px;
        border: 1px solid var(--white);
        border-bottom: none;
        align-items: center;
        text-align: center;
    }
    .my-clients .clients-list:first-child {
        border-left: 1px solid var(--white);
    }
    .my-clients .clients-list:last-child {
        border-bottom: 1px solid var(--white);
    }
    .my-clients .clients-list:not(:last-child) {
        border-right: 1px solid var(--white) !important;
    }
    .clients-list dt,
    .clients-list dd,
    .clients-link {
        text-align: center;
    }
    .other--list{
        gap:20px;
    }
    .form--input{
        padding: 15px 15px;
    }
    .contact-form-content{
        flex-direction: row;
    }
    .contact-form--text{
        max-width: 300px;
    }
}


@media (max-width: 570px){
    .footer{
        padding: 25px 0;
    }
    .footer-img{
        max-width: 60px;
        height: auto;
    }
    .footer--inner {
        grid-template-columns: 60px 1fr auto;
    }

    .footer--text {
        text-align: center;
        justify-self: center;
    }
    .service-card{
        padding: 30px;
    }
    .card-text{
        margin-bottom: 25px;
    }
    .why-me--text {
        margin: 25px 0;
    }
    .contact-form-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-form--text{
        width: 100%;
    }
   .contact-form--contacts{
    display: none;
   }
   .contact-form {
    margin: 50px 0;
    border-bottom: none;
   }
}

@media (max-width: 480px){
    .logo-desktop{
        display: none;
    }
    .logo-mobile{
        display: block;
    }
    .logo-mob {
        max-height: 50px;
        width: auto;
      }
      .header__inner{
        max-width: 420px;
    }
    .hero__inner__img {
        max-height: 30vh;
    }
    .hero-btn{
        padding: 10px 15px;
    }
    .footer--inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer--text {
        text-align: center;
        max-width: 250px;
    }

    .footer--links {
        justify-content: center;
    }
    .footer--links {
        order: 1;
    }

    .footer--text {
        order: 2;
    }

    .footer--logo {
        order: 3;
    }
    .title{
        font-size: 32px;
    }
    .service-card{
        padding: 20px;
    }
    p{
        margin-block-start: 0.5em;
        margin-block-end: 0.5em;
    }

    .quotes-up-icon, .quotes-down-icon{
        height: 30px;
        width: auto;
    }
    .references .inner-list div{
        padding: 15px 0;
    }
    .references-content {
        gap: 20px;
    }
    .hero-title-decor.ukr, .hero-title-decor.ru{
        font-size: 32px;
       }
}


@media (max-width: 394px){
    body{
        font-size: 17px;
    }
    .hero-title{
        font-size: 35px;
     }
    .hero-title-decor{
        font-size: 35px;
    }
    .services-header-2, .services-header-3, .services-header-others {
        padding: 15px 20px;
    }
    .services-other{
        gap:20px;
    }
    .reviews-navigation{
        margin-top: 20px;
    }
    .arrow {
        max-width: 20px;
        height: auto;
    }
    .what-i-do, .references {
        padding: 40px 0;
    }
    .what-i-do-content, .references-content {
        gap: 20px;
    }
    .what-i-do .inner-list div, .references .inner-list div{
        padding: 20px 0;
    }
    .contact-form-content{
        max-width: 300px;
        margin: 0 auto;
    }
    
}


@media (max-width: 360px){
    .my-clients .clients-list{
        padding: 20px;
    }
    .references div dd{
        margin-bottom: 15px;
    }
}