@font-face {
  font-family: "Archivo Black";
  src: url("/vendor/fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Exo 2";
  src: url("/vendor/fonts/Exo2-VariableFont_wght.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Koulen";
  src: url("/vendor/fonts/Koulen-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tangerine";
  src: url("/vendor/fonts/Tangerine-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ultra";
  src: url("/vendor/fonts/Ultra-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* BODY */

body {
  margin: 0;
  background: url("../rsc/bg/background_golden2_blur.jpg") no-repeat center
    center fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;

  /*background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: overlay;*/

  color: white;
}

/* GENERAL */
a {
  text-decoration: none;
  color: white;
}

a:hover {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.fLeft {
  float: left;
}

.fRight {
  float: right;
}

.clear {
  clear: both;
}

.wrapper {
  width: auto;
  max-width: 1500px;
}

textarea {
  resize: none;
}

.center {
  margin: 0 auto;
}

.loader {
  border: 4px solid #353535;
  border-top: 4px solid #f3f3f3;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hideScrollbar::-webkit-scrollbar {
  display: none;
}

.hideScrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.grayTransparent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.7);

  z-index: 9999;

  align-items: center;
  display: none;
  justify-content: center;
}

.contentWrapper {
  margin: 0 auto;
  margin-top: 70px;
  margin-bottom: 100px;
  width: 80%;
  color: white;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.pageTitle {
  font-family: "Tangerine", serif;
  position: relative;
  top: -75px;
  font-size: 60px;
}

#searchDiv {
  margin-left: 10%;
}

#addMovieBtn {
  margin-right: 10%;
}

.update-info {
  width: 300px;
  margin: 0 auto;
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}

/* SIGNUP AND LOGIN */
.container {
  margin-top: 10vh;
  margin-bottom: 50px;
  text-align: center;
  max-width: 400px;
}

.center {
  width: 90%;
  margin: 0 auto;
}

#signupForm,
#forgotPasswordForm {
  display: none;
}

.submit {
  width: 200px;
}

.slSubmitBtn {
  width: 50%;
}

#slToggleBtn,
#slBackToLoginBtn {
  font-size: 12px;
}

#forgotPasswordLink:hover {
  font-weight: bold;
}

/* NAVBAR */
.navbar {
  margin-bottom: 0;
}

#navbar-logo {
  position: relative;
  bottom: 6px;
}

#mlNavbar a,
#logoutButton {
  cursor: pointer;
  opacity: 0.8;
}

#mlNavbar a:hover,
#logoutButton:hover {
  cursor: pointer;
  opacity: 1;
}

#navBtn:hover {
  font-style: bold;
}

#logoutButton {
  background: none;
  border: none;
  color: black;
  margin-top: 6px;
}

/* MAIN PAGE */
#movieTable {
  height: 100px;
}

#searchInput {
  border-radius: 5px;
  z-index: 5;
}

#movies {
  margin-top: 70px;
  width: 100%;
}

#movies table tbody tr {
  font-size: 15px;
}

#movies table tbody a {
  color: white;
}

#movies table tbody a:hover {
  text-decoration: none;
  color: lightgrey;
  cursor: pointer;
}

.movieImgMain {
  height: 120px;
  /* initial 100h 70w */
  width: 84px;
  object-fit: cover;
  -webkit-box-shadow: 5px 5px 15px 5px #000000;
  box-shadow: 5px 5px 15px 5px #000000;
}

.movieImgMain:hover {
  border: 1px solid white;
  cursor: pointer;
}

.movieTableFirstCol {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.movieTableLastWatched {
  font-size: 13px;
}

.movieTablePlatformImg {
  padding: 0;
  height: 25px;
  width: 25px;
  margin-right: 5px;
  margin-bottom: 3px;
}

.externalRatingLogo {
  height: 15px;
  margin-right: 5px;
}

#addMovie {
  color: black;
}

#showMovie {
  color: black;
}

.errorAddMovie {
  text-align: center;
  width: 600px;
  position: absolute;
  left: 50%;
  margin-left: -300px;
  z-index: 100;
}

#tableDiv {
  margin: 0 auto;
  width: 80%;
  color: white;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  margin-bottom: 100px;
}

#sortSelect {
  color: black;
  float: right;
  height: 30px;
  border-radius: 5px;
}

#extraInfo {
  margin: 0 auto;
  width: 100%;
}

#extraInfo table {
  width: 100%;
  margin-bottom: 20px;
  table-layout: fixed;
}

