
:root {
    --pink: #FF00B7;
    --green: #33B25D;
    --blue: #3376B8;
    --darkPink: #943A56;
}

/* #Giang {
    background-color: var(--pink);
}

#Giang img {
    filter: hue-rotate(90deg) contrast(250%);

} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* html {
    height: 100%;
} */

body {
    overflow-x: hidden;
    /* background-image: url('images/bg.jpg'); */
    margin: 0 auto;
    padding: 10px 0;
    max-width: 1600px;

    min-height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='paperEffect'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.01' numOctaves='3' result='noise' /%3E%3CfeDiffuseLighting in='noise' lightingColor='%23fff' surfaceScale='2.5' result='texture'%3E%3CfeDistantLight azimuth='45' elevation='60' /%3E%3C/feDiffuseLighting%3E%3CfeTurbulence type='turbulence' baseFrequency='0.05' numOctaves='3' seed='5' result='tornNoise' /%3E%3CfeDisplacementMap in='SourceGraphic' in2='tornNoise' scale='10' xChannelSelector='R' yChannelSelector='G' result='tornEdges' /%3E%3CfeBlend in='texture' in2='tornEdges' mode='multiply' result='combined' /%3E%3C/filter%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='%23ffffff' filter='url(%23paperEffect)' /%3E%3C/svg%3E");
    background-repeat: repeat;
}

main {
    margin: 40px 10px;
}

img {
    display: block;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

p, .ep-content a, .ep-content li, .podcast-roles {
    font-size: 0.75rem;
    line-height: 1.3em;
    font-family: "League Spartan", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #0A0A0A;
}

.book-title {
  font-style: italic;
}

p {
    line-height: 1.1em;
}

p + p {
    margin-top: 1em;
}

h1 {
    font-size: 1.875em;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
    filter: blur(0.5px);
    margin-bottom: 0.4em;
    margin-top: 0;
}

h2 {
    font-size: 1.5em;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
    line-height: 1em;
}

h3 {
    font-size: 1em;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
}

h4 {
    font-size: 0.85em;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
}

.h2-cursive, .team-member-name, .cursive {
    font-family: "Lobster", sans-serif;
}

.subtitle {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
    font-size: 1.5em;
    width: 100%;
}

/* .cta {
    transition: box-shadow 0.2s ease;
}

.cta:hover {
    box-shadow: 0 0 0 4px #33B25D;
} */

.card-btn {
    font-size: 1.125em;
    font-family: "League Spartan", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--blue);
}


/* navigation bar */
nav {
    background-color: #FF00B7;
    margin: 0 10px 0 10px;
    padding: 24px 10px;

    /* position: sticky;
    top: 0;
    z-index: 1000; */
}

nav > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-listen {
    position: relative;
}

.nav-listen .btn-selection {
    display: none;
}

.logos-link {
    display: inline-block; 
    text-decoration: none;
    width: fit-content;
    /* max-width: 50%; */
}

.logos-link {
    display: flex;
    max-width: 40%;
    gap: 6px;
}

.logos-link img {
    box-sizing: border-box;
}

.logos-link img:first-child {
    max-width: 93px;
    min-width: 58px;
    min-height: 58px;
    position: relative;
}

.logos-link img:last-child {
    max-width: 214px;
    min-width: 126px;
    /* padding-left: 6px; */
}

.logos-link.close {
    visibility: hidden;
}

.divider {
    min-width: 3px;
    width: 3px;
    max-height: 93px;
    background-color: #943A56;
}

.nav-links-wrapper {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.nav-links-wrapper.show {
    display: flex;
}

.nav-links-wrapper li {
    text-align: center;
}

.nav-links-wrapper li:last-child a {
    display: block;
    padding: 5px 30px;
}

.nav-links-wrapper li:last-child a {
    display: block;
    padding: 5px 30px;
    background-image: url('images/bg-small.jpg');
}

/* footer */
footer a {
    /* font-size: 0.75em; */
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0A0A0A;
    text-decoration: underline;
}

footer p {
    max-width: 420px;
}

footer {
    background-color: #33B25D;
    padding: 48px 10px;
    margin: 0 10px 0 10px;
}

/* mobile navigation - hamburger menu */
/* toggle menu */
.mobile-menu {
    display: inline-block;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.bar1, .bar2, .bar3 {
    width: 28px;
    height: 4px;
    background-color: #0A0A0A;
    /* margin: 4px auto; */
    transition: 0.4s;
    border-radius: 5px;
}

.change .bar1 {
    transform: translate(0, 9px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -9px) rotate(45deg);
}

/* index page header */
#landing-page {
    position: relative;
    min-height: 100vh;
}

#landing-page::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: url('images/bg-landing.png') center / cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

header div {
    position: relative;
}

#header-description {
    font-size: 0.875em;
    line-height: 0.9375em;
    font-family: "League Spartan", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #0A0A0A;
    position: absolute;
    min-width: 227px;
    max-width: 493px;
    width: 40%;
    padding: 24px;
    background-image: url('images/bg-small.jpg');
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
}

header div img {
    max-width: 120%;
    height: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* cards */
.episode-button {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: fit-content;
}

.listen-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.episode-card {
    max-width: 420px;
    width: 100%;
    border: solid var(--darkPink) 2px;
    outline: solid var(--pink) 4px;
    /* min-height: 575px; */
    flex: 1 1 320px;
    background-image: url('images/bg-small.jpg');
}

#latest-episode-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.episode-content {
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.episode-info .h2-cursive {
    margin-bottom: 15px;
}

.episode-image {
    max-width: 420px;
    width: 100%;
    mix-blend-mode: multiply;
}

/* about page */
#about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#about-content, #about img {
    min-width: 0;
}

