.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}

.clickable {
  cursor: pointer;
}
.clickable > * {
  opacity: 1;
}
.clickable.not {
  cursor: unset !important;
}

.unselectable {
  user-select: none;
}

.radius {
  border-radius: 10px;
}

.shadow {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 10px 16px rgba(0, 0, 0, 0.1);
}

.small {
  font-size: 0.8rem;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.movie, .season {
  height: 261px;
}

.album, .user {
  height: 180px;
}

.profile {
  width: 10px;
  height: 10px;
}

.box {
  padding: 1rem 1rem;
}

.good {
  background: forestgreen;
  color: white;
}

.bad {
  background: indianred;
  color: white;
}

.red {
  color: red;
}

.outline {
  border: black 1px solid;
}
.outline.red {
  border: darkred 1px solid;
}

.underline {
  text-decoration: underline;
}
.underline.not {
  text-decoration: none;
}

.rating {
  margin-left: auto;
  width: 90px;
  display: flex;
  justify-content: end;
  column-gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}
.rating > div {
  text-align: center;
  height: fit-content;
  min-width: 37px;
}

.critics, .users {
  width: fit-content;
  padding: 2px 2px;
  height: fit-content;
  text-align: center;
  margin: 0 2px;
}
.critics span, .users span {
  font-size: 0.8rem;
  padding: 5px;
  margin-bottom: 2px;
}
.critics p, .users p {
  font-size: 0.7em;
}

.critics {
  grid-area: critics;
}

.users {
  grid-area: users;
}

.paginator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 30px auto;
}
.paginator > div:nth-child(2) {
  display: flex;
  justify-content: space-between;
}
.paginator > div:nth-child(2) div {
  display: flex;
  justify-content: center;
  align-items: center;
  border: black solid 1px;
  width: 25px;
  height: 25px;
}
.paginator p {
  margin: 0;
}

#flashbox {
  position: fixed;
  bottom: 80px;
  right: 0px;
  width: 100%;
}
#flashbox .flash {
  width: fit-content;
  max-width: 330px;
  margin: 0 auto;
  color: white;
  padding: 10px 20px;
  text-align: center;
}
#flashbox .flash.success {
  background: darkgreen;
}
#flashbox .flash.failure {
  background: indianred;
}
#flashbox .flash.message {
  background: dodgerblue;
}

.user_panel {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  column-gap: 5px;
}

.circle {
  border-radius: 50%;
}
.circle.small {
  width: 20px;
  height: 20px;
}

.photo-box {
  display: flex;
  justify-content: center;
  flex-direction: row;
  column-gap: 10px;
}
.photo-box .fileinput {
  position: relative;
}
.photo-box .fileinput .user-image-input {
  position: inherit;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  width: 30px;
  height: 40px;
  z-index: 2;
  opacity: 0;
}
.photo-box .fileinput i {
  position: absolute;
  font-size: 2.5rem;
  top: 0;
  left: 0;
}
.photo-box .user-image {
  background: #f5f5f5;
  height: 170px;
  width: 170px;
  border-radius: 50%;
  align-self: start;
}

.input {
  padding: 0.75rem 0.25rem 0.75rem 0.75rem;
  width: 100%;
  height: 37px;
  appearance: none;
  border: none;
  outline: none;
  background: #f5f5f5;
  /* background color */
}
.input:focus {
  box-shadow: inset 0 0 2px black;
}

.checkbox {
  display: flex;
  justify-content: start;
  align-items: center;
  column-gap: 5px;
}
.checkbox input {
  height: 20px;
  width: fit-content;
}

