html {
  box-sizing: border-box;
  font-size: 18px;
}

*, *:before, *:after {
  box-sizing: inherit;
}



body {
  margin: 0;
  padding: 0;
  font-weight: normal;
  background-color: #330033; 
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  color: #fcfcfc; 
  text-align: center;
  font-size: 18px;
}



h1, h2, h3, h4, h5, h6, p, ol, ul, li, table, tr, td {
  padding: 0; margin: 0;
  font-weight: normal;
}  

h1, h2, h3, h4, h5, h6, ol, ul, li, table, tr, td {
  font-size: 18px;
}

q { quotes: none; }

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a { color: #ccccee; }




#background-fade {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0));

}


header { 

  max-width: 640px;
  margin: 40px auto 20px;
  padding: 10px;
}

header h1 {
  display: block;
  width: 80%;
  margin: auto;
  
}

header h2 {
  
  padding: 10px 20px;
  margin: 10px 0 0;
  color: #fff;
  font-weight: bold;
  text-align: center;
  
}

main {
  max-width: 640px;
  margin: auto;
}

main > div {
  padding: 0 10px;
}

iframe {
  background-color: #ccc;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.player {
  margin-bottom: 40px; 
  padding: 0 0 0 0;
}

#listen {
  margin-bottom: 20px; 
}

.link-buttons {
  text-align: center; 
}

.link-buttons ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}


.link-buttons li {
  margin: 0 5px;
  flex: 1;
}

@media (max-width: 600px) {
  .link-buttons ul {
    display: block;
    max-width: 200px;
    margin: 0 auto;
  }
}


.link-buttons li img {
  width: 100%;
}

h3 { font-size: 1.5em; font-weight: bold; }

#contact { margin-bottom: 40px; }
.link-list { margin-bottom: 20px; }
.link-list li a { display: block; padding: 10px; margin: 10px 0; text-decoration: none; background-color: #336; border-radius: 20px; font-weight: bold; }
.link-list li a:hover { background-color: #669; }


.social-buttons ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.social-buttons li {
  margin: 0 15px;
  flex: 1;
}


@media (max-width: 600px) {
  .social-buttons li {
    margin: 0 5px;
  }
}


.link-buttons li img {
  width: 100%;
  
  border-radius: 20px; 
}

.episodes {
  margin-bottom: 40px;
}

.episodes table { 
  text-align: left;
}

.details { padding: 20px; }

h4 { font-weight: bold; margin-bottom: 5px; }

footer { font-size: 0.7em; margin: 100px 0; }

.intro { margin-bottom: 20px; }
.episode-navigation { margin-bottom: 20px; table-layout: fixed; width: 100%; }
.episode-navigation a { display: block; width: 100%;}

.description { margin-bottom: 20px; }
.rest { font-size: 0.7em; padding: 10px; }
.episode-player { margin-bottom: 20px; }

.transcript {
  
    width: 100%;
    margin-bottom: 40px;
    text-align: left; 
    
}

.transcript table {
  
    text-align: left;
    
}

.quote {
    display: table-row;
}

.quote:hover {
  background-color: #336;
}

.speaker, .text {
    display: table-cell;
    padding: 8px;
    vertical-align: top;
}

.text {
    border-left: 2px solid #333; /* Adds a dividing line between speaker and text */
    padding-left: 15px; /* Space between line and text */
}



.maintext { text-align: left; margin-top: 10px; margin-bottom: 40px; padding: 10px 40px 40px; background-color: rgba(0,0,0,0.5);}
.maintext h4 { padding-top: 20px; }
.maintext p { margin-top: 10px; }
