:root {
    --main-clr: #2B7AF1;
    --secondary-clr: #FF8910;
    --white-clr: #ffffff;
    --about-bg-clr: #F4F9FB;
}


/* Общее */

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    width: 250px;
    height: 54px;
    border-radius: 11px;
    transition: .2s ease;
    background-color: var(--main-clr);
    color: var(--white-clr);
}

/* Навигация */

.header-container::before {
    position: absolute;    
    content: '';
    top: 0;
    right: 0;
    left: 52%;
    height: 394px;
    width: 48%;
    border-radius: 0 0 0 100px;
    background-color: #2B7AF1;
    z-index: -1000;
    overflow-x: hidden;
    border-color: var(--about-bg-clr);
}

.header {
    padding-top: 22px;
}

.header-nav {
    display: flex;
    justify-content: end;
}

.header-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.5em;
    color: var(--white-clr);
}

.header-nav a:hover,
.header-nav a:focus     {
    background-size: 100% 2px;
}

.header-nav a {
    font-weight: 500;   
    text-decoration: none;
    background-image: linear-gradient(var(--white-clr), var(--white-clr));
    background-position: 50% 90%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
    padding-bottom: 0.5em;
}

.header-nav li + li {
    margin-left: 25px;
}


/* Основной первый блок */

.main-container {
    margin-top: 11px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
} 

.main-content {
    display: flex;
    max-height: 310px;
}

.hamburger-menu {
    display: none;
}

.main-photo {
    display: flex;
}

.main-photo img {
    width: 344px;
    height: 320px;
    border-radius: 11px;
    object-fit: cover;
}

.main-content-block {
    margin-left: 26px;
    margin-right: 54px;
    margin-top: -3px;
}

.main-header {
    color: var(--main-clr);
    font-size: 36px;
    line-height: 36px;
}

.main-telephone {
    font-size: 32px;
    line-height: 32px;
    font-weight: 500;
    padding-top: 10px;
    padding-bottom: 15px;
}

.main-desсription {
    font-size: 18px;
    line-height: 15px;
    font-weight: 400;
}

.main-desсription p + p {
    margin-top: 10px;
}

