@font-face {
    font-family: 'Gilroy-SemiBold';
    src: url('resources/Gilroy-SemiBold.ttf');
}

@font-face {
    font-family: 'Gilroy-Medium';
    src: url('resources/Gilroy-Medium.ttf');
}

:root {
    --background-color: #E0E6EA;
    --background-clear: #FFFFFF;
    --background-light: rgba(224, 230, 234, 0.48);
    --text-primary: #151515;
    --text-secondary: #577673;
    --accent: #2F5954;
    --red: #FF4545;
}

body, html {
    font-family: 'Gilroy-Medium', Arial, Helvetica, sans-serif;
    padding: 12px;
    margin: 0;
    background-color: var(--background-color);
    -webkit-font-smoothing: subpixel-antialiased; 
}

h1, h2, h3 {
    letter-spacing: normal;
    font-weight: 400;
    margin-block-start: 0;
    margin-block-end: 0;
}

.flex-center {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.flex-horizontal {
    display: flex;
    flex-direction: row;
}

.flex-vertical {
    display: flex;
    flex-direction: column;
}

.gap-2 {
    gap: 2px;
}

.gap-12 {
    gap: 12px;
}

.card {
    background-color: var(--background-clear);
    border-radius: 16px;
    overflow: hidden;
}

.padding-0 {
    padding: 0;
}

.padding-16-24 {
    padding: 12px 16px 16px 18px;
    box-sizing: border-box;
}

.width-max {
    width: 100%;
    max-width: 640px;
}

.video {
    height: 220px;
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    border-radius: 16px;
    overflow: hidden;
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
}

/* Link in press-kit */
.doc-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: var(--background-light);
    border-radius: 8px;
    margin-bottom: 8px;
}

.doc-link a {
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    flex: 1 0 auto; 
    overflow-wrap: anywhere;
    transition: 0.3s;
}

/* Price block */
.price h3 {
    margin-bottom: 2px;
}

.price h1 {
    margin: 0 0 -1 0;
}

.price > d {
    margin: 0 0 12px 0;
    display: block;
}

.price-flex {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-content: stretch;
    gap: 4px;
}

.price-additional-flex {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-content: stretch;
    gap: 24px;
}

.price-additional-flex h3 {
    margin-bottom: 0;
}

.price-additional-flex d {
    display: block;
    margin: -1px 0 0 0;
}

.price-flex div {
    flex: 0 1 50%;
}

.leningrad {
    transition: 0.3s;
}

.leningrad:hover {
    background-color: var(--text-secondary);
    transition: 0.5s;
}

/* Contacts block */

.contacts img {
    width: 126px;
    height: 112px;
    margin-bottom: 6px;
}