#extraInfo table tr td {
  padding: 3px 15px;
}

.extraInfoActorReference {
  margin-right: 10px;
}

.extraInfoActorReference img {
  margin-right: 5px;
  height: 20px;
}

.extraInfoImgTD {
  vertical-align: top;
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.extraInfoActorProfile {
  width: 120px;
  border-radius: 2px;
  -webkit-box-shadow: 5px 5px 15px 5px #000000;
  box-shadow: 5px 5px 15px 5px #000000;
}

.extraInfoTitle {
  font-size: 17px;
}

.extraInfoActorLife {
  font-size: 12px;
}

.extraInfoActorBio {
  font-size: 11px;
}

.socialmedia {
  position: relative;
  margin-right: 3px;
  top: 5px;
}

.socialmediaIcon {
  height: 20px;
  width: 20px;
}

.starActor {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom-right-radius: 5px;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
}

/* Modals */
.modal {
  color: black;
}

.modal-body {
  color: black;
}

/*#movielistModalContent {
  background-image: url("../rsc/bg/background_golden2_blur.jpg");
}*/

.creditsDiv a {
  color: black;
}

/* -> Shared Elements */
.specialFeaturesBtn {
  border: none;
  background-color: transparent;

  font-size: 25px;
  color: rgb(157, 156, 156);

  width: fit-content;
  padding: 0 20px;

  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.sfIMAXBlue {
  color: #0073cf;
}

.sfLinearGradient {
  background: linear-gradient(to right, #00a0c3 50%, #b0201b 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.sfLinearGradient4D {
  background: linear-gradient(to right, #b0201b 50%, #ff9901 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

/* -> Add Movie */
.showMovieLastUpdate {
  color: lightgray;
  position: relative;
  margin-right: 15px;
  margin-top: 6px;
  float: right;
}

#addMovieLoader {
  margin: 20px auto;
  display: none;
}

.addMovie_subtitle {
  margin-top: -8px;
}

.movieUserRatingInput {
  float: left;
  width: 85%;
}

.userRating {
  float: right;
  font-size: 20px;
  text-align: center;
  margin-right: 1%;
  color: red;
}

.alreadyRated {
  font-size: 12px;
  color: #f70000;
  margin-bottom: 5px;
}

#ratingTypeSlider {
  width: 70%;
  margin: 50px auto 20px auto;
}

#movieSelect option {
  height: 45px;
  background-size: contain;
  background-repeat: no-repeat;
  padding-left: 50px;
  padding-top: 10px;
  font-size: 15px;
}

.showMovieUserDatesSpecialFeatures {
  margin-top: 10px;
}

.showMovieSpecialFeature {
  font-size: 20px;
  margin: 0 5px;
}

.showMovieSpecialFeature:hover {
  cursor: default;
}

.showMovieUserDatesWatchbuddies {
  margin: 5px 0 15px 0;
}

.showMovieWatchbuddy {
  margin: 2px;
  padding: 3px;

  font-size: 13px;

  border: 1px solid black;
  border-radius: 2px;
  width: fit-content;

  white-space: nowrap;

  background-color: rgb(253, 181, 0);
  color: white;
}

.showMovieWatchbuddy:hover {
  cursor: default;
}

.movie_flag {
  padding: 0;
  height: 20px;
  width: 30px;
  border: 1px solid black;
}

.movie_platform {
  text-align: left;
  width: 48%;
  margin: 0 1% 0 1%;
}

.movie_platform_alt {
  width: 100%;
}

.movie_platform:hover {
  font-weight: bold;
}

.movie_platform.active {
  font-weight: bold;
}

#movie_platform_alt_input {
  height: 35px;
}

.addMovie_platform_image {
  padding: 0;
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.linkGroup {
  line-height: 30px;
}

/* tags */
#movie_add_tag,
#movie_add_watchbuddy {
  width: 250px;
}

.movie_tag,
.movie_watchbuddy {
  border: 1px solid black;
  border-radius: 3px;
  padding: 3px;
  margin-right: 5px;
  width: fit-content;

  white-space: nowrap;

  color: black;
  background-color: white;
}

.movie_tag:hover,
.movie_watchbuddy:hover {
  cursor: pointer;
  color: black;
}

.movie_tag.active {
  background-color: #013589;
  color: white;
}

.movie_watchbuddy.active {
  background-color: rgb(253, 181, 0);
  color: white;
}

/* -> Edit Movie */
#editMovie {
  color: black;
}

