/*--- fonts ---*/

@import url(https://fonts.googleapis.com/css?family=Fleur+De+Leah);
@import url(https://fonts.googleapis.com/css?family=Lugrasimo);
@import url(https://fonts.googleapis.com/css?family=Nothing+You+Could+Do);
@import url(https://fonts.googleapis.com/css?family=Hina+Mincho);
@import url(https://fonts.googleapis.com/css?family=Jim+Nightshade);
@import url(https://fonts.googleapis.com/css?family=Mrs+Saint+Delafield);
@import url(https://fonts.googleapis.com/css?family=Felipa);
@import url(https://fonts.googleapis.com/css?family=IBM+Plex+Serif);
@import url(https://fonts.googleapis.com/css?family=Lavishly+Yours);
@import url(https://fonts.googleapis.com/css?family=);
@import url(https://fonts.googleapis.com/css?family=);
@import url(https://fonts.googleapis.com/css?family=);
@import url(https://fonts.googleapis.com/css?family=);
@import url(https://fonts.googleapis.com/css?family=);
@import url(https://fonts.googleapis.com/css?family=);



/* BODY */

* {
  text-align: justify;
  font-family: 'Hina Mincho';
  margin:0;
  padding:0;
}

html {              /* REMOVE FRAME.PNG WHEN DONE => KEEPING ONLY FOR GENERAL IDEA OF DIMENSIONS*/
  height: 100%;
  background-image: url('/images/marble.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-content: center;
}

body {
  margin: auto;
  width: 90%;
  height: 90%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.bubble {
  position: absolute;
  top: 5%;
  left: 0;
  width: 6%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #e5c36633;
  box-shadow: 0 0 10px 5px #151e3d inset;
}

.homebutton {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.bubble:hover {
  background-color: #e5c36600;
  box-shadow: 0 0 10px 5px #e5c366 inset;
}

.bubble:hover .homebutton {
  visibility: visible;
  text-decoration: none;
  font-variant-caps: small-caps;
  font-weight: 900;
  font-size: 120%;
  color: #151e3d;
  text-shadow: 0 0 5px #e5c366;
}


























/* ALL DIV CONTENT */

.content {
  background-color: #ffffff88;
  background-image:none;
  width: 87%;
  height: 100%;
  box-shadow: 0 0 20px 5px #333 inset;
  border-radius: 25px;
  overflow: auto;
  scrollbar-width: none;
}

.inner {
  margin: 50px;
}


/* HOMEPAGE */

#index {
  height: 100%;
  background-color: #141198;
  background-image: url('/images/frame.png'), url('/images/marble.jpg');
  background-repeat: no-repeat;
  background-size: contain, cover;
  background-position: center;
  display: flex;
  align-content: center;
}

.homepage {
  background-color: #ffffff55;
  background-image:none;
  width: 65%;
  height: 60%;  
  box-shadow: 0 0 35px 35px #ffffff55;
  border-radius: 35px;
  display: flex;
  align-content: center;
}

div.welcome {
  margin-top: auto;
  margin-bottom:auto;
}

div.welcome h1 {
  font-family: 'Jim Nightshade';
  font-size: 250%;
  line-height: 1.5em;
  text-align: center;
}

div.welcome p {
  font-family: 'Jim Nightshade';
  text-align: justify;
  font-size: 150%;
  margin: auto 10%;
}

.welcome p:has(a) {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 75px;
  font-size: 250%;
}

.button {
  padding: 25px 50px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  border-radius: 50% 25%;
  box-shadow: 0 0 25px 5px black;
  font-family: 'lavishly yours';
}

.button:hover {
  background-color: #00000055;
  box-shadow: 0 0 25px 5px;
  color:white;
}



/* NAV BAR */

.navmain {
  position: absolute;
  top: 12%;
  right: 0%;
  width: 10%;
}

.navsub {
  position: absolute;
  bottom: 8%;
  left: 0%;
  width: 8%;
}

.navmain ul, .navsub ul {
  list-style-type: none;
}

.navmain ul li a, .navsub ul li a {
  display: block;
  text-decoration: none;
  font-size: 100%;
  color: #333;
  font-weight: bold;
  font-family: 'Jim Nightshade';
  background-color: #e5c366dd;
  box-shadow: 0 0 5px inset #333;
  margin-top: 25px;
}

.navmain ul li a {
  text-align: right;
  border-radius: 0 50px 50px 0;
  margin-left: 49px;
  padding: 10px 18px 10px 0;
}

.navsub ul li a {
  text-align: left;
  border-radius: 50px 0 0 50px;
  margin-right: 21px;
  padding: 10px 0px 10px 18px;
}

#active, #activesub {
  color: #ddd;
  background-color: #003152dd;
  box-shadow: 0 0 5px #333 inset;
  border-radius: 50px;
  margin-left: 0px; 
  margin-right: 0px;
}

#active {
  margin-left: 15px;
}

.navmain li a:hover, #active:hover {
  color: #333;
  background-color: #00315288;
  box-shadow: 0 0 10px #151e3d inset;
  border-radius: 50px;
  margin-left: 15px; 
  margin-right: 0px;
  padding-left: 15px;
  text-shadow: 0 0 5px white;
}

#activesub {
  padding-right: 100px;
}

.navsub li a:hover, #activesub:hover {
  color: #333;
  background-color: #00315288;
  box-shadow: 0 0 10px #151e3d inset;
  border-radius: 50px;
  margin-left: 0px; 
  margin-right: 0px;
  padding-right: 100px;
  text-shadow: 0 0 5px white;
}


/* LIBRARY AND SUBPAGES */

.entrygroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 210px;
  gap: 25px 50px;
}

.bookcover {
  height: 210px;
  width: 140px;
  margin-right: 10px;
}

.bookcover img {
  width: 140px;
  height: 210px;
  object-fit: cover;
}

.flexbook {
  height: 210px;
  display: flex;
  border-radius: 10px;
/*  flex-direction: row; */ /* REDUNDANT */
}

.bookentry {
  width: 100%;
  height: inherit;
  display: flex;
  flex-flow: column;
  overflow: auto;
  scrollbar-width: none;
}

.mediagenre {
  margin-top: 5px;
}

details {
  width: 100%;
  overflow: auto;
  scrollbar-width: none;
}

details p {
  margin-left: 20px;
}

details>summary {
  list-style-type: '⮞';
}

details[open]>summary {
  list-style-type: '⮛';
}




/* cancels the default grid layout*/.fanficpage .inner .entry {display: inline;}



















