:root {
    --body-fonts:"Titling Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    --title-fonts:"Titling Gothic Extended",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

body {
    margin: 0;
    font-family: var(--body-fonts);
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: var(--title-fonts);
}

a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #ff00ff;
}

a.no-underline {
    border-bottom: 0;
}

a:hover {
    color: #ff00ff;
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.justify-center {
    justify-content: center;
}


/* Utils */

.margin-right-desktop {
    margin-right: 0.5rem;
}


/* Buttons */

.btn {
    border: 0;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    color: #ff00ff;
    cursor: pointer;
    font-family: var(--body-fonts);
    transition: all 0.3s ease;
}

.btn-small {
    color: #fff;
    background: #ff00ff;
    transform: rotate(1deg);
    padding: 0.5rem;
    line-height: 1;
    border-radius: 4px;
    letter-spacing: 0.05rem;
}

.btn:hover {
    color: #ffa500;
}

/* Sections */

.home_intro {
    font-size: 6vw;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background-image: url("/assets/images/home_cover.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subscribe_banner {
    background: #ffa500;
    padding: 2rem;
    text-align: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.credits {
    background: #ffa500;
    height: 20vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.credits .logo {
    width: 160px;
    margin: 0 auto;
}

.home_intro h1 {
    font-weight: 400;
    line-height: 1;
}

.home_intro span {
    display: block;
    padding: 0;
}

.about-page {
    padding: 3rem 0;
    min-height: 100vh;
    background: rgba(113, 108, 216, 0.25);
    line-height: 1.6;
}

.about-page h1 {
    font-size: 2rem;
    margin-top: 6rem;
}

.text-section {
    margin: auto;
    max-width: 50vw;
}

.credits {
    text-align: center;
}

.credits h2 {
    font-size: 1rem;
    font-family: var(--body-fonts);
    margin-top: 2rem;
}

/* Episodes */

.episode {
    margin: auto;
    text-align: left;
    padding: 2rem 8rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
}

.episode__title {
    font-size: 24px;
    color: #111;
    text-align: left;
    cursor: pointer;
    min-width: 60vw;
}

.icons {
    margin-right: 0.5rem;
}

.episode__summary {
    font-size: 18px;
    padding-bottom: 2rem;
}

.episode__summary, .episode__title, .episode h4, .episode__links {
    line-height: 1.6;
}

.episode__links {
    display: flex;
}

.episode__number {
    font-family: var(--body-fonts);
    color: #9ca3af;
    font-weight: 400;
}

.episode__notes {
    text-align: left;
    font-size: 18px;
    line-height: 1.7;
}

details > summary::-webkit-details-marker {
    color: #e0e0e0;
    display: none;
}


details[open] {
    background-color: #f5f5f5;
}

details[open] .episode__title {
    color: #ffa500;
}

/* Platform buttons */

.platform__buttons h4 {
    font-family: var(--body-fonts);
}

.platform__buttons img {
    margin: 0;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.platform__buttons a, .subscribe_banner a {
    border-bottom: none;
}

.platform__buttons img:hover {
    transform: scale(1.02);
}

/* Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: #ffa500; /* Black w/ opacity */
    text-align: center;
  }
  
  /* Modal Content/Box */
  .modal-content {
    background: none;
    margin: 25vh auto;
    padding: 2rem 1rem;
    border-radius: 8px;
    width: 50vw; /* Could be more or less, depending on screen size */
  }

  .modal-content .platform__buttons h4 {
      color: rgba(1,1,1,0.8);
      margin-bottom: 2rem;
  }
  
  /* The Close Button */
  .close {
    color: rgba(1,1,1,0.5);
    float: right;
    font-size: 40px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* Misc */

.myBtn {
    align-items: center;
    display: flex;
}


.margin-top-lg {
    margin-top: 4rem;
}


.extra-content main {
    padding: 4rem 3rem;
    max-width: 75ch;
    margin: auto;
}

.extra-content .episode-cover {
    max-width: 40px;
    display: inline;
    margin: 0;
    border-radius: 4px;
}

header {
    background: #ffa500;
    padding: 0.5rem 3rem;
    font-family: var(--title-fonts);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

header a {
    border-bottom: none;
}

.episode-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.episode-title {
    font-weight: bold;
}

.extra-content ul {
    list-style-type: none;
    padding: 0;
}

.extra-content ul li {
    margin-bottom: 1.5rem;
}

.extra-content img {
    max-width: 100%;
    display: block;
    margin: 2rem auto 1rem;
}

.margin-right-sm {
    margin-right: 2rem;
}

.bold {
    font-weight: bold;
}

@media only screen and (max-width: 1000px) {

    .flex-container {
        display: block;
        margin: 2rem 0;
    }

    header {
        padding: 0.5rem 1rem;
    }

    .site-title, .divider {
        display: none;
    }

    .extra-content main {
        padding: 4rem 1rem;
    } 

    .episode__notes {
        max-width: none;
    }

    .episode {
        text-align: left;
        padding: 1rem 2rem;
    }
    
}

@media only screen and (max-width: 600px) {

    .desktop-only {
        display: none;
    }

    .episode-title {
        display: none;
    }

    .modal-content {
        width: 90vw;
      }

    .margin-right-desktop {
        margin-right: 0;
    }

    .platform__buttons img {
        max-height: 28px;
    }

}