@font-face
{
  font-family: 'Megrim';
  src: url(/fonts/Megrim-Regular.ttf)
}

@font-face
{
  font-family: 'Electrolize';
  src: url(/fonts/Electrolize-Regular.ttf)
}

@font-face
{
  font-family: 'Space';
  src: url(/fonts/SpaceGrotesk-Variable.ttf)
}


/* -==========================================- */

/* 

  these are the color values that should be overridden by the
  respective world / chaarcter's stylesheet

*/

:root
{

  /* bg */
  --bodybg:         #404474;

  /* main text */
  --primary:        #a8f9ff;
  --primarytext:    #79d3fc;
  --primarylight:   #cdfffc;

  /* buttons, text deco */
  --secondary:      #726bf7;
  --secondarytext:  #c1beff;
  --secondarylight: #e4eaff;
  --secondarydark:  #3b34c6;

  /* a links, navigation, misc */
  --compliment:     #733bc2;
  --complimenttext: #d19aff;
  --complimentlight:#eed8ff;
  --complimentdark: #5919ac;

  /* the box. */
  --box:            #19195a;
  --boxoutline:     #151531;

}

/* -==========================================- */



/*

affixes (should be used alongside boxes)

*/
.relative
{
  position: relative;
}

.absolute
{
  position: absolute;
}

.textl
{
  text-align: left;
}

.textc
{
  text-align: center;
}

.textr
{
  text-align: right;
}

.hoverpoint05, hoverpoint1, hoverpoint2, hoverglow
{
  transition: all 0.2s;
}

.hoverpoint05:hover
{
  transform: scale(1.05)
}

.hoverpoint1:hover
{
  transform: scale(1.1)
}

.hoverpoint2:hover
{
  transform: scale(1.2)
}

.hoverglow:hover
{
  filter: drop-shadow(0px 0px 12px var(--char-hovercolor));
}

/* -==========================================- */

/* so it begins, the messy CSS. */

.main
{
  padding: 16px;
}

.main p
{
  margin: auto 24px 16px;
}


/* -==========================================- */

/*
the box.
you opened it.
i CAME /ref
*/
.the-box
{
  background-color: var(--box);
  color: inherit;
  border-radius: 12px;
  padding: 4px 16px;
  margin: 12px auto;
}

.the-box p
{
  margin: 20px 0;
}

.the-box.inflex
{
  margin: 12px 0;
  width: calc(50% - 48px);
  transition: all 0.3s ease;
}

/* -==========================================- */


.the-button
{
  background-color: var(--primary);
  outline: 4px solid var(--primary);
  color: var(--secondary);
  font: 22px Space;
  margin: 10px 6px;
  padding: 8px;
  outline-offset: -1px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease
}

.the-button:hover
{
  background-color: var(--secondary);
  outline: 4px solid var(--primarylight);
  color: var(--complimentdark);
  outline-offset: 4px;
}

