/*

Okay.

*/

/* ========================================================================== */
/* 404 stuff */
/* ========================================================================== */

.HeaderText404{
  white-space: nowrap;
  overflow: hidden;
  padding-top: 15px;
  font-size: 32px;
  color: white;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  animation: 5s hText404 infinite ease-in-out;
  /* outline: auto; */
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);


}
@keyframes hText404 {
  0%{
    transform: rotate(-3deg);
  }
  50%{
    transform: rotate(3deg);
  }
  100%{
    transform: rotate(-3deg);
  }
}

div#borderTop404{
  background:url("https://fivattew.com/img/bord.png") repeat-x;
  background-position: bottom;
  background-size: 40px;
  transform: rotate(180deg);
  padding-top: 40px;
  animation: 50s scroll infinite linear;
}


/*
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~LINKS~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
*/
:root {
  --windowColorBody: #bdd1e4;
  --windowColorBorder: #9bbbdc;
  --textColor: #0a1f3d;
  --linkColor: #051633;
  --titleBarColor: #79c8ff;
  --titleBarColorBorder: #53b7ff;
  --paddingColor: var(--textColor);
  --buttonColor: var(--windowColorBorder);
  --linkHoverColor: #4688fa;
}

a {
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  color: var(--linkColor);
  font-size: 18px;
}
a:visited {
  color: var(--linkColor);
}
a:hover {
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  color: var(--linkHoverColor);
  font-size: 18px;
}


@keyframes linkWiggle {
  from {
    transform: rotate(-2deg);
  }

  to {
    transform: rotate(2deg);
  }
}

td {
  vertical-align: top;
  width: 50%;
}

/*
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~BODY~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
*/

/* ~~~~~MISC~~~~~ */

p {
  margin: 1em;
}

b {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  font-family: 'Hammersmith One', sans-serif;
}

body {
  margin: 0px;
}

img.screenshot {
  border: 5px solid var(--windowColorBorder);
  border-radius: 1em;
  margin: auto;
  width: 100%;
  filter: drop-shadow(0.3em 0.3em 5px rgba(0, 0, 0, 0.4));

}

/* ~~~~~LOGO~~~~~ */

img.logo {
  max-width: 696px;
  min-width: 0;
  min-height: 0;
  z-index: 99;
  align-self: stretch;
  object-fit: contain;
}


div#titlebar {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-evenly;
  text-align: left;
  min-width: 0;
  min-height: 0;
  filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.4));
  height: 127px;
  border: 5px solid var(--titleBarColorBorder);
  border-radius: 15px;
  background-color: var(--titleBarColor);
}


div#titlebarLogoholder {
  margin-top: -92px;
  display: flex;
  flex-direction: column;
  max-width: 696px;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

#titlebarRandotext {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;

  /* background: crimson; */
  margin: 0;
  display: table;
  height: 100px;
  font-size: 2.5vw;
  width: 100%;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  text-transform: uppercase;
  min-width: 0;
  min-height: 0;
  text-shadow:
    2px 5px 4px rgba(0, 0, 0, 0.5),
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

#titlebarRandotextInner {
  min-width: 0;
  min-height: 0;
  margin: auto;
  position: relative;
  top: -60px;
  z-index: 99;

}

div#pad {
  padding-top: 64px;
}

@media only screen and (min-width: 1100px) {
  #titlebarRandotextInner {
    position: relative;
    top: 0px;
    transform: rotate(15deg);
  }

  #titlebarRandotext {
    font-size: 2em;
    width: 400px;
  }

  div#titlebarLogoholder {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    min-width: 696px;
    max-width: 100%;
  }

  div.logoParent {
    width: 100%;
  }

  img.logo {
    min-width: 696px;
  }

  #mobile-detector {
    display: none;
  }
}

/* ~~~~~BACKGROUND~~~~~ */

div#header_bg {
  width: 100%;
  height: 100%;
  background: url(img/bg.png);
  background-size: 240px;
  animation: 100s bg infinite linear;
}

