/* hi there! please credit me @ goldenfreddy.neocities.org if you copy any of the coding here! thanks :) */

* {
  box-sizing: border-box;
  word-break: break-word;
  font-family: Garamond, serif;
  font-weight: bolder;
}

:root {
  background: black;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  cursor: url("../images/fnaf/pizzacursorA.png"), auto;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row; 
  flex-wrap: wrap; 
  align-content: center;
  text-align: center;
  box-shadow: inset 0 0 100px 100px rgba(10, 0, 5, 0.8);
}

a, a:link, a:visited {
  color: #f04eff;
  text-decoration: none;
}

a:hover {
  color: #ff4646;
  font-weight: bold;
  text-decoration: none;
  text-shadow: #ff00d4 0 0 2px,#ff8aeb 0 0 5px;
  cursor: url("../images/fnaf/pizzacursorB.png"), auto;
}

p {
  margin: 0;
  padding: 0;
}

hr {
  border: rgba(255, 77, 125, 0.15) 3px;
  border-style: dashed none none none;
	width: 92%;
	margin: 10px auto 0 auto;
}

ul {
  list-style: inside url("../images/fnaf/menustarsmall.png");
  max-width: 650px;
  text-align: left;
  margin: auto;
  margin-left: 20px;
  margin-bottom: -8px;
  color: #22003d;
  padding: 15px;
  text-shadow: #915454 0 0 3px;
  line-height: 30px;
  letter-spacing: 1px;
  font-size: 12pt;
  text-decoration: none;
}

li {
  margin-bottom: 15px;
}

button {
  margin: auto;
  padding: 10px 20px;
  width: 20vw;
  height: 50px;
  min-width: 220px;
  color: white;
  text-align: center;
  font-size: 20pt;
  border: solid white 2px;
  border-radius: 5px;
  background: radial-gradient(circle, rgba(60,60,60,1) 0%, rgba(60,60,60,1) 20%, rgba(37,37,37,1) 100%);
  overflow: hidden;
}

button:hover {
  background: radial-gradient(circle, rgba(120,120,120,1) 0%, rgba(120,120,120,1) 20%, rgba(60,60,60,1) 100%);
  cursor: url("../images/fnaf/pizzacursorB.png"), auto;
}

::selection {
  background: RGBA(235, 87, 255, 0.2);
}

/* ================================================== main divs ================================================== */

.allflex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  padding: 25px;
  gap: 15px;

}

.allflex > div {
  flex-grow: 1;
  width: 45vw;
  max-width: 49%;
  min-width: 250px;
}

.helpystuff {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  height: 100%;
  width: 100%;
  padding: 0;
}

.helpystuff > div {
  flex-grow: 1;
  width: 100%;
  max-height: 60%;
  border: none;
}

.legalwoes {
  display: block;
  position: absolute;
  bottom: 0;
  left: 2%;
  background-image: url(../images/fnaf/legalwoes.gif);
  background-size: cover;
  width: 35vw;
  height: 30vw;
  min-width: 100px;
  min-height: 80px;
  max-width: 45vw;
  max-height: 405px;
  flex-grow: 1;
  padding: 0;
}

.shrinkwrap {
  display: block;
  color: black;
  width: 100%;
  height: 100%;
  max-width: 650px;
  min-width: 200px;
  max-height: 600px;
  min-height: 100px;
  text-shadow: #915454 0 0 3px;
  flex-grow: 1;
  margin-top: -50px;
}

.shrinkwrap ::selection {
  color: #b8072d;
  text-shadow: #cf4e6a 0 0 3px;
}

.singlescroll {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 19pt;
  background-color: #e3e3e3;
  border: dashed white 2px;
  padding: 20px;
  overflow-y: auto;
  border-top: none;
  overflow-x: hidden;
}

.singleheader {
  display: block;
  width: 100%;
  height: 60px;
  font-size: 24pt;
  background-color: #f5f5f5;
  border: dashed white 2px;
  padding: 11px;
  letter-spacing: 2px;
  overflow: hidden;
}

.lister {
  display: block;
  font-size: 20pt;
  width: 95%;
  margin: 5px auto 30px auto;
  background-color: #f1eda8;
  padding-top: 20px;
  letter-spacing: 2px;
  border: solid #ffcf94 2px;
  overflow: hidden;
}

/* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */

.fromblack {
    position: absolute;
    top: 0; left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 111;
    background-color: black;
    animation-name: fromblack;
    animation-duration: 3s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes fromblack {
  from {
    opacity: 1;
}

to {
  opacity: 1;
}

to {
  opacity: 0;
    pointer-events: none;
}}

/* ================================================== custom scrollbar ================================================== */

*::-webkit-scrollbar { /* size of the bar */
  height: 12px;
  width: 12px;
}

*::-webkit-scrollbar-track { /* background of the bar */
  background-color: #ad9e9e;
  border-left: dashed #e0cfc8 2px;
}

*::-webkit-scrollbar-track:hover, *::-webkit-scrollbar-track:active { /* background extras */
  background-color: #ad9e9e;
}

*::-webkit-scrollbar-thumb { /* the actual scroll bar */
  background-color: #f5f5f5;
  border: dashed white 2px;
}

*::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:active { /* the actual scroll bar extras */
  background-color: white;
}

/* ================================================== mobile zone ================================================== */

@media screen and (orientation: portrait), (max-width: 880px) {

:root {
  width: 100vw;
  height: 70vh;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.allflex {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-content: center;
  width: 100%;
  height: 100%;
  padding: 25px;
  gap: 0;
}

.allflex > div {
  width: 100%;
  min-width: 100%;
  flex-basis: 100%;
}

.shrinkwrap {
  display: block;
  order: 1;
  width: 100%;
  height: 100%;
  min-width: 400px;
  max-height: 340px;
  min-height: 100px;
  flex-basis: 100%;
  margin-top: 120px;
}

.singlescroll {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: none;
}

.singleheader {
  display: block;
  width: 100%;
  height: 40px;
  overflow: hidden;
  font-size: 16pt;
  letter-spacing: 3px;
  line-height: 15px;
}

.helpystuff {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  height: fit-content;
  width: 100%;
  padding: 0;
  order: 2;
  gap: 20px;
  margin-top: -90px;
}

.helpystuff > div {
  flex-basis: 50%;
  width: 49%;
  border: none;
}

.legalwoes {
  position: relative;
  flex-basis: 100%;
  padding: 0;
  overflow: hidden;
  height: 200px;
  max-width: none;
}

.lister {
  display: block;
  font-size: 12pt;
}

ul {
  font-size: 10pt;
  margin-left: 10px;
}

button {
  margin: auto;
  padding: 6px 20px;
  width: 150px;
  height: 40px;
  color: white;
  text-align: center;
  font-size: 15pt;
}}