* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "TTLakesCondensed-Bold";
    src: url(./Fonts/TTLakesCondensed-Bold.ttf)
}

@font-face {
    font-family: "TTLakes-Regular";
    src: url(./Fonts/TTLakes-Regular.ttf);
}

@font-face {
    font-family: "TTLakes-Medium";
    src: url(./Fonts/TTLakes-Medium.ttf);
}
body {
    width: 100%;
    overflow-x: hidden;
    font-family: "TTLakes-Regular";
    background-color: #F8F8F8;
}

.header {
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  height: 88px;
  box-sizing: border-box;
}

.header__menu__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__button--burger {
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.header__button--burger:focus {
    transform: rotateY(180deg);
    
    
}

.header__vertical__line {
  width: 1px;
  height: 32px;
  background-color: #e0e0e0;
}
.header__vertical__line__next {
    display: none;
}


.header__menu__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services__nav {
    padding: 1.5rem 1rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    max-height: 40px;
    box-sizing: border-box;
}

.header__actions {
    display: none;
}

.services-tittle {
    font-weight: 700;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: -0.6px;
    border-left: 4px solid #41F6D7;
    font-family: "TTLakesCondensed-Bold";
    height: 40px;
    padding-left: 1rem;
    color: #1B1C21;
}

.services__list {
    display: flex;
    list-style: none;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    gap: 1.3rem;
}

.services__item {
    flex-shrink: 0;
}

button {
    display: flex;
    border: none;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 6px;
    background-color: #F8F8F8;
}

.services__button--active {
    border: 2px solid #B8FFEC;
    background-color: #FFFFFF;
    width: 248px;
    height: 40px;
    border-radius: 6px;
    padding: 8px 9px 8px 16px;
}

.services__button {
    color: #7E7E82;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.main-content {
    background-color: #F8F8F8;
}
.about {
    padding: 1.5rem 1rem 1rem 1rem;
}

.about__text {
    font-family: "TTLakes-Regular";
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.2px;
    padding: 0;
    line-height: 20px;
}

.about__content-text {
    background-color: #F8F8F8;
}
.about__text--next {
    display: none;
}
.about__button {
    padding: 1rem;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.2px;
    line-height: 24px;
    font-family: "TTLakes-Regular";
    transition: transform 0.3s;
}
.about__button:hover {
    background-color: #dbdbd5f5;
    
}


.services__block__text, .services__icon {
    display: none;
}
.services__block__pc {
    display: none;
}
.header__vertical__line {
    display: flex;
    border-left: 2px solid #c0bbbb;
    height: 32px;
    border-radius: 1px;
}
.header__block__right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.about__content_image {
        display: flex;
        flex: 0 1 50%;
        justify-content: center;
        min-width: 100%;
        min-height: 259px;
        padding: 1rem 0 1rem 0;
        overflow: hidden;
        position: absolute;
}
.about__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;

}
.header__icon--logo {
    display: flex;
    flex-shrink: 0;
    width: 100px;
}
.header__button--call:focus, .header__button--chat:focus, .header__button--profile:focus, .header__button--repair:focus, .header__button--check:focus, .about__button:focus {
    transform: scale(1.2);
}
.services__button:hover {
    color: #ff1807;
}



