 /* PAGE FADE IN */
  @keyframes fadeinall {
    0% {
      opacity: 1; }
    97% {
      opacity: 0; }
    98% {
      opacity: 0;
      -webkit-transform: translateY(0);
      transform: translateY(0); }
    100% {
      opacity: 0;
      -webkit-transform: translateY(-100%);
      transform: translateY(-100%);
      z-index: -1; } }
    #fadein {
      opacity: 1;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
      background-color: #FFFFFF;
      z-index: 999;
      -webkit-animation-fill-mode: forwards;
      animation-fill-mode: forwards;
      -webkit-animation: fadeinall 1s normal both;
      animation: fadeinall 1s normal both;
      -webkit-animation-delay: 0.3s;
      animation-delay: 0.3s; }

      /*IMPORTANT COLOR AND DESIGN INFO
      859DC2 WINDOW BORDERS AND MOST TEXT
      859DC2 WINDOW BG*/

/*CURSOR STUFF HERE BE AWARE*/
body{
cursor: url('CURSOR/normal-select.cur'), auto;
background-color: #20215C;
}

/*CURSOR ENDS*/

      /*TEXT INFO*/
      h1{
  font-size: 36px;
  letter-spacing: 0.1em; /* 10% letter spacing */
  color: white;          /* fill color */
  font-weight:800;
  text-align: left;
  padding:0;
  margin-top: 10px;
  margin-bottom: 5px;
  width: fit-content;
  
  /* Stroke (outline) */
  -webkit-text-stroke: 1px #859DC2; /* works on Chrome, Safari, Edge */
  text-stroke: 2px #859DC2;   
        /* for future compatibility */

    text-shadow:
    -2px 0 #859DC2,
    2px 0 #859DC2,
    0 -2px #859DC2,
    0 2px #859DC2;
      /*floating text begins here be warned be warned babe*/
      .floattxt {
        position: absolute;
        top: 100px;
        right: 10px;
        animation: floatUpDown 3.5s ease-in-out infinite;

      }

              @keyframes floatUpDown {
    0%   { transform: translate(-50%, 0); }
    50%  { transform: translate(-50%, -10px); }
    100% { transform: translate(-50%, 0); }
  }
      .window {
      border: 3px solid #859dc2;
      background-color: #F5F5FF;
      position: absolute;
      width: 150px;
      height: 250px;
      box-sizing: border-box;
      }
    }


      /* WINDOW BUTTONS AND TITLE BAR INFO*/

button{
  font-family: inherit;
}
 .titlebar {
  height: 33px;
  background-color: #859dc2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-sizing: border-box;
}

.titlebar .windowicons {
  display: flex;
  gap: 4px;
}

.titlebar .windowicons button {
  width: 16px;
  height: 16px;
  background: #F5F5FF;
  color: #9ED1EA;
  border: 1px solid #859dc2;
  font-size: 10px;
  padding: 0;
  line-height: 1;
}

.windowcontent {
  padding: 10px;
  text-align: center;
  margin-bottom: 5px;

}

.windowcontent ul{
  list-style: none;
  color:#859dc2;
  text-align: center;
  padding: 0;
  margin: 0;
}




      /* FLOATING MAI WINDOW */

#maifloating {
  width: 240px;
  height: 350px;
  background-size: cover;
  background-clip:content-box;
  object-fit: fill;
  display: block;
} 
    
      #maifloat {
  position: absolute;
  bottom: 10px;
  left: 600px;
  width: fit-content;
  background: #F5F5FF;
  border: 3px solid #859dc2;
  padding: 0;
  animation: floatUpDown 3.5s ease-in-out infinite;
}

              @keyframes floatUpDown {
    0%   { transform: translate(-50%, 0); }
    50%  { transform: translate(-50%, -10px); }
    100% { transform: translate(-50%, 0); }
  }
#maifloat .windowcontent{
  padding:0;
}

      


      .h1txt{
        letter-spacing: 10%;
        font-size: 36;
        line-height: auto;
        stroke-width: 2px;
        color:#DFDFEF;
      }

      /*main window starts here*/
        #mainwindow{
          width: 650px;
          height: 750px;
          border: 3px, solid, #859dc2;
          background-color: #F5F5FF; 
          position: relative; /* keeps everything inside kind of, look up more later so you don't cry*/
        }

        /*profile user area*/
        #profilecontainer{
          width: 250px;
          height: 150px;
          padding: 10px;
          display: flex;
          align-self: left;
        }
        #maicon{
          width: 100px;
          height: 100px;
          border: 1px, solid, #859dc2;
          box-shadow: 0 0 4px 2px rgba(116, 169, 249, 0.345); /* soft blue glow for hp bars and such*/
}


        /*INVENTORY STARTS HERE BE WARNED*/