.contacts a {
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

.contacts a:hover {
    color: var(--accent);
}

/* Alert */
.alert {
    color: var(--accent);
}

.alert d {
    display: block;
    padding: 0 4px;
}

.alert h2 {
    margin: 0;
    padding: 0 4px;
}

/* Songs block */
.songs ul {
    padding: 0;
    list-style: none;
    margin: 16px 0 0 0;
    color: var(--text-primary);
}

.red-links a {
    color: var(--red);
}

.songs ul>li {
    margin-bottom: 6px;
}

.songs ul>li::before {
    content: "—"; 
    color: var(--text-secondary);
    margin-right: 8px;
}

.songs h2 {
    color: var(--accent
    );
}

/* About blocks */
.vocal {
    overflow: visible;
    align-items: flex-end;
    flex: 0 1 auto;
    height: 140px;
    justify-content: center;
    gap: 24px;
}

.people {
    align-items: center;
    flex: 0 1 50%;
}

.vocal img {
    width: 202px;
    height: 150px;
    display: inline-block;
}

.about p {
    line-height: 18px;
    margin-bottom: 2px;
}

.accent {
    color: var(--accent);
}

/* Text styles */
h1 {
    font-family: 'Gilroy-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

h2 {
    font-family: 'Gilroy-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

h3 {
    font-family: 'Gilroy-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--accent);
    margin: 0 0 8px 0;  
}

p {
    font-family: 'Gilroy-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    color: var(--text-primary);
}

d {
    font-size: 14px;
    line-height: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
    font-family: 'Gilroy-Medium', Arial, Helvetica, sans-serif;
}

a {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--accent);
}

/* features */

.features {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    max-width: 640px;
    gap: 12px;
    margin-bottom: 8px;
}

.about-title {
  color: var(--accent);
  font-size: 60px;
  line-height: 44px;
  margin: 8px 8px 4px 0;
}

.vocal-photo {
  height: 140px;
}

.element {
    flex-grow: 1;
    flex-basis: 25%;
    padding: 14px 20px 16px 20px;
}

.element p {
  line-height: 18px;
  margin-bottom: 6px;
}

.element:nth-child(1) {
    flex-basis: 360px;
    flex-grow: 4;
    height: 140px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: visible;
    gap: 16px;
    padding: 0;
    order: 1;
}

.element:nth-child(2) {
  display: flex;
  flex-basis: 150px;
  flex-direction: column;
  justify-content: center;
  order: 2;
}

.element:nth-child(3) {
  flex-basis: 35%;
  flex-grow: 1;
  order: 3;
}

.element:nth-child(4) {
  flex-basis: 35%;
  flex-grow: 1;
  order: 4;
}

.element:nth-child(5) {
    order: 5;
    padding: 14px 20px 10px 20px;
}

.element:nth-child(6) {
    order: 6;
    padding: 14px 20px 10px 20px;
}

.element:nth-child(7) {
    order: 7;
    padding: 14px 20px 10px 20px;
    display: flex;
    align-items: center;
}

.element:nth-child(8) {
  display: flex;
  flex-direction: row;
  flex-basis: 90%;
  justify-content: space-between;
  align-items: self-end;
  padding: 0 48px;
  height: 140px;
  overflow: visible;
  order: 8;
}

/* Input */
input {
    border-radius: 12px;
    height: 42px;
    width: 100%;
    padding: 4px 16px 4px 44px;
    border: 1px solid var(--background-clear);
    color: var(--text-primary);
    background-color: var(--background-clear);
    -webkit-appearance: none;
    transition: 0.3s;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Gilroy-Medium', Arial, Helvetica, sans-serif;
}

input::placeholder {
    color: var(--text-secondary);
    font-size: 15px;
    font-family: 'Gilroy-Medium', Arial, Helvetica, sans-serif;
    border: none;
}

input:focus  {
    outline: none;
    border: 1px solid var(--accent);
}

search {
    position: relative;
}

search::before {
    content: '';
    background: url('resources/icons/search.svg') center no-repeat;
    position: absolute;
    width: 24px;
    height: 100%;
    left: 14px;
}

/* Media */
@media screen and (max-width: 600px) {
    body {
      padding: 4px;
    }

    .price {
        flex-direction: column;
    }

    .price-list {
        flex-direction: column;
        gap: 8px;
    }

    .doc-link a {
        width: calc(100vw - 136px);
        overflow: hidden;
    }

    .price-additional-flex {
        flex-direction: column;
        gap: 12px;
    }

    .about {
        flex-direction: column;
    }

    .audio-prod {
        flex-direction: row;
    }

    .video {
        height: 150px;
    }

    .people h1 {
        font-size: 40px;
        line-height: 32px;
    }

    .element:nth-child(2) {
        padding: 12px 12px 10px 16px;
        order: 5;
        flex-grow: 1;
        flex-basis: 34%;
    }

    .element:nth-child(2) h1 {
        font-size: 24px;
        line-height: 20px;
    }

    .element:nth-child(2) p {
        font-size: 14px;
        line-height: 14px;
    }

    .element:nth-child(5) {
        padding: 14px 16px 10px 16px;
        order: 6    ;
    }

    .element:nth-child(6) {
        padding: 14px 16px 10px 16px;
    }

    .element:nth-child(7) {
        order: 5;
        flex-basis: 30%;
        flex-grow: 1;
    }

    .features {
        gap: 8px;
    }

    .element:nth-child(8) {
        padding: 0;
    }

    .contacts {
        flex-direction: column;
    }
   
    .contact {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }

    .contact img {
        width: 30%;
        height: auto;
    }
  }

  @media screen and (max-width: 514px) {
    .contacts h2 {
        width: 120px;
    }

    .element:nth-child(4) p {
        width: 100px;
    }
  }