h1 {
  padding: 30px;
  margin-left: 6rem;
}
/* .container-fluid {
  margin: 30px;
} */

.tabs {
  display: flex;
  justify-content: center;
  flex-direction: row;
}
.tab-contents {
  padding: 2rem;
  width: 50%;
  height: 100%;
}
.tab-content {
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  max-height: 0;
  /* pointer-events: none; */
  overflow: hidden;
}

.tab-content ul {
  padding: 20px 34px;
}

.tab-content img {
  margin: 5px;
  width: 310px;
  height: 240px;
  max-width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
}
.tab-content.active {
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: fit-content;
  overflow-y: auto;
  height: 100%;
}
.tab-buttons {
  display: flex;
  flex-direction: column;
  width: 17%;
  position: sticky;
  top: 0;
  padding: 1rem;
}
.tab-button {
  padding: 1rem 1.5rem;
  cursor: pointer;
  border: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  text-transform: uppercase;
  background-color: transparent;
}
.tab-button.active {
  color: #e2e8f0;
}
.tab-sidelinks {
  margin-top: 10px;
  width: 19%;
}
.line {
  height: 1px;
  width: 2rem;
  background-color: #64748b;
  display: block;
  transition: all 140ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-button.active .line {
  width: 4rem;
  background-color: #e2e8f0;
}

@media screen and (max-width: 450px) {
  .tabs {
    flex-direction: column;
    /* overflow: hidden; */
  }
  .tab-buttons {
    width: 100%;
    overflow-y: auto;
    height: 191px;
    position: static;
  }
  .tab-contents {
    width: 100%;
    padding: 0;
  }
  .tab-content h2 {
    margin: 35px 0;
    text-align: center;
    font-size: 25px;
  }
  .tab-sidelinks {
    width: 100%;
  }
}
