/* fonts */

/* banner */
@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap'); /* <- this one*/
@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&display=swap');
/* body font */

@font-face {
  font-family: Ishmeria;
  src: url(fonts/Ishmeria.ttf);
}
  
/* defaults */
:root {
  --bg: #ffffff;
  --txt: #100E11;
  --txt-trans: #100e115e;
  --accent: #a52a2a;
  --g-start: #420000;
  --g-end: #290000;
}


body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;

  height: 100vh; /*needed to vertically align correctly*/
  overflow: hidden;

  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1px;
  background-color: var(--bg);
  color: var(--txt);
  cursor: crosshair;
  font-size: 19px;

  transition: all 1s ease;

  background-image: url("https://i.postimg.cc/q754FWym/smoke.png");
  background-repeat: no-repeat;
  background-size: cover;
}
::selection {
  color: var(--bg);
  background-color: var(--txt);
}

a {
  font-style: normal;
  color: var(--txt);
  transition: all 0.3s ease-in-out;
}

a:hover {
  background-color: var(--txt);
  color: var(--bg);
}

#link {
  text-decoration: underline;
  cursor: pointer;
  transition: all 1s ease-in-out;
}

#link:hover {
  letter-spacing: 5px;
  transition: all 1s ease-in-out;
}
/* reset margins for all the headers */
h1,h2,h3,h4,h5,h6 {
  margin: 0;
  padding: 1%;
}

h1,h2, .title {
  font-family: "Monsieur La Doulaise", 'Times New Roman', Times, serif;
  font-weight: 700;
}

/* loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg);
  transition: opacity 0.75s, visibility 0.75s;
  z-index: 1;
}
  
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
  
.loader::after {
  content: "";
  width: 4rem;
  height: 4rem;
  border: 6px solid var(--txt);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}
  
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
  
/* main wrapper */
.wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 30rem;
  height: auto;

  /* background-color: #100E11; */
}


/* details */
details[open] > summary {
  list-style-type: '✶ ';
}

summary {
	list-style-type: '➤ ';
}

ul, ol {
  display: inline-block;
}

ul li {
  list-style: '♥︎ ';
}

.image {
  display: block;
  position: absolute;
  object-fit: cover;
  width: 130%;
  height: auto;
  bottom: 0px;
  left: 0px;
  z-index: -1;
}

.image img {
  max-width: 100%;
  height: auto;
}


.related {
  width: 13rem;
  max-height: 2rem;
  align-self: flex-start;
  
  background-color: var(--bg);
  border-top: 4px var(--txt) double;
  border-left: 4px var(--txt) double;
  border-right: 4px var(--txt) double;

  padding: 8px;

  overflow: scroll;
}

main {
  max-width: 30rem;
  max-height: 30rem;

  padding: 8px;

  overflow-y: scroll;
  
  background-color: var(--bg);
  border: 4px var(--txt) double;

}

.table {
  display: flex;
  flex-grow: 1;
  height: 30rem;

  background-color: var(--bg);
  border: 4px var(--txt) double;
}
.table span {
  text-decoration: underline;
}

.side {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 1%;
  flex-shrink: 0;
  width: 5rem;
  height: auto;

  padding: 3px;
  border-right: 2px dotted;
  text-align: center;

  overflow-y: scroll;
}

.side > a {
  width: 100%;
  height: fit-content;
}

.main {
  max-width: 30rem;
  padding: 8px;
  overflow-x: hidden;
}

.entry {
  display: none;
}

.title {
  font-size: 30px;
  margin: 1px;
}

#image img {
  width: 4rem;
  height: auto;
} 
/* responsiveness */
@media screen and (max-width: 850px) {
  body {
    overflow: scroll;
  }
  
  .image {
    display: none;
  }
}