/* styling for mobile devices */
@media screen and (max-width: 768px) {
  .standard-box {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .header-image {
    max-height: 200px;
    object-fit: contain;
    width: 90%;
  }

  .top-right-image {
    margin: 1em auto 0;
    max-height: 200px;
    object-fit: contain;
    width: 90%;
  }

  .image-text-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2em;
  }

  .image-text-container img {
    margin-top: 1em;
  }
}

/* custom fonts */
@font-face {
  font-family: 'MyFont';
  src: url('/fonts/MyFont.woff2') format('woff');
}

@font-face {
  font-family: 'custom_roboto_font';
  src: url('/fonts/CustomRobotoFont.woff2');
}

html {
  background: url('/images/03_rainbow_galaxy.png') no-repeat center top fixed;
  background-color: #000000;
  background-size: cover;
  height: 100%;
  overflow-y: scroll;
}

body::before {
  background: url('/images/03_rainbow_galaxy.png') no-repeat center top;
  background-size: cover;
  content: "";
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
  z-index: -1;
}

body {
  background: none;
  font-family: 'MyFont', sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* scroll effect for wallpaper */
.parallax-bg {
  background: url('/images/03_rainbow_galaxy.png') no-repeat center top;
  background-attachment: fixed;
  background-position: center 0;
  background-size: cover;
  position: relative;
  width: 100%;
  z-index: -1;
}

.standard-box {
  background: white;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1em;
  min-height: 275px;
  position: relative;
  text-align: center;
}

.podcast-title {
  color: #000000;
  font-family: 'MyFont', sans-serif;
  font-size: 2.5em;
  width: 70%
}

.podcast-description {
  color: #000000;
  font-family: 'custom_roboto_font', sans-serif;
  font-size: 1.2em;
  margin-bottom: 1em;
}

/* episode section */
.episode {
  background-color: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5em;
  padding: 1.5em;
  position: relative;
}

.episode-image {
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  float: right;
  height: auto;
  margin-left: 1.5em;
  object-fit: contain;
  width: 150px;
}

.episode h2 {
  color: #000000;
  font-family: 'MyFont', sans-serif;
  font-size: 1.4em;
  margin: 0 0 0.5em 0;
}

.episode-meta {
  color: #000000;
  font-family: 'custom_roboto_font', sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 1em;
}

.episode-description {
  color: #000000;
  font-family: 'custom_roboto_font', sans-serif;
  font-weight: bold;
  margin-bottom: 1em;
}

.episode-type {
  background-color: #e2e8f0;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.8em;
  margin-right: 0.5em;
  padding: 0.25em 0.5em;
}

.download-links {
  display: flex;
  gap: 7px;
  justify-content: flex-start;
  margin-top: 1em;
}

.download-button {
  align-items: center;
  background-color: #000000;
  border-radius: 4px;
  color: white;
  display: inline-flex;
  font-size: 0.9em;
  padding: 0.5em 1em;
  text-decoration: none;
  transition: background-color 0.2s;
}

.download-button:hover {
  background-color: #000000;
}

.image-text-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
}

.image-text-container p {
  color: #000000;
  font-size: 1.2em;
  text-align: center;
}

.header-image {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 1em auto 0;
  width: 35%;
}

/* fade stuff */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
}

.fade.active {
  opacity: 1;
  visibility: visible;
}

/* season stuff */
.season-container {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#season-s1 {
  display: block;
  opacity: 1;
}

.season-container.active {
  opacity: 1;
}

/* nav bar stuff */
.nav-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

.nav-group-left,
.nav-group-right {
  display: flex;
  gap: 7px;
}

.nav-button {
  align-items: center;
  background-color: white;
  border: 1px solid black;
  border-radius: 4px;
  color: black;
  display: inline-flex;
  font-family: 'custom_roboto_font', sans-serif;
  font-size: 0.9em;
  font-weight: normal;
  justify-content: center;
  padding: 0.5em 1em;
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav-button:focus,
.nav-button:visited,
.nav-button:hover {
  text-decoration: none;
}

.nav-button:focus {
  outline: 2px solid black;
  outline-offset: 2px;
}

/* makes a button/link not clickable */
.not-clickable {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

/* nav bar seasons stuff */
.nav-active {
  border: 2px solid #5bc62e !important;
  box-shadow: 0 0 0 2px black, 0 0 8px rgba(255, 255, 255, 0.6);
  color: #fff !important; /* in case another class overrides this */
  font-weight: normal;
  text-decoration: none;
}

/* episode button colors and hover colors */
.nav-black {
  background-color: #000000;
  color: #ffffff;
}

.nav-red {
  background-color: #cc1b6a;
  color: #ffffff;
}

.nav-red:hover {
  background-color: #cc1b6a;
  color: #ffffff;
}

.nav-orange {
  background-color: #f45c27;
  color: #ffffff;
}

.nav-orange:hover {
  background-color: #f45c27;
  color: #ffffff;
}

.nav-yellow {
  background-color: #f7d61d;
  color: #ffffff;
}

.nav-yellow:hover {
  background-color: #f7d61d;
  color: #ffffff;
}

.nav-green {
  background-color: #5bc62e;
  color: #ffffff;
}

.nav-green:hover {
  background-color: #5bc62e;
  color: #ffffff;
}

.nav-blue {
  background-color: #1179e5;
  color: #ffffff;
}

.nav-blue:hover {
  background-color: #1179e5;
  color: #ffffff;
}

.nav-purple {
  background-color: #6c44c8;
  color: #ffffff;
}

.nav-purple:hover {
  background-color: #6c44c8;
  color: #ffffff;
}

/* about box section */
.about-box {
  background: #ffffff;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'MyFont', sans-serif;
  position: relative;
  text-align: center;
}

.about-box-content {
  background-color: #ffffff;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
  font-family: 'custom_roboto_font', sans-serif;
  font-weight: bold;
  margin-bottom: 1.5em;
  padding: 1.5em;
  position: relative;
  text-align: left;
}

/* foot section */
.footer-shit {
  background-color: #000000;
  border-color: black;
  padding: 1em 0;
  text-align: center;
}

.the-footer {
  background-color: #ffffff;
  border-color: black;
  margin-bottom: 3rem;
  padding: 1em 0;
  text-align: center;
}

/* venmo image */
.top-right-image {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 1em auto 0;
  padding-bottom: 0;
  width: 175px;
}

/* palestinian flag */
.flag-image {
  border-radius: 4px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 35%;
}

/* guest interest button section */
.floating-button {
  background-color: #5bc62e;
  border: none;
  border-radius: 50px;
  bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: black;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  position: fixed;
  right: 20px;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.floating-button:hover {
  background-color: #cc1b6a;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  margin: 10% auto;
  max-width: 600px;
  padding: 20px;
  position: relative;
  width: 50%;
}

.close-button {
  color: #333;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
}

#interested-modal h2 {
  font-family: 'MyFont', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

#interested-modal a {
  color: #cc1b6a;
  display: block;
  font-family: 'custom_roboto_font', sans-serif;
  font-size: 21px;
  font-weight: bold;
  text-align: center;
}

#interested-modal a:hover {
  color: #cc1b6a;
  text-decoration: underline;
}

.download-button:disabled {
  pointer-events: none;
}

.season-coming-soon {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-family: 'MyFont', sans-serif;
  font-size: 2.5em;
  height: 200px;
  justify-content: center;
  padding: 1em;
  text-align: center;
}