body {
  font-family: 'Fira Sans';
  font-size: larger;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#app-container {
  display: flex;
  flex-direction: column;
  
  height: 100vh;
  height: 100dvh;

  overflow: hidden;
}

header {
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  h1 {
    font-size: 64px;
  }
}

main {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;

  gap: 1rem;
  padding: 1rem 5rem;
  overflow: hidden;
}

#messages {
  height: 80%;
  width: 100%;
  border: 1px solid black;
  border-radius: 15px;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: scroll;

  .message {
    height: fit-content;
    display: flex;
    align-items: center;
    align-content: center;
    gap: 2rem;
    padding: 0.25rem;

    border: 1px solid black;
    border-radius: 15px;

    .message-timestamp {
      margin: 0;
    }

    .message-content {
      margin: 0;
      overflow-wrap: anywhere;
    }
  }

}

#new-message {
  width: 100%;
  border: 1px solid black;
  border-radius: 15px;
  padding: 2rem;

  align-content: center;
  justify-content: center;
  align-items: center;

  #not-a-form {
    display: flex;
    gap: 1rem;
    font-size: larger;

    #new-message-box {
      width: 80%;
    }

    #send-message {
      width: 5rem;

    }
  }

}

footer {
  flex-shrink: 0;
  border-top: 2px solid black;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 5vh;

  img {
    height: 1.5rem;
  }

  p {
    font-size: 24px;
    color: black;
    text-align: center;
  }
}