@import url('/static/rumirum/base.css');

body {
  margin: 0;
  padding: 0;
  font-size: min(4vw, 20px);
}

#id_post_text, #id_poster_name, #id_poster_ref {
  margin-bottom: 2%;
  width: 80%;
}

#id_poster_name {
  margin-top: 4%;
}
#id_post_text {
  margin-bottom: 4%;
}

textarea, button {
  font-size: min(4vw, 20px);
  resize: none;
  color: white;
  border: 0px;
  background-color: #2b354d;
  transition: 0.3s;
}

button {
  width: 70px;
  border-radius: 5px;
}

button:hover {
  background-color: #3d4d60;
  cursor: pointer;
}

.mobilenavbar button {
  width: unset;
  color: white;
  background-color: 3e5564;
  font-size: 2rem;
  border-width: 0px;
}

.mobilenavbar button:hover {
  background-color: unset;
}

.inputform {
  padding-top: 5%;
  padding-bottom: 5%;
  width: 16vw;
  background-color: #3e5564;
  box-shadow: 5px 5px 0px 0px #2b354d;
  margin-bottom: 10%;
  margin-top: 10%;
  text-align: center;
}

.inputform p {
  margin: 0;
  padding: 0;
  padding-left: 8%;
  padding-right: 8%;
}

.selected {
  box-shadow: 5px 5px 0px 0px #ffffff;
}

.postit {
  width: 45vw;
  height: fit-content;
}

.postit:nth-child(odd) .reply_container {
  float: left;
  margin-left: 5%;
}

.postit:nth-child(even) .reply_container {
  float: right;
  margin-right: 5%;
}

.reply_container {
  position: relative;
  width: 78%;
}

.reply {
  overflow: hidden;
  height: 100%;
  width: 100%;
  background-color: #3e5564;
  margin-bottom: 2%;
  border-radius: 5px;
}

.reply_container .header {
  margin-top: 2%;
}

.reply_container .content {
  display: flex;
  margin-bottom: 2%;
}

.ref {
  color: #f8bed4;
}
.ref:hover {
  cursor: copy;
}

@media (max-width: 768px) {
  .postit {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
  .left-bar {
    flex-direction: row;
    width: 100%;
    gap: 10vw;
  }
  .right-bar {
    width: 100vw;
  }
  .navbar {
    padding-left: 4%;
    font-size: 35px;
    width: 33vw;
    height: 60%;
  }
  .inputform {
    width: 40vw;
  }
  .mobilenavbar {
    display: flex;
    row-gap: 33%;
  }
}