#about img {
    width: 100%;
    height: auto;
    aspect-ratio: 420/268.54;
    object-fit: cover;
    flex: 1;
}

#about-content {
    flex: 1;
}

#about-content h1 {
    margin-top: 0;
}

#about-content div {
    background-image: url('images/bg-small.jpg');
}

#team h1{
    margin: 56px 0 0 0;
}

#team-btns {
    margin: 24px 0 38px 0;
    display: flex;
    gap: 24px;
}

#team-btns > div {
    position: relative;
}

#team-btns > div .btn-selection {
    position: absolute;
    width: 166px;
    height: 34px;
    background-color: #33b25d89;
    top: 8px;
    left: 8px;

    display: none;
}

#team-btns > div:last-of-type .btn-selection{
    width: 194px;
}

.btn-selection {
    pointer-events: none;
}

button {
    font-size: 1.125em;
    font-family: "League Spartan", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #0A0A0A;
    padding: 5px 30px;
    background-image: url('images/bg-small.jpg');
    border: solid 2px #FF00B7;
    transition: box-shadow 0.2s ease;
}

/* button:hover {
    box-shadow: 0 0 0 4px #33B25D;
} */

.active-btn {
    /* box-shadow: 0 0 0 4px #33B25D; */
    font-weight: 400;
    font-style: normal;
}

.team-card {
    max-width: 420px;
    width: 100%;
    border: solid var(--pink) 2px;
    outline: solid var(--blue) 4px;
    flex: 1 1 320px;
    background-image: url('images/bg-small.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.team-member-info {
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-member-image {
    max-width: 420px;
    width: 100%;
    /* mix-blend-mode: multiply; */
    filter: grayscale(100%) contrast(200%);
}

.team-member-image-container {
    background-color:#33B25D;
}

#about-page {
    position: relative;
    min-height: 100vh;
}

#about-page::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: url('images/bg-team.png') center / cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

/* single episode page */
.single-ep-btn {
    padding: 5px 30px;
    border: solid #FF00B7 2px;
    position: relative;
    width: auto;
    /* transition: box-shadow 0.2s ease; */
}

.single-ep-btn .btn-selection {
    position: absolute;
    width: 213px;
    height: 36px;
    background-color: #33b25d89;

    top: 8px;
    left: 8px;

    display: none;
}

/* .single-ep-btn svg,
.single-ep-btn .card-btn {
    position: relative;
} */

.single-ep-btn svg path {
    fill:#0A0A0A;
}

.single-ep-btn span {
    color:#0A0A0A;
    min-width: 137.59px;
}

/* .single-ep-btn:hover {
    box-shadow: 0 0 0 4px #33B25D;
} */

.ep-content {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.ep-content > div, .ep-content img {
    min-width: 0;
}

.ep-content img {
    margin: 0 auto 40px auto;
    width: 100%;
    height: auto;
    aspect-ratio: 680/587;
    mix-blend-mode: multiply;
}

.ep-content > div {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.ep-content div ul li a {
    text-decoration: underline;
}

.podcast-links {
    margin-top: 0.8em;
}

.podcast-mentioned div {
    margin-top: 1em;
}

@media screen and (min-width: 600px) {
    #header-description {
        left: 5%;
    }
}

@media screen and (min-width: 800px) {
    body {
        padding: 40px 0;
    }
    main {
        margin: 70px 40px;
    }

    p, .ep-content a, .ep-content li, .podcast-roles {
        font-size: 1.125rem;
        line-height: 1.15em;
    }


    h1 {
        font-size: 3em;
        filter: blur(0.7px);
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.25em;
    }

    h4 {
        font-size: 1.125em;
    }

    .card-btn {
        font-size: 1.25em;
    }

    /* navigation bar */
    .mobile-menu {
        display: none;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px;
        margin: 0 40px 0 40px;
    }
    
    nav > div {
        display: block;
    }

    .logos-link {
        max-width: 100%;
        gap: 24px;
    }

        .logos-link img:first-child {
        min-width: 93px;
    }

    .logos-link img:last-child {
        min-width: 214px;
    }

    .nav-links-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .nav-listen .btn-selection {
        position: absolute;
        width: 123px;
        height: 40px;
        background-color: #3376B880;

        top: 8px;
        left: 8px;
    }

    /* header */
    header div img {
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    #header-description {
        font-size: 1.875em;
        line-height: 0.9em;
        left: 10%;
    }

    /* footer */
    footer {
        background-color: #33B25D;
        padding: 50px 40px;
        margin: 0 40px 0 40px;
    }


    /* cards */
    .listen-icon {
        width: 26px;
        height: 26px;
    }

    .episode-card {
        border: solid var(--darkPink) 4px;
        outline: solid var(--pink) 8px;
    }

    #latest-episode-cards {
        gap: 45px;
    }

    /* about page */
    #about {
        flex-direction: row;
        gap: 50px;
    }

    #about-content {
        display: flex;
        flex-direction: column;
    }

    #team-btns {
        margin: 35px 0 50px 0;
    }

    .team-card {
        border: solid var(--pink) 4px;
        outline: solid var(--blue) 8px;
    }

    #team-cards {
        gap: 45px;
    }

    /* single-episode */
    .single-ep-btn .btn-selection {
        width: 231px;
        height: 40px;
    }

    .ep-header-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .ep-header-action h1 {
        margin: 0;
    }

    .ep-content {
        display: flex;
        gap: 50px;
        align-items: flex-start;
    }

    .ep-content img {
        margin: 0;
        flex: 1;
    }

    .ep-content > div {
        flex: 1;
    }
}

@media screen and (min-width: 1000px) {
    #about {
        align-items: flex-start;
        gap: 110px;
    }

    .ep-content {
        display: flex;
        gap: 100px;
        align-items: flex-start;
    }
}