.main-contacts {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.contact-column > * + * {
    margin-top: 16px;
}

.contact-phone-img {
    width: 46px;
    height: 50px;
    background: url(../images/call.svg) no-repeat center;
}

.contact-phone-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.contact-phone-text,
.contact-telegram-text,
.contact-whatsapp-text {
    color: var(--main-clr);
}

.contact-phone {
    position: relative;
    border: 2.6px solid var(--main-clr);
    border-radius: 38px;
    width: 122px;
    height: 122px;
}

.contact-phone-content {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.contact-telegram,
.contact-whatsapp {
    position: relative;
    border-radius: 35px;
    border: 2.5px solid var(--main-clr);
    width: 203px;
    height: 53px;
    display: flex;
}

.contact-telegram-img {
    background: url(../images/telegram.svg) no-repeat center;
}

.contact-whatsapp-img {
    background: url(../images/whatsapp.svg) no-repeat center;
}

.contact-telegram-img,
.contact-whatsapp-img {
    position: absolute;
    top: -2.5px;
    bottom: -2.5px;
    left: -2.5px;
    border-radius: 50%;
    border: 2.6px solid var(--main-clr);
    width: 53px;
    height: 53px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-telegram-img img,
.contact-whatsapp-img img {
    max-width: 22px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-telegram-text,
.contact-whatsapp-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30%;
    font-size: 17px;
    font-weight: 500;
    line-height: 21px;
    display: flex;
    align-items: center;
}


/* Динамические блоки */

.dynamic {
    max-width: 43vw;
    display: flex;
    align-items: center;
    position: absolute;
    top: 15%;
    left: 56.3%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.dynamic-wrapper {
    padding-top: 5px;
    padding-left: 5px;
    display: flex;
    overflow-x: hidden;
}

.dynamic-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: -3.5%;
    height: 100%;
    width: 70px;
    background: linear-gradient(to right, transparent 0%, var(--main-clr) 50%);
}

.dynamic-blocks {
    padding-bottom: 30px;
    display: flex;
    overflow-x: hidden;
    position: relative;
}

.dynamic-block {
    position: relative;
    border-radius: 11px;
    -moz-animation: translatex 20s infinite;
    -webkit-animation: translatex 20s infinite;
    -o-animation: translatex 20s infinite;
    -ms-animation: translatex 20s infinite;
    animation: translatex 20s infinite;
}

.dynamic-block + * {
    margin-left: 30px;
}

.dynamic-img {
    display: flex;
    align-items: center;
    border-radius: 11px;
    width: 320px;
    height: 180px;
    overflow: hidden;
}

.dynamic-img img {
    display: flex;
    align-items: center;
    border-radius: 11px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.dynamic-title {
    position: absolute;
    top: 1px;
    right: 1px;
    left: 1px;
    bottom: 1px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 17px;
    transition: transform 0.2s ease;
    z-index: -1;
    border-radius: 11px;
    padding-bottom: 5px;
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF), url(jarek-ceborski-jn7uVeCdf6U-unsplash.jpg);
}

.moved {
    transform: translateY(30px);
}

@keyframes translatex {
    0% {transform: translateX(0);}
    17% {transform: translateX(0);}
    20% {transform: translateX(-350px);}
    37% {transform: translateX(-350px);}
    40% {transform: translateX(-700px);}
    57% {transform: translateX(-700px);}
    60% {transform: translateX(-1050px);}
    77% {transform: translateX(-1050px);}
    80% {transform: translateX(-1400px);}
    97% {transform: translateX(-1400px);}
    100% {transform: translateX(-1750px);}
}

@keyframes translatex1280 {
    0% {transform: translateX(0);}
    17% {transform: translateX(0);}
    20% {transform: translateX(-254px);}
    37% {transform: translateX(-254px);}
    40% {transform: translateX(-508px);}
    57% {transform: translateX(-508px);}
    60% {transform: translateX(-762px);}
    77% {transform: translateX(-762px);}
    80% {transform: translateX(-1016px);}
    97% {transform: translateX(-1016px);}
    100% {transform: translateX(-1270px);}
}

/* Услуги */

#service {
    padding-top: 25px;
    padding-bottom: 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 25px 30px;
}

.service-card {
    display: flex;
    width: 280px;
    justify-content: center;
    justify-self: center;
    border-radius: 11px;
    box-shadow: 0px 5.5px 18px 0px #1111114D;
    transition: 0.4s ease;
}

.service-card:hover {
    box-shadow: 0px 5.5px 18px 0px var(--main-clr);
}

.service-card-content {
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.service-img {
    width: 120px;
    height: 120px;
    display: flex;
    place-content: center;
}

.service-item-description {
    margin-top: 15px;
    font-size: 19px;
    font-weight: 400;
    line-height: 23px;
    text-align: center;
}


/* Прайс-лист */

.price-card {
    grid-column: 4 / 6;
    border: 3px solid var(--main-clr);
    border-radius: 11px;
    padding: 20px;
    transition: 0.4s ease;
}

.price-card:hover {
    box-shadow: 0px 5.5px 18px 0px var(--main-clr);
}

.price-title {
    color: var(--main-clr); 
    font-size: 25px;
    line-height: 24px;
}

.price-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

.price-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-btn {
    transition: 0.2s ease;
}

.price-btn:hover {
    background-color: #004ec4;
}

.price-btn a { 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-btns,
.price-content-text > * + * {
    margin-top: 15px;
}

/* Выполненные работы */

#gallery {
    padding-block: 15px 30px;
    position: relative;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-decoration-container {
    width: 790px;
    display: flex;
    justify-content: end;
}

.gallery-decoration-container * + * {
    margin-left: 40px;
}

.gallery-decoration-item {
    background-color: var(--secondary-clr);
    border-radius: 50px 0 50px 0;
    width: 126px;
    height: 60px;
}

.gallery-container::before {
    position: absolute;
    content: "";
    top: 0;
    height: 100%;
    width: 45.35%;
    background-color: var(--main-clr);
    left: 0;
    z-index: -1000;
    border-radius: 0 80px 10px 0;
}

.gallery-title {
    font-size: 34px;
    line-height: 41px;
    color: var(--white-clr);
    padding-left: 1vw;
}

.gallery-content {
    display: flex;
    margin-top: 30px;
}

.gallery-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-div-img {
    overflow: hidden;
    display: flex;
    margin: 7px;
    border-radius: 11px;
    box-shadow: 0px 5.5px 22.2px 0px #1111112f;
}

.gallery-slider-div {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}
  
.gallery-img {
    width: 100%;
    height: 100%;
    transition: .3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.gallery-img-link,
.gallery-slider-img-link, 
.gallery-middle-upper, 
.gallery-upper, 
.gallery-right-lower {
    display: flex;
}

.gallery-right-upper {
    display: flex;
    flex-direction: column;
}

/* ОБО МНЕ */

#about {
    padding-block: 90px;
    overflow-x: hidden;
}

.about-content {
    display: flex;
    justify-content: space-between;
}

.about-container {
    position: relative;
}

.about-container::before {
    position: absolute;
    content: '';
    top: -30px;
    bottom: -40px;
    right: -1000%;
    left: -5%;
    background-color: var(--about-bg-clr);
    z-index: -1000;
    border-radius: 50px 0px 0px 50px;
}

.about-title {
    color: var(--main-clr);
    font-size: 34px;
    line-height: 41px;
    margin-bottom: 50px;
}

.about-order-container li + li {
    margin-top: 35px;
}

.about-item {
    font-weight: 400;
    font-size: 20px;
}

.about-order-item {
    line-height: 20px;
}

.about-text {
    max-width: 1010px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 55px;
}

.about-list-item {
    display: flex;
    align-items: center;
    line-height: 24px;
}

.about-order-container li {
    list-style: inside decimal;
}

.about-li-icon {
    width: 54px; 
    height: 54px;
}

.about-li-icon {
    margin-right: 16px;
}

.about-li-icon-1 {background: url(../images/about-icons/1.svg) no-repeat center;}
.about-li-icon-2 {background: url(../images/about-icons/2.svg) no-repeat center;}
.about-li-icon-3 {background: url(../images/about-icons/3.svg) no-repeat center;}
.about-li-icon-4 {background: url(../images/about-icons/4.svg) no-repeat center;}
.about-li-icon-5 {background: url(../images/about-icons/5.svg) no-repeat center;}
.about-li-icon-6 {background: url(../images/about-icons/6.svg) no-repeat center;}


/* ПОДВАЛ И КОНТАКТЫ */

#contacts {
    background-color: var(--main-clr);
}

.footer-container {
    display: flex;
    align-items: center;
    color: var(--white-clr);
    padding-block: 40px;
}

.footer-schedule {
    flex-basis: 70%;
}

.footer-title {
    font-size: 30px;
    margin-bottom: 15px;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

.footer-visit-cards {
    display: flex;
    flex-direction: column;
}

.footer-visit-cards > * + * {
    margin-top: 20px;
}

/* Адаптив */

@media (max-width: 1590px) {

    .header-container {
        max-width: 1010px;
    }

    .container {
        max-width: 960px;
    }

    .header-container::before {
        left: 52%;
        height: 246px;
        border-radius: 0 0 0 65px;
    }
    
    .header {
        padding-top: 10px;
    }
    
    .header-nav ul {
        margin-bottom: 0.3em;
        font-size: 15px;
        line-height: 19.5px;
    }
    
    .header-nav a:hover,
    .header-nav a:focus     {
        background-size: 100% 1.5px;
    }
    
    .header-nav a {
        background-size: 0% 1.5px;
    }

    .header-nav li + li {
        margin-left: 20px;
    }
    
    /* Основной первый блок */
    
    .main-photo img {
        width: 200px;
        height: 200px;
    }
    
    .main-content-block {
        margin-left: 22px;
    }
    
    .main-header {
        font-size: 22px;
        line-height: 22px;
    }
    
    .main-telephone {
        font-size: 18px;
        line-height: 18px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
    
    .main-desсription {
        font-size: 12px;
        line-height: 7px;
        font-weight: 400;
    }
    
    .main-desсription p + p {
        margin-top: 10px;
    }
    
    .main-contacts {
        margin-top: 9px;
    }
    
    .contact-column > * + * {
        margin-top: 5px;
    }
    
    .contact-phone-text {
        font-size: 12px;
        font-weight: 500;
        line-height: 14px;
    }
    
    .contact-phone {
        border: 1.5px solid var(--main-clr);
        border-radius: 25px;
        width: 79px;
        height: 79px;
    }
    
    .contact-phone-content {
        height: 50px;
    }

    .contact-phone-img {
        background: url(../images/call-30.svg) no-repeat center;
        height: 30px;
        width: 32px;
    }
    
    .contact-telegram,
    .contact-whatsapp {
        border-radius: 25px;
        border: 1.5px solid var(--main-clr);
        width: 142px;
        height: 37px;
    }

    .contact-telegram-img {
        background: url(../images/telegram-15.svg) no-repeat center;
    }

    .contact-whatsapp-img {
        background: url(../images/whatsapp-15.svg) no-repeat center;
    }

    .contact-telegram-img,
    .contact-whatsapp-img {
        top: -2px;
        left: -1.5px;
        border: 1.5px solid var(--main-clr);
        width: 36px;
        height: 37px; 
    }
    
    .contact-telegram-text,
    .contact-whatsapp-text {
        font-size: 12px;
        line-height: 14px;
    }
    
    /* Динамические блоки */
    
    .dynamic {
        max-width: 44vw;
        top: 12%;
        left: 56%;
        overflow-x: hidden;
    }
    
    .dynamic-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: -3.5%;
        height: 100%;
        width: 60px;
        background: linear-gradient(to right, transparent 0%, var(--main-clr) 50%);
    }
    
    .dynamic-blocks {
        padding-bottom: 25px;
    }
    
    .dynamic-block {
        border-radius: 8px;
        -moz-animation: translatex1280 20s infinite;
        -webkit-animation: translatex1280 20s infinite;
        -o-animation: translatex1280 20s infinite;
        -ms-animation: translatex1280 20s infinite;
        animation: translatex1280 20s infinite;
    }
    
    .dynamic-block + * {
        margin-left: 24px;
    }
    
    .dynamic-img {
        width: 230px;
        height: 130px;
    }

    .dynamic-img img {
        border-radius: 8px;
    }
    
    .dynamic-title {
        font-size: 10px;
        line-height: 12px;
        border-radius: 11px;
        padding-bottom: 3.5px;
    }

    .moved {
        transform: translateY(20px);
    }

    /* Услуги */
    
    #service {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .service-cards {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px 25px;
    }

    .service-card {
        width: 100%;
        max-height: 200px;
    }

    .service-card-content {
        padding: 25px 16px;
    }
    
    .service-item-description {
        font-size: 13px;
        line-height: 18px;
    }

    .service-img {
        width: 85px;
        height: 85px;
    }

    /* Прайс-лист */

    .btn {
        font-size: 16px;
        width: 220px;
        height: 60px;
        border-radius: 11px;
        transition: .2s ease;
        background-color: var(--main-clr);
        color: var(--white-clr);
    }

    #price {
        grid-column: 1 / 5;
    }

    .price-title {
        font-size: 22px;
    }
    
    .price-text {
        font-size: 15px;
    }

    .price-content {
        display: flex;
        justify-content: space-between;
    }

    .price-content-text {
        max-width: 50%;
    }
    
    .price-btns {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        margin-top: 0;
    }

    /* Галерея */

    #gallery {
        padding-block: 10px 25px;
    }

    .gallery-container::before {
        width: 51%;
        background-color: var(--main-clr);
        border-radius: 0px 59px 9px 0px;
    }

    .gallery-decoration-container {
        max-width: 440px;
        height: 42px;
    }
    
    .gallery-decoration-item {
        border-radius: 35px 0px;
        width: 88px;
        height: 100%;
    }

    .gallery-content {
        margin-top: 15px;
    }

    .gallery-title {
        font-size: 25px;
        line-height: 120%;
    }

    .gallery-decoration-item {
        margin-left: 5%;
    }

    .gallery-decoration-item:first-child {
        display: none;
    }

    .gallery-div-img {
        margin: 5px;
        border-radius: 7px;
        box-shadow: 0px 3px 15px 0px #1111111e;
    }

    /* Обо мне */

    .about-title {
        font-size: 25px;
        line-height: 110%;
        margin-bottom: 30px;
    }
    
    .about-title2 {
        padding-left: 5px;
    }

    .about-order-container li + li {
        margin-top: 30px;
    }
    
    .about-item {
        font-size: 16px;
        line-height: 100%;
    }
    
    .about-item:nth-child(2) {
        line-height: 130%;
    }

    .about-text {
        margin-left: 60px;
    }

    .about-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 40px;
    }
    
    .about-list-item {
        display: flex;
        align-items: center;
        line-height: 24px;
    }
    
    .about-li-icon {
        width: 60px;
        transform: scale(0.8);
        margin-right: 10px;
    }
    
    /* Подвал */

    .footer-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .footer-subtitle {
        font-size: 14px;
        font-weight: 400;
        line-height: 150%;
    }

    .footer-container {
        padding-block: 25px;
    }
}