.the-flex
{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

/* -==========================================- */

/* Special text tags ooooo~ */

whisper
{
  padding-left: 4px;
  font-size: 0.8em;
  opacity: 0.6;
}

/* -==========================================- */

basepage
{
  display: block;
  margin: -0.6vw auto;
  max-width: 1000px;
  background-color: var(--bodybg);
  color: var(--primarytext);
  font: 20px Space;
}

.header
{
  width: 100vw;
  margin-bottom: 12px;
}

#headerimg
{
  width: 100%;
}

.navi
{
  z-index: 1337;
  margin-top: -4px;
  background-color: var(--compliment);
  font: 34px Electrolize;
  text-decoration: none;
  height: 40px;
  width: auto;
  top: 0;
  position: sticky;
}

.navi ul
{
  list-style-type: none;
  height: 40px;
  margin: 0;
  padding: 0;
}

.navi li
{ 
  display: inline;
  margin: auto -2px;
  padding: 0 16px;
}

.navi a, .navi a:visited
{
  color: var(--complimenttext);
  background-color: transparent;
  transition: all 0.1s ease-in-out;
  font-style: normal;
}

.navi a:hover, .navi li:hover
{
  color: var(--complimentlight);
  background-color: var(--complimentdark);
  transition: all 0.2s ease-in-out;
}

.navi a.active
{
  color: var(--primarytext);
  background-color: var(--bodybg);
}

body
{
  background-image: url(/seadrive/img/background1.png);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: clip;
  margin: 0;
}

::-webkit-scrollbar
{
  width: 12px;
}

::-webkit-scrollbar-track
{
  background-color: var(--compliment);
}

::-webkit-scrollbar-thumb
{
  background: var(--primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover
{
  background: var(--primarylight);
}

h1, h2, h3, h4
{
  color: var(--primary)
}

hr
{
  border: #94edff solid 1.5px;
}

a, a:visited
{
  text-decoration: none;
  font-style: italic;
  color:  var(--secondary);
}

a:hover
{
  color: var(--secondarytext);
}

a:active
{
  color: var(--secondarydark);
}

.dialogue
{
  display: flex;
  margin: 4px;
  gap: 20px;
  align-items: flex-start;
  text-align: center;
  font-weight: bold;
  background: transparent;
}

.dialogue h1, .dialogue h2, .dialogue h3
{
  color: inherit;
}

.dialogue-icon img
{
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 8px;
  flex-shrink: 0;
}

.dialogue-box
{
  position: relative;
  text-align: left;
  margin: 8px;
  padding: 4px 16px;
  background-color: var(--char-boxcolor);
  border-radius: 18px;
  border-top-left-radius: 0;
  width: 100%;
  box-sizing: border-box;
}

.dialogue-box p
{
  margin: 20px 0;
}

.dialogue-box::before
{
  content: '';
  position: absolute;
  top: 4.75px;
  left: -15.5px;
  width: 35px;
  height: 35px;
  background-color: var(--char-boxcolor);
  border-radius: 6px 0 2px 0;
  transform: rotate(45deg);
  z-index: 0;
}

.terminal
{
  width: 100%;
  height: 330px;
  margin: 0 auto;
  background-color: #000;
  box-sizing: border-box;
  color: #ededed;
  font-family: "Courier-New", monospace;
  font-size: 16px;
}

.terminal-title
{
  font-size: 18px;
}

.terminal-content::-webkit-scrollbar
{
  width: 12px;
}

.terminal-content::-webkit-scrollbar-track
{
  background-color: transparent;
}

.terminal-content::-webkit-scrollbar-thumb
{
  background: #626262;
  border-radius: 8px;
  border: 4px solid #000;
  border-top: none;
  border-bottom: none;
}

.terminal-content::-webkit-scrollbar-thumb:hover
{
  background: #848484;
  border: 4px solid #000;
  border-top: none;
  border-bottom: none;
}

.terminal-titlebar
{
  background: #404040;
  height: 28px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 10px;
  box-sizing: border-box;
}

.terminal p
{
  padding: 0 12px;
  margin: 20px 0;
}
.terminal-wincontrols
{
  display: flex;
  gap: 0;
}

.terminal-wincontrolbtn
{
  width: 55px;
  height: 28px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  background-color: transparent;
}

.ctrl-minimize, .ctrl-maximize
{
  color: #bbbbbb
}

.ctrl-close
{
  color: #ffffff
}

.ctrl-minimize:hover, .ctrl-maximize:hover
{
  background-color: #6f6f70;
}

.ctrl-close:hover
{
  background-color: #c11c1c;
}

.terminal-tabbar
{
  background: #2a2a2a;
  height: 35px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-left: 5px;
}

.terminal-tab
{
  background: #1a1a1a;
  color: #cccccc;
  padding: 6px 18px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  border-radius: 12px 12px 0 0;
}

.terminal-active
{
  background: #000;
}

.terminal-content
{
  display: none;
  height: 260px;
  overflow-y: auto;
}

.terminal-content.terminal-active
{
  display: block;
}

.terminal-cursor
{
  animation: blink 1s infinite;
}

@keyframes blink
{
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* -==========================================- */

/* Audio Player stlye >:] */

.buttondiv {
  cursor: pointer;
  position: fixed;
  bottom: 5px;
  left: 5px;
  z-index: 1;
}

.autoplayer button {
  background: var(--compliment);
  color: var(--complimenttext);
  border: 4px solid var(--complimentdark);
  padding: 1px 4px 0px 4px;
  border-radius: 12px;
  font-size: 24px;
  position: fixed;
  cursor: pointer;
  height: 42px;
  width: 42px;
  bottom: 6px;
  left: 6px;
  
}

.autoplayer a {
  background: var(--compliment);
  color: var(--complimenttext);
  border: 4px solid var(--complimentdark);
  border-radius: 12px;
  text-decoration: none;
  padding: 4px 12px;
  position: fixed;
  font-size: 11px;
  font-family: "Electrolize";
  bottom: 6px;
  z-index: 1;
  left: 52px;
  color: white;
}

/* -==========================================- */