.inventorycontainer {
  position: absolute;
  top: 40px;
  right: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: fit-content;
  gap: 6px;
}

.secondarytxt {
  color: #20215C;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
}

#inventorybox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 150px;
  height: 190px;
  background-color: white;
  border: 1px solid #859DC2;
  padding: 8px;
  box-sizing: border-box;
  place-items: center;
}

.inventoryitem {
  width: 32px;
  height: 32px;
  background-color: rgba(224, 224, 236, 0.75);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inventoryitem img {
  width: 24px;
  height: 24px;
  padding: 0;
}

#profilecontainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: fit-content;

}

.profiletop {
  display: flex;
  align-items: center;
  gap: 8px;
}

#statcontainer{
  display: flex;
  flex-direction: column;
  gap: 5px;

}

.statbarhp{
  width: 100px;
  height: 10px;
  background-color:#FFFFFF ;
  border: 1px solid #F5F5FF;
  overflow: hidden;
  border-radius: 2px;
  margin-left: -8px;
}
.fill{
  height: 10px;
  background-color:#DFDFEF ;
}
.statbarhp .fill{
  width: 75%;
}
.statbarsp .fill{
  width: 25%;
}

.statbarsp{
  width: 100px;
  height: 10px;
  background-color:#FFFFFF ;
  border: 1px solid #F5F5FF;
  overflow: hidden;
  border-radius: 2px;
  margin-left: -8px;


}

.profiletext{
  text-align: left;
  font-size: 16px;
  color:#859DC2;
  letter-spacing: normal;
  line-height: 1px;
}
        /*nav window here*/
        #navwindow {
          width: 150px;
          height: fit-content;
          top: 30px;
          right: 30px;
          position: absolute;
          border: 2px solid #859DC2; /* make sure you use proper shorthand, you can't leave out the "solid"*/
          border-radius: 2px;
          background-color: #F5F5FF;

        }

        /*thanks window*/

#thankswindow { 
  width: 150px;
  height: fit-content;
  top: 300px;
  right: 30px;
  position: absolute;
  border: 2px solid #859DC2; /* make sure you use proper shorthand, you can't leave out the "solid"*/
  border-radius: 2px;
  background-color: #F5F5FF;
}


/*MESSAGE POP UP*/

.tinywindow{
  width: 250px;
  height: 32px;
  border: 2px solid #20215C;
  background-color:#8fabd5;
  border-radius: 3px;
  color:#FFFFFF;
  position: absolute;
  overflow: visible; /*allows icon to peek out the side*/
  top: 500px;
  left: 200px;
  display: flex;
}

.messagebar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 28px; /* make space on left for icon */
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.messagebar .windowicons {
  background: none;
  border: none;
  font-size: 12px;
  font-family: inherit;
  color: #000040;
  padding: 4px 4px;
  line-height: 1;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.tinywindow span{
  letter-spacing: 2px;

}

/*reminder part actually is here*/

#remindermsg{
  width: 500px;
  height: 350px;
  border: 2px solid #859dc2;
  background-color: #F5F5FF;
  box-shadow: 4px 4px 3px #687a9583;
  display: flex;
  flex-direction: column;
}
#remindermsg .titlebar{
  padding: 0 ;
  padding-left: 4px;
  padding-right: 4px;
}

.remindercontent {
  flex: 1; /* take up the remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  color: #2a579b;
  gap: 12px;
  text-align: center;
  padding: 10px;
} /* NEEDED HELP WITH THIS, PLEASE READ ON FLEX MORE*/

.remindercontent p{
  font-size: 32px;
}

/*reminder overlay here*/
.reminderoverlay{
  top:0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(4px); /*this provides the blur necessary*/
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  display: flex;
  position: fixed;
}

.remindercontent button{
  border: 2px outset #9eb5ea; /*gives buttons raised look*/
  background-color: #F5F5FF;
  padding: 3px 10px;
  margin: 4px;
  width: max-content;
  box-shadow: 1px 1px #3f6cb46d;
  color:#2a579b;
}
.remindercontent button:active{
  border-style: inset;
}
.remindercontent button:hover{
  color:#3485ff;
}

.buttonrow{
  display: flex;
  flex-direction: row;
  margin: 2px;
  align-items: center;
  gap: 4px;
}