@media(min-width: 768px) {
    .services__block {
        display: flex;
    }
    .services-tittle {
        margin: 0;
    }
    .services__block__text, .services__icon {
        display: none;
    }

    .header__menu__left {
        display: flex;
        gap: 1rem;
    }
    .header__icon--burger {
    padding: 0 6px 0 0;
    }
    .header {
       margin: 0;
       padding: 0 1rem;
    }
     .header__menu {
        display: flex;
        align-items: center;
        gap: 8rem;
        padding: 0 1rem 0 0;
     }
    .header__icon--logo {
        width: 100px;
        flex-shrink: 0;
    }
    .header__actions {
        display: flex;
        gap: 0.5rem;
    }
    .header__menu__right {
        display: flex;
        gap: 0.5rem;
    }
    .header__block__right {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 2rem;
    }
    .about {
        padding: 2.5rem 1rem 0 1.5rem;
    }
    .about__content {
        display: flex;
        width: fit-content;
        height: 208px;
    }
    .about__button {
        gap: 0.5rem;
        padding: 1rem;
        margin: 0;
    }
    .about__content-text {
        width: 1;
        min-width: 312px;
        min-height: 160px;
        box-sizing: border-box;
        padding: 0;
    }
    .about__text {
        margin: 0;
        padding:0;
    }
    
    .about__content_image {
        display: flex;
        flex: 0 1 50%;
        justify-content: flex-end;
        min-width: 360px;
        min-height: 259px;
        padding: 0.5rem 1.6rem 0 2rem;
        margin: 0;
        overflow: hidden;
        position: relative;
    }
    .about__image {
        position: absolute;
        width: 100%;
        height: 80%;
        object-fit: cover;
        object-position: center;
    }
   
    .services__nav {
        display: flex;
        justify-content: flex-start;
        max-width: fit-content;
        max-height: 40px;
        box-sizing: border-box;
        padding: 2rem 1.5rem 0 1.5rem;
        margin: 0;
    }
    .services__list {
        padding: 0;
        margin: 0;
    }
    .header__vertical__line__next {
        display: flex;
        width: 1px;
        height: 32px;
        background-color: #e0e0e0;
        border-left: 2px solid #c0bbbb;
        border-radius: 1px;
    }
    
 
}
@media (min-width: 1120px) {
    .header {
        display: none;
    }
    .services {
        padding: 2.5rem 1.5rem 0 0;
    }

    .services-tittle {
        white-space: nowrap
    }
    .services__nav {
        display: flex;
        justify-content: flex-start;
        max-width: fit-content;
        max-height: fit-content;
        box-sizing: border-box;
        padding: 1.5rem 1.5rem 0 2rem;
        margin: 0;
        flex-wrap: wrap;
    }
    .services__list {
        display: flex;
        margin: 0;
        flex-wrap: wrap;
        box-sizing: border-box;
        padding: 0;
    }
    .services__block {
        display: flex;
    }
    
    .about {
     padding: 1.5rem 1rem 0 2.2rem;
    }

    .about__content {
        display: flex;
        width: 100%;
        max-height: 400px;
        padding: 0;
        margin: 0;
    }
    .about__content-text {
        min-width: 490px;
        min-height: 160px;
        box-sizing: border-box;
        padding: 0 1rem 0 0;
        margin: 0;
       

    }
    /* .about__text, .about__button {
        margin: 0;
        padding: 0;
    } */

    .about__text--next {
        display: flex;
        padding-top: 1.5rem;
    }
 
    .about__button__icon {
        padding: 0 0.5rem 0 1rem;
    }

    .about__button__text {
        padding: 0;
        margin: 0;
    }
    
    .about__content_image {
        display: flex;
        flex: 0 1 50%;
        justify-content: flex-end;
        min-width: 530px;
        min-height: 383px;
        padding: 0.5rem 1.5rem 0 2rem;
        margin: 0;
        overflow: hidden;
        position: relative;
    }
    .about__image {
        position: absolute;
        width: 100%;
        height: 75%;
        object-fit: cover;
        object-position: center;
        padding-right: 1.6rem;

    }
    .services__item:last-child {
        padding: 0 1.5rem;
    }
     
    .services__block, .services__block__text, .services__icon {
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap
    }
    .about__button {
        padding: 1rem;
        gap: 0.8rem;
    }
    .services__block__pc {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 0.5rem;
        transition: transform 0.3s ease;
    }
    .services__button:focus .services__icon {
        transform: scale(1.2)
    }
    .services__button:hover {
        color: #ff1807;
    }
    .services__block__text {
        font-size: 1rem;
        padding-right: 1rem;
        white-space: nowrap
    }
}