* {
    box-sizing: border-box;
  }

@font-face {
  font-family: 'UnlimitedPie'; 
  src: url('ofont.ru_UnlimitedPie.ttf'); 
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F7F8F3;
}

button {
    border: none;
    background: none;
}

h1, h2, h3 {
    font-family:'UnlimitedPie', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

p, button, span, h4, a {
    font-family: 'Unbounded', sans-serif;
    font-weight: 300;
    text-decoration: none;
}

h1, h2 {
    font-size: clamp(1.875rem, 1.4806rem + 1.6828vw, 3.5rem);
    line-height: 1.3em;
    margin-bottom: 0.3em;
    margin-top: 0.7em;
}

h3 {
    font-size: clamp(1.125rem, 0.2083rem + 1.9097vw, 2.5rem);
    line-height: 1.5em;
    margin-bottom: 0.4em;
    margin-top: 1em;
}

.header__text, .services__text, .about__text {
    font-size: clamp(1.125rem, 1.0036rem + 0.5178vw, 1.625rem);
    line-height: 1.5em;
    margin-bottom: clamp(1.25rem, 0.7406rem + 2.5078vw, 3.75rem);
}

.item__text {
    font-size: clamp(0.875rem, 0.2083rem + 1.3889vw, 1.875rem);
    line-height: 1.3em;
}

.header__photo {
    background-image: url('low-angle-girl-holding-camera\ 1.png');
    padding-top: 20px;
    background-size: cover;
    background-position: center;
    height: 80vh;
}

.page__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid;
    border-radius: 50px;
    border-color:rgb(0 0 0 / 50%);
    background-color:rgb(255 255 255 / 15%);
    width: 81vw;
    margin: 0 auto;
    padding: 0.5em 2em;
    /* backdrop-filter: blur(10px); // если включить, то бургер-меню позиционируется некорректно*/    
}

.menu_mobile {
    display: none;
}

.menu__list_desktop {
    display: flex;
    gap: clamp(0.5em, 3vw, 6em);
}

.menu__list_mobile {
    display: none;
}

.menu__logo {
    font-size: clamp(0.875rem, 0.6065rem + 0.7446vw, 1.5rem);
}

.menu__item {
    font-size: clamp(0.75rem, 0.5352rem + 0.5957vw, 1.25rem);
    color: black;
}

.header__info {
    width: 81vw;
    margin: 0 auto;
}

.header__text {
    width: 70%;
}

.frame {
    background: url(frame1.png) no-repeat center center;
    background-size: cover;
    height: clamp(1.875rem, -0.0971rem + 8.4142vw, 10rem);
}

.services {
    padding-top: clamp(0.125rem, 0.0036rem + 0.5178vw, 0.625rem);
    background: url(Frame__services.png) no-repeat center center;
    background-size: contain;
}

.services__info {
    width: 86vw;
    margin: 0 auto;
}

.services__title {
    text-align: right;
}

.services__text {
    max-width: 70%;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.services__block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid;
    border-radius: 50px;
    border-color:rgb(0 0 0 / 50%);
    background-color:rgb(255 255 255 / 15%);
    margin-left: clamp(0.625rem, -0.2852rem + 3.8835vw, 4.375rem);
    margin-right: clamp(0.625rem, -0.2852rem + 3.8835vw, 4.375rem);
    padding-top: clamp(0.375rem, -0.1408rem + 2.2006vw, 2.5rem);
    padding-bottom: clamp(0.375rem, -0.1408rem + 2.2006vw, 2.5rem);
    padding-left: clamp(0.625rem, -0.1335rem + 3.2362vw, 3.75rem);
    padding-right: clamp(0.625rem, -0.1335rem + 3.2362vw, 3.75rem);
    backdrop-filter: blur(10px);
}

.services__item {
    width: 31%;
}

.services__img {
    width: 100%;
}

.about {
    display: flex;
    align-items: center;
    justify-content: start;
    background: url(Frame_about.png) no-repeat center;
    background-size: contain;
    background-position: top;
    padding: 50px 0;
    margin-top: 20px;
}

.about__photo {
    width: 49vw;
}

.about__info {
    width: 51vw;
}

.about__title {
    text-align: center;
}

.about__content {
    width: 90%;
    margin: 0 auto;
}

.about__text {
    text-align: center;
    margin-top: clamp(0.625rem, 0.1341rem + 2.4169vw, 3.125rem);
}