#feedback_content {
  resize: none;
}

/* -> Feedback */
#feedback {
  color: black;
}

/* -> Show Movie */
#errorMovieNotFound {
  width: 100%;
  margin: 10px 0px;
  text-align: center;
}

.showMovieLinks {
  margin: 0 5px;
}

.MSCover {
  float: left;
  margin-top: 50px;
}

#movieTextBody {
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  width: 65%;
  float: right;
}

.user {
  color: goldenrod;
  font-weight: 900;
}

#moviePlotBody {
  margin-top: 20px;
  float: left;
  width: 30%;
}

#movieRatingsBody {
  color: black;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

#movieTextBody a,
#movieRatingsBody a {
  color: black;
}

.rating,
darkred {
  color: darkred;
  font-weight: 900;
}

.extRating,
.uCurrentRating {
  font-size: 18px;
  font-weight: 900;
}

.movieDelete {
  position: relative;
  color: black;
}

.movieDelete:hover {
  color: darkred;
}

.movieRight {
  float: left;
  position: relative;
  color: black;
}

.movieRight:hover {
  color: darkblue;
}

#closeBtn {
  background: none;
  border: none;
  float: right;
  position: relative;
  margin-top: 6px;
  margin-right: 10px;
  font-size: 20px;
}

.deleteMovieDiv,
.deleteEntryDiv {
  display: none;
  margin-left: 30px;
  margin-right: 30px;
}

#deleteEntryDiv a {
  color: white;
}

#movieUserWhen {
  justify-content: center;
  margin-top: 20px;
}

#movieUserWhen div {
  padding-left: 5px;
  padding-right: 5px;
}

.showMoviePlatform {
  height: 20px;
  width: 20px;
  margin-right: 5px;
}

.movieWrapper {
  display: grid;
  grid-template-columns: 6% 30% 30% 10% 10% 7% 7%;
  border-bottom: 1px solid black;
}

.cursorPointer:hover {
  cursor: pointer;
}

.showMovieEditBtn:hover {
  cursor: pointer;
  color: goldenrod;
}

.showMovieDeleteBtn:hover {
  cursor: pointer;
  color: red;
}

.movieUserRatingStats {
  width: 100%;
  margin-bottom: 20px;
  grid-column: 1 / 5;
  display: none;
}

.movieUserWeight {
  color: lightgray;
  font-size: 12px;
}

.overallRatingText {
  color: rgb(71, 71, 255);
}

.editEntry:hover {
  cursor: pointer;
}

.userShowMovieLink {
  color: black;
}

.userShowMovieLink:hover {
  /*font-weight: bold;*/
  text-decoration: underline;
}

.showMovieActorsDiv {
  overflow: hidden;
  overflow-y: scroll;
  max-height: 310px;
}

.showMovieActorTable {
  width: 80%;
  margin: 0 auto;
}

.addMovieSelectionTable {
  width: 100%;
}

.addMovieSelectionTable tr {
  height: 70px;
}

.showMovieActorTable tr td:first-child,
.addMovieSelectionTable tr td:first-child {
  text-align: center;
}

.showMovieActorTable tr td:last-child,
.addMovieSelectionTable tr td:nth-child(2) {
  padding-left: 5px;
  text-align: left;
}

.showMovieActorTableSpace {
  height: 10px;
}

.showMovieActorImage {
  height: 50px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}

.movieCountContainer {
  position: relative;
  display: inline-block;
  border: 1px solid #a0a0a0;
  border-radius: 5px;
  padding: 0 3px;
  margin-bottom: 5px;
}

.movieCountContainer:hover .mlLink {
  opacity: 0.9;
}

.movieCount {
  color: goldenrod;
  font-size: 12px;
  line-height: 14px;
  border-radius: 5px;
  font-weight: bold;
}

.addMovieSelectionImage {
  height: 70px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}

.addMovie_selectable-row {
  cursor: pointer;
}

.addMovie_selectable-row:hover {
  background-color: rgb(255, 217, 122);
  color: white;
}

.hidden-radio {
  display: none;
}

.addMovie_selectable-row.selected {
  background-color: rgb(253, 181, 0);
  color: white;
}

.movieNoImage {
  opacity: 0.2;
}

.movieActorNoImage {
  width: 20px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  opacity: 0.2;
}

.grid_3c_container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  grid-gap: 10px;
}

