html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f4f4f4;
}

.container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 2em;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #2d467e;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #3170d0;
  color: white;
}

/* Loader Styles */

.parent {
  display: flex;
  justify-content: center;
}

/* See: https://www.w3schools.com/howto/howto_css_loader.asp */
.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* End Loader Styles */

#tz {
  width: 500px;
  height: auto;
}

#test-img {
  display: flex;
  justify-content: center;
}

#main-title {
  text-align: center;
}

#intro-text {
  text-align: center;
}

.episodes {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.episode {
  margin-bottom: 40px;
  margin: 0 10px;
  width: 300px;
}

.details {
  line-height: 1.5;
}

#title {
  width: 300px;
}

.narration {
  width: 300px;
  line-height: 1.5;
}

.link {
  text-decoration: none;
}

.link:hover {
  color: salmon;
}

#image {
  width: 300px;
  height: 300px;
}

.cast {
  margin-bottom: 40px;
}

.top {
  margin-top: 40px;
  text-align: center;
}
