@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=MonteCarlo&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Instrument Serif";
  font-size: 2rem;
}

body {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-size: 1000px 1000px;
  background-repeat: repeat;
  background-position: center center;
  background-image: url(../img/new_bg.png);
  background-color: #fff;
  overflow-x: hidden;
}
body .blur {
  position: relative;
  width: min(90vw, 1300px);
  min-height: 100vh;
  backdrop-filter: blur(10px);
  margin: 0 auto;
  padding-bottom: 50px;
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.02);
}
body .main-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 100%;
  font-size: clamp(1.8rem, 10vw, 3rem);
  font-family: "MonteCarlo";
}
@media (max-width: 450px) {
  body .main-header {
    font-size: 1.5rem;
  }
}
body .navbar {
  width: 100vw;
  background-color: #6E5B97;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
}
body .navbar .navbar-toggle {
  display: None;
}
body .navbar .navbar-content {
  width: 1440px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
body .navbar .navbar-content a {
  color: #FFFFFF;
  text-decoration: none;
  margin: 10px;
  position: relative;
}
body .navbar .navbar-content a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.1s ease;
}
body .navbar .navbar-content a:hover::after {
  transform: scaleX(1);
}
@media (max-width: 900px) {
  body .navbar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body .navbar .navbar-toggle {
    display: block;
    cursor: pointer;
    font-size: 2rem;
  }
  body .navbar .navbar-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background-color: #A38DCE;
    flex-direction: column;
    z-index: 1;
    align-items: flex-start;
    padding: 1rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  body .navbar.open .navbar-content {
    max-height: 500px;
    opacity: 1;
  }
}
body .center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body .center .login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body .center .login .field {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers input + error */
  margin: 10px 0;
}
body .center .login .field input {
  width: 200px;
  padding: 8px 16px;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  font-size: 14px;
}
body .center .login .field textarea {
  max-width: 90vw;
}
body .center .login .field .error {
  color: red;
  font-size: 0.8rem;
  margin-top: 5px;
  text-align: center;
}
body .center .links {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}
body .center .links a {
  color: inherit;
  width: 120px;
  text-align: center;
  text-decoration: none;
}
body .center .links a:hover {
  color: #6E5B97;
}
body .center .prev-posts {
  display: flex;
  justify-content: center;
}
body .center .prev-posts button {
  padding: 8px 16px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  margin: 10px;
  cursor: pointer;
}
body .center .lieblingsposts {
  height: 80vh;
  width: 80vw;
  font-size: 20px;
  overflow-y: auto;
}
body .center .lieblingsposts button {
  padding: 8px 16px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin: 5px;
}
body .more-box {
  position: relative;
  display: flex;
  justify-content: center;
}
body .more-box .more-btn {
  height: 50px;
  width: 200px;
  cursor: pointer;
  font-size: 14px;
}
body .posts {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}
body .posts .search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* space between inputs/buttons */
  align-items: center;
  margin-bottom: 50px;
  margin-top: 50px;
}
body .posts .search input {
  font-family: "Arial";
  padding: 8px 16px;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  font-size: 14px;
  background-color: #FFFFFF;
}
body .posts .search button {
  font-family: "Arial";
  display: inline-block;
  padding: 8px 16px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.3s ease;
}
body .posts .search button:hover {
  transform: scale(1.05);
}
body .posts .search .toggle-btn {
  background-color: rgb(191.7852760736, 176.6687116564, 221.3312883436);
}
body .posts .search .search-btn {
  background-color: #A38DCE;
}
@media (max-width: 1050px) {
  body .posts .search {
    flex-direction: column;
  }
}
body .posts .new-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(80%, 1150px);
  height: 50px;
  background-color: #A38DCE;
  color: #FFFFFF;
  border: 2px solid #6E5B97;
  margin: 20px 0px;
  font-size: 20px;
  text-decoration: none;
}
body .posts .new-box:hover {
  transform: scale(1.05);
}
body .posts .btns {
  position: relative;
  display: flex;
  justify-content: right;
  width: 70%;
}
body .posts .btns .btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 10px 5px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  text-decoration: none; /* remove underline for <a> */
  cursor: pointer;
  font-size: 20px;
  font-family: "Instrument Serif";
}
body .posts .btns .btn:hover {
  transform: scale(1.05);
}
body .posts .post-date {
  font-family: "Arial";
  font-size: 20px;
  margin-bottom: 7px;
}
body .posts .post-box {
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: 59% 41%;
  grid-template-areas: "topLeft topRight" "bottomLeft bottomRight";
  width: min(80vw, 1150px);
  height: 800px;
  background-color: #FFFFFF;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 5px 5px 10px 10px rgba(217, 217, 217, 0.5);
}
body .posts .post-box .image {
  grid-area: topLeft;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(217, 217, 217, 0.3);
}
body .posts .post-box .image img {
  max-width: 80%;
  height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
body .posts .post-box .image .src {
  color: #868686;
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
}
body .posts .post-box .content {
  grid-area: topRight;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
}
body .posts .post-box .content .title {
  font-size: 1.2rem;
}
body .posts .post-box .content .author {
  font-size: 0.8rem;
  margin-bottom: 10px;
}
body .posts .post-box .content .author .author-name {
  font-family: MonteCarlo;
  margin-left: 10px;
}
body .posts .post-box .content .text {
  font-size: 0.7rem;
  overflow-y: auto;
}
body .posts .post-box .content .date {
  margin-top: 5px;
  font-size: 0.5rem;
  align-self: flex-end;
}
body .posts .post-box .ratings {
  grid-area: bottomLeft;
  display: flex;
  flex-direction: column;
  background-color: rgba(217, 217, 217, 0.3);
  padding: 25px;
  font-size: 25px;
}
body .posts .post-box .ratings .rating-content {
  font-size: 20px;
  margin-bottom: 10px;
}
body .posts .post-box .ratings .rating-content img {
  width: 32px;
}
body .posts .post-box .ratings .rating-content .chilli {
  padding: 3px;
}
body .posts .post-box .comments {
  grid-area: bottomRight;
  display: flex;
  flex-direction: column;
  padding: 25px;
  font-size: 0.6rem;
}
body .posts .post-box .comments p {
  font-size: 1rem;
}
body .posts .post-box .comments .new-comment {
  margin-bottom: 10px;
}
body .posts .post-box .comments .new-comment input {
  height: 20px;
  width: 300px;
  border: 1px solid #6E5B97;
  border-radius: 3px;
}
body .posts .post-box .comments .new-comment button {
  height: 20px;
  width: 60px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  border-radius: 3px;
  cursor: pointer;
}
body .posts .post-box .comments .new-comment button:hover {
  transform: scale(1.05);
}
body .posts .post-box .comments .comment-section {
  overflow-y: auto;
}
body .posts .post-box .comments .comment-section .comment-box {
  display: flex;
  flex-direction: column;
  width: min(90%, 600px);
  margin-bottom: 10px;
  background-color: #f0f0f0;
  padding: 5px;
}
body .posts .post-box .comments .comment-section .comment-box .comment-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
}
body .posts .post-box .comments .comment-section .comment-box .comment-header .comment-date {
  color: #868686;
}
body .posts .post-box .comments .comment-section .comment-box .comment-text {
  font-size: 20px;
}
body .posts .post-box .comments .comment-section .comment-box .comment-btn {
  color: #868686;
  background: none;
  border: none;
  cursor: pointer;
}
body .posts .post-box .comments .comment-section .comment-box .comment-btn:hover {
  color: red;
}
@media (max-width: 900px) {
  body .posts .post-box {
    grid-template-columns: 30% 70%;
    grid-template-rows: 20% 50% 30%;
    grid-template-areas: "topLeft topRight" "middle middle" "bottom bottom";
    font-size: 0.7rem;
  }
  body .posts .post-box .image {
    padding: 5px;
  }
  body .posts .post-box .image .src {
    font-size: 8px;
  }
  body .posts .post-box .content {
    display: flex;
    flex-direction: column;
    padding: 25px;
    overflow: hidden;
    grid-area: middle;
  }
  body .posts .post-box .content .title {
    font-size: 0.9rem;
  }
  body .posts .post-box .content .author {
    font-size: 0.5rem;
    margin-bottom: 10px;
  }
  body .posts .post-box .content .author .author-name {
    font-family: MonteCarlo;
    margin-left: 7px;
  }
  body .posts .post-box .content .text {
    font-size: 0.5rem;
    overflow-y: auto;
  }
  body .posts .post-box .content .date {
    font-size: 0.4rem;
  }
  body .posts .post-box .ratings {
    grid-area: topRight;
    display: flex;
    flex-direction: row;
    background-color: rgba(217, 217, 217, 0.3);
    padding: 5px;
    justify-content: space-between;
    font-size: 20px;
  }
  body .posts .post-box .ratings .ratings-left {
    flex: 1;
    align-items: flex-start;
  }
  body .posts .post-box .ratings .ratings-right {
    flex: 1;
    margin-top: 5px;
    margin-right: 5px;
    text-align: right;
    align-items: flex-end;
  }
  body .posts .post-box .ratings .rating-content {
    font-size: 14px;
    margin-bottom: 10px;
  }
  body .posts .post-box .ratings .rating-content img {
    width: min(4.5vw, 24px);
  }
  body .posts .post-box .comments {
    grid-area: bottom;
    display: flex;
    flex-direction: column;
    padding: 25px;
    font-size: 14px;
  }
  body .posts .post-box .comments p {
    font-size: 0.7rem;
  }
  body .posts .post-box .comments .new-comment {
    margin-bottom: 10px;
  }
  body .posts .post-box .comments .new-comment input {
    height: 20px;
    width: min(70%, 300px);
    border: 1px solid #6E5B97;
    border-radius: 3px;
  }
  body .posts .post-box .comments .new-comment button {
    height: 20px;
    width: 60px;
    background-color: #A38DCE;
    color: white;
    border: 1px solid #6E5B97;
    border-radius: 3px;
    cursor: pointer;
  }
  body .posts .post-box .comments .new-comment button:hover {
    transform: scale(1.05);
  }
  body .posts .post-box .comments .comment-section {
    overflow-y: auto;
  }
  body .posts .post-box .comments .comment-section .comment-box {
    display: flex;
    flex-direction: column;
    width: min(95%, 600px);
    margin-bottom: 10px;
    background-color: #f0f0f0;
    padding: 5px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-header .comment-date {
    color: #868686;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-text {
    font-size: 20px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-btn {
    color: #868686;
    background: none;
    border: none;
    cursor: pointer;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-btn:hover {
    color: red;
  }
}
@media (max-width: 450px) {
  body .posts .post-box {
    grid-template-columns: 100%;
    grid-template-rows: 300px 400px 120px 250px;
    height: 1070px;
    grid-template-areas: "top" "middleTop" "middleBottom" "bottom";
    font-size: 0.7rem;
  }
  body .posts .post-box .image {
    grid-area: top;
  }
  body .posts .post-box .image .src {
    font-size: 12px;
  }
  body .posts .post-box .content {
    grid-area: middleTop;
  }
  body .posts .post-box .content .title {
    font-size: 0.8rem;
  }
  body .posts .post-box .content .author {
    font-size: 0.5rem;
    margin-bottom: 10px;
  }
  body .posts .post-box .content .author .author-name {
    font-family: MonteCarlo;
    margin-left: 7px;
  }
  body .posts .post-box .content .text {
    font-size: 0.5rem;
    overflow-y: auto;
  }
  body .posts .post-box .ratings {
    grid-area: middleBottom;
    display: flex;
    flex-direction: row;
    background-color: rgba(217, 217, 217, 0.3);
    padding: 5px;
    justify-content: space-between;
    font-size: 18px;
  }
  body .posts .post-box .ratings .ratings-left {
    flex: 1;
    align-items: flex-start;
  }
  body .posts .post-box .ratings .ratings-right {
    flex: 1;
    margin-top: 5px;
    margin-right: 5px;
    text-align: right;
    align-items: flex-end;
  }
  body .posts .post-box .ratings .rating-content {
    font-size: 12px;
    margin-bottom: 10px;
  }
  body .posts .post-box .ratings .rating-content img {
    width: 20px;
  }
  body .posts .post-box .comments {
    grid-area: bottom;
  }
  body .posts .post-box .comments p {
    font-size: 0.7rem;
  }
  body .posts .post-box .comments .new-comment {
    margin-bottom: 10px;
  }
  body .posts .post-box .comments .new-comment input {
    height: 20px;
    width: min(70%, 300px);
    border: 1px solid #6E5B97;
    border-radius: 3px;
  }
  body .posts .post-box .comments .new-comment button {
    height: 20px;
    width: 60px;
    background-color: #A38DCE;
    color: white;
    border: 1px solid #6E5B97;
    border-radius: 3px;
    cursor: pointer;
  }
  body .posts .post-box .comments .new-comment button:hover {
    transform: scale(1.05);
  }
  body .posts .post-box .comments .comment-section {
    overflow-y: auto;
  }
  body .posts .post-box .comments .comment-section .comment-box {
    display: flex;
    flex-direction: column;
    width: min(95%, 600px);
    margin-bottom: 10px;
    background-color: #f0f0f0;
    padding: 5px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-header .comment-date {
    color: #868686;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-text {
    font-size: 15px;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-btn {
    color: #868686;
    background: none;
    border: none;
    cursor: pointer;
  }
  body .posts .post-box .comments .comment-section .comment-box .comment-btn:hover {
    color: red;
  }
}
body .posts .small-post-box {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: 200px;
  grid-template-areas: "Left Right";
  width: min(80vw, 1150px);
  height: 200px;
  background-color: #FFFFFF;
  box-shadow: 5px 5px 10px 10px rgba(217, 217, 217, 0.5);
  overflow: hidden;
  margin-bottom: 20px;
}
body .posts .small-post-box .image {
  grid-area: Left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(217, 217, 217, 0.3);
  width: 100%;
  height: 100%;
}
body .posts .small-post-box .image img {
  width: auto;
  height: min(150px, 70%);
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
body .posts .small-post-box .image .src {
  color: #868686;
  font-size: 8px;
  text-align: center;
  margin-top: 5px;
  width: 80%;
  overflow-x: hidden;
  min-height: 1em;
}
body .posts .small-post-box .content {
  grid-area: Right;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 20px;
}
body .posts .small-post-box .content .small-left {
  flex: 1;
  align-items: flex-start;
}
body .posts .small-post-box .content .small-left .title {
  font-size: clamp(0.7rem, 2.5vw, 1.2rem);
  margin-bottom: -5px;
}
body .posts .small-post-box .content .small-left .author {
  font-size: clamp(0.6rem, 2vw, 0.6rem);
  margin-bottom: 10px;
}
body .posts .small-post-box .content .small-left .author .author-name {
  font-family: MonteCarlo;
  margin-left: 10px;
}
body .posts .small-post-box .content .small-left .rating-content {
  font-size: 14px;
}
body .posts .small-post-box .content .small-left .rating-tropes {
  font-size: 14px;
}
body .posts .small-post-box .content .small-right {
  flex: 1;
  align-items: flex-end;
  text-align: right;
  margin-top: 5px;
  font-size: 14px;
}
body .posts .small-post-box .content .small-right .rating-content img {
  width: 24px;
}
@media (max-width: 900px) {
  body .posts .small-post-box {
    grid-template-columns: 150px minmax(200px, 1fr);
    grid-template-rows: 250px;
    grid-template-areas: "Left Right";
    width: min(80vw, 1150px);
    height: 250px;
  }
  body .posts .small-post-box .content {
    flex-direction: column;
  }
  body .posts .small-post-box .content .small-left .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .posts .small-post-box .content .small-left .rating-tropes {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .posts .small-post-box .content .small-right {
    align-items: flex-start;
    text-align: left;
    margin-top: 20px;
  }
  body .posts .small-post-box .content .small-right .rating-content img {
    width: 24px;
  }
}
@media (max-width: 450px) {
  body .posts .small-post-box {
    grid-template-columns: 100%;
    grid-template-rows: 300px 200px;
    grid-template-areas: "Top" "Bottom";
    height: 500px;
  }
  body .posts .small-post-box .image {
    grid-area: Top;
  }
  body .posts .small-post-box .image img {
    width: auto;
    height: 70%;
    display: block;
    -o-object-fit: contain;
       object-fit: contain;
  }
  body .posts .small-post-box .content {
    grid-area: Bottom;
  }
  body .posts .small-post-box .content .small-left .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .posts .small-post-box .content .small-left .tropes, body .posts .small-post-box .content .small-left .rating-tropes {
    display: none;
  }
  body .posts .small-post-box .content .small-right {
    margin-top: 15px;
  }
}
body .posts .about {
  display: flex;
  width: min(80vw, 1150px);
  text-align: center;
  padding: 50px 25px;
}
body .posts .about-edit {
  display: flex;
  flex-direction: column;
  width: min(80vw, 1150px);
  justify-content: center;
  align-items: center;
}
body .posts .about-edit .about-field {
  margin: 10px;
  width: 90%;
}
body .posts .about-edit .about-btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 10px 5px;
  background-color: #A38DCE;
  color: white;
  border: 1px solid #6E5B97;
  border-radius: 4px;
  text-decoration: none; /* remove underline for <a> */
  cursor: pointer;
  font-size: 20px;
  font-family: "Instrument Serif";
}
body .posts .about-edit .about-btn:hover {
  transform: scale(1.05);
}
body .posts .submit-row {
  width: 1150px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0;
  margin-bottom: 50px;
}
body .posts .submit-area {
  background: #6E5B97;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}
body .posts .submit-area:hover {
  background: #A38DCE;
}
body .posts .about-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 30px 10px;
  box-shadow: 5px 5px 10px 10px rgba(217, 217, 217, 0.5);
}

.hidden {
  display: none;
}

textarea {
  border: 2px solid #6E5B97;
}/*# sourceMappingURL=index.css.map */