@charset "UTF-8";
/*Обнуление*/
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*--------------------*/
@media (min-width: 768px) {
  .container {
    max-width: 1220px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 54px;
  }
  .block {
    padding: 80px 0;
    background: #151415;
  }
  .block h2 {
    color: var(--2024-Rio, var(--Light-grey, #f5f5f5));
    /* 2024/H1 */
    font-family: "Druk Cyr";
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%; /* 64.8px */
    text-transform: uppercase;
  }
  .block_wrapper {
    width: 100%;
    display: flex;
    gap: 20px;
    height: auto;
    max-height: 513px;
  }
  .block_item {
    position: relative;
    min-width: calc(10% - 20px);
    padding: 40px 0;
    border-radius: 20px;
    aspect-ratio: 1/4;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
    cursor: pointer;
    /* Указываем конкретные свойства для плавной анимации */
    transition: min-width 0.5s ease-in-out, aspect-ratio 0.5s ease-in-out;
    /* Стили для цветовых вариантов */
  }
  .block_item .text {
    position: absolute;
    visibility: visible;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    opacity: 1;
    padding: 0 28%;
    transition: opacity 0.5s;
  }
  .block_item .decoration {
    max-height: 300px;
    width: auto;
    align-self: center;
  }
  .block_item h3 {
    font-family: "Druk Cyr";
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 61.6px */
    text-transform: uppercase;
    margin-bottom: 10px;
    white-space: nowrap;
  }
  .block_item p {
    white-space: nowrap;
    color: var(--2024-London, var(--London, #151415));
    font-family: "Roboto Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 21.6px */
    margin-bottom: 18px;
    flex: 1;
  }
  .block_item h3,
  .block_item p,
  .block_item .decoration {
    display: none;
  }
  .block_item.active {
    min-width: calc(50% - 20px);
    aspect-ratio: 1/0.9;
    padding: 24px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .block_item.active h3,
  .block_item.active p,
  .block_item.active .decoration {
    display: block;
  }
  .block_item.active .text {
    visibility: hidden;
    opacity: 0;
  }
  .block_item.purple {
    background: #edceff;
  }
  .block_item.purple h3 {
    color: #9f65bf;
  }
  .block_item.yellow {
    background: #f6f892;
  }
  .block_item.yellow h3 {
    color: #acbb2f;
  }
  .block_item.white {
    background: #fff7fb;
  }
  .block_item.white h3 {
    color: #ff4e8e;
  }
  .block_item.blue {
    background: #b5e0ff;
  }
  .block_item.blue h3 {
    color: #4692c9;
  }
  .block_item.darkpurple {
    background: #9f65bf;
  }
  .block_item.darkpurple h3 {
    color: #edceff;
  }
  .block_item.darkpurple p {
    color: var(--2024-Berlin, #fff);
  }
  .block_item.green {
    background: #acbb2f;
  }
  .block_item.green h3 {
    color: #f6f892;
  }
  .block_item.green p {
    color: var(--2024-Berlin, #fff);
  }
}
@media (min-width: 768px) and (max-width: 1220px) {
  .block_item .decoration {
    max-height: 55%;
  }
  .block_item h3 {
    font-size: 40px;
  }
  .block_item.active {
    padding: 16px;
  }
  .block_item p {
    font-size: 14px;
  }
  .block_item {
    border-radius: 10px;
  }
  .block_wrapper {
    gap: 10px;
  }
  .block_item .text {
    padding: 0 14%;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .block {
    padding-top: 50px;
    padding-bottom: 70px;
    background: #151415;
  }
  .block h2 {
    color: var(--2024-Rio, var(--Light-grey, #f5f5f5));
    /* 2024/H1 */
    font-family: "Druk Cyr";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%; /* 64.8px */
    text-transform: uppercase;
  }
  .block_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: auto;
  }
  .block_item {
    position: relative;
    width: 100%;
    padding: 24px;
    border-radius: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    cursor: pointer;
    max-height: 90px;
    /* Указываем конкретные свойства для плавной анимации */
    transition: max-height 0.5s ease-in-out, aspect-ratio 0.5s ease-in-out;
    /* Стили для цветовых вариантов */
  }
  .block_item .text {
    position: absolute;
    visibility: visible;
    height: -moz-fit-content;
    height: fit-content;
    display: none;
    width: 100%;
    opacity: 1;
    padding: 0 28%;
    transition: opacity 0.5s;
  }
  .block_item .decoration {
    width: 100%;
  }
  .block_item h3 {
    font-family: "Druk Cyr";
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 41.8px */
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .block_item p {
    color: var(--2024-London, var(--London, #151415));
    font-family: "Roboto Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 21.6px */
  }
  .block_item p,
  .block_item .decoration {
    display: none;
  }
  .block_item.active {
    padding: 24px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: 800px;
  }
  .block_item.active h3,
  .block_item.active p,
  .block_item.active .decoration {
    display: block;
  }
  .block_item.active .text {
    visibility: hidden;
    opacity: 0;
  }
  .block_item.purple {
    background: #edceff;
  }
  .block_item.purple h3 {
    color: #9f65bf;
  }
  .block_item.yellow {
    background: #f6f892;
  }
  .block_item.yellow h3 {
    color: #acbb2f;
  }
  .block_item.white {
    background: #fff7fb;
  }
  .block_item.white h3 {
    color: #ff4e8e;
  }
  .block_item.blue {
    background: #b5e0ff;
  }
  .block_item.blue h3 {
    color: #4692c9;
  }
  .block_item.darkpurple {
    background: #9f65bf;
  }
  .block_item.darkpurple h3 {
    color: #edceff;
  }
  .block_item.darkpurple p {
    color: var(--2024-Berlin, #fff);
  }
  .block_item.green {
    background: #acbb2f;
  }
  .block_item.green h3 {
    color: #f6f892;
  }
  .block_item.green p {
    color: var(--2024-Berlin, #fff);
  }
}/*# sourceMappingURL=style.css.map */