@font-face {
  font-family: Delfino;
  src: url(Delfino.otf);
}
p {
  font-family: Delfino;
}

body, html {
  overflow-x: hidden;
  overflow-y: auto;
}

img {
  image-rendering: crisp-edges;
}

html {
  background-color: blue;
  background-image: url("dreamland.webp");
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  background-attachment: fixed;
}

body {
  width: 100%;
  height: 100%;
}

#pagetitle {
  text-align: center;
  font-size: 5em;
  font-weight: bold;
  color: #FFC6EB;
  line-height: 0;

  -webkit-text-stroke: 3px #E3407B;
}

#maindiv {
  text-align: center;
  font-size: 1em;
  color: #E3407B;
  background-image: url("Pink_Void.png");
  line-height: 0px;
  border: 5px solid #E3407B;
  width: 90%;
  margin: auto;
  border-radius: 30px;
  font-family: sans-serif;
}

#character-dropdown {
  margin: auto;
  width: 20em;
  height: 30em;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  overflow-y: auto;
}
.character-option {
  user-select: none;
  background-color: #FFC6EB;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: auto;

  color: #E3407B;
  font-family: sans-serif;
  font-size: 1.5em;
  line-height: 0;
  font-weight: bold;
  border: 3px solid #E3407B;
  border-radius: 9px;
  overflow: visible;
}
.character-option:hover {
  background-color: white;
  border: 3px solid #FFC6EB;
}

.character-img {
  height: 2em;
  margin: 0.5em;
}

.character-name {
  margin-right: 0.5em;
}

#guess-header {
  display: flex;
  margin-left: 1em;
  margin-right: 1em;
  font-weight: bold;
  line-height: 1em;
  font-size: 0.75em;
  border-bottom: 5px dashed #E3407B;
  margin-bottom: 1em;
}
.guess-header-field {
  width: 100%;
  text-align: center;
  margin: auto;
}

.guess {
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 0.1em;

  display: flex;
  flex-direction: row;
}
.guess-infobox {
  background-color: #EC9692;
  color: white;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border: 3px solid #97263F;
  border-radius: 9px;
  line-height: 1em;
  align-content: center;
}
.contentbox {
  margin: 0.25em;
}
.guess-image {
  width: 80%;
  height: 80%;
  max-width: 100%;
  max-height: 100%;
}
.game-image {
  width: 50%;
  height: 50%;
}
#image {
  background-color: rgba(0,0,0,0);
  border: none;
  margin-right: 1em;
  color: #E3407B;
}
.ability-image {
  width: 70%;
  height: 70%;
}

input[type=text] {
  padding: 9px;
  border: 3px solid #97263F;
  border-radius: 9px;
  background-color: #EC9692;
  font-weight: bold;
  outline: none;
}

button {
  padding: 9px;
  border: 3px solid #97263F;
  border-radius: 9px;
  color: #97263F;
  font-weight: bold;
  font-size: 0.8em;
  background-color: #EC9692;
}
button:hover {
  background-color: pink;
  border: 3px solid #EC9692;
}
