* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, sans-serif;
    color: black;
    background-color: white;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.5rem;
    border-bottom: solid 1px #aaa;
    background-color: #eee;
  }
  
  nav a {
    display: inline-block;
    min-width: 9rem;
    padding: 0.5rem;
    border-radius: 0.2rem;
    border: solid 1px #aaa;
    text-align: center;
    text-decoration: none;
    color: #555;
  }
  
  nav a[aria-current='page'] {
    color: #000;
    background-color: #d4d4d4;
  }
  
  main {
    padding: 1rem;
  }
  
  h1 {
    font-weight: bold;
    font-size: 1.5rem;
  }
  
  :root {
    --background-color: #1a1a1a;
    --text-color: #eee;
    --border-radius: 30px;
  }
  .card {
    margin: 0 auto;
    margin-top: 40px;
    width: min(370px, 100%);
    color: var(--text-color);
    position: relative;
  }
  .card .author {
    background-color: var(--background-color);
    width: 60%;
    height: 70px;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 10px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
  }
  .card .author img {
    width: 100%;
    padding-left: 10px;
  }
  .card .author .name {
    font-weight: bold;
  }
  .card .image {
    background-color: var(--background-color);
    text-align: center;
    border-top-right-radius: var(--border-radius);
  }
  .card .image img {
    margin-top: 10px;
    width: 90%;
    transform: rotate(15deg);
    transition: 0.5s;
  }
  .card .image img:hover {
    transform: rotate(-15deg) scale(1.1) translate(10px, -20px);
  }
  
  .card .info {
    background-color: var(--background-color);
    padding: 30px;
    text-align: center;
  }
  .card .info .name {
    font-size: 1.7em;
  }
  
  .card .more {
    background-color: var(--background-color);
    padding: 0 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
  }
  .card .more .buttons {
    display: flex;
    gap: 5px;
  }
  .card .more .buttons button {
    color: var(--text-color);
    background-color: #313131;
    border: 1px solid #454545;
  }
  .card .more .buttons button:nth-child(1) {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .card .more .buttons button:nth-child(2) {
    padding: 0 20px;
    border-radius: var(--border-radius);
  }
  .card .options ul {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #313131;
    padding: 5px;
    width: max-content;
    border-radius: 20px;
  }
  .card .options ul li {
    background-color: var(--color);
    width: 15px;
    height: 15px;
    list-style: none;
    border-radius: 50%;
  }
  .options label {
    font-size: 0.8em;
  }
  .card::before {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 70px;
    content: '';
    border-bottom-left-radius: var(--border-radius);
    box-shadow: -30px 30px 0 var(--background-color);
  }
  .card::after {
    background-color: var(--background-color);
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    /* content: 'text'; */
    width: calc(40% - 10px);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: large;
  }
  @container style(--isPopular:true) {
    .card::after {
      content: 'ХІТ';
      color: orange;
    }
    .card .more {
      box-shadow: 0 10px 0 orange;
    }
  }
  
  @container style(--isNew:true) {
    .card::after {
      content: 'NEW';
      color: #a8f4ff;
    }
    .card .more {
      box-shadow: 0 10px 0 #a8f4ff;
    }
  }

  .card2 {
    margin: 0 auto;
    margin-top: 40px;
    width: min(370px, 100%);
    min-height: 400px;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
  }

.plashka{
  padding: 10px;
}

.stiker{
  position: absolute;
  top:0;
  right: 0;
}

@container style(--isStiker:true) {
  .stiker::after {
    content: 'стикер';
    color: var(--text-color);
    background-color: orange;
    width: 100px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 50px;
  }
}

@container style(--isTest:true) {
  .stiker::after {
    content: 'червоний';
    color: var(--text-color);
    background-color: red;
    width: 100px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 50px;

  }
}