
body {
  background-color:#2a2928;;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  margin: 0;
}

/** {
  outline: 1px solid red;
} // debugging
  */

#pitchody {
  background-color:#090603;
}

label {
  color: rgb(116, 116, 116); 
  font-family: Arial;
}

input[type='range'] {
  accent-color: #b73939
}

.panel-bg {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.center {
  display: flex;
  justify-content: center;
}

.container {
  max-width: 800px;
  background-color: #f9f6f3;
  min-height: clamp(720px, calc(720px + 10vh), 90vh);
  border-radius: 3px;
  margin: auto;
  position: relative;
  padding: 1rem;
}

#pitchtainer {
  max-width: 800px;
  background-color: black;
  min-height: clamp(720px, calc(720px + 10vh), 90vh);
  border-radius: 3px;
  margin: auto;
  position: relative;
  border: black solid 18px;
  box-shadow: 0 0 20px 10px black;
}

.white {
  color: #e9e6e3;
}

header {
  display: flex;
  align-items: center; 
  padding: 1rem;
  background-color: brown;
  border-radius: 3px;
  margin: 9px auto;
  height: calc(4vh + 50px);
  max-width: 800px;
}

nav{
  height:70px;
  position: relative;
  display:flex;
  justify-content:space-evenly;
  align-items:center;
  gap:20px;
}

main {
  flex: 1;
}

.panel-wrapper {
  position: relative;
}

#panel {
  border: 3px solid black;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

#character {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  position: absolute;
  height: auto;
}

.dialogue {
  position: absolute;
  bottom: -40px;
  right: 2rem;
  width: min(80%, 450px);
  min-height: 10px;
  background-color: brown;
}

.yap {
  text-indent: 1rem;
}

footer {
  position: absolute;
  bottom: -5px;
  padding: 4 rem 1 rem 2 rem;
}

.error {
  background-color:#f9f6f3;
  padding-top:9px;
  align-items: flex-start;
  min-width: 100vw;
}

@media only screen and (max-width: 750px) {
  body {
    margin: 0;
  }

  .container {
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .pitchtainer {
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  nav {
    height: 60px;
  }

  ul {
    margin-right: 0;
  }

  header {
    height: 8vh;
    border-radius: 0;
    margin: auto;
  }

  .dialogue {
    width: 80%;
    right: 1rem;
  }

  footer {
    padding: 1rem;
  }
}

@media only screen and (max-height: 750px) {
  body {
    margin-top: 0;
    height: 100vh;
    padding-top:1vh;
  }

  .container {
    min-height: calc(540px + 18vh);
  }

  .pitchtainer {
    min-height: calc(540px + 18vh);
  }

  header {
    height: 8vh;
  }

    nav {
    height: 7vh;
  }
}