/* font import */
    @import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

    @import url("https://fonts.googleapis.com/css2?family=Eczar&display=swap");

    @import url("https://fonts.googleapis.com/css2?family=Mate+SC&display=swap");

    @import url("https://fonts.googleapis.com/css2?family=Antic&display=swap");

    @import url("https://fonts.googleapis.com/css2?family=Jacquard+12&display=swap");

    @import url("https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap");

    /* fonts */
    /* fonts */
  @font-face {
    font-family: "SUPERSCR";
    src: url("https://valeforic.neocities.org/Fonts/SUPERSCR.TTF");
  }

  @font-face {
    font-family: 'BirchLeaf';
    src: url('https://valeforic.neocities.org/Fonts/birchleaf-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/birchleaf-webfont.woff') format('woff'),
        url('https://valeforic.neocities.org/Fonts/birchleaf-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/birchleaf-webfont.svg#birch_leafregular') format('svg');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: "SweetDreams";
    src: url(https://valeforic.neocities.org/Fonts/SweetDreams.ttf);
  }

@font-face {
    font-family: 'owrekyngemedium';
    src: url('https://valeforic.neocities.org/Fonts/owrekynge-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/owrekynge-webfont.woff') format('woff'),
         url('https://valeforic.neocities.org/Fonts/owrekynge-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/owrekynge-webfont.svg#owrekyngemedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

    @font-face {
      font-family: "C64Pro";
      src: url(https://valeforic.neocities.org/Fonts/C64Pro.ttf);
    }

@font-face {
    font-family: 'GothicPixels';
    src: url('https://valeforic.neocities.org/Fonts/gothicpixels-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/gothicpixels-webfont.woff') format('woff'),
         url('https://valeforic.neocities.org/Fonts/gothicpixels-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/gothicpixels-webfont.svg#gothicpixelsmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}
    
    @font-face {
    font-family: 'PerfectDOS';
    src: url('https://valeforic.neocities.org/Fonts/perfect_dos-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/perfect_dos-webfont.woff') format('woff'),
         url('https://valeforic.neocities.org/Fonts/perfect_dos-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/perfect_dos-webfont.svg#perfect_dos_vga_437_winRg') format('svg');
    font-weight: normal;
    font-style: normal;

}

    @font-face {
    font-family: 'rainyhearts';
    src: url('https://valeforic.neocities.org/Fonts/rainyhearts-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/rainyhearts-webfont.woff') format('woff'),
         url('https://valeforic.neocities.org/Fonts/rainyhearts-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/rainyhearts-webfont.svg#rainyheartsmedium') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: 'PixelOperator';
    src: url('https://valeforic.neocities.org/Fonts/pixeloperator-webfont.woff2') format('woff2'),
         url('https://valeforic.neocities.org/Fonts/pixeloperator-webfont.woff') format('woff'),
         url('https://valeforic.neocities.org/Fonts/pixeloperator-webfont.ttf') format('truetype'),
         url('https://valeforic.neocities.org/Fonts/pixeloperator-webfont.svg#pixel_operatorregular') format('svg');
    font-weight: normal;
    font-style: normal;
    }

  /* animations */
  
  @keyframes glowtopbutton {
  from {
           box-shadow:
        0 0 12px rgb(16, 40, 255),
        0 0 12px rgb(16, 40, 255),
        0 0 12px rgb(16, 40, 255),
        0 0 12px rgb(16, 40, 255);
  }
  to {
           box-shadow:
        0 0 5px rgb(174, 1, 255),
        0 0 5px rgb(174, 1, 255),
        0 0 5px rgb(174, 1, 255),
        0 0 5px rgb(174, 1, 255);
  }
}

  @keyframes glowtopbutton2 {
  from {
           box-shadow:
        0 0 12px rgb(130, 7, 155),
        0 0 12px rgb(130, 7, 155),
        0 0 12px rgb(130, 7, 155),
        0 0 12px rgb(130, 7, 155);
  }
  to {
           box-shadow:
        0 0 5px rgb(162, 1, 255),
        0 0 5px rgb(162, 1, 255),
        0 0 5px rgb(162, 1, 255),
        0 0 5px rgb(162, 1, 255);
  }
}

    @keyframes glowh3 {
  from {
           text-shadow:
        0 0 12px rgb(126, 38, 241),
        0 0 12px rgb(126, 38, 241),
        0 0 12px rgb(126, 38, 241),
        0 0 12px rgb(126, 38, 241);
  }
  to {
           text-shadow:
        0 0 5px rgb(126, 38, 241),
        0 0 5px rgb(126, 38, 241),
        0 0 5px rgb(126, 38, 241),
        0 0 5px rgb(126, 38, 241);
  }
}

 @keyframes slideup {
    0% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
      box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    }
    100% {
      opacity: 0;
      transform: translateY(-40px) scaleY(0.9);
      box-shadow: 0 0 0 rgba(0,0,0,0);
    }
  }

 @keyframes dropdown {
    0% {
      opacity: 0;
      transform: translateY(-60px) scaleY(0.9);
      box-shadow: 0 0 0 rgba(0,0,0,0);
    }
    60% {
      opacity: 1;
      transform: translateY(5px) scaleY(1);
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
      box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    }
  }

/* button border animation */
  @keyframes border {
    from {border-color: #45d4ff;}
    to {border-color: #4234ff;}  
  }

 /* header fonts */
  h1 {
    font-family: "PerfectDOS";
    font-size: 1.5em;
    color: #98d9ff;
    text-decoration: none;
    line-height: 40px;
    font-weight: normal;
    animation: glowh3 2s infinite alternate;
  }

  h1 a{
    color: #7cbdf2;
    font-weight: normal;
    text-decoration: none;
    line-height: 30px;
  }

  h1 a:visited {
    color: #7cbdf2;
  }

  h1 a:hover {
    color: #c795ff;
    -webkit-transition: color 1s;
    transition: color 1s;
  }

  a {
    -webkit-transition: color 1s;
    transition: color 1s;
  }

  a:hover {
    color: #ffffff;
  }

  a:link {
    text-decoration: none;
  }

  strong {
    color: #ed64f5;
  }

  h2 {
    font-family: "BirchLeaf";
    font-size: 3em;
    color: #000000;
    text-shadow:
      -2px -2px 0 #8922ff,
      2px -2px 0 #8922ff,
      -2px 2px 0 #8922ff,
      2px 2px 0 #8922ff;
    text-shadow:
      2px 2px 5 #000000,
      2px 2px 5 #000000,
      2px 2px 5 #000000;
    font-weight: normal;
    text-decoration: none;
    padding: 0px;
    margin: 0 auto;
  }

  h3 {
    font-family: "rainyhearts";
    font-size: 20px;
    color: #fff;
    font-weight: normal;
    animation: glowh3 2s infinite alternate;
  }

  h4 {
    font-family: "rainyhearts";
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    animation: glowh3 2s infinite alternate;
    margin: 10 auto;
  }

  h5 {
    font-family: "PixelOperator";
    font-size: 24px;
    color: #fff;
    font-weight: normal;
    animation: glowh3 2s infinite alternate;
    padding: 10px;
    margin: 10 auto;
  }

#flex {
  display: flex;
  width: 100%;
}

#container {
  position: absolute;
  min-height: 100%;
  min-width: 80%;
  max-width: 80%;
  justify-content: space-between;
  margin: 0 auto;
  border-style: none;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
}

body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("https://valeforic.neocities.org/Layout/BGGalaxy8.gif");
  width: 100vw;
  min-height: 100%;
  margin: 0 auto;
  color: #fceaff;
  background-color: #08031a;
  font-family: "rainyhearts", sans-serif;
  font-weight: normal;
}

/* sidebar */
aside {
  background-image: url("https://valeforic.neocities.org/Layout/CrossBG.png");
  max-width: 20%;
  min-width: 350px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 5px 5px 20px black;
}

.headerglow {
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}

/* button */
.button {
  max-width: 300px;
  min-width: 300px;
  z-index: 3;
  padding: 15px;
  margin: 10 auto;
  font-family: "C64Pro";
  font-size: 26px;
  color: #fff;
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  border-color: #45d4ff;
  background-image: url("https://valeforic.neocities.org/Layout/bgtop3.gif");
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
  animation: glowh3 2s infinite alternate;
}

.button:hover {
  color: #84b5db;
  -webkit-transition: color 1s;
  transition: color 1s;
}

  .imgcont {
    margin: 0 auto;
    display: inline-block;
    box-shadow: 
    0px 0px 20px #000000,
    0px 0px 15px #000000a4;
    margin: 5px;
  }

/* main content area */  
  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    order: 2;
    border-style: dashed;
    border-width: 2px;
    border-radius: 10px;
    border-color: #84b5db;
    box-shadow: 0px 0 15px 0px #000;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 20px black;
  }

/*content area order */
#leftSidebar {
  order: 1;
}

/* centering divs */
.center {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.center2 {
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

/* footer */
  footer {
    position: relative;
    min-width:100vw;
    max-width:100vw;
    margin: 0 auto;
    height: 40px;
    z-index: 100;
    padding: 10px;
    text-align: center;
    background-color: #09090f;
    box-shadow: 0px 0px 20px black;
  }

/* mobile navigation */
/* menu toggle button */  
  .topnavtoggle {
    background-image: url("https://valeforic.neocities.org/Layout/bgtop3.gif");
    height: 60px;
    color: fff;
    font-size: 1.4em;
    cursor: pointer;
    display: none;
    font-family: "C64Pro", sans-serif;
    transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
    animation: glowh3 2s infinite alternate;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 1);
    top: 0;
    left: 0;
    width: 100vw;    
    z-index: 100;
    margin: 0 auto;
    border-bottom: solid;
    border-width: 1px;
    display: none;
    padding: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .topnavtoggle:hover {
    color: #00eeff;
  }

/* dropdown menu */
  .topnavmenu {
    display: none;
    z-index: 999;
    top: 60px;
    position: fixed
  }

  .topnavmenu.closing {
    animation: slideup 0.5s ease-in forwards;
  }

/* topnav for smaller devices */
.topnav {
  position: fixed;
  border-bottom: solid;
  border-width: 1px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin: 0 auto;
  height: fit-content;
  display: none;
  padding: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-image: url("https://valeforic.neocities.org/Layout/bgtop3.gif");
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 1);
  margin: 0 auto;
  z-index: 100;
}

/* close button */
.topnavclose {
  background: rgba(70, 32, 78, 0.527);
  border: 2px solid #84b5db;
  border-radius: 5px;
  color: #fff;
  font-family: "C64Pro", sans-serif;
  font-size: 1.2em;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow:
    0 0 6px #ae00ff,
    0 0 12px #ae00ff;
  animation: glowtopbutton2 2s infinite alternate-reverse;
}

.topnavclose:hover {
  color: #84b5db;
}

/* buttons on topnav */
.topnavbutton {
  animation: glowtopbutton 2s infinite alternate-reverse;
  font-family: "C64Pro";
  font-size: 1.5em;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  border-color: #00eeff;
}

.topnavbutton:hover {
  color: #84b5db;
  -webkit-transition: color 1s;
  transition: color 1s;
}

/* offsite links button */
.offsitebutton {
  width: 100px;
  height: 50px;
  margin: 10 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.guestbookbutton {
  width: 120px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  border-style: solid;
  border-color: #84b5db;
  border-width: 2px;
}

.offsitetext {
  color: #fff;
  font-family: "PixelOperator", sans-serif;
  text-align: center;
  font-size: 25px;
  vertical-align: middle;
}

.offsitetext:hover {
  color: #84b5db;
  -webkit-transition: color 1s;
  transition: color 1s;
}

.line {
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-right: 0px;
  border-top: 0px;
  border-left: 0px;
  border-color: #c7c9d1;
}

* {
  box-sizing: border-box;
}

/* sidebar status thing */
.statusimg {
  filter: drop-shadow(2px 2px 2px #000);
  padding: 10px;
  float: left;
  white-space: nowrap;
}

.statusimg2 {
  filter: drop-shadow(2px 2px 2px #000);
  margin-top: 20px;
  display: none;
}

.statusbox {
  display: inline-block;
  white-space: nowrap;
  min-width: 300px;
}

/* status cafe */
#statuscafe {
  filter: drop-shadow(2px 2px 2px #000);
  font-size: 16px;
  border-style: solid;
  border-width: 2px;
  border-color: #84b5db;
  border-radius: 10px;
  padding: 5px;
  min-width: 150px;
  max-width: 150px;
  background: rgba(0, 0, 0, 0.3);
  float: right;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
}

#statuscafe:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 8px 15px 8px 0;
  border-color: transparent #84b5db;
  display: block;
  width: 0;
  z-index: 1;
  left: -15px;
  top: 38px;
}

#statuscafe-username {
  filter: drop-shadow(2px 2px 2px #000);
  font-size: 14px;
  white-space: initial;
  padding: 0px;
}

#statuscafe-username a {
  color: #84b5db;
}

#statuscafe-username a:visited {
  color: #84b5db;
}

#statuscafe-username a:hover {
  color: #fff;
}

#statuscafe-content {
  filter: drop-shadow(2px 2px 2px #000);
  height: fit-content;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  white-space: initial;
}

/* media query */
@media only screen and (max-width: 1300px) {

  /*stretch to sides of page */
  #container {
    min-width: 100%;
    max-width: 100%;
    min-height: fit-content;
  }
}

@media only screen and (max-width: 1000px) {

/* hide sidebar */
  aside {
    display: none;
  }

  .statusimg2 {
    display: block;
  }

/* show status at bottom of page instead of sidebar */
.statusbox2 {
  display: inline-block;
}

  #container {
    min-height: fit-content;
    overflow: visible;
    overflow-y: auto; 
    box-shadow: 0px 0px 30px black;
  }

/* center and stretch main area */
  main {
    order: 1;
    min-width: 100%;
    min-height: 100vh;
    max-height: 100%;
    margin: 0 auto;
    margin-top: 100px;
    overflow-y: auto;
    flex: 1;
    margin-bottom: 40px;
    overflow-y: auto;
  }
}
 