.grid_item_3c_center {
  text-align: center;
}

.mlLink {
  margin-bottom: 2px;
  opacity: 0.6;
}

.mlLink:hover {
  opacity: 0.9;
}

/* PROFILE PAGE */
#profileLeft {
  width: 20%;
  float: left;
}

#profileRight {
  width: 75%;
  float: right;
}

#profileForm {
  margin-top: 50px;
}

#profileForm h4 {
  color: goldenrod;
}

.weightsText {
  border-radius: 3px;
  text-align: center;
  font-weight: bold;
}

#adjustWeightSlider {
  width: 80%;
  max-width: 500px;
  margin: 40px auto 50px auto;
}

.adjustWeights {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  flex-wrap: wrap;
}

.weight-box {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  color: white;
  flex: 1;
  min-width: 150px;
  margin: 5px;
}

.weight-title {
  margin-bottom: 5px;
}
.weight-value {
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 600px) {
  #adjustWeightSlider {
    width: 100%;
  }
  .adjustWeights {
    flex-direction: column;
    align-items: center;
  }
  .weight-box {
    width: 100%;
    max-width: 300px;
  }
}

.connect1 {
  background: #0077cc;
}
.connect2 {
  background: #33aa33;
}
.connect3 {
  background: #cc3333;
}
.connect4 {
  background: #8844cc;
}

/* STATS PAGE */

#statsWrapper {
  margin: 0 auto;
  margin-top: 20px;
  padding: 20px;
  padding-top: 70px;
  padding-bottom: 100px;
  width: 100%;
  height: max-content;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.statsContentWrapper {
  margin-bottom: 50px;
}

#doughnutSwitchButtons button,
.statsRedirectButtons {
  border: 2px solid goldenrod;
  background-color: rgba(218, 165, 32, 0.3);
  border-radius: 3px;
  padding: 5px 10px;
  font-weight: bold;
}

#doughnutSwitchButtons button:hover,
.statsRedirectButtons:hover {
  background-color: rgba(218, 165, 32, 0.25);
}

#statsSelect {
  color: black;
  height: 30px;
  border-radius: 5px;
}

#dateInterval {
  margin-top: 15px;
  color: goldenrod;
}

.dateIntervalText {
  text-wrap: nowrap;
}

#statsHeader {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  width: 60vh;
  height: 60vh;
  margin: 0 auto;
  z-index: -1;
  top: -32vh;
  overflow: hidden;

  text-align: center;
}

.sphere {
  border-radius: 50%;
}

.rhombus {
  transform: rotate(45deg);
}

#doughnutWrapper {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  align-items: center;
}

#chartLegendContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 750px;
  min-height: 500px;
  gap: 20px;
}

#doughnutSwitchButtons {
  flex: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#doughnutSwitchButtons button {
  margin-bottom: 15px;
}

#doughnutChartWrapper {
  flex: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 400px;
  max-width: 400px;
  max-height: 400px;
  margin: 0 auto;
}

#legend-container {
  flex: 35%;
  margin: 0 auto;
  width: fit-content;

  display: block;
  justify-content: center;
  text-align: center;
  align-items: center;
  height: 220px;
  max-height: 220px;
  overflow-y: auto;
}

#doughnutButton {
  margin-top: 20px;
}

.barChart400Wrapper {
  width: 400px;
  max-width: 400px;
  margin: 0 auto;
}

.barChart750Wrapper {
  width: 750px;
  max-width: 750px;
  margin: 0 auto;
}

#barChartMonthlyWrapper {
  height: 300px;
}

#barChartMovieYearWrapper {
  height: 250px;
}

.golden20 {
  color: goldenrod;
  font-size: 20px;
}

#yearSlider {
  margin: 40px auto 50px auto;
  width: 90%;
}

#yearSlider .noUi-connect {
  background: goldenrod;
}

@media (max-width: 800px) {
  #chartLegendContainer {
    flex-direction: column;
    width: 90%;
  }

  #legend-container {
    padding-left: 0;
  }

  #doughnutChartWrapper,
  .barChart400Wrapper,
  .barChart750Wrapper {
    width: 90%;
  }
}

#barChartComposers {
  max-height: 400px;
  height: fit-content;
}

/* -------------------- */

