html {
  background-color: #ceac8d;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a0522d' fill-opacity='0.17' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  
}

body {
  font-size: 100%;
  color: #313131;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    georgia, "times new roman", serif;
  font-size: 1rem;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ceac8d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cg fill='%23a0522d' fill-opacity='0.13'%3E%3Cpath fill-rule='evenodd' d='M0 24h4v2H0v-2zm0 4h6v2H0v-2zm0-8h2v2H0v-2zM0 0h4v2H0V0zm0 4h2v2H0V4zm16 20h-6v2h6v-2zm0 4H8v2h8v-2zm0-8h-4v2h4v-2zm0-20h-6v2h6V0zm0 4h-4v2h4V4zm-2 12h2v2h-2v-2zm0-8h2v2h-2V8zM2 8h10v2H2V8zm0 8h10v2H2v-2zm-2-4h14v2H0v-2zm4-8h6v2H4V4zm0 16h6v2H4v-2zM6 0h2v2H6V0zm0 24h2v2H6v-2z'/%3E%3C/g%3E%3C/svg%3E");
  border: grey 2px groove;
  box-shadow: 0px 10px 13px -7px #000000, 4px 19px 25px -15px rgba(0, 0, 0, 0);
}

/*for hd bars*/
@media only screen and (min-width: 1280px) {
 body {
  margin: 4vh  12vw !important;
  }
}

/*no border on mobile*/
@media only screen and (max-width: 768px) {
  body {
    border: none;
  }
  }

@media only screen and (min-width: 768px) {
  ul.sitenav li {
    margin-bottom: 15px;
    margin-top: 10px;
  }
}


@media only screen and (min-width: 768px) {
  ul.sitenav li {
    margin-bottom: 15px;
    margin-top: 10px;
  }
}


body h1 {
  font-size: 1.5rem;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

* {
  scrollbar-color: sienna peachpuff;
}

/*header*/

header {
  height: 200px;
  position: relative;
}

.banner {
  object-fit: cover;
  width: 100%;
  height: 200px;
}

.logo {
  position: absolute;
  object-fit: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

/* sitenav */

#sitenav {
  padding: 5px 0px 7px 0px;
  height: max-content;
  box-shadow: 0px 5px 7px -3px #000000, 4px 9px 7px -5px rgba(0, 0, 0, 0);
  border-bottom: grey 5px groove;
  background-color: black;
  border-top: 12px solid sienna;
}

ul.sitenav {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

ul.sitenav li {
  display: inline-block;
  overflow: visible;
}

ul.sitenav li a:hover {
  color: sienna;
  background-color: white;
}

ul.sitenav li a {
  font-family: "Times New Roman", Times, serif;
  font-size: 3vw;
  letter-spacing: 0.1rem;
  font-weight: 400;
  background-color: rgb(170, 170, 170);
  text-justify: inter-word;
  color: black;
  text-decoration: none;
  margin-left: 2px;
}

ul.sitenav li a.page {
  background-color: sienna;
  color: white;
}

/*for mobile*/
@media only screen and (max-width: 768px) {
  ul.sitenav li {
    margin-bottom: 12px;
    margin-top: 5px;
  }
}

@media only screen and (max-width: 768px) {
  ul.sitenav li a {
    padding: 8px;
  }
}

/*for desktop*/

@media only screen and (min-width: 768px) {
  ul.sitenav li {
    margin-bottom: 15px;
    margin-top: 10px;
  }
}

@media only screen and (min-width: 768px) {
  ul.sitenav li a {
    font-size: 1.2rem;
    padding: 6px 8px;
  }
}


/*book flex*/

.bookflx {
  display: flex;

  flex-wrap: wrap;
}

/*cards*/

/*for desktop*/

@media only screen and (min-width: 768px) {
  .cards {
    max-width: 30vw;
  }
}

/*books*/

.book {
  background-color: #d7b496;
/*  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  height: max-content;
  margin: 0;
  display: inline-block;
  max-width: 33vw;
  min-width: 300px;
/*  margin: 0px 0px 5px 0px;*/
margin:20px;
  vertical-align: center;
  /*  border: 3px sienna solid;*/
  box-shadow: 0px 10px 13px -7px #747474, 4px 19px 25px -15px rgba(0, 0, 0, 0);

}

.book img {
  width: 25%;
  height: auto;
  margin: 20px;
  padding: 0;
  /*  border: 2px solid sienna;*/
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  float: left;
}

.book p {
  color: sienna;
  position: relative;
  font-size: 1vw;
  vertical-align: top;
  padding: 10px;
}

/*for desktop*/

@media only screen and (min-width: 768px) {

  .book p {
    padding: 30px;
/*    width: 55%;*/
    margin-left: 30px;
  }
}




h1.book {
  color: sienna;
}

/*for mobile*/
@media only screen and (max-width: 768px) {
  .book p {
    font-size: 1.2rem;
  }
  .book img {
    float: none;
    display: inline-block;
    width: 80%;
    margin: 30px;
  }
}

/*fandoms sidebar list*/

#fandoms {
  z-index: 2;
  position: fixed;
  right: 0;
  bottom: 0;
  top: 280px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 40%;
  height: 280px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  color: rgb(148, 148, 148);
  margin-top: 10px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    georgia, "times new roman", serif;
}
@media only screen and (max-device-height: 600px) and (orientation: landscape) {
  #fandoms {
    top: 100px;
    height: 200px;
  }
}

