:root {
    --surface-color: #fff;
    --curve: 40;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Inter-Regular.woff2?v=3.19") format("woff2"),
        url("../fonts/Inter-Regular.woff?v=3.19") format("woff");
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"),
        url("../fonts/Inter-SemiBold.woff?v=3.19") format("woff");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #faf4f0;
}

p,
a,
h1,
h3 {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

#sticky-header {
    padding: 10px;
    background: #faeee6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#sticky-header>.header-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
}

#sticky-header img {
    padding: 10px;
    height: 45px;
    fill: #80634d;
}

#sticky-header>.header-content>.nav-items>a {
    color: #80634d;
    font-size: 16px;
    text-decoration: none;
    margin: 15px;
    position: relative;
    opacity: 0.75;
    transition: 0.15s;
}

#sticky-header>.header-content>.nav-items>a:hover {
    color: #80634d;
    text-decoration: underline;
    opacity: 1.0;
    transition: 0.05s;
}

#top {
    width: 100%;
    margin-top: -22px;
    background: #faeee6;
}

#top img {
    display: block;
    margin: 0 auto;
    height: 100vh;
}

#sticky-header .burger {
    font-size: 1.5em;
    color: #80634d;
    cursor: pointer;
    display: none;
    transition: 0.3s;
}

#bio {
    padding: 150px;
    margin: 0 auto;
    max-width: 1600px;
}

#graphic-designer {
    padding-top: 150px;
    padding-bottom: 150px;
    margin: 0 auto;
    max-width: 1600px;
}

.bio-content,
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bio-left img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.content-right img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.content-left {
    width: 35%;
}

.content-right {
    width: 65%;
}

.bio-left,
.bio-right {
    width: 47%;
    /* Или другой процент, чтобы добавить небольшое пространство между контейнерами */
}

.bio-right h1 {
    line-height: 1.4;
    margin-bottom: 36px;
    color: #664f3d;
    font-weight: 600;
    font-size: 2.2rem;
}

.bio-right p,
.content-left p {
    color: #4d4845;
}

.content-left h3 {
    line-height: 1.2;
    margin-bottom: 36px;
    color: #664f3d;
    font-weight: 600;
    font-size: 1.6rem;
}

.extra-img {
    display: block;
    margin: 0 auto;
    padding: 100px;
    max-width: 1000px;
}

button {
    background-color: transparent;
    color: #664f3d;
    font-family: 'Inter', sans-serif;
    border: 1px solid #664f3d;
    letter-spacing: -0.3px;
    font-size: 1.1rem;
    padding: 6px 24px 6px 24px;
    border-radius: 10px;
    margin-top: 36px;
    transition: 0.1s;
}

button:hover {
    color: #faf4f0;
    background-color: #664f3d;
    transition: 0.05s;
    cursor: pointer;
}

#clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 5% 150px 5%;
    background-color: #faeee6;
}

#clients p {
    color: #4d4845;
    margin: 5px;
    text-align: center;
    line-height: 1.6;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1600px;
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.clients-logos img {
    width: 150px;
    height: auto;
    margin: 20px;
    transform: scale(1.0);
    transition: 0.2s;
}

.clients-logos img:hover {
    transform: scale(1.1);
    transition: 0.1s;
}

#software, .contact-content {
    padding: 150px;
    margin: 0 auto;
    max-width: 1600px;
}

#software h3 {
    font-size: 2.5rem;
    color: #664f3d;
    line-height: 1.4;
}

#software p {
    margin-top: 25px;
    color: #4d4845;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 80px;
    list-style-type: none;
}

.card {
    position: relative;
    display: block;
    height: 100%;
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
}

.card__image {
    width: 100%;
    height: auto;
}

.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: calc(var(--curve) * 1px);
    background-color: var(--surface-color);
    transform: translateY(100%);
    transition: .2s ease-in-out;
}

.card:hover .card__overlay {
    transform: translateY(0);
}