.advantages {
    background: url(Frame__advantages.png) center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.advantages__block {
    border: 1px solid;
    border-radius: 50px;
    border-color:rgb(0 0 0 / 50%);
    background-color:rgb(255 255 255 / 20%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 24px;
    column-gap: clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
    margin-left: clamp(0.625rem, -0.2852rem + 3.8835vw, 4.375rem);
    margin-right: clamp(0.625rem, -0.2852rem + 3.8835vw, 4.375rem);
    padding-top: clamp(0.375rem, -0.1408rem + 2.2006vw, 2.5rem);
    padding-bottom: clamp(0.375rem, -0.1408rem + 2.2006vw, 2.5rem);
    padding-left: clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
    padding-right: clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
    backdrop-filter: blur(10px);
}

.advantages__item {
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background-color:rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.15);
}

.advantages__img {
    display: flex;
    justify-content: center;
}

.advantages__info {
    width: 80%;
}

.advantages__title {
    text-align: center;
    font-size: clamp(1.125rem, 1.0036rem + 0.5178vw, 1.625rem);
    line-height: 1.5em;
}

.advantages__text {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.4em;
}

/* .team__title {
    margin-top: 72px;
    margin-bottom: 29px;
    text-align: left;
    margin-left: 135px;
}

.team__block1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 99px;
    background: url(Frame__teamblock1.png) no-repeat center center;
    background-size: cover;
    margin-bottom: 66px;
    width: 100vw;
}

.team__block2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 99px;
    background: url(Frame__teamblock2.png) no-repeat center center;
    background-size: cover;
}

.team__img {
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-radius: 12%;
}

.team__name {
    font-size: 2.25em;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}

.team__profecy {
    font-size: 1.625em;
} */

.footer {
    padding-bottom: clamp(1.25rem, -1.25rem + 5.2083vw, 5rem);
    margin-left: clamp(0.625rem, -0.2852rem + 3.8835vw, 4.375rem);
}

.footer__title {
    width: 70%;
    font-size: clamp(1.25rem, 0.7406rem + 2.5078vw, 3.75rem);
    font-weight: 500;
    text-align: center;
    margin-top: clamp(1.875rem, 0.7288rem + 5.6426vw, 7.5rem);
    margin-bottom: clamp(1.875rem, 0.7288rem + 5.6426vw, 7.5rem);
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    line-height: 1.35em;
}

.footer__block {
    display: flex;
    gap: clamp(0.9375rem, -2.6042rem + 7.3785vw, 6.25rem);
    justify-content: center;
}

.footer__item {
    width: clamp(15.125rem, 14.3864rem + 3.6364vw, 18.75rem);
    border-radius: 50px;
    border: none;
    font-size: clamp(0.75rem, 0.5972rem + 0.7524vw, 1.5rem);
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.15);
}

.purple {
    background-color:#815CA3;
}

.cyan {
    background-color:#5CC9E7;
}

.pink {
    background-color:#FF2185;
}

.purple:hover {
    background-color:#755493;
}

.purple:active {
    background-color:#4E3366;
}

.cyan:hover {
    background-color:#4495ab;
}

.cyan:active {
    background-color:#285763;
}

.pink:hover {
    background-color:#d41c6e;
}

.pink:active {
    background-color:#a81d5b;
}

@media (max-width: 992px) {
    .page__menu {
        width: 90vw;
    }

    .header__photo {
        height: 50vh;
    }

    .about__title {
        font-size: clamp(2rem, 0.2857rem + 3.5714vw, 2.5rem);
    }

    .about__text {
        font-size: clamp(1.125rem, 0.2679rem + 1.7857vw, 1.375rem);
    }

    .footer__title {
        text-align: left;
        margin-left: 0;
        padding-left: 2.5vw;
    }

    .footer {
        width: 86vw;
        margin: 0 auto;
    }

    .footer__block {
        display: grid;
        gap: 15px;
        justify-content: left;
    }
    
}

