/* ===================================================
SECTION 1: Font Styles
=================================================== */


@font-face {
    font-family: "museo-sans-500";
    src: url('fonts/museo-sans-500.otf') format('truetype');
}


/* ===================================================
SECTION 2: Global Styles
=================================================== */

/* Global styles */
body {
  margin: 0;
  padding: 0;
  background-image:url(images/bck2.jpg);
  background-size:cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.container {
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: "museo-sans-500";
    font-size: 3vh;
    color: white;
}

.h2 {
    font-family: "museo-sans-500";
    font-size: 6vw;
    color: #fff;
    margin: 0;
    border: 0;
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}




/* ===================================================
SECTION 3: Section Styles
=================================================== */

/* Section styles */
section {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Section headings */
section h2 {
  font-size: 44px;
  margin: 0 0 20px;
}

/* Section paragraphs */
section p {
    margin: 0 0 10px;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #000;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: "museo-sans-500";
}

#back-to-top:hover {
  background-color: #555;
  color: #fff;
}


/* ===================================================
SECTION 4: Footer Styles
=================================================== */
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-family: "museo-sans-500";
}

footer p {
  margin: 0;
}


/* ===================================================
SECTION 5: Episode Boxes
=================================================== */

/* Episode Boxes */
.episode {
  border: 3px solid #f0eeee;
  background-color: rgba(253, 251, 251, 0.5); /* semi-transparent background */
  border-radius: 6px;
  border-style: double;
  padding: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
}

.episode:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.episode img {
  max-width: 100%;
  height: 20vh;
  border-style: groove;
}

.episode h3 {
  margin-top: 20px;
  font-size: 24px; /* adjust the font size as necessary */
  color: rgb(249, 245, 245);
  text-shadow: black 2px 1px;
}

.episode p {
  margin-top: 10px;
  color: #ffffff;
  text-shadow: black 2px 1px;
}

.episode-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.episode-box {
  border: 1px solid rgba(253, 251, 251, 0.5); /* semi-transparent border */
  border-radius: 5px;
  padding: 20px;
  margin: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.episode-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.episode-box img {
  max-width: 100%;
  height: auto;
}

.episode-box h3 {
  margin-top: 10px;
  font-size: 24px;
  color: #333;
}

.episode-box p {
  margin-top: 10px;
  color: #fbfafa;
}

/* ===================================================
SECTION 6: Responsive Media Queries
=================================================== */
@media screen and (max-width: 768px) {

  body {
      background-attachment: scroll;
    }

  footer p {
    font-size: 12px; /* Adjust this value to match your design */
  }

  .episode {
    padding: 10px;
  }

  .episode img {
    height: auto;
  }

  .episode h3 {
    font-size: 21px;
  }

  .episode p {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  #back-to-top {
    padding: 5px;
    font-size: 12px;
  }
}
