/* Master */

* {
  font-family: 'Oswald', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

blockquote {
  background-color: #f9f9f9;
  border-left: 10px solid rgb(161, 37, 16);
  padding: 10px 20px;
}

/* Animations */

.header-right a {
  display: inline-block;
  margin-right: 20px;
  color: #333;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo {
  display: inline-block;
  color: #333;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-right a:hover {
  transform: scale(1.1);
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgb(54, 54, 54);
}
::-webkit-scrollbar-thumb {
  background: rgb(117, 117, 117);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(161, 37, 16);
}

/* Navigation */

.header {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 20px 10px;
  position: relative;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

span {
  color: rgb(161, 37, 16);
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: #e3e3e3;
  color: black;
}

.header a.active {
  background-color: rgb(161, 37, 16);
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 900px) {
  .header a {
    float: none;
    display: block;
    text-align: center;
  }

  .header-right {
    float: none;
  }
}

#title:hover {
  background-color: rgb(241, 241, 241);
  cursor: context-menu;
}

/* Content: Wiki & Home */

.wiki {
  margin: 0px 100px;
}

.wiki h1 {
  text-transform: uppercase;
  color: rgb(161, 37, 16);
}

.wiki h2 {
  color: rgb(161, 37, 16);
  font-weight: 200;
}

.wiki p {
  text-align: justify;
}

@media (max-width: 1427px) {
  .wiki {
    margin: 30px 20px;
  }
}

.center-text {
  text-align: center;
  padding: 30px 0px;
  text-transform: uppercase;
}

@media (min-width: 1427px) {
  .information {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 40px;
    /* border-bottom: 1px solid rgb(230, 230, 230); */
    padding: 60px 0px;
  }
}

@media (max-width: 1426px) {
  .information {
    text-align: center;
  }
}

@media (max-width: 1426px) {
  .information p {
    text-align: center;
  }
}

.information img {
  border-radius: 20%;
  width: 97%;
  height: 90%;
}

@media (max-width: 1426px) {
  .information img {
    border-radius: 20%;
    width: 65%;
    height: 70%;
    padding: 20px 0px 20px 0px;
  }
}

.span_wiki {
  color: black;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(307px, 1fr));
  gap: 10px;
  padding: 20px;
}

.item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.item:hover {
  transform: scale(1.05);
}

.item img {
  width: 100%;
  height: auto;
  display: block;
}

.item::after {
  content: '';
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover::after {
  opacity: 1;
}

.item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.item:hover .caption {
  transform: translateY(0);
}

/* Novel */

.container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 90px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h1 {
  text-align: center;
}

.container p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.container p i {
  color: #8c8c8c;
}

@media only screen and (max-width: 600px) {
  .container {
    max-width: 100%;
    border-radius: 0;
  }
}

.container blockquote {
  background-color: #f9f9f9;
  text-align: center;
  padding: 10px 20px;
  border-left: 0px solid rgb(228, 228, 228);
  margin: 20px 10px;
}

/* Buttons */

.navigation {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 90px;
}

.button {
  display: inline-block;
  margin: 1px;
  padding: 10px 20px;
  background-color: rgb(161, 37, 16);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

@media only screen and (max-width: 900px) {
  .button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Footer */

.footer {
  width: 100%;
  background-color: rgb(241, 241, 241);
  color: black;
  text-align: center;
  font-size: 17px;
  padding: 10px 0px;
  margin-top: 100px;
}

.footer a {
  color: black;
  text-decoration: none;
}

.footer a:hover {
  color: rgb(161, 37, 16);
}
