:root {
  --Red: hsl(1, 90%, 64%);
  --Blue: hsl(219, 85%, 26%);
  --White: hsl(0, 0%, 100%);
  --Very-light-grayish-blue: hsl(210, 60%, 98%);
  --Light-grayish-blue-1: hsl(211, 68%, 94%);
  --Light-grayish-blue-2: hsl(205, 33%, 90%);
  --Grayish-blue: hsl(219, 14%, 63%);
  --Dark-grayish-blue: hsl(219, 12%, 42%);
  --Very-dark-blue: hsl(224, 21%, 14%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.dm-sans {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
body {
  height: 100vh;
}

.container {
  max-width: 700px;
  position: relative;
  margin: auto;
  padding: 1.5rem;
  border-radius: 8px;
}
.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.head h2 {
  color: var(--Very-dark-blue);
}
.head > span {
  color: var(--Grayish-blue);
}
.head > span:hover {
  cursor: pointer;
  color: var(--Blue);
}
h2 > span {
  background-color: var(--Blue);
  color: var(--White);
  padding: 0 10px;
  border-radius: 5px;
  font-size: 16px;
}
ul {
  list-style: none;
  margin: 35px 20px;
}
ul li {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
}
ul li.active p::after {
  content: "";
  position: absolute;
  padding: 3px;
  border-radius: 50%;
  background-color: var(--Red);
  margin-left: 5px;
  top: 9px;
}

ul li img {
  width: 40px;
  align-self: baseline;
}
ul li .text {
  margin-left: 10px;
  color: var(--Dark-grayish-blue);
}
ul li .text p .dark-bold {
  font-weight: 800;
  color: var(--Very-dark-blue);
}
ul li .text p .dark-bold:hover {
  color: var(--Blue);
  cursor: pointer;
}
ul li .text p .gray-bold {
  font-weight: 800;
}
ul li .text p:first-child .gray-bold:hover {
  cursor: pointer;
  color: var(--Blue);
}
ul li .text > span {
  color: var(--Grayish-blue);
  font-family: sans-serif;
}

ul li .text .massage {
  border: 1px solid var(--Light-grayish-blue-2);
  border-radius: 4px;
  padding: 10px;
  margin-top: 10px;
}
ul li .text .massage:hover {
  background-color: var(--Light-grayish-blue-1);
  cursor: pointer;
}

ul li:nth-child(5) img:last-child {
  position: absolute;
  right: 0;
  cursor: pointer;
}
@media (max-width: 540px) {
  ul li:nth-child(5) .text {
    max-width: 240px;
  }
}
