.category-wrapper {
  margin-top: 5rem;
  width: 100%;
  height: 30%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.mb-category-wrapper {
  margin-top: 5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.item {
  width: 100%;
  height: 100%;
}

.category-row {
  height: 30vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.mb-category-row {
  height: 20vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.category {
  border-color: #333;
  border-width: 2px;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: rgb(0, 0, 0);
}

.category-left {
  position: relative;
  border-color: #333;
  border-width: 2px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: font-size 0.3s ease;
}

.category-left:hover {
  font-size: 30px;
}

.mb-category {
  position: relative;
  border-color: #333;
  border-width: 2px;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: font-size 0.3s ease;
  background-color: rgb(0, 0, 0);
}

.mb-category:hover {
  font-size: 22px;
}

.category-right {
  position: relative;
  border-color: #333;
  border-width: 2px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: font-size 0.3s ease;
}

.category-center {
  position: relative;
  border-color: #333;
  border-width: 2px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: font-size 0.3s ease;
}

.category-right:hover {
  font-size: 30px;
}

.category-center:hover {
  font-size: 30px;
}

.category img {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  object-fit: cover;
}

.mb-category img {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  object-fit: cover;
}

.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.detail-wrapper {
  width: 80%;
  display: flex;
  flex-direction: column;
}

.detail-title {
  margin-top: 5rem;
  font-size: 22px;
  font-weight: bold;
  text-align: left;
}

.detail-contents {
  margin-top: 3rem;
  text-align: left;
  font-weight: bold;
  font-size: 18px;

  margin-bottom: 5rem;
}

.detail-contents img {
  width: 100%;
}

.item-button {
  color: white;
  font-weight: bold;
  position: absolute;
  opacity: 1 !important;
}

.table-container {
  background-color: #323846;
  color: white;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.table-container table {
  width: 100%;
  text-align: center;
  table-layout: fixed;
}

th {
  border-bottom: 2px solid rgba(1, 1, 1, 0.5);
  padding-bottom: 1rem;
}

td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: bold;
}

.table-container p {
  padding-top: 2rem;
  font-size: 16px;
}

.table-title {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .detail-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .table-container {
    font-size: 12px;
  }

  .table-container {
    border-radius: 0rem;
  }

  .detail-title {
    width: 80%;
  }
  
  .detail-contents {
    width: 80%;
    font-size: 14px
  }

  .table-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
}


}