body {
  padding: 0;
}

#mal-container {
  display: flex;
  flex-direction: row;
  height: 100%;
}

h1, h2, h3 {
  margin: 0;
}

/* Sidebar */
.sidebar {
  width: 225px;
  background-color: var(--color-3);
  color: var(--color-1);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-right: 2px solid black;
}


.filter-options {
  margin-top: auto;
}

.filter-options select {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }

.sidebar button {
  margin-top: auto;
  padding: 10px;
}

hr {
  display: block;
  width: 100%;
}

/* Main Content Container */
#title { width: fit-content; }
#title a { color: var(--color-4); }

.main-content {
  flex: 1;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
}

.column {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.data {
  text-align: left;
}

.column ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

section {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  height: 100%;
}

.poster-block {
  flex: 1;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid black;
  padding-right: 12px;
}

.details-block {
  flex: 4;
}

#poster img {
  width: 225px;
  height: 305px;
  object-fit: contain;
}

.image-container {
  overflow: hidden;
  padding-left: 0;
  height: 305px;
  width: 225px;
}

/* #read-more {
  display: none; 
  color: blue;
  cursor: pointer;
} */

@media only screen and (max-width: 1000px) {
  section {
    flex-direction: column;
  }

  .poster-block {
    border-right: none;
  }
}