.no_items {
  display: flex;
  height: 42px;
  width: 100%;
  flex-direction: column;
  column-gap: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

textarea {
  display: block;
  width: 100%;
  min-height: 133px;
  max-height: 520px;
  padding: 0.75rem;
  resize: vertical;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

/*clearfix*/
body::before,
body::after {
  content: "";
  display: table;
}

body::after {
  clear: both;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: "Poppins", sans-serif;
  /* FONT */
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: black;
  opacity: 50%;
}

p {
  margin: 0;
}

.wrapper {
  padding: 15px 20px;
}

.active {
  background-color: #ddd;
}

#main-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#main-page > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  row-gap: 8vh;
  width: 100%;
  padding: 0 25px;
}
#main-page > div h1 {
  font-size: 5.5rem;
  white-space: nowrap;
}
#main-page > div .categories {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 5%;
  row-gap: 3vh;
  flex-wrap: wrap;
  width: 100%;
}
#main-page > div .categories div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 260px;
}
#main-page > div .categories div h2 {
  white-space: nowrap;
  background: white;
  padding: 8% 6%;
}
#main-page .login {
  flex-direction: row;
  justify-content: flex-end;
}
#main-page .login a {
  padding: 15px 0;
}

.item_container {
  display: grid;
  padding: 20px 15px;
  gap: 10px;
  min-height: 80vh;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
}

.item_card {
  display: grid;
  grid-template-columns: 180px;
  grid-template-rows: auto;
  grid-template-areas: "image" "description";
  font-size: 0.8em;
}
.item_card .image {
  grid-area: image;
}
.item_card .image div {
  width: 100%;
  height: 100%;
}
.item_card .description {
  grid-area: description;
  padding-top: 7px;
}
.item_card .description > div {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 3px;
  grid-template: "date rating" "name name";
}
.item_card .description > div .date {
  grid-area: date;
  display: flex;
  justify-content: left;
  align-items: center;
  font-weight: lighter;
  white-space: nowrap;
}
.item_card .description > div .name {
  grid-area: name;
  font-weight: bold;
}
#item_page {
  display: flex;
  flex-direction: column;
  row-gap: 35px;
}
#item_page .image, #item_page .head {
  width: 100%;
  margin: 0 auto;
}
#item_page .image {
  height: 261px;
  max-width: 600px;
}
#item_page .image.album, #item_page .image.artist, #item_page .image.person {
  max-height: 180px;
  max-width: 180px;
}
#item_page .image.artist {
  border-radius: 50%;
}
#item_page .head {
  max-width: 400px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px 12px 12px 12px;
}
#item_page .head .name {
  margin: 0 0 5px 0;
  font-size: 1.6em;
}
#item_page .head .info {
  font-size: 0.8em;
}
#item_page .head .info .age_rating {
  padding: 0 3px;
  border-radius: 4px;
  border: black solid 1px;
}
#item_page .head .description {
  font-size: 0.9em;
}
#item_page .head .rating {
  justify-content: space-between;
  margin-top: 12px;
  width: 100%;
}
#item_page .head .rating a {
  font-size: 0.9em;
}
#item_page .head .rating .critics, #item_page .head .rating .users {
  width: 20%;
}
#item_page .head .rating .critics span, #item_page .head .rating .users span {
  font-size: 1.1em;
}
#item_page .head .rating .critics p, #item_page .head .rating .users p {
  font-size: 0.8em;
}

#results-page .filter {
  justify-content: center;
  font-size: 1.2em;
}
@media (max-width: 470px) {
  #results-page .filter {
    flex-wrap: wrap;
    font-size: 1em;
  }
}

#person_page {
  display: flex;
  flex-direction: column;
  row-gap: 35px;
}
#person_page .image, #person_page .head {
  width: 100%;
  margin: 0 auto;
}
#person_page .image {
  height: 261px;
  max-width: 600px;
}
#person_page .image.album, #person_page .image.person, #person_page .image.artist {
  max-width: 261px;
}
#person_page .head {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  text-align: center;
  padding: 15px 12px 12px 12px;
}
#person_page .head .name {
  margin: 0 0 5px 0;
  font-size: 1.6em;
}
#person_page .head .info {
  font-size: 0.8em;
}
#person_page .head .info .age_rating {
  padding: 1px 3px;
  border-radius: 4px;
  border: black solid 1px;
}
#person_page .head .description {
  font-size: 0.9em;
}
#person_page .head .rating {
  justify-content: space-around;
  margin-top: 12px;
  width: 100%;
}
#person_page .head .rating a {
  font-size: 0.9em;
}
#person_page .head .rating .critics, #person_page .head .rating .users {
  width: 20%;
}
#person_page .head .rating .critics span, #person_page .head .rating .users span {
  font-size: 1.1em;
}
#person_page .head .rating .critics p, #person_page .head .rating .users p {
  font-size: 0.8em;
}