@media (max-width: 1010px) {

    .container {
        max-width: 730px;
    }

    .dynamic {
        display: none;
    }

    .header-container {
        max-width: 640px;
    }

    .header-container::before {
        left: 14%;
        width: inherit;
        right: 0;
        height: 45px;
        border-radius: 0 0 0 50px;
    }

    .header-nav li + li {
        margin-left: 35px;
    }

    /* Main */

    .main-container {
        padding-top: 25px;
        justify-content: start;
    }

    .main-content {
        max-height: 240px;
        align-items: center;
    }

    .main-content-block {
        margin-left: 55px;
        margin-right: 0px;
        margin-top: 0px;
    }

    .main-photo img {
        width: 330px;
        height: 220px;
    }

    .main-contacts {
        margin-top: 15px;
    }

    .main-desсription p + p {
        margin-top: 12px; 
    }

    .main-telephone {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    /* Услуги */

    #service {
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .service-cards {
        gap: 17px;
    }

    .service-card {
        width: 100%;
        max-height: 160px;
        box-shadow: 0px 3px 13px rgba(17, 17, 17, 0.3);
    }

    .service-card-content {
        padding: 10px;
        justify-content: space-around;
    }
    
    .service-item-description {
        font-size: 11px;
        line-height: 15px;
    }

    .service-img {
        height: 65px;
        width: 65px;
    }

    .btn {
        font-size: 14px;
        width: 180px;
        height: 50px;
    }

    .price-title {
        font-size: 20px;
    }
    
    .price-text {
        font-size: 14px;
    }

    .price-content-text {
        max-width: 65%;
    }

    .price-text {
        line-height: 140%;
    }
    
    .price-content-text > * + * {
        margin-top: 8px;
    }

    .price-btns {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        margin-top: 0;
    }

    /* Галерея */

    .gallery-container::before {
        width: 48%;
    }

    .gallery-decoration-container {
        max-width: 354px;
        height: 34px;
    }
    
    .gallery-decoration-item {
        border-radius: 28px 0px;
    }

    .gallery-title {
        font-size: 20px;
    }

    .gallery-div-img {
        margin: 3px;
        border-radius: 5px;
        box-shadow: 0px 3px 15px 0px #1111111e;
    }

    /* About */

    .about-container {
        max-width: 650px;
    }

    .about-title {
        font-size: 23px;
    }

    .about-title2 {
        padding-left: 15px;
    }

    .about-item {
        font-size: 14px;
    }
    
    .about-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        max-width: 335px;
    }
    
    .about-text {
        margin-left: 0;
    }

    .about-list-item {
        display: flex;
        align-items: center;
        line-height: 24px;
    }
    
    .about-li-icon {
        transform: scale(0.7);
        min-width: 65px;
    }
}

