@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap");

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 10px;
}

body {
  font-family: "Comfortaa", sans-serif;
  background-color: #f0ece2;
}

body p {
  padding-bottom: 10px;
}

body h3 {
  padding-bottom: 10px;
}

.logo-container .logo {
  width: 200px;
}

.nav-links {
  list-style: none;
  padding: 0;
}

.nav-links li {
  display: inline-block;
  margin: 0 10px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
}

/* Responsive design considerations */
@media (max-width: 600px) {
  .nav-links li {
    display: block;
    margin: 5px 0;
  }
}

main {
  display: flex;
  flex-wrap: wrap;
  /* padding: 2rem; */
  height: auto;
  /* max-height: auto; */
}

#revenue-list {
  flex: 1 1 20%;
  padding-right: 2rem;
  margin-right: 2rem;
  background-color: #dfd3c3; /* Light gray background */
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
  height: auto;
  /* max-height: 100vh; */
  color: #596e79; /* White text for headings */
  /* position: sticky; */
  /* overflow-y: scroll; */
  max-width: 20%;
}

#revenue-list h2 {
  margin-bottom: 1rem;
}

#revenue-list ul {
  list-style: none;
}

#revenue-list ul li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 5px;
  background-color: #dfd3c3; /* Dark background for the section */
  border-radius: 8px; /* Optional: rounds the corners */
  border: 1px solid #000000; /* Subtle border */
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  margin-top: 10px;
}

#movie-cards {
  margin: 2rem;
  margin-left: 0;
  flex: 3 1 75%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
}

#content {
  /* margin: 2rem; */
  /* margin-left: 0; */
  /* flex: 3 1 75%; */
  width: 75%;
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
  /* grid-gap: 2rem; */
}

.movie-card {
  padding: 1rem;
  text-align: center;
  background-color: #dfd3c3; /* Dark background for the section */
  border-radius: 8px; /* Optional: rounds the corners */
  border: 1px solid #000000; /* Subtle border */
  margin: 20px 0; /* Adds some space around the section */
  max-width: 400px; /* Maximum width of the section */
  margin-left: auto; /* Centers the section horizontally */
  margin-right: auto;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.movie-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

@media (max-width: 920px) {
  main {
    flex-direction: column;
  }

  #revenue-list {
    padding: 20px;
    margin-bottom: 2rem;
    width: 100vw;
    height: auto;
    max-width: 100%;
  }

  #content {
    width: 100%;

    padding: 20px;
  }
  #movie-cards {
    margin-left: 2rem;
  }
}

.hidden {
  display: none;
}

.player-name {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  margin-left: 10px;
}

.movieOwner {
  margin: none;
  margin-bottom: none;
  padding-bottom: none;
  margin-top: 0.2em;
  text-align: right;
}

.cardIcon {
  opacity: 40%;
  vertical-align: middle;
}