.card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2em;
    padding-top: 1em;
    padding-right: 1.5em;
    padding-bottom: 1em;
    padding-left: 1.5em;
    border-radius: calc(var(--curve) * 1px) 0 0 0;
    background-color: var(--surface-color);
    transform: translateY(-100%);
    transition: .2s ease-in-out;
}

.card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 1;
}

.card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}

.card:hover .card__header {
    transform: translateY(0);
}

.card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    padding: 7px;
    border-radius: 50%;
    background: #faeee6;
}

.card__title {
    font-size: 1.12em !important;
    line-height: normal !important;
}

.card__tagline {
    display: block;
    margin: 1em 0;
    font-size: .8em;
    color: #D7BDCA;
}

.card__status {
    font-size: .8em !important;
    color: #4d4845;
}

.card__description {
    padding: 0 2em 1.5em;
    margin-top: 0 !important;
    font-size: .8em !important;
    margin: 0;
    color: #4d4845;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#music {
    background-image: url('../img/music-content-bg.jpg');
    background-size: cover;
    background-position: center;
}

.music-content, .contact-content {
    padding: 150px;
    margin: 0 auto;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.music-content h3 {
    color: white !important;
    font-weight: 600;
    font-size: 2.5rem;
}

.music-content p {
    font-family: 'Old Standard TT', sans-serif;
    font-size: 1.2rem;
    letter-spacing: -1px;
    font-weight: 400;
    color: #dbe2db;
}

.music-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 1em;
    padding: 35px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(15px);
}

.music-card p {
    font-family: 'Inter', sans-serif !important;
    color: white;
    text-align: center;
    letter-spacing: -1px;
}

.music-card p:nth-child(1) {
    font-weight: 600;
    font-size: 2rem;
}

.music-content-left {
    width: 35%;
}

.music-content-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
    width: 60%;
}

.music-card-button {
    margin: 0 auto;
    width: 100%;
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px;
    font-size: 1.1rem;
    padding: 6px 24px 6px 24px;
    border-radius: 10px;
    transition: 0.1s;
}

.spotify {
    color: #1ED760;
    border: 1px solid #1ED760;
    filter: saturate(0.8) brightness(1.5);
}

.apple-music {
    color: #fc3c44;
    border: 1px solid #fc3c44;
    filter: saturate(0.6) brightness(2.4);
}

.youtube {
    color: #FF0000;
    border: 1px solid #FF0000;
    filter: saturate(0.4) brightness(6.4);
}

.genius {
    color: #ffff64;
    border: 1px solid #ffff64;
    filter: saturate(0.5) brightness(1);
}

.music-card-button:hover {
    color: #faf4f0;
    transition: 0.05s;
    cursor: pointer;
}

.spotify:hover {
    background-color: #1ED760;
    filter: none;
}

.apple-music:hover {
    background-color: #fc3c44;
    filter: none;
}

.youtube:hover {
    background-color: #FF0000;
    filter: none;
}

.genius:hover {
    background-color: #ffff64;
    color: #141616;
    filter: none;
}

.contact-content-left {
    width: 35%;
}

.contact-content-right {
    width: 35%;
}

#contactForm {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: white;
    border-radius: 40px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.15);
}

#contactForm label {
    font-family: 'Inter', sans-serif;
    color: #80634d;
    margin-bottom: 5px;
}

#contactForm input, #contactForm textarea {
    font-family: 'Inter', sans-serif;
    color: #4d4845;
    border: 1px solid #80634d;
    padding: 3px 7px 3px 7px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: 0.1s;
    outline: none;
    resize: none;
}

#contactForm input:hover, #contactForm textarea:hover {
    transition: 0.05s;
    box-shadow: 0px 0px 7px rgba(128,99,77,0.25);
}

#contactForm input:focus, #contactForm textarea:focus {
    transition: 0.1s;
    border: 1px solid #664f3d;
    padding: 5px 7px 5px 7px;
}

.error {
    transition: 0.6s;
    border: 1px solid #fc3c44 !important;
}

#contact {
    background: #faeee6;
}