div#bg {
  background-color: black;
  background: url(img/bg2.png);

  min-height: 100%;
  min-width: 1024px;
  z-index: -100;

  /* Set up proportionate scaling */
  width: 100%;

  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;

}

div#borderTop {
  mask-image: url(img/bord.png) repeat-x;
  background-position: bottom;
  background-size: 25px;
  padding-top: 0px;
  animation: 50s scroll infinite linear;
}

/*
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~WINDOW~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
*/

div.camFlex {

  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

div#window {
  overflow: visible;
  max-height: 35pix;
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  max-width: 760px;
  margin: 15px;
}


div#windowHeader {
  margin-right: -1em;
  background: var(--titleBarColor);
  height: 50px;
  position: relative;
  z-index: 20;
  margin-bottom: -5px;
  padding: 5px;
  filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.4));
  border-radius: 5px;
}




div#windowBody {
  background-repeat: repeat;
  color: (var(--textColor));
  overflow: hidden;
  background: var(--windowColorBody);
  border: 5px solid var(--windowColorBorder);
  border-top: none;
  border-right-width: 15px;
  border-bottom-width: 15px;
  border-bottom-right-radius: 50px;
  box-shadow: 10px 10px 9px rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1em;
  position: relative;
  z-index: 1;
}

div#windowBody.whatnewwindow {
  border: 5px solid var(--windowColorBorder);
  border-radius: 15px;
}

.windowBodyTitle {
  font-size: 30px;
  color: var(--textColor);
  text-align: left;
  font-family: 'Press Start 2P', cursive;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.windowBodyTitle.whatnew {
  text-align: center;
}

/* @keyframes hText {
  0% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(-3deg);
  }
} */

@keyframes bg {
  100% {
    background-position: -1024px 1024px;
  }
}

@keyframes scroll {
  100% {
    background-position-x: 2048px;
  }
}

@keyframes bg_tophats_scroll {
  to {
    background-position-x: -256px;
  }
}
/*
~~~~~~~~~~~~~~~~~~~~
~~~~~COPYRIGHT~~~~~~
~~~~~~~~~~~~~~~~~~~~
*/

div.copyright {
  text-align: center;
  font-size: 14px;
  font-family: 'Press Start 2P', cursive;
}

/* 
~~~~~~~~~~~~~~~~~~~~
~~~~~~~BUTTON~~~~~~~
~~~~~~~~~~~~~~~~~~~~
*/

div.buttonHolder {
  font-family: 'Press Start 2P', cursive;
  font-size: 20px;
  transition: 0.3s;
  height: 100px;
  filter: drop-shadow(4px 4px 1px rgba(0, 0, 0, 0.4));
  display: table;
}

div.buttonHolder:hover {
  filter: drop-shadow(5px 13px 4px rgba(0, 0, 0, 0.4));

}

div.buttonHolder:hover .button {
  animation: 100s bg infinite linear;
  background: url(img/bg.png);
  background-size: 50px;
  clip-path: polygon(100% 0, 88% 49%, 100% 100%, 0% 100%, 12% 50%, 0% 0%);
  transform: translate(0, -8px);
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    2px 5px 4px rgba(0, 0, 0, 0.5),
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;

}

div.button {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  pointer-events: auto;
  background: var(--buttonColor);
  animation: 100s bg infinite linear;
  transition: transform 0.3s, text-shadow 0.3s;
  text-shadow:
    0px 0px 0px white,
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
  font: inherit;
  letter-spacing: inherit;
  clip-path: polygon(100% 0, 88% 49%, 100% 100%, 0% 100%, 12% 50%, 0% 0%);
  margin-top: 30px;

  text-transform: inherit;
  position: relative;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  padding-left: 2em;
  padding-right: 2em;
}

/* HR and guff */

hr {
  display: block;
  border: 0px;
  height: 10px;
  /* width: 100%; */
  background-image: url('img/bg3.png');
  animation: 50s bg_tophats_scroll infinite linear
}

iframe {
  filter: drop-shadow(10px 10px 5px rgba(0, 0, 0, 0.4));
}