@media (max-width: 739px) {

    .header {
        display: none;
    }

    /* Первый блок */
    
    .main-container {
        padding: 0;
        margin-top: 0;
        align-items: flex-start;
        justify-content: center;
        margin-bottom: 0;
    }

    .main-content {
        flex-direction: column;
        position: relative;
        max-height: none;
    }

    /* Hamburger menu */

    .hamburger-menu {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1000;
    }

    #menu__toggle {
        opacity: 0;
    }

    #menu__toggle:checked ~ .menu__btn > span {
        transform: rotate(45deg);
    }

    #menu__toggle:checked ~ .menu__btn > span::before {
        top: 0;
        transform: rotate(0);
    }

    #menu__toggle:checked ~ .menu__btn > span::after {
        top: 0;
        transform: rotate(90deg);
    }

    #menu__toggle:checked ~ .menu__box {
        visibility: visible;
        left: 0;
    }

    .menu__btn {
        display: flex;
        align-items: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 2002;
    }

    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        transition-duration: .25s;
    }

    .menu__btn > span::before {
        content: '';
        top: -8px;
    }

    .menu__btn > span::after {
        content: '';
        top: 8px;
    }

    .menu__box {
        display: block;
        position: fixed;
        visibility: hidden;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        margin: 0;
        z-index: 1001;
        padding: 80px 0;
        list-style: none;
        background-color: var(--main-clr);
        box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
        transition-duration: .25s;
    }

    .menu__item {
        display: block;
        padding: 12px 24px;
        font-size: 18px;
        font-weight: 400;
        text-decoration: none;
        transition-duration: .25s;
        color: var(--white-clr);
    }

    .menu__item:hover {
        background-color: #004ec4;
    }

    .main-photo img {
        max-width: 480px;
        width: 100%;
        height: 100%;
        box-shadow: 0px 6.48219px 12.9644px rgba(17, 17, 17, 0.1);
        z-index: -1;
    }

    .main-photo {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 2%, transparent 40%)
    }

    .main-content-block {
        padding-inline: 15px;
        margin-left: 0;
        margin-top: 30px;
        text-align: center;
    }

    .main-content-block > * + * {
        margin-top: 10px;
    }

    .main-header {
        font-size: 34px;
    }

    .main-contacts {
        justify-content: space-around;
        margin-top: 20px;
    }

    .main-desсription {
        font-size: 20px;
        line-height: 100%;
    }

    .main-telephone {
        font-size: 27px;
    }

    .contact-column > * + * {
        margin-top: 5px;
    }
    
    .contact-phone-text {
        font-size: 16px;
    }
    
    .contact-phone {
        border: 2px solid var(--main-clr);
        border-radius: 34px;
        width: 110px;
        height: 110px;
    }
    
    .contact-phone-content {
        top: 0;
        height: 80%;
    }

    .contact-phone-img {
        background: url(../images/call.svg) no-repeat center;
        height: 100%;
        width: 100%;
    }
    
    .contact-telegram,
    .contact-whatsapp {
        border-radius: 25px;
        border: 2px solid var(--main-clr);
        width: 220px;
        height: 51px;
    }

    .contact-telegram-img {
        background: url(../images/telegram.svg) no-repeat center;
    }

    .contact-whatsapp-img {
        background: url(../images/whatsapp.svg) no-repeat center;
    }

    .contact-telegram-img,
    .contact-whatsapp-img {
        top: -2px;
        left: -1.5px;
        border: 2px solid var(--main-clr);
        width: 50px;
        height: 51px; 
    }
    
    .contact-telegram-text,
    .contact-whatsapp-text {
        font-size: 16px;
        line-height: 120%;
    }

    /* Услуги */

    #service {
        margin-top: 30px;
    }

    .service-container,
    .gallery-container {
        max-width: 600px;
    }

    .service-cards {
        display: flex;
        flex-direction: column;
    }

    .service-card {
        justify-content: start;
    }

    .service-card-content {
        padding: 15px;
        flex-direction: row;
    }

    .service-img {
        width: 56px;
        height: 56px;
    }

    .service-img img {
        min-width: 56px;
        min-height: 56px;
    }

    .service-item-description {
        margin-top: 0;
        margin-left: 20px;
        font-size: 18px;
        line-height: 23px;
        text-align: start;
        letter-spacing: -1px;
    }

    /* Прайс-лист */

    .btn {
        font-size: 16px;
        max-width: 300px;
        width: 100%;
        height: 50px;
        border-radius: 8px;
    }

    #price {
        padding: 25px;
    }

    .price-title {
        font-size: 25px;
    }
    
    .price-text {
        font-size: 15px;
        margin-top: 20px;
    }

    .price-content {
        justify-content: space-between;
        flex-direction: column;
    }

    .price-content-text {
        max-width: 100%;
    }
    
    .price-btns {
        align-items: center;
        flex-direction: column;
        margin-top: 20px;
    }

    .price-btns * + * {
        margin-top: 15px;
    }

    /* Галерея */

    #gallery {
        padding-top: 25px;
        padding-bottom: 30px;
        background-color: var(--main-clr);
    }

    .gallery-container::before {
        display: none;
    }

    .gallery-content {
        display: none;
    }

    .gallery-decoration-container {
        display: none;
    }

    .gallery-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    /* Обо мне */

    .about-title {
        font-size: 34px;
    }

    .about-title {
        padding-left: 12px;
    }

    .about-content {
        flex-direction: column;
        gap: 60px;
    }

    .about-order-container {
        padding-left: 15px;
    }

    .about-item {
        font-size: 20px;
    }
    
    .about-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .about-li-icon {
        transform: scale(0.85);
    }

    /* Подвал */

    #contacts {
        padding: 30px;
    }

    .footer-container {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-title {
        font-size: 30px;
    }

    .footer-subtitle {
        font-size: 20px;
    }

    .footer-container > * + * {
        margin-top: 40px;
    }
}

