/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #353537;
  background-image: url("demon-attack-zone/images/cathedral_bg.png");
  background-blend-mode: multiply;
  background-size: cover;
  background-attachment: fixed;
  font-size: 18px;
  color: #dbdbdb;
}

a {
  text-decoration: none;
  color:inherit;
}

a:hover {
  text-decoration: underline;
}

button {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #88f;
  border-radius: 4px;
  color: blue;
  outline: 0;
  font-size: 12px;
}

button:active {
  background: var(--light-gray);
}

button.primary {
  color: #fff;
  background: blue;
  border-color: blue;
}

header {
    display: flex;
}

nav {
  border-right: 1px solid #ccd;
  display: flex;
  align-items: center;
  width: 100%;
  flex: 1;
  justify-content: center;
  gap: 20px;
  min-height: auto;
}

main {
  gap: 0;
  max-width: 80%;
  min-width: 1100px;
  margin: auto;
    margin-bottom: auto;
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
  
}

.article {
  background-color: #00000078;
  padding: 2%;
  min-height: 600px;
}

#character-list {
  background-color: #00000078;
  padding: 2%;
  width: auto;
  height: auto;
}

wiki-header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 0 20px;
}

wiki-header h1,
wiki-header p {
  margin: 0.25rem 0;
  line-height: 1;
}

wiki-header h1 a {
  color: inherit;
}

wiki-header .admin {
  position: absolute;
  top: 30px;
  right: 20px;
}

wiki-header .admin button {
  margin-left: 5px;
}

wiki-nav {
  flex: 1;
  justify-content: center;
  gap: 20px;
  align-items: center;
  display: flex;
  font-family: "Spectral",'fallback', Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
}

wiki-nav a {
  display: block;
  color: #9d9d9d;
  padding: 0.5rem 1rem;
  margin: 0;
}

wiki-nav a:last-child {
  border-bottom: 0;
}

wiki-nav a:hover {
  text-decoration: none;
  background: var(--light-gray);
}

wiki-nav a.active {
  background: var(--light-gray);
}

wiki-nav .empty {
  padding: 0.6rem 1rem;
  color: #667;
}

.info-box {
  width: 300px;
  height: auto;
  background-color: transparent;
  margin: 0 0 1.5em 0.5em;
  float: right;
  clear: right;
  font-size: 88%;
  position: inherit;
  overflow: hidden;
  border-style: double ;
  border-color: rgb(56, 57, 81);
  border-width: 5px;
  margin: 20px;
  padding: 5px;
  background-color: #00000078
}

.info-box-header {
    text-align: center;
    margin-top:10px;
    margin-bottom: 10px;
}

.info-img-container {
  width: 300px;
  height: 250px;
  vertical-align: middle;
  object-fit: cover;
}

.info-img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}

wiki-page {
  padding-bottom: 10px;
  margin-top: 10px;
}

wiki-page .empty {
  padding: 20vh 5vw 40vh 0;
  text-align: center;
  font-size: 23px;
  color: #667;
}

wiki-page .empty button {
  font-size: 18px;
}

wiki-page textarea.editor {
  width: calc(100% - 20px);
  height: calc(100vh - 130px);
  margin-top: 10px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ccd;
  font-size: 17px;
  letter-spacing: 0.75px;
  line-height: 1.4;
  outline: 0;
}

.warning-modal{
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease-in-out;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-inner{
  border: #111;
  
}

.warning-btn{
  background: darkred;
  color: lightgray;
  border: 3px solid lightgray;
  font-size: 14px;
}

.loading-block{
  background-color: rgba(0, 0, 0, 0.847);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 10px;
  
  display: flex;
  justify-content: center;
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s linear;
}

.character-list-header{
    text-align: center;
    float: left;
    width: 50%;
    margin: 20px 25% 5px;
    border-bottom: 2px solid #c5c5c5 ;
}

.character-list-decription{
    text-align: center;
    float: left;
    width: 95%;
    padding: 0% 2.5%;
    margin-top: 5px;
    margin-bottom: 30px;
}

#item-list{
  margin: 0% 25%;
  width: 50%;
}

.item-list-header{
    float: left;
    width: 100%;
    margin-bottom: 5px;
    border-bottom: 2px solid #c5c5c5 ;
}

.item-list-description{
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.item-link{
  font-size: 20px;
}

.col-sm-4{
  width: 33.33333333%;
  float: left;
  padding-bottom: 40px;
}

.setting-card{
    width: 22%;
    height: 500px;
  float: left;
  
  background-color: transparent;
  color: #c5c5c5;
  font-size: 88%;
  position: inherit;
  overflow: hidden;
  border-style: double ;
  border-color: rgb(56, 57, 81);
  border-width: 5px;
    margin: 0.5%;
  padding: 0.5%;
}

.setting-img-container {
  width: 100%;
  height: 50%;
  vertical-align: middle;
  object-fit: cover;
}