@font-face {
  font-family: beatblock;
  src: url('/DigitalDisco.ttf');
}

body {
  background-image: url('/background.jpg');
  background-size: 50%;
  background-position: center;
  background-attachment: fixed;
  background-color: black;
  text-align: center;
}

#readabilityGradient {
  position: fixed;
  text-align: center;
  width: 95%;
  background-image: linear-gradient(to right, #00000000, #00000088 10%, #00000088 90%, #00000000);
  height: 100%;
  left: 5%;
  top: 0%;
  z-index: -1;
}

p{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-shadow:
  -1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
  color:aliceblue;
  font-size: 24px;
  margin-left: 15%;
  margin-right: 15%;
}

.initaltext {
  color:aliceblue;
  vertical-align:bottom;
  transform: translate(0%, 0%);
  text-align: center;
}

.maintext {
  vertical-align:top;
  position: top;
  transform: translate(0%, 50px);
}

.smalltext {
  font-size: 16px;
  color:slategray;
}

.subtitle {
  position: relative;
  color: white;
  top:10px;
  transform: translate(0%, 50%);
  text-align: center;
  height: 100px;
  image-rendering: pixelated;
}

.subtitle-text{
  color: #404040;
  vertical-align:bottom;
  font-family: beatblock;
  font-size: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -95%);
  text-rendering: pixelated;
  image-rendering: pixelated;
  text-align: center;
  overflow: hidden;
}

.subtitleimage{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:1000px;
  content: src("/main-images/Window_Header.png");
  image-rendering: pixelated;
  text-align: center;
}

h2{
  font-size: 40px;
  color: white;
  text-align: center;
  text-shadow:
  -1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000; 
}

.nav {
  background-color: slategray;
  overflow: hidden;
  width: 100%;
  height: 20px;
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: 3;
  align-items: center;
  align-self: center;
  color: #f2f2f2;
}

.nav a {
  position: relative;
  float: middle;
  color: #f2f2f2;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  vertical-align: middle;
}

.nav a:hover {
  background-color: #ddd;
  color: black;
}

.nav a.active {
  background-color: darkred;
  color: white;
}

pagering-link{
  position: relative;
  vertical-align: middle;
  align-self: center;
  color: white;
}

#wavelength {
  width: 60%;
  transform: translate(0, 120px);
  text-align: center;
}

a{
  color:aqua;
}

.meinsuit {
  width: 120px;
  position: fixed;
}

.miniButtons {
  position: relative;
  top: 160px;
  height: 88px;
  image-rendering: pixelated;
  margin-left: 15%;
  margin-right: 15%;
}

#buttoncredit {
  position: relative;
  top: 120px;
}

#imagesofmeinsuit{
  position: fixed;
  top: 25%;
}

#window{
  box-sizing: border-box;
  background-color: #d4d0c8;
  image-rendering: pixelated;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 0%;
  transform: translate(-50%, -50%);
  border: 50px solid transparent;
  border-image: url("/windowResizeable.png") 25 25 25 round;
  z-index: 2;
  opacity: 0;
}

#windowContent{
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-content: center;
  overflow-y: auto;
}

#windowGradient{
  position: fixed;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 40px;
  z-index: 3;
  background-image: linear-gradient(to top, #d4d0c8, transparent);
}

#windowBack{
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #00000088;
  visibility: hidden;
  opacity: 0;
}

/* Scrollbar styling for inspiration window (man that's a lot) */

#windowContent::-webkit-scrollbar{
  position: absolute;
  height: 100%;
  width: 36px;
  background-image: url("/dithering.png");
  image-rendering: pixelated;
  background-repeat: repeat-y;
  background-size: 200%;
}

#windowContent::-webkit-scrollbar-thumb {
  background-color: #d4d0c8;
  border: 12px solid transparent;
  border-image: url("/retroWindowsButtons/button.png") 3 3 3 round;
}

#windowContent::-webkit-scrollbar-thumb:hover {
  border-image: url("/retroWindowsButtons/button-focus.png") 3 3 3 round;
}

#windowContent::-webkit-scrollbar-button{
  width: 36px;
  height: 36px;
  background-size: 36px;
}

#windowContent::-webkit-scrollbar-button:increment{
  background-image: url("/retroWindowsButtons/downbutton.png");
}

#windowContent::-webkit-scrollbar-button:decrement{
  background-image: url("/retroWindowsButtons/upbutton.png");
}

#windowContent::-webkit-scrollbar-button:increment:hover{
  background-image: url("/retroWindowsButtons/downbutton-focus.png");
}

#windowContent::-webkit-scrollbar-button:decrement:hover{
  background-image: url("/retroWindowsButtons/upbutton-focus.png");
}

#closeButton{
  position: absolute;
  width: 36px;
  height: 36px;
  top: -40px;
  right: -40px;
  content: url("/retroWindowsButtons/Xbutton.png");
  image-rendering: pixelated;
  border: 0px black;
}

#closeButton:hover{
  content: url("/retroWindowsButtons/Xbutton-focus.png");
}

#beatblockLogo{
  width: 690px;
  height: 122px;
  image-rendering: pixelated;
}

#undertaleYellowLogo{
  image-rendering: pixelated;
  width: 810px;
  height: 184px;
  position: relative;
  top: 25px;
}

#glitchCatTitle{
  font-family: beatblock;
  font-size: 112px;
}

#windowBottomButton{
  position: relative;
  top: 5%;
}

.inspirationList{
  position: relative;
  top: 150px;
  overflow: visible;
  justify-content: space-around;
  justify-items: space-around;
  justify-self: space-around;
  background-color: #d4d0c8;
  width: 80%;
  left: 50%;
  transform: translate(-50%, 0%);
  height: 30%;
  right: 0%;
  border: 50px solid transparent;
  border-image: url("/windowResizeable.png") 25 25 25 round;
}

.inspirations img{
  width: 20%;
  height: auto;
  justify-content: space-around;
  justify-items: space-around;
  justify-self: space-around;
  border: 8px solid transparent;
  border-image: url("/container-c.png") 2 2 2 round;
  image-rendering: pixelated;
}

.inspirations img:hover{
  border-image: url("/container.png") 2 2 2 round;
}

.inspirations{
  position: relative;
  top: 25px;
}

@media only screen and (max-width: 1000px) {
  .subtitleimage{
    content: url("/main-images/Window_Header_Small.png");
    width: 500px;
  }
  .subtitle{
    transform: translate(0%, 140%)
  }
  .maintext{
    transform: translate(0%, 45%);
  }
  #wavelength{
    transform: translate(0, 240px)
  }
  p{
    font-size: 32px;
    transform: translate(0%, 60px);
  }
  .nav {
    height: 40px;
    font-size: 32px;
  }
}