@font-face {
  font-family: "Orkney";
  src: url("./fonts/orkney-bold.otf") format("opentype");
  font-weight: 700;
}
@font-face {
  font-family: "Orkney";
  src: url("./fonts/orkney-medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Orkney";
  src: url("./fonts/orkney-regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Orkney";
  src: url("./fonts/orkney-light.otf") format("opentype");
  font-weight: 300;
}

body {
  --light: #f0f3f5;
  --blue: #367591;
  --red: #d6084f;
  --mid: #999999;
  --dark: #333333;
  font-family: sans-serif;
}

body,
input {
  font-family: Orkney, Helvetica, Arial, sans-serif;
  background-color: var(--light);
}

h2 {
  color: var(--blue);
}

#mario-chat {
  max-width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat--top {
  height: calc(100% - 200px);
}

.chat--bottom {
  border-top: solid 2px var(--mid);
  padding-top: 1rem;
}

.chat--title {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.chat--title h2 {
  position: relative;
  z-index: 2;
  background-color: var(--light);
  padding: 0 0.5rem;
}

.chat--title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border: solid 1px var(--blue);
  top: calc(50% - 1px);
  z-index: 1;
}

#chat-window {
  height: 100%;
  width: 100%;
  overflow: auto;
}

#output p {
  color: var(--dark);
  width: 100%;
  background: white;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
  border-radius: 1rem;
  position: relative;
  line-height: 150%;
}

#feedback p {
  color: #aaa;
  width: 100%;
  padding: 14px 0px;
  margin: 0 20px;
}

#output strong {
  color: var(--blue);
  font-weight: bold;
  position: absolute;
  top: -1.65rem;
  left: 0;
  font-size: 0.85rem;
}

label {
  box-sizing: border-box;
  display: block;
  padding: 10px 20px;
}

input {
  padding: 10px 20px;
  box-sizing: border-box;
  background: #eee;
  border: 0;
  display: block;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

input::placeholder {
  color: var(--mid);
}

button,
.btn {
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  border: 0;
  padding: 12px 0;
  width: 100%;
  border-radius: 1rem;
  text-align: center;
  font-weight: 500;
  transition: 0.2s;
}

button:hover,
.btn:hover {
  background: var(--red);
}

#feedback {
  width: 100%;
  box-sizing: border-box;
}
#feedback p {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  padding: 0 0 0.5rem 1rem;
}
