pre {
  display: none;
}
* {
  box-sizing: border-box;
}

body {
  background: rgb(233, 233, 240);
  color: rgb(50, 50, 61);
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  color: rgb(50, 50, 61);
}

h2,
h3 {
  color: rgb(43, 43, 51);
}

h3 {
  font-style: italic;
  margin-bottom: 0;
}

a {
  color: #002;
}

a:hover {
  text-decoration: none;
}

header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

header a {
  position: absolute;
  display: block;
  text-decoration: none;
  bottom: 0;
  width: 100%;
}

header h1,
header h2 {
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.53);
}

header h1 {
  padding: 16px 64px 4px;
}

header h2 {
  padding: 4px 64px 32px;
}

main {
  padding: 32px 64px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.image-full-width img {
  width: 100%;
}

.image-about-person img {
  width: 20%;
  max-width: 80px;
  float: left;
  margin: 0 20px 20px 0;
}

.image-about-person-right img {
  width: 20%;
  max-width: 80px;
  float: right;
  margin: 0 0 20px 20px;
}

.image-social img {
  width: 10%;
  max-width: 50px;
  float: center;
  margin: 0 0px 10px 30px;
}

.image-social2 img {
  max-width: 250px;
  float: center;
  margin: 0px 0px 0px 200px;
}

footer {
  background-color: rgb(53, 42, 110);
  bottom: 0;
  height: 60px;
  position: fixed;
  text-align: center;
  width: 100%;
}

footer div {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  height: 60px;
  padding: 0 15px;
  justify-content: space-around;
}

footer a {
  color: white;
}

.episode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 32px;
}

.episode-summary-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 16px;
}

.episode-summary + .episode-summary {
  margin-top: 48px;
}

.episode-summary h2 {
  margin-top: 4px;
}

.episode-summary div p {
  margin-top: 0;
}

.episode-summary p:first-of-type {
  display: none;
}

.episode-summary img {
  width: 100%;
}

.episode-content p {
  overflow-wrap: break-word;
}

.episode-content h4 {
  color: #0005;
  float: left;
  margin: 0 0 0 -50px;
}

.episode-content img {
  width: 100%;
}

.episode aside {
  background-color: #0001;
  padding: 16px;
}

.episode aside h3 {
  margin-top: 0;
}

.episode aside h5 {
  margin-bottom: 4px;
}

@media screen and (max-width: 400px) {
  footer div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

@media screen and (max-width: 600px) {
  main {
    padding: 32px 16px;
  }

  header h1 {
    padding: 16px 16px 4px;
  }

  header h2 {
    padding: 4px 16px 32px;
  }

  .episode-summary-content {
    display: block;
  }
  .episode-summary-content img {
    margin-bottom: 16px;
  }

  .episode {
    display: flex;
    flex-direction: column-reverse;
  }

  .episode-content h4 {
    color: #0005;
    float: inherit;
    margin: 0 0 -10px 0;
  }
}