.carousel-container {
  width: 750px;
  margin: 0px auto;
  position: relative;
}
.inner-carousel {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.carousel-track {
  display: inline-flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.card-container {
  height: 200px;
  width: 150px;
  flex-shrink: 0;
  padding-right: 10px;
}
.card {
  width: 100%;
  height: 100%;
}

.movieStatsImage {
  height: 200px;
  width: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.movieStatsImage:hover {
  cursor: pointer;
}

.carousel-nav button {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  outline: none;
  color: black;
  border: 1px solid #000;
  cursor: pointer;
}
.carousel-nav .prev {
  left: -30px;
  display: none;
}
.carousel-nav .prev.show {
  display: block;
}
.carousel-nav .next {
  right: -30px;
}
.carousel-nav .next.hide {
  display: none;
}

@media (max-width: 800px) {
  .carousel-container {
    width: 575px;
  }
  .card-container {
    height: 150px;
    width: 115px;
  }
  .movieStatsImage {
    height: 150px;
    width: 105px;
    border-radius: 7px;
  }
  .inner-carousel {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .carousel-container {
    width: 345px;
  }
}

@media (max-width: 450px) {
  .carousel-container {
    width: 231px;
  }
  .card-container {
    height: 100px;
    width: 77px;
  }
  .movieStatsImage {
    height: 100px;
    width: 67px;
    border-radius: 5px;
  }
  .inner-carousel {
    height: 100px;
  }
}

/* ------------- */

#stats {
  text-align: center;
  margin-bottom: 100px;
}

.statsGrid {
  --block-size: 100px;
  display: grid;
  grid-template-columns: repeat(3, calc(var(--block-size) * 3));
  grid-gap: 20px;
  justify-content: center;
}

.statsGrid2 {
  --block-size: 100px;
  display: grid;
  grid-template-columns: repeat(6, calc(var(--block-size) * 1.4));
  grid-gap: 20px;
  justify-content: center;
}

.statsItem {
  background-color: rgba(192, 192, 192, 0.6);
  border-radius: 15px;
}

.statsItem2 {
  background-color: rgba(192, 192, 192, 0.6);
  border-radius: 15px;
  padding: 10px;
  padding-left: 15px;
}

#statsFav,
#statsYears {
  grid-column: 1 / 4;
  /* Whole width (3 blocks) */
}

#statsMonthlyMovies {
  grid-column: 2 / 4;
  /* 2 blocks starting in middle */
}

.statsRating {
  padding: 15px;
}

.statsRatingLink,
.statsWhereLink,
.statsLink {
  color: white;
  text-decoration: none;
}

.statsRatingLink:hover,
.statsWhereLink:hover,
.statsLink:hover {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.statsHeader,
.statsHeader2 {
  color: white;

  font-size: 34px;
  font-family: "Koulen", cursive;
  text-align: center;

  position: relative;
  top: -25px;

  transform: rotate(-2deg);
  line-height: 30px;
}

.statsHeader2 {
  top: -10px;
}

.statsContent {
  position: relative;
  top: -10px;
}

.statsSubtitle {
  font-weight: bold;
  font-size: 18px;
}

.statsSubtitleSmall {
  font-size: 20px;
}

.statsNumber {
  font-size: 32px;
}

.statsPoster {
  position: relative;
  top: -10px;
  justify-content: center;
}

.statsPosterImg {
  height: var(--block-size);
  margin: 5px;
}

.statsNumberSmall {
  font-size: 15px;
}

.statsWW {
  text-align: left;
}

.statsWWPlace {
  margin-left: 10px;
  font-size: 20px;
}

.statsWWPlace a {
  text-decoration: none;
}

.statsWWTimes {
  float: right;
  margin-right: 10px;
  margin-top: 8px;
  font-size: 20px;
}

.statsWWTimes2 {
  float: right;
  margin-right: 5px;
  margin-top: 2px;
  font-size: 20px;
}

.statsItem:nth-child(-n + 7) {
  padding: 10px;
}

.statsImg {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.statsImg2 {
  border-radius: 5px;
}

.statsTable {
  margin: 0 auto;
}

.statsLine {
  border-top: 1px solid white;
}

.statsTable td {
  padding: 1px 2px;
}

.topRatings:not(.statsHeader) {
  text-align: left;
}

.dirLink {
  color: white;
}

.dirLink:hover {
  color: lightgray;
}

.ratingNothing {
  display: none;
}

.changeStyle {
  text-decoration: none;
  color: white;
}

.changeStyle:hover {
  text-decoration: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.footnote {
  font-size: 10px;
}

.chart {
  margin-top: 20px;
}

#statsSelYear {
  width: 100px;
  height: 30px;
}

/* SETTINGS */
#settingsDiv {
  margin: 0 auto;
  width: 80%;
  color: white;
  padding: 20px;
  border-radius: 30px;
  background: rgba(192, 192, 192, 0.6);
  margin-bottom: 100px;
  text-align: center;
}

.settingsText {
  height: 30px;
}

#settingsUsername,
#settingsEmail {
  color: black;
}

#settingsRatingWeights {
  margin: 0 auto;
  max-width: 600px;
}