#fandoms ul {
  margin: 0;
  padding: 0;
}
#fandoms li {
  list-style-type: none;
  padding: 0.5vw 0.25vw;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
}

#fandoms a {
  color: sienna;
  text-decoration: none;
}

#fandoms a:hover {
  color: sienna;
}

/*galeria*/

.galeria {
  margin-bottom: 200px;
}

.macrocontainer {
  padding-left: 8px;
  display: block;
  width: 92%;
  justify-content: center;
  margin: auto;
  padding: 0;
  margin-top: 50px;
}

/*titles*/
.macrocontainer h1 {
  color: #d7b496; 
  background-color: sienna;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
/*  border: 2px rgb(193, 137, 111) solid;*/
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  padding: 10px 10px 10px 30px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 900;
  font-size: 2.5vh;
}
/*image previews*/
.card2 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 0.4vw;
  border: 2px slategray 
}

div.card2 {
  display: inline-block;
  position: relative;
  background-color: #d7b496;
  color: sienna;
  max-width: 15vw;
}

@media only screen and (max-width: 768px) {
  div.card2 {
    max-width: 300px;
    margin-left: 20px;
  }
}


div.card2:hover {
  background-color: black;
  color: peachpuff;
}

.card2 img {
  overflow: hidden;
  object-position: 20% 20%;
  object-fit: cover;
  width: 80px;
  height: 80px;
  float: none;
  position: relative;
  margin: none;
  padding: 5px;
}

.close {
  font-size: 6vh;
  padding: 0;
  color: rgb(179, 179, 179);
  font-weight: lighter;
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 92%;
  z-index: 1;
}

.desc {
  padding: 5px;
}

.desc p {
  text-align: center;
/*  color: whitesmoke;*/
  font-size: 1rem;
  font-weight: bolder;
  padding: 10px;
  margin: 0;
}

.descpop {
  overflow: hidden;
}

div.descpop a {
  color: sienna;
}
div.descpop hr {
  border-top: rgb(226, 226, 226) 1px solid;
  border-bottom: 1px solid black;
}
div.descpop p,
ul {
  margin-right: 5%;
  color: #313131;
  font-size: 1.2rem;
  text-align: left;
  margin-left: 2%;
}

div.descpop p.quote {
  margin-right: 5%;
  color: #313131;
  font-size: 1rem;
  font-weight: lighter;
  text-align: left;
  margin-left: 2%;
  padding: 20px;
  border-left: 2px solid #313131;
}


div.descpop p.quote:before {
  content: "\❝";
  font-size:larger;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  padding: 10px;
  color: #313131;
}

div.descpop p.quote:after {
  content: "\❞";
  font-size:larger;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  padding: 10px;
    color: #313131;
}

div.descpop h1 {
  color: #313131;
  text-shadow: none;
  font-weight: bolder;
  font-size: 1.8rem;
  border: none;
  box-shadow: none;
  padding: 1vw;
  margin: 0;
  background-color: rgb(228, 228, 228);
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    georgia, "times new roman", serif;
}
div.gallerylabel {
  color: #313131;
  font-family: monospace, "Courier New", Courier;
  font-size: 0.9rem;
  box-shadow: none;
  margin-left: 4%;
  margin-right: 30%;
  padding-top: 10px;
  padding: 20px;
  margin-top: 10px;
  display: block;
  background-color: rgb(228, 228, 228);
  text-align: right;
  line-height: 1.1rem;
}

div.gallerylabel strong {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    georgia, "times new roman", serif;
  font-size: 1.2rem;
  font-weight: bolder;
}

.descpop img {
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vh;
  max-width: 100%;
  width: max-content;
}

/*for mobile*/
@media only screen and (max-width: 768px) {
  .descpop img {
    margin-bottom: 12px;
    margin-top: 0;
  }
}

div.comment {
  width: 80%;
  margin: 0;
  margin-left: 2%;
  padding: 20px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    georgia, "times new roman", serif;
  background-color: rgb(228, 228, 228);

}

/*for desktop*/

@media only screen and (min-width: 768px) {
  div.comment {
    width: 40%;
    justify-content: center;
    padding: 0;
    margin: 0 30%;
  }
}


div.comment img {
  display: inline;
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin-top:0;
  max-width: 100%;
  width: max-content;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/*hides checkbox*/
.popupinput {
  opacity: 0;
  position: absolute;
  pointer-events: none;

}

/*displays the content when the thumbnail is clicked*/
input.popupinput[type="checkbox"]:checked + .modal {
  display: block;
}

/*hides the background content on default*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  z-index: 9991;
  font-size: 14px;
}

/*overlays the screen outside the content*/
.modal:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}
.modal .modal-content {
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(228, 228, 228);
  z-index: 3;
  border-radius: 6px;
  max-height: 80%;
  overflow: auto;
}
/*allows clicking outside to return to the background*/

label.outclickhide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*copyright*/

footer {

  font-size: 8px;
  text-align: center;
  z-index: 3;
  width: 100% !important;
  margin: 0 !important;
  padding:10px;
  bottom: 0;
}

footer a:link {
  color: sienna;
}

footer a:hover {
  color: white;
}


.construction {
  display: block;
  margin-left: auto;
  margin-right: auto;
max-width: 100px;
height: auto;
}