@media (max-width: 767px) {
    h3 {
        font-size: clamp(0.875rem, -0.3199rem + 5.8824vw, 2.5rem);
    }

    .header__info {
        width: 86vw;
    }
    
    .header__text {
        width: 100%;
    }

    .services__text {
        max-width: 100%;
    }

    .item__text {
        font-size: clamp(0.75rem, 0.1985rem + 2.7149vw, 1.5rem);
        line-height: 1.3em;
    }

    .services__block {
        width: 88.5vw;
        display: grid;
        gap: 28px;
        grid-auto-rows: min-content;
        padding: 30px;
        margin: 0 auto;
        position: relative;
    }

    .services__block-container {
        position: relative;
    }
    
    .services__block-container::before {
        content: '';
        background: url(Frame__services.png) no-repeat top 10% center;
        background-size: 100%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    .services__block-container::after {
        content: '';
        background: url(Frame__services.png) no-repeat bottom 15% center;
        background-size: 100%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .services__item {
        width: 100%;
        margin: 0 auto;
    }

    .about {
        display: block;
        background: none;
        padding: 0;
    }

    .about__photo {
        width: 100vw;
        height: auto;
        box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.15);
        margin-bottom: 20px;
    }

    .about__info {
        width: 100vw;
        background: url(Frame_about.png) no-repeat center;
        background-size: contain;
        background-position: top;
        padding-top: 20px;
    }

    .about__content {
        width: 86vw;
        margin: 0 auto;
    }

    .about__title {
        font-size: clamp(2rem, 1.5404rem + 2.2624vw, 2.625rem);
    }

    .about__text {
        font-size: clamp(1rem, 0.4485rem + 2.7149vw, 1.75rem);
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

  @media (max-width: 576px) {

    .header__photo {
        height: 30vh;
    }

    .page__menu {
        width: 86vw;
        padding: 10px 47.3px;
    }

    .menu_mobile {
        display: block;
    }

    .menu__list_desktop {
        display: none;
    }

    .burger-checkbox {
        position: absolute;
        visibility: hidden;
    }

    .burger {
        z-index: 1;
        cursor: pointer;
        display: block;
        position: relative;
        border: none;
        background: transparent;
        width: 24.55px;
        height: 16px;
    }

    .burger::before, .burger::after {
        content: '';
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 10px;
        background: #000;
    }

    .burger::before {
        top: 0;
        box-shadow: 0 7px 0 #000;
        transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }

    .burger::after {
        bottom: 0;
        transition: bottom .3s .15s, transform .3s;
    }

    .menu__list_mobile {
        top: 0;
        left: 0;
        position: absolute;
        display: grid;
        gap: 12px;
        grid-auto-rows: min-content;
        margin: 0;
        background: #F7F8F3;
        transform: translateX(-100%);
        transition: .3s;
        width: 100vw;
        height: 100vh;
        padding-left: 50px;
        padding-top: 100px;
    }

    .menu-item {
        display: block;
        padding: 8px;
        color: white;
        font-size: 18px;
        text-align: center;
        text-decoration: none;
    }

    .menu-item:hover {
        background: rgba(255,255,255,.2)
    }

    .burger-checkbox:checked ~ .menu__list_mobile {
        transform: translateX(0);
    }

    .burger-checkbox:checked + .burger::before {
        top: 7px;
        transform: rotate(42deg);
        box-shadow: 0 6px 0 rgba(0,0,0,0);
        transition: box-shadow .15s, top .3s, transform .3s .15s;
    }

    .burger-checkbox:checked + .burger::after {
        bottom: 7px;
        transform: rotate(-42deg);
        transition: bottom .3s, transform .3s .15s;
    }

    .menu__item {
        font-size: 1.2em;
        color: black;
    }

    .advantages {
        background-size: contain;
    }

    .advantages__block {
        width: 86vw;
        margin: 0 auto;
        padding: 30px 15px;
    }

    .advantages__item {
        width: 78vw;
        height: 78vw;
    }

    .advantages__title {
        font-size: clamp(0.75rem, -0.383rem + 5.5777vw, 1.625rem);
    }

    .advantages__text {
        font-size: clamp(0.6875rem, 0.0401rem + 3.1873vw, 1.1875rem);
    }

    .advantages__info {
        width: 76%;
    }

    img {
        width: 30%;
    }

    .about__title {
        padding-top: 0;
    }

    /* .team__title {
        text-align: center;
        width: 86vw;
        margin: 80px auto 20px;
    }

    .team__block1, .team__block2 {
        width: 86vw;
        margin: 0 auto;
        gap: 30px;
    }

    .team__block1 {
        margin-bottom: 30px;
    }

    .team__img {
        width: 86vw;
        height: auto;
    }

    .team__name, .team__profecy {
        text-align: center;
    } */
  } 
