:root {
    --color-pink: #F266AB;
    --color-purple: #a5a1ff;
    --color-purple-2: #C78BF0;
    --color-yellow: #f7eb69;
    --color-gray: #ecedef;
}

@font-face {
    font-family: "Inter";
    font-style: "normal";
    font-weight: 300;
    src: url(../fonts/Inter-Light.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: "normal";
    font-weight: 400;
    src: url(../fonts/Inter-Regular.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: "normal";
    font-weight: 600;
    src: url(../fonts/Inter-SemiBold.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: "normal";
    font-weight: 700;
    src: url(../fonts/Inter-Bold.woff2) format('woff2');
    font-display: swap;
}

*,
::before,
::after {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    min-width: 360px;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 0 1rem;
    margin: 0 auto;
}

.section {
    margin: 0 auto;
    min-height: 100svh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 0rem;
}

.section--mini {
    min-height: auto;
}

.section--gray {
    background-color: var(--color-gray);
}

.h1 {
    font-weight: 700;
    font-size: 50px;
    margin-bottom: 1rem;
    margin-left: 8rem;
}

.biography__p {
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 1rem;
    max-width: 51%;
    margin-left: 8rem;
}

.accent__link {
    color: var(--color-pink);
    font-weight: 600;
    border-radius: 8px;
}

.accent__link:focus,
.accent__link:active,
.accent__link:focus:active {
    border: none;
    outline: 2px solid #000;
}

.accent {
    color: var(--color-pink);
    font-weight: 600;
}

#pricesHref {
    background-color: var(--color-yellow);
    color: #000;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s all ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    margin-top: 3rem;
    margin-left: 8rem;
}

.pricesArrow {
    height: 30px;
    width: 30px;
    transform: rotate(180deg);
    margin-left: 1rem;
}

#pricesHref:hover,
#pricesHref:focus {
    transform: translateY(4px);
}

#main {
    position: relative;
    background-image: radial-gradient(#ebe4ff, #dbc8fd, #cfaaf8, #c78bf0, #f7eb69, #FF7FA6);
    z-index: 1;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    background-size: 300%;
    animation: gradient 12s infinite alternate;
    overflow: hidden;
}

@keyframes gradient {
    0% {
        background-position: right;
    }

    100% {
        background-position: left;
    }
}

#main-photo {
    position: absolute;
    bottom: 0;
    left: calc(50% + 170px);
    height: 720px;
    z-index: -1;
    pointer-events: none;
}

