/* 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;
  text-align: center;
}

@font-face {
  font-family: "Squishycat";
  src: url("/fonts/Squishycat.otf")format("opentype");
}

:root {
  background: #332322 url(/images/woodplankbg.png);
  background-repeat: repeat;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  color: white;
}

body {
  font-family: "Squishycat";
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row; 
  flex-wrap: wrap; 
  align-content: flex-start;
}

hr {
  border: rgba(255, 255, 255, 0.25) 3px;
  border-style: dashed none none none;
	width: 85%;
	margin: 20px auto;
}

a, a:link, a:visited {
  color: red;
  text-decoration: underline solid rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

a:hover {
  color: pink;
  font-weight: bold;
  text-decoration: underline solid rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

u {
  text-decoration: underline dashed rgba(255, 255, 255, 0.2);
  text-underline-offset: 2px;
}

br {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

::selection {
  background: RGBA(255, 50, 50, 0.4);
}

h2 {
  font-size: 50px;
  margin: 0 10px;
}

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

.singlescroll {
  display: block;
  width: 85vw;
  height: 85vh;
  max-width: 1200px;
  min-width: 400px;
  min-height: 100px;
  font-size: 18pt;
  background: rgba(194, 218, 255, 0.1);
  border: inset black 3px;
  outline: outset grey 2px;
  box-shadow: 0px 0px 2px 2px rgba(32, 0, 27, 1), 0px 0px 7px 7px rgba(32, 0, 27, 1);
  padding: 30px;
  margin-top: 50px;
  overflow-y: auto;
  overflow-x: hidden;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 15px;
  gap: 30px;
  line-height: 30px;
}

.gallery img {
  height: 220px;
  width: auto;
  min-width: 160px;
  max-width: 250px;
  border: inset black 3px;
  outline: outset grey 2px;
  box-shadow: 0px 0px 5px 3px rgba(32, 0, 27, 1), 0px 0px 5px 3px rgba(32, 0, 27, 1);
}

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

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

*::-webkit-scrollbar-track { /* background of the bar */
  border-radius: 2px;
  background-color: black;
  border-left: solid grey 2px;
}

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

*::-webkit-scrollbar-thumb { /* the actual scroll bar */
  border-radius: 2px;
  background-color: silver;
  border: solid grey 2px;
  border-right: none;
}

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