/* reset */
html,
body,
head,
header,
nav,
h1,
h2,
h3,
h4,
h5,
main,
article,
p,
section {
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}

/* end reset */
html,
body {
  height: 100%;
  margin: 0;
  font-size: 1em;
}

section {
  width: 90%;
  margin: 0 auto;
  align-content: center;
  text-align: center;
}

.title {
  display: flex;
  flex-flow: column;
  padding: 1em;
}
.title h1 {
  text-align: center;
  width: 100%;
  font-size: 3em;
}
.title h2 {
  font-size: 2em;
}
.title p {
  width: 100%;
  text-align: center;
  margin-top: 0.5em;
}

.ads {
  min-height: 5em;
  margin: 1em auto;
  border: dotted 2px #000;
  border-radius: 0.3em;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: center;
  display: none;
}
.ads p {
  align-content: center;
  text-align: center;
}
.ads img {
  max-heigh: 2em;
  max-width: 5em;
}

.color_display {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 3em;
}
.color_display form {
  width: 100%;
}
.color_display form textarea {
  width: 100%;
  height: 5em;
  border-radius: 1em;
  padding: 1em;
}
.color_display form button {
  margin: 2em;
  padding: 0.5em;
  width: 50%;
  min-width: 10em;
  border-radius: 1em;
  font-weight: bold;
}
.color_display p {
  width: 7em;
  height: 7em;
  align-content: center;
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 1em;
  /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.7), 1px -1px 0 rgba(0, 0, 0, 0.7), -1px 1px 0 rgba(0, 0, 0, 0.7), 1px 1px 0 rgba(0, 0, 0, 0.7);
  color: white;
}

footer {
  padding: 1em 0 5em 0;
  margin: 0 auto;
  width: 90%;
  text-align: center;
  font-size: 0.7em;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  main {
    max-width: 768px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  main {
    max-width: 1024px;
    margin: 0 auto;
  }
}
/* Theming */
@font-face {
  font-family: Inter;
  src: url("static/Inter_18pt-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: Press;
  src: url("static/PressStart2P-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: VT323;
  src: url("static/VT323-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
html,
body {
  background: #161821;
  color: #c6c8d1;
  font-family: Inter;
}

h1 {
  color: #e98989;
  text-transform: uppercase;
  font-family: Press;
}

h2 {
  color: #95c4ce;
  text-transform: uppercase;
  font-family: VT323;
}

form textarea {
  background: #6b7089;
  border: solid 1px #95c4ce;
}
form button {
  background: #8cc85f;
  color: #161821;
  border: solid 2px #95c4ce;
}
form button:hover {
  background: #36c692;
}
