/* Make the body fill the screen and center content */

@font-face {
  font-family: 'Pixeloid Sans';
  src: url('fonts/PixeloidSans.ttf') format('truetype');
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;     /* vertical centering */
  justify-content: center; /* horizontal centering */
  background: url("img/bg.png");     /* light gray background */
  background-attachment: fixed;
  background-size: 100% auto;
  background-repeat: no-repeat;
  font-family: 'Pixeloid Sans', sans-serif; /* fallback font */
  font-size: 15px;;
  user-drag: none;
}
html, body {
  height: auto;            /* allow page to grow */
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;      /* hide accidental horizontal overflow */
  overflow-y: auto;        /* ensure vertical scrolling is enabled */
}
img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
/* The main box */
.inside-box {
  background: #FAF7FF;
  color: black;
  box-sizing: border-box;  /* include padding in width calculations */
  position: relative;      /* avoid accidental fixed positioning behavior */
  width: 100%;
  top: -81px;  
  max-width: 1200px;       /* constrain to a reasonable width */
  margin: 0 auto;          /* center on the page */
  padding: 36px 32px;      /* reduced horizontal padding so content isn't pushed off-screen */
  border: 2px solid #DEDEDE;
  text-align: center;
}

.news-box {
  background: #FAF7FF;
  color: black;
  box-sizing: border-box;
  width: 100%;
  top: -81px;
  max-width: 400px;
  margin: 0 auto;
  padding: 16px 12px;
  border: 2px solid #DEDEDE;
  display: inline-block;
  margin-left: -350px;
  line-height: 0.5;
}

.def-box {
  background: #FAF7FF;
  position: relative;
  color: black;
  box-sizing: border-box;
  width: 100%;
  top: -81px;
  max-width: 250px;
  padding: 10px 5px;
  border: 2px solid #DEDEDE;
  margin-left: 650px;
}

.inside2-box {
  background: #FAF7FF;
  color: black;
  box-sizing: border-box;  /* include padding in width calculations */
  position: relative;      /* avoid accidental fixed positioning behavior */
  width: 100%;
  top: -81px;  
  max-width: 900px;       /* constrain to a reasonable width */
  margin: 0 auto;          /* center on the page */
  padding: 36px 32px;      /* reduced horizontal padding so content isn't pushed off-screen */
  border: 2px solid #DEDEDE;
  text-align: center;
}

.title-box {
  background-image: url('img/banner.png');
  color: black;
  box-sizing: border-box;
  position: relative;
  width: calc(100% + 64px); /* inside-box padding: 32px left + 32px right */
  left: -32px;   
  top: 28px;             /* move to edge */
  padding: 36px 32px;
  text-align: center;
}
.bar-box {
  background: #9f6beb;
  color: black;
  box-sizing: border-box;
  position: relative;
  width: calc(100% + 64px); /* inside-box padding: 32px left + 32px right */
  left: -32px;   
  top: 10px;             /* move to edge */
  padding: 5px;
  text-align: center;
}

.hyper-box {
  border: 3px solid #9688A8; /* just the border */
  background: transparent;    /* no background */
  color: inherit;             /* text keeps its color */
  
  padding: 0;                 /* no inner spacing */
  margin: 0 auto;             /* center horizontally if width is limited */
  
  width: auto;                /* width based on content */
  max-width: 715.90px;           /* optional limit */
  height: auto;               /* height fits content */
  
  box-sizing: border-box;     /* include border in size */
}


textarea {
  resize: none;
}

:focus {
  outline: none;
}