#user_page {
  display: flex;
  flex-direction: column;
  row-gap: 35px;
}
#user_page form {
  width: fit-content;
}
#user_page .image, #user_page .head {
  width: 100%;
  margin: 0 auto;
}
#user_page .image {
  height: 261px;
  max-width: 261px;
}
#user_page .image.album, #user_page .image.song, #user_page .image.user {
  max-height: 180px;
  max-width: 180px;
}
#user_page .image.user {
  border-radius: 50%;
}
#user_page .head {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  text-align: center;
  padding: 15px 12px 12px 12px;
}
#user_page .head .name {
  margin: 0 0 5px 0;
  font-size: 1.6em;
}
#user_page .head .info {
  font-size: 0.8em;
}
#user_page .head .info .age_rating {
  padding: 1px 3px;
  border-radius: 4px;
  border: black solid 1px;
}
#user_page .head .description {
  font-size: 0.9em;
}
#user_page .head .rating {
  justify-content: space-around;
  margin-top: 12px;
  width: 100%;
}
#user_page .head .rating a {
  font-size: 0.9em;
}
#user_page .head .rating .critics, #user_page .head .rating .users {
  width: 20%;
}
#user_page .head .rating .critics span, #user_page .head .rating .users span {
  font-size: 1.1em;
}
#user_page .head .rating .critics p, #user_page .head .rating .users p {
  font-size: 0.8em;
}

nav, .nav.mobile {
  width: 100%;
  height: 55px;
  justify-content: space-between;
  align-items: center;
}
nav > div, .nav.mobile > div {
  display: flex;
  align-items: center;
  justify-content: right;
  height: 100%;
}
nav > div a, .nav.mobile > div a {
  padding: 14px 16px;
  white-space: nowrap;
  font-size: 1em;
  height: 100%;
  width: 100%;
}

nav {
  display: flex;
  column-gap: 5px;
  border-bottom: black 2px solid;
  margin-bottom: 15px;
}

.nav.mobile {
  display: none;
  background: #fff;
  border-top: black 1px solid;
  position: fixed;
  bottom: 0;
  width: 100%;
}
.nav.mobile .menu {
  display: flex;
  width: inherit;
  justify-content: space-evenly;
  align-items: center;
  position: absolute;
  bottom: 0;
}
.nav.mobile .menu div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33.3333333333%;
  text-align: center;
  padding: 0;
}

@media (max-width: 705px) {
  nav .menu {
    display: none;
  }

  .nav.mobile {
    display: flex;
    z-index: 3;
  }

  body {
    padding-bottom: 55px;
  }
}
@media (max-width: 435px) {
  nav {
    height: 100px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "home user" "searchbar searchbar";
  }
  nav .home {
    grid-area: home;
    display: flex;
    justify-content: left;
    width: 100%;
    padding: 0 5px;
  }
  nav .user {
    grid-area: user;
    display: flex;
    justify-content: right;
    width: 100%;
    padding: 0 5px;
  }
  nav #searchbar {
    grid-area: searchbar;
    display: flex;
    justify-content: center;
    width: 95%;
    margin: 0 auto;
  }

  .nav.mobile {
    display: flex;
  }
}
#searchbar {
  position: relative;
  height: 37px;
  width: 40%;
  max-width: 400px;
  min-width: 230px;
}
#searchbar .input {
  height: 100%;
  width: 100%;
  padding: 0.75rem 1.8rem 0.75rem 2.3rem;
}
#searchbar .search_icon {
  position: absolute;
  top: 11px;
  left: 13px;
  font-size: 15px;
  opacity: 0.5;
  z-index: 2;
}
#searchbar .clear_icon {
  cursor: pointer;
  position: absolute;
  top: 1px;
  right: 4px;
  padding: 10px;
  font-size: 15px;
  opacity: 0.5;
  z-index: 2;
}
#searchbar .results {
  position: absolute;
  width: 100%;
  background: #f5f5f5;
  height: auto;
  overflow: hidden;
  top: 45px;
  z-index: 3;
}
#searchbar .results a {
  font-size: 0.8rem;
}

