@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  font-size: 16px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #e0e7f8;
}

.card {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  border-radius: 1rem;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 1.3rem;
  margin: 1rem;
}

.notification {
  border-radius: 0.5rem;
  background-color: #626cd6;
  padding: 1rem;
  box-shadow: 0 10px 15px 0 #d7d9ed;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.text_part {
  color: #fff;
}

.text_part h3 {
  font: 600 0.7rem/1.6 "Poppins", sans-serif;
}

.text_part h5 {
  font: 400 0.7rem/1.6 "Poppins", sans-serif;
}

.btn {
  white-space: nowrap;
  text-decoration: none;
  background: #fff;
  color: #3e4662;
  font-size: 0.7rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.block {
  font: 500 0.7rem "Poppins", sans-serif;
  color: #5b5868;
}

.row {
  padding: 0.55rem;
  cursor: pointer;
}

.row:hover {
  border-radius: 0.25rem;
  background-color: #f1f2ff;
}

.header_block {
  margin: 1.2rem 1.2rem 0.5rem 0.5rem;
  color: #9091a4;
}

@media (max-width: 499px) {
  .notification {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .blocks {
    grid-template-columns: auto;
  }
}
