@font-face {
	font-family: 'HachiMaru';
	src: url('../fonts/knsw_HachiMaruPop_ttf-Regular.woff') format('woff');
	font-display: swap;
	}

@font-face {
	font-family: 'Misaki Gothic';
	src: url('../fonts/misaki_gothic_2nd.woff') format('woff');
	font-display: swap;
	}

@font-face {
	font-family: "Saitamaar";
	src: url("../fonts/Saitamaar/Saitamaar.woff2") format("woff2"),
		url("../fonts/Saitamaar/Saitamaar.woff") format("woff"),
		url("../fonts/Saitamaar/Saitamaar.ttf") format("ttf");
	font-display: swap;
}


::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-button {
    background-color: #7ee;
}

::-webkit-scrollbar-thumb {
    background-color: #9ff;
}


.contents {
  text-align: -webkit-center;
  text-align: -moz-center;
}

body {
  background: #eee;
}

h1 {
  font-family: 'Bungee';
  font-size: xxx-large;
  color: darkcyan;
  transition: 0.2s;
}

@media (max-width: 510px) {
  h1 {
    font-size: 2.4em;
  }
}

@media (max-width: 399px) {
  h1 {
    font-size: xx-large;
  }
}

p,
.button {
  font-family: 'Misaki Gothic';
}


@media (max-width: 399px) {
  p {
    font-size: small;
  }
}

.button a:hover,
.button a:active {
  transform: scale(1.25,1.25);
}

.button a img:hover,
.button a img:active {
  transform: scale(1.1,1.1);
}

em {
  font-family: 'press start 2P';
  font-style: normal;
  vertical-align: top;
}

hr {
  border-bottom-color: #aaf;
  margin: 2em;
}

img {
  max-height: 600px;
  max-width: 75%;
  height: auto;
  border: 1px solid gray;
  border-radius: 10px;
  transition: 0.2s;
  margin-bottom: 1em;
}

a img:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0px 2px 10px #0007;
}

.banner img {
  border-radius: 0;
}

.logoback {
  width: fit-content;
  height: fit-content;
  border-radius: 10px;
  box-shadow: 0px 2px 10px #0007;
  transition: 0.2s;
}

main p {
  margin-bottom: 1.5em;
}

.enter {
  margin: 1em;
  background: white;
}

.enter p {
  margin: 0;
  padding: 0.1em 3em;
  padding-bottom: 0.5em;
}

.enter p {
  color: #007bff;
}

.logoback:hover,
.logoback:active {
  transform: scale(1.1,1.1);
}

.icons i:hover,
.icons i:active {
  transform: scale(1.5,1.5);
}

.logoback a:hover,
.logoback a:active {
  text-decoration: none;
}

.logo1,
.logo2,
.icons {
  font-size: xx-large;
}

@media (max-width: 550px) {
  .logo2 {
    font-size: x-large;
  }
}

@media (max-width: 400px) {
  .logo2 {
    font-size: large;
  }
}

.logo1 {
  font-family: "HachiMaru";
  color: #db6975;
  font-weight: bold;
}

.logo2 {
  margin: 1em;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
  font-style: italic;
  border-radius: 10px;
}

.logo2 a {
  padding: 0.5em 1.25em;
}

.icons i {
  transition: 0.2s;
}

.nes-badge {
  display: inline-flex;
  margin: 1em;
  transition: 0.2s;
}

.update {
  color: darkturquoise;
}

ul {
  padding-left: 0;
  margin-bottom: 0;
}

li {
  list-style-type: none;
  display: inline flow-root list-item;
}

.makibishi-profile-picture {
	margin: 0 -8px;
	min-width: 32px;
	min-height: 32px;
	border: revert;
}

.makibishi-profile-picture:hover {
    box-shadow: revert;
}

.makibishi-delete svg {
	background: #eee;
	margin-left: 8px;
}


@media (prefers-color-scheme:dark){
  body {
    background: #252525;
  }
  
  h2,
  h4,
  p {
    color: #fff;
  }
  
  hr {
    border-top-color: #eee;
  }
  
  img {
    border: 1px solid;
  }
  
  a img:hover {
    box-shadow: 0px 2px 10px #aaa;
  }
  
  .update {
    color: palegoldenrod;
  }
  
  .nes-badge span.is-warning:first-child {
    color: #fff;
    background-color: #003;
    box-shadow: 0 0.5em #003, 0 -0.5em #003, 0.5em 0 #003, -0.5em 0 #003;
  }
  
  ::-scrollbar-thumb {
    background-color: #acf;
  }
}