.contact-content-left h3 {
    font-size: 2.4rem !important;
    color: #664f3d !important;
    line-height: 1.3;
    margin-bottom: 40px;
}

.contact-content-left p {
    color: #4d4845;
}

.contact-content-category {
    display: flex;
    flex-direction: row;
    padding: 18px;
    background: white;
    border-radius: 20px;
    gap: 1.2em;
    margin-top: 10px;
}

.contact-content-category img {
    fill: #80634d;
    height: 100%;
}

.contact-content-category p {
    color: #664f3d !important;
}

footer {
    background: #4d4845;
    color: #b29e93 !important;
    font-size: 0.8rem !important;
}

footer a {
    color: #c9b6ab !important;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.1s;
}

footer a:hover {
    text-decoration: underline;
    transition: 0.05s;
}

.footer-content {
    margin: 0 auto;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    box-sizing: border-box;
    padding: 100px 10px 75px 10px;
    gap: 1em;
}

.footer-content-column {
    display: flex;
    flex-direction: column;
}

.footer-content-column:nth-child(1) {
    width: 40%;
    padding-right: 10%;
}

.footer-content-column img {
    max-width: 250px;
    margin-bottom: 40px;
}

.footer-content-column h3 {
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.footer-group {
    width: 40%;
    display: flex;
    flex-direction: row;
}

.footer-group:nth-child(1) {
    justify-content: space-evenly;
    width: 60%;
}

@media only screen and (max-width: 1600px) {
    #graphic-designer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .music-content-right,
    .footer-content {
        flex-direction: column;
        gap: 1em;
    }

    .contact-content-left,
    .contact-content-right,
    .footer-content-column {
        width: 45%;
        max-width: 500px;
    }

    .footer-content {
        align-items: center;
        gap: 5em;
    }

    .footer-group {
        justify-content: space-evenly;
        width: 100%;
    }

    .footer-group:nth-child(1) {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    #sticky-header .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        /* или любое другое значение в зависимости от вашего дизайна */
        left: 0;
        width: 100%;
        background-color: #faeee6;
        z-index: 1;
    }

    #sticky-header .nav-items.show {
        display: flex;
    }

    #sticky-header .burger {
        display: block;
    }

    #sticky-header .burger::before {
        content: '\2630';
        /* Юникод для бургера */
    }

    #sticky-header .burger.cross::before {
        content: '\00D7';
        /* Юникод для крестика */
    }

    #top {
        height: 100vh;
        display: flex;
        align-items: center;
    }

    #top img {
        width: 90%;
        height: auto;
    }

    #bio,
    #software,
    .music-content,
    .contact-content,
    .footer-content {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .bio-content,
    .content {
        flex-direction: column;
    }

    .bio-left,
    .bio-right,
    .content-left,
    .content-right,
    .footer-content,
    .footer-content-column,
    .footer-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bio-left img {
        margin-bottom: 100px;
        max-width: 95%;
    }

    .content-right img {
        margin-top: 100px;
        max-width: 95%;
    }

    .bio-right p,
    .bio-right h1,
    .content-left p,
    .content-left h3,
    .footer-group {
        text-align: center;
    }

    .extra-img,
    .footer-content-column img,
    .footer-content-column:nth-child(1) {
        padding: 5%;
        width: 95%;
    }

    .clients-logos {
        padding: 5% 50px 5% 50px;
        justify-content: center;
    }

    .clients-logos img {
        width: 75%;
    }

    .software-title,
    .software-desc {
        text-align: center;
    }

    .music-content, .contact-content {
        flex-direction: column;
    }

    .music-content-left, .music-content-right,
    .contact-content-left, .contact-content-right {
        width: 100%;
        text-align: center;
    }

    .music-content-right, .contact-content-right {
        margin-top: 100px;
    }

    .footer-content {
        gap: 0em;
        padding-top: 100px;
    }

    .footer-content-column:nth-child(1) {
        margin-bottom: 50px;
    }

    .footer-group {
        margin-bottom: 50px;
    }
}