.feedbacks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feedback {
    border-radius: 24px;
    background-image: linear-gradient(to right top, #a5a1ff, #ad9cfc, #b697f9, #bf91f5, #c78bf0);
    width: 23%;
    padding: 1rem 1rem 2rem;
    position: relative;
    /* margin-bottom: 4rem; */
}

.feedback__img-wrapper {
    position: relative;
    z-index: 1;
    height: 100px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback__img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
    outline: 4px solid var(--color-yellow);
    border-radius: 24px;
}

.feedback__emoji {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    outline: 4px solid var(--color-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback__header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feedback__title {
    padding: 0 1rem;
}

.feedback__name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0.1rem;
}

.feedback__status {
    font-weight: 600;
    font-size: 16px;
}

.feedback__text {
    font-size: 18px;
}

.tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.tile {
    width: 24%;
    border-radius: 24px;
    background-image: linear-gradient(to right bottom, #a5a1ff, #ad9cfc, #b697f9, #bf91f5, #c78bf0);
    height: auto;
    margin-bottom: 2rem;
    padding: 2rem 1.4rem;
}

.tile--xl {
    width: 46%;
}

.tile--m {
    width: 28%;
}

.tile--l {
    width: 40%;
}

.tile--full {
    width: 100%;
}

.tile--gray {
    background-image: none;
    background-color: var(--color-gray);
}

.tile--gray .tile__title,
.tile--gray .tile__text {
    color: #000;
}

.tile--yellow {
    background-image: none;
    background-color: var(--color-yellow);
}

.tile--blue {
    background-image: none;
    background-color: var(--color-pink);
}

.tile--blue .tile__title,
.tile--blue .tile__text {
    color: #fff;
}

.tile--bordered {
    background-image: none;
    border: 4px solid var(--color-purple);
}

.tile__title {
    font-size: 23px;
    margin-bottom: 1rem;
}

.tile__text {
    font-size: 1.3rem;
    line-height: 1.6;
}

.tile__text+.tile__text {
    margin-top: 1rem;
}

.tile__text strong {
    font-weight: 600;
}

.tile__ul {
    padding-left: 1.5rem;
}

.tile__li {
    font-size: 18px;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.h2 {
    font-weight: 700;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.h2::before {
    content: '';
    z-index: -1;
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 10%;
    right: 0;
    height: 40%;
    background-color: var(--color-yellow);
}

.h2--purple::before {
    background-color: var(--color-purple);
}

.center {
    text-align: center;
}

.section__content {
    width: 100%;
    display: block;
}

.h-flat::before {
    content: none;
}

.mb-1r {
    margin-bottom: 1rem;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

.header__content {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto;
    justify-content: center;
    gap: 15rem;
}

.contact-me {
    display: inline-flex;
    font-size: 21px;
    background-color: var(--color-pink);
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: 0.2s background-color ease;
    border: none;
    justify-content: center;
}

.contact-me--big {
    width: 100%;
    margin-top: 3rem;
    border-radius: 34px;
}

.contact-me:hover,
.contact-me:focus {
    background-color: #000;
    color: #fff;
}

#contact-me:focus,
#contact-me:active,
#contact-me:focus:active {
    border: none;
    outline: 2px solid #000;
}

.header__nav {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.header__nav-link {
    text-decoration: none;
    font-size: 1.3rem;
    color: #000;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    height: calc(60px + 2rem);
    width: 100%;
}

.header__nav-link:hover,
.header__nav-link:focus {
    outline: none;
    text-decoration: underline;
}

.faq {
    padding: 1rem;
    border-radius: 34px;
    outline: 2px solid #000;
    overflow: hidden;
}

.faq+.faq {
    margin-top: 2.2rem;
}

.faq__title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq__text {
    font-size: 1.5rem;
}

.map {
    margin: -1rem;
    margin-top: 2rem;
    height: 600px;
    max-height: 60svh;
}

.prices__container {
    margin: 0 auto;
    border-radius: 34px;
    padding: 1rem;
    width: 900px;
    background-color: var(--color-yellow);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.prices__item {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.5rem;
    border-radius: 24px;
    background-color: transparent;
    transition: 0.2s all ease;
    gap: 3rem;
}

.prices__item+.prices__item {
    margin-top: 0.5rem;
}

.prices__item::after {
    content: '';
    flex-grow: 1;
    flex: 1;
    border-bottom: 2px dashed #000;
    order: 2;
}

.prices__item:hover {
    background-color: var(--color-pink);
}

.prices__title {
    font-size: 1.3rem;
    order: 1;
    font-weight: 600;
    max-width: 60%;
}

.prices__price {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0.5rem;
    order: 3;
}

.prices__price strong {
    font-size: 2rem;
}

.prices__price .rub {
    font-size: 2rem;
    font-weight: 600;
}

.prices__item:hover .prices__title,
.prices__item:hover .prices__price {
    color: #fff;
}

.prices__item:hover::after {
    border-bottom: 2px dashed #fff;
}

.prices__text {
    padding: 0.5rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.free__text {
    text-align: center;
    font-weight: 700;
    color: var(--color-pink);
    font-size: 30px;
}

.footer {
    background-color: var(--color-purple);
    padding: 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__text {
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
}

.form__container {
    margin: 0 auto;
    border-radius: 34px;
    width: 500px;
    background-color: #fff;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.submit {
    width: 100%;
    margin-top: 1rem;
    border-radius: 34px;
    display: inline-flex;
    font-size: 21px;
    background-color: var(--color-yellow);
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 1rem 2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: 0.2s background-color ease;
    border: none;
    justify-content: center;
}

.submit:hover,
.submit:focus {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}

.input__block {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.label {
    font-size: 1.4rem;
    font-weight: 400;
    width: 40%;
    text-align: left;
}

.input {
    font-size: 1.4rem;
    font-weight: 400;
    width: 60%;
    border: 2px solid var(--color-purple-2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
}

.input::placeholder {
    font-family: "Inter", Arial, sans-serif;
}

.input--100 {
    width: 100%;
}

.input--textarea {
    resize: none;
    height: 7rem;
}

.mtop--3 {
    margin-top: 3rem;
}

#flower-1 {
    position: absolute;
    bottom: 26rem;
    left: 7%;
    fill: var(--color-yellow);
}

#flower-2 {
    position: absolute;
    bottom: 6rem;
    left: 16%;
    fill: var(--color-yellow);
}

#flower-3 {
    position: absolute;
    top: 9rem;
    right: 14%;
    fill: var(--color-yellow);
}

#moon {
    position: absolute;
    top: 12rem;
    right: 7rem;
    fill: var(--color-pink);
}

#frog {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -50px;
}

@media (max-width: 1499px) {
    #main-photo {
        height: 620px;
        left: calc(50% + 150px);
    }

    .container {
        max-width: 1280px;
    }

    .biography__p {
        font-size: 24px;
        margin-left: 9rem;
    }

    .header__content {
        gap: 9.5rem;
    }

    .header__nav-link {
        font-size: 1.2rem;
        height: calc(54px + 2rem);
    }

    .contact-me {
        padding: 0.8rem 1rem;
    }

    #pricesHref {
        padding: 0.8rem 1rem;
        margin-left: 9rem;
    }

    .h1 {
        font-size: 45px;
        margin-left: 9rem;
    }

    .h2 {
        font-size: 2.1rem;
        margin-bottom: 3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .tile {
        padding: 1.4rem 1rem;
    }

    .tile__text {
        line-height: 1.4;
        font-size: 1.2rem;
    }

    .tile__title {
        font-size: 20px;
    }

    .mb-1r {
        margin-bottom: 1rem;
    }

    #flower-1 {
        bottom: 26rem;
        left: 6%;
    }

    #flower-3 {
        top: 9rem;
        right: 16%;
    }
}

@media (max-width: 1299px) {
    .container {
        max-width: 1140px;
    }

    .header__content {
        gap: 8.8rem;
    }

    .feedback {
        width: 49%;
        margin-bottom: 2rem;
    }

    #main-photo {
        max-height: 80%;
    }

    .h1,
    .biography__p,
    #pricesHref {
        margin-left: 5rem;
    }

    #flower-1 {
        left: 4%;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }

    .section {
        padding: 2rem 0;
    }

    #flower-1 {
        display: none;
    }

    .h1,
    .biography__p,
    #pricesHref {
        margin-left: 0rem;
    }

    .h1 {
        font-size: 38px;
        margin-bottom: 0.6rem;
    }

    .biography__p {
        max-width: 65%;
        font-size: 23px;
        margin-bottom: 0.6rem;
    }

    .header__content {
        gap: 1rem;
        justify-content: space-between;
    }

    #flower-3 {
        top: 6rem;
        right: 40%;
        height: 50px;
        width: 50px;
    }

    #main-photo {
        height: 560px;
        right: 10%;
        left: auto;
    }

    #main {
        border-bottom-right-radius: 0;
    }

    #pricesHref {
        margin-top: 2rem;
    }

    .tile:not(.tile--full, .tile--xl, .tile--sm-full) {
        width: 48%;
    }

    .tile--xl,
    .tile--sm-full {
        width: 100%;
    }

    .tiles {
        margin-bottom: 0;
    }

    .faq__title {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .faq__text {
        font-size: 1.2rem;
    }

    .map {
        margin-top: 1rem;
    }

    .prices__container {
        width: 100%;
    }

    .feedback__name {
        margin-bottom: 0;
    }

    .feedback__title {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 979px) {
    .container {
        max-width: 100%;
    }

    .section {
        min-height: auto;
    }

    #main {
        padding: 9rem 0 8rem;
    }

    .h2 {
        margin-bottom: 2rem;
    }

    .form__container {
        margin: 0 auto;
        width: 100%;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .header__nav {
        flex-wrap: wrap;
        gap: 0;
    }

    .header__nav-li {
        width: 50%;
    }

    .header__nav-link {
        height: 2rem;
    }

    .hidden--979 {
        display: none;
    }

    .header__content {
        margin-top: 1rem;
    }

    .biography__p {
        font-size: 21px;
    }

    #main-photo {
        right: 0%;
    }

    .prices__container {
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .prices__item+.prices__item {
        margin-top: 0;
    }

    .prices__item {
        gap: 1rem;
    }

    .prices__title {
        font-size: 1.1rem;
        max-width: 78%;
    }

    .prices__price {
        font-size: 1.2rem;
        gap: 0.3rem;
    }

    .prices__price strong {
        font-size: 1.4rem;
    }

    .prices__price .rub {
        font-size: 1.3rem;
    }

    .prices__text {
        font-size: 1rem;
    }

    .prices__item::after {
        display: none;
    }

    .contact-me {
        margin-top: 1rem;
    }

    .free__text {
        font-size: 23px;
    }

    .feedback {
        width: 100%;
    }

    .feedback__header {
        margin-bottom: 1rem;
    }

    .footer {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding-bottom: 1rem;
    }

    .header__content {
        display: block;
    }

    .header__nav-link {
        justify-content: center;
    }

    #main {
        padding-top: 5rem;
        padding-bottom: 2rem;
        border-radius: 0;
        /* border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px; */
    }

    .h1 {
        font-size: 30px;
        text-align: center;
    }

    .tile:not(.tile--full, .tile--xl, .tile--sm-full) {
        width: 100%;
    }

    .tile {
        padding: 1.2rem 0.8rem;
    }

    .header__content {
        margin-top: 0.8rem;
    }

    .header__nav-link {
        font-size: 1.1rem;
        height: 1.8rem;
    }

    .h2 {
        margin-bottom: 1rem;
        font-size: 28px;
        letter-spacing: -1px;
    }

    .h2::before {
        right: 5%;
        left: 5%;
    }

    .contact-me {
        width: 100%;
        margin-top: 0;
        padding: 0.5rem;
    }

    .biography__p {
        max-width: 100%;
        font-size: 18px;
        position: relative;
        z-index: 1;
        text-align: center;
        margin-bottom: 1rem;
    }

    .biography__p:not(.biography__p--margin):before {
        position: absolute;
        content: '';
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        background-color: var(--color-pink);
        border-radius: 12px;
        z-index: -1;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

    .biography__p--margin {
        margin-bottom: 22rem;
    }

    #pricesHref {
        width: 100%;
        font-size: 18px;
        padding: 0.5rem;
        margin-top: 0;
        margin-bottom: 1.2rem;
    }

    .pricesArrow {
        height: 24px;
        width: 24px;
    }

    #main-photo {
        height: 380px;
        right: calc(50% - 117px);
    }

    #flower-3 {
        display: none;
    }

    .nav {
        display: none;
    }

    .accent__link,
    .accent {
        color: #000;
    }

    .tile__ul {
        padding-left: 1rem;
    }

    .tile__title {
        letter-spacing: -0.5px;
        margin-bottom: 0.5rem;
    }

    .tile__text+.tile__text {
        margin-top: 0.5rem;
    }

    .tile__text {
        letter-spacing: -0.5px;
    }

    .tile__li {
        line-height: 1.4;
        letter-spacing: -0.5px;
    }

    .faq__title {
        font-size: 1.2rem;
    }

    .faq__text {
        font-size: 1.1rem;
    }

    .feedback__title {
        gap: 0.4rem;
        flex-direction: column;
    }

    .footer__text {
        font-size: 1.1rem;
    }

    .footer {
        padding: 1rem;
    }

    .submit {
        padding: 1rem;
        margin-top: 0;
    }

    .prices__text {
        margin-bottom: 1rem;
    }

    .prices__item {
        display: block;
        background-color: var(--color-yellow);
        margin-bottom: 1rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

    .prices__title {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .prices__price {
        justify-content: center;
    }

    .prices__container {
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }

    .input {
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    .mtop--3 {
        margin-top: 2rem;
    }

    .free__text {
        font-size: 21px;
        line-height: 1;
    }

    .hidden--767 {
        display: none;
    }
}

@media (max-device-height: 700px) {
    #main {
        min-height: 100svh;
    }

    #pricesHref {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }
}