@media (max-width: 391px) {

    .main-header {
        font-size: 30px;
    }
    
    .main-content-block {
        margin-top: 20px;
    }

    .main-telephone {
        font-size: 23px;
        padding-block: 9px;
    }

    .main-desсription {
        font-size: 17px;
        margin-top: 5px;
        line-height: 130%;
    }

    .main-contacts {
        justify-content: center;
        margin-top: 10px;
    }
    
    .main-desсription p + p {
        margin-top: 0;
    }

    .contact-column {
        margin-left: 20px;
    }

    .contact-column > * + * {
        margin-top: 7px;
    }
    
    .contact-phone {
        border-radius: 30px;
        width: 100px;
        height: 100px;
    }

    .contact-phone-img {
        transform: scale(0.9);
    }

    .contact-phone-text {
        font-size: 14px;
    }

    .contact-telegram, 
    .contact-whatsapp {
        border-radius: 25px;
        border: 2px solid var(--main-clr);
        width: 170px;
        height: 45px;
    }

    .contact-telegram-text, 
    .contact-whatsapp-text {
        font-size: 14px;
        line-height: 120%;
        text-align: left;
    }

    .contact-telegram-img, .contact-whatsapp-img {
        top: -2px;
        left: -1.5px;
        border: 2px solid var(--main-clr);
        width: 45px;
        height: 45px;
        background-size: 50%;
    }

    .service-card-content {
        padding: 12px;
    }

    .service-item-description {
        font-size: 16px;
        line-height: 120%;
        margin-left: 15px;
    }

    .service-img {
        width: 45px;
        height: 45px;
    }

    .service-img img {
        min-width: 45px;
        min-height: 45px;
    }

    #price {
        padding: 20px;
    }

    .price-btn {
        padding: 5px;
    }

    #gallery {
        padding-top: 20px;
    }

    .gallery-heading {
        justify-content: center;
    }

    .gallery-title {
        font-size: 25px;
        margin-bottom: 20px;
    }

    #about {
        padding-block: 50px;
        overflow-x: hidden;
    }

    .about-content {
        gap: 40px;
    }

    .about-title {
        font-size: 27px;
        margin-bottom: 15px;
    }

    .about-title1 {
        margin-bottom: 25px;
    }

    .about-order-container li + li {
        margin-top: 20px;
    }

    .about-list {
        gap: 15px;
    }

    .about-item {
        font-size: 16px;
    }

    .about-li-icon {
        transform: scale(0.65);
        min-width: 60px;
    }

    .footer-title {
        font-size: 25px;
    }

    .footer-subtitle {
        font-size: 16px;
    }
}