.filter {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 0.8em;
  width: 100%;
  border-bottom: solid black 1px;
  padding: 5px;
}
.filter > div {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  flex-wrap: nowrap;
}
.filter a {
  padding: 5px;
}

.section {
  max-width: 765px;
  margin-bottom: 20px;
}
.section .header {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  height: 40px;
  border-bottom: solid 1px black;
  margin-bottom: 10px;
  column-gap: 10px;
}
.section .content {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.section table {
  border-spacing: 1rem 10px;
  border-collapse: collapse;
  font-size: 0.9em;
}
.section table > * {
  vertical-align: top;
}
.section table tr:not(:last-child) {
  border-bottom: solid rgba(128, 128, 128, 0.1803921569) 0.1px;
}
.section table td {
  padding: 5px 0;
}
.section table .left {
  font-weight: bold;
  width: min-content;
}
.section table .right {
  padding-left: 5%;
  text-align: left;
}
#item_page .item_container {
  grid-template-columns: repeat(auto-fit, 238px);
  height: auto;
}

.review {
  width: 238px;
  height: auto;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  row-gap: 5px;
  overflow: hidden;
}
.review:hover {
  max-height: none;
}
.review p {
  font-size: 0.8rem;
  font-style: italic;
  width: 100%;
}
.review .points {
  margin: 0;
}

.baseline {
  display: flex;
  justify-content: start;
  column-gap: 3px;
  align-items: center;
}
.baseline a:hover {
  opacity: unset;
}
.baseline .like-icon {
  opacity: 0.5;
  cursor: pointer;
}
.baseline .like-icon.liked {
  opacity: 1;
}
.baseline .like-icon:hover {
  opacity: 1;
}
.baseline .likes_count {
  font-size: 0.7rem;
  color: #2d3748;
}
.baseline a {
  white-space: nowrap;
  font-size: 0.9rem;
}

.author {
  display: flex;
  flex-direction: row;
  justify-content: left;
  column-gap: 5px;
  align-items: center;
}
.author > div {
  border-radius: 50%;
}

.page.submit {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 100px 0;
}

.form {
  width: 95%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4% 3%;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
}
form > div {
  width: 100%;
}
form > div input {
  width: 100%;
  height: 37px;
  padding: 0.75rem;
}

.error {
  color: darkred;
  font-size: 0.8rem;
  align-self: start;
}

button {
  background: white;
  padding: 7px 10px;
  white-space: nowrap;
  font-size: 1rem;
  height: 46px;
  color: black;
}
button:hover {
  text-decoration: none;
  opacity: 1;
  background: #f5f5f5;
}

.toolbox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
  width: 100%;
}

.add_review {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
}
.add_review .delete {
  margin-top: 10px;
  display: inline-block;
}
.add_review .head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.add_review .head .my-score {
  font-size: 0.8rem;
  padding: 0.75rem 0.25rem 0.75rem 0.75rem;
  width: 60px;
  height: 37px;
  appearance: none;
}
.add_review .head .author {
  align-self: start;
}
.add_review .head .source {
  width: 100%;
}

.admin-tools {
  width: 95%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  row-gap: 5px;
  margin: 20px auto;
}
.admin-tools a {
  padding: 10px;
}

.item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.item a {
  padding: 0;
  display: grid;
  border-radius: 10px;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 10fr;
  grid-template-areas: "image info";
  align-items: center;
  grid-column-gap: 15px;
}
.item a .item_image {
  grid-area: image;
}
.item a .info {
  grid-area: info;
}
.item a .info .item_description {
  font-size: 0.8em;
  font-style: italic;
}
.item a .info .stat {
  font-size: 0.9em;
}

/*# sourceMappingURL=style.css.map */
