/* CSS Reset */
body {
  margin: 0;
}

button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

/* Color */
:root {
  --primary__color: rgba(0, 128, 0, 0.534);
  --secondary__color: green;
  --tertiary__color: #60b68244;
  --white__color: #fff;
  --black__color: #000;
  --gray__color: gray;
}

/* Scroll Bar */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--white__color);
}

body::-webkit-scrollbar-thumb {
  background: var(--gray__color);
  border-radius: 10px;
}

/* Top Navigation Bar */
.top__nav__bar__center {
  display: flex;
  justify-content: center;
}

.top__nav__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1200px;
  height: 80px;
}

.top__nav__bar__icon__container > a:visited {
  color: var(--white__color);
  text-decoration: none;
}

.top__nav__bar__icon__container {
  width: 7%;
}

.top__nav__bar__search__bar__form {
  display: flex;
  align-items: center;
}

input {
  padding: 10px;
  width: 1085px;
  border: 1.5px solid var(--primary__color);
  border-radius: 5px;
  outline: none;
  font-size: 15px;
}

.top__nav__bar__search__bar {
  width: 93%;
}

.top__nav__bar__search__bar__icon {
  width: 20px;
}

.top__nav__bar__icon {
  width: 55px;
}

.top__nav__bar__search__bar__icon__container {
  transform: translate(-30px, 3px);
}

.top__nav__bar__search__bar__icon__container:hover {
  cursor: pointer;
}

/* Navigation Bar */
.nav__bar__center {
  display: flex;
  justify-content: center;
  background-color: var(--primary__color);
}

.nav__bar {
  display: flex;
  align-items: center;
  width: 1200px;
  height: 60px;
  font-size: 20px;
  font-weight: bold;
  color: var(--white__color);
}

.nav__bar__title,
.nav__bar__title__home {
  padding: 15px;
  width: 100px;
  text-align: center;
  text-decoration: none;
  color: var(--white__color);
}

.nav__bar__title:hover,
.nav__bar__title__home:hover {
  cursor: pointer;
  background-color: var(--secondary__color);
}

.nav__bar__title__home {
  background-color: var(--secondary__color);
}

/* Photo */
.photo__header__container,
.photo__center,
.drama__header__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo__header,
.drama__header {
  width: 1200px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  text-decoration: underline;
  color: var(--secondary__color);
}

.photo__container {
  display: flex;
  width: 1200px;
  flex-wrap: wrap;
  text-align: center;
}

.photo {
  width: 150px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  margin-top: 20px;
  border-radius: 5px;
}

.photo__inner__container {
  flex: auto;
  width: 14%;
}

.photo__inner__container:hover {
  cursor: pointer;
  opacity: 90%;
  font-weight: bold;
  color: var(--secondary__color);
}

.photo__title {
  padding: 10px;
  font-weight: bold;
}

/* Drama */
.drama__container__center {
  display: flex;
  justify-content: center;
}

.drama__container {
  display: flex;
  align-items: center;
  width: 1200px;
  font-size: 17px;
  /* margin: 10px; */
  padding: 10px;
  color: var(--black__color);
}

.drama__container:hover {
  cursor: pointer;
  color: var(--white__color);
  background-color: var(--secondary__color);
}

.drama__title {
  width: 85%;
}

.drama__time {
  width: 15%;
  text-align: right;
}

.page__center {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.page {
  width: 1200px;
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
}

.page__border {
  border: 1px solid var(--primary__color);
  padding: 10px;
  border-radius: 5px;
  margin: 3px;
  color: var(--black__color);
}

.page__border__current__page {
  border: 1px solid var(--primary__color);
  padding: 10px;
  border-radius: 5px;
  margin: 5px;
  color: var(--white__color);
  background-color: var(--secondary__color);
}

.page__border:hover {
  font-weight: bold;
  color: var(--white__color);
  background-color: var(--secondary__color);
}

/* Drama Details */
.details__outer__container {
  padding: 20px;
  background-color: var(--tertiary__color);
}

.details__title__container,
.details__photo__center,
.details__casts__container,
.details__intro__title__container,
.details__intro__container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary__color);
}

.details__title {
  font-size: 35px;
  font-weight: bold;
  width: 1200px;
  margin-bottom: 20px;
  text-align: center;
}

.details__photo__container {
  width: 1200px;
  margin-bottom: 20px;
  text-align: center;
}

.details__photo {
  width: 600px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

.details__photo:hover {
  opacity: 80%;
}

.details__casts {
  font-size: 20px;
  width: 1200px;
  margin-bottom: 20px;
}

.details__intro__title {
  font-size: 20px;
  width: 1200px;
  font-weight: bold;
}

.details__intro {
  font-size: 20px;
  width: 1200px;
  margin-bottom: 10px;
}

.details__back__button__container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.details__back__button {
  padding: 10px;
  border-radius: 5px;
  font-size: 18px;
  color: var(--white__color);
  background-color: var(--primary__color);
}

.details__back__button:hover {
  cursor: pointer;
  background-color: var(--secondary__color);
}

/* Footer */
.footer__center {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 40px; */
  height: 100px;
  background-color: var(--primary__color);
}

.footer {
  width: 1200px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--white__color);
}