#settingsActing,
#settingsStory,
#settingsVFXSound,
#settignsEntertainment {
  margin-bottom: 10px;
}

#settingsActingText,
#settingsStoryText,
#settingsVFXSoundText,
#settingsEntertainmentText {
  width: 35px;
  color: black;
  border: 2px solid green;
}

#settingsWeightSum {
  font-size: 24px;
  color: green;
}

#saveSettingsBtn {
  margin-bottom: 50px;
}

/* FOOTER */
.footer {
  width: 80%;
  border-radius: 10px;
  margin: 50px auto;
  padding: 10px 0;
  background-color: #ffffff;
  color: #4b4c4d;
}

.footer ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer li {
  padding: 0 10px;
}

.footer ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.footer ul a:hover {
  opacity: 1;
  cursor: pointer;
}

.copyright,
.tmdbContribution {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

#impressum,
#datenschutz {
  color: black;
}

/*////////////////*/
/* DEBUG */
/*////////////////*/
#windowSize {
  color: black;
}

/*////////////////////*/
/* MOBILE */
/*////////////////////*/
.size {
  display: block;

  width: 10px;
  height: 10px;
  border-radius: 5px;
  border: 1px solid black;
}

@media screen and (max-width: 990px) {
  /* Reduce font-sizes, Reduce StatsGrid-Items' width */
  .statsGrid {
    grid-template-columns: repeat(3, calc(var(--block-size) * 2.3));
  }

  .statsGrid2 {
    grid-template-columns: repeat(6, calc(var(--block-size) * 1.06));
  }

  .statsWWTimes2 {
    font-size: 12px;
    margin-top: 8px;
  }

  .size {
    background-color: red;
  }
}

@media screen and (max-width: 900px) {
  #tableDiv {
    width: 97%;
  }

  #searchDiv {
    margin-left: 3%;
  }

  #addMovieBtn {
    margin-right: 3%;
  }

  #homepageContainer {
    margin-top: 20px;
  }

  html {
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
  }

  .size {
    background-color: green;
  }
}

@media screen and (min-width: 800px) {
  /* XXXXX */
}

@media screen and (max-width: 750px) {
  /* Reduce StatsGrid-Items' width */

  .statsGrid {
    grid-template-columns: repeat(3, calc(var(--block-size) * 2));
  }

  .statsGrid2 {
    grid-template-columns: repeat(6, calc(var(--block-size) * 0.9));
  }

  .statsWhereLink {
    font-size: 13px;
  }

  /* Show less info in movie table */

  /* 1: Poster, 2: Movie Year Director Last Watched, (3): Additional Movie Information*/
  /* Hide Additional Movie Information */
  #movieTable td:nth-child(3) {
    display: none;
  }

  #profileLeft {
    width: 100%;
    float: none;
  }

  #profileRight {
    margin-top: 50px;
    width: 100%;
    float: none;
  }

  .size {
    background-color: orange;
  }
}

@media screen and (max-width: 670px) {
  /* Change StatsGrid-items' column counts */

  .errorAddMovie {
    text-align: center;
    width: 300px;
    position: absolute;
    left: 50%;
    margin-left: -150px;
    z-index: 100;
  }

  /* change display settings of stats to one single column */
  .statsGrid {
    grid-template-columns: repeat(1, calc(var(--block-size) * 3));
  }

  .statsGrid2 {
    grid-template-columns: repeat(1, calc(var(--block-size) * 3));
  }

  .statsPlaceholder {
    display: none;
  }

  .statsItem,
  .statsItem2,
  #statsFav,
  #statsYears,
  #statsMonthlyMovies {
    grid-column: 1;
  }

  .statsWWTimes2 {
    font-size: 20px;
    margin-top: 2px;
  }

  /* change display settings of grid_3c_container to only two columns*/
  .grid_3c_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .size {
    background-color: lightgreen;
  }
}
