.topic {
  display:flex;
}
.topic-background-image {
  position: relative;
  width: 800px;
  margin-left: 10px;
  object-fit: scale-down;
}

@media (max-width: 768px) {
  .topic-background-image {
    display: none;
  }
}
.topic-explanation {
  line-height: 1.8rem;
  text-align: justify;
}
.topics.show {
  max-width: 860px;
  margin: auto;
}

.topics {

  img {
    object-fit: cover;
    overflow-clip-margin: content-box;
    overflow: clip;
  }
  .topic-title {
    img {
      object-fit: contain;
    }
  }
}

.topics.edit {
  .topic-img {
    object-fit: cover;
    overflow-clip-margin: content-box;
    overflow: clip;
  }

  .preview-img {
    max-width: 216px;
    max-height: 216px;
  }
}

.topic-card {
  min-height: 100px;
  height: 200px;

  border-radius: 10px;
}

.random-topics-wrapper {
  justify-content: center;
  margin: auto;
}
.divider {
  max-width: 300px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.random-topics-wrapper ul {
  display: flex;
  flex-wrap: wrap;
}
.topic-card h2 {
  position: absolute;
  filter: drop-shadow(0 0.1rem 0.2rem var(--background-color));
}
.topic-card {
}

.topics.index li {
  margin-right: 10px;
  border-radius: 5px;
  padding-right: 20px;
}
.topics.index ul {
  list-style: none;
}