@media only screen and (max-width: 1000px) {
  
  /* content stretch of page */
  body {
    width: 100vw;
    min-height: 100vh;
  }

  #container {
    min-height: 100vh;
  }

  /* change size of button */
  .topnavbutton {
    font-size: 1em;
  }

/* unhide topnav */
  .topnav {
    display: flex;
    gap: 10px;
    display: flex;
    position: absolute;
    flex-wrap: wrap;
  }
}
  
@media only screen and (max-width: 743px) {

  main {
    margin-top: 150px;
  }

}

@media only screen and (max-width: 540px) {

  /* display menu toggle */
  .topnavtoggle {
    width: 100vw;  
    display: fixed;
    gap: 10px;
    display: flex;
    position: absolute;
    z-index: 99999;
  }

  /* hide topnav */
  .topnav {
    display: none;
  }

  .topnavmenu a {
    color: #fff;
  }

  .topnavmenu a:visited {
    color: #fff;
  }

/* change button style with size */
  .topnavbutton {
    font-family: "C64Pro";
    font-size: 1.5em;
    padding: 10px;
    border-radius: 5px;
    border-style: solid;
    border-width: 3px;
    border-color: #8cfbff;
    cursor: pointer;
    text-shadow:
      -3px -3px 0 #000000,
      3px -3px 0 #000000,
      -3px 3px 0 #000000,
      3px 3px 0 #000000;
  }

/* drop down menu */
  .topnavmenu {
    overflow: hidden;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    width: 100vw;
    height: fit-content;
    padding: 20px;
    border-bottom: solid;
    border-width: 1px;
    text-align: center;
    align-items: center;
    gap: 20px;
    position: absolute;
    background-image: url("https://valeforic.neocities.org/Layout/bgtop4.gif");
  }

  .topnavmenu.open {
    display: flex;
    animation: dropdown 1s ease-in-out;
  }

  main {
    margin-top: 100px;
  }

}