/*
Theme Name: Mood and blood 2022
*/


@import url(assets/fonts/AADuke/stylesheet.css);
@import url(assets/fonts/Nunito/stylesheet.css);

body, html {
    padding: 0;
    margin: 0;
    background-color: #fff;
    box-sizing: border-box;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.1em;
}

:root {
    --black: #112020;
    --red: #AE1816;
    --white: #FFFFFF;
    --container-width: 80%;
}

.logo {
    background-image: url(assets/logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    padding-bottom: 55px;
    text-indent: -9999px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    position: relative;
    margin: 0;
}

.logo a:link, .logo a:visited {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

img {
    max-width: 100%;
}

.logo a:hover {
    opacity: 0.8;
}

.Header {
    background-color: var(--black);
    display: grid;
    margin: 0 auto;
}

.Header__Content {
    width: var(--container-width);
    margin: 0 auto;
    color: #fff;
    padding: 2em 0;
}

.Header__Content--Home {
    background: url(assets/background.jpg) no-repeat center top;
    background-size: contain;
    display: flex;
    flex-direction: column;
}

.Header__Content__Nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content:flex-start;
}

.Header__Content--Home .Header__Content__Nav {
margin-bottom: 15rem;
}

.PodcastList {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin: 1em 0 0;
}

.PodcastList img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-in;
}

.PodcastList a:hover img {
    transform: translateY(5px);
}

.PodcastList li {
    list-style: none;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.PodcastList li::after {
    padding-bottom: 100%;
    content: "";
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: "AA Duke";
    letter-spacing: 0.2em;
    font-weight: normal;
}


.Section {
    width: var(--container-width);
    margin: 0 auto;
    padding-bottom: 3em;
}

.Header__Content .Section { 
    padding-bottom: 1em;
}

.PartnersList {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5em;
}

.PartnersList li {
    list-style: none;
    vertical-align: middle;
    align-self: center;
}

.PartnersList img {
    max-width: 100%;    
}

.Section__Header {
    margin: 0;
    padding: 1.5em 0 1em;
    font-size: 2em;
    font-weight: normal;
    letter-spacing: 0.3em;
}

.Section--Aside {
    padding-top: 3em;
}

.Section--Aside .PhotoAuthor {
    border-radius: 100vh;
    width: 80%;
    margin: 6em auto 0;
    display: block;
    position: relative;
    overflow: hidden;
}

.Section-2x {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
}

.Section-0 {
    padding-bottom: 1em;
}

.Section--Narrow {
    width: calc(var(--container-width)/1.4);
}

.Section--Black {
    background-color: var(--black);
    color: var(--white);
}
.Footer {
    background: var(--black);
    padding: 5em 0 0;
    color: var(--white);
}


.Copyright {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 160 80" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path fill="red" d="M53 6h7v7h-7zM60 6h8v7h-8zM68 6h6v7h-6zM45 13h8v8h-8zM53 13h7v8h-7zM68 13h6v8h-6zM74 13h9v8h-9zM83 13h7v8h-7zM90 13h8v8h-8zM98 13h7v8h-7zM105 13h8v8h-8zM45 21h8v7h-8zM60 21h8v7h-8zM68 21h6v7h-6zM74 21h9v7h-9zM83 21h7v7h-7zM90 21h8v7h-8zM98 21h7v7h-7zM105 21h8v7h-8zM45 28h8v9h-8zM53 28h7v9h-7zM60 28h8v9h-8zM68 28h6v9h-6zM74 28h9v9h-9zM83 28h7v9h-7zM90 28h8v9h-8zM98 28h7v9h-7zM105 28h8v9h-8zM53 37h7v6h-7zM60 37h8v6h-8zM68 37h6v6h-6zM74 37h9v6h-9zM83 37h7v6h-7zM90 37h8v6h-8zM98 37h7v6h-7zM60 43h8v8h-8zM68 43h6v8h-6zM74 43h9v8h-9zM83 43h7v8h-7zM68 51h6v7h-6zM74 51h9v7h-9zM74 58h9v8h-9zM83 51h7v7h-7zM90 43h8v8h-8zM83 6h7v7h-7zM90 6h8v7h-8zM98 6h7v7h-7z"/></svg>');
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: 0px 1px;
    padding-left: 2.5em;
    font-weight: bold;
    padding-top: 5px;
}

.Social {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 40px);
    gap: 1em;
}

.Social--Cover {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 50px);
    position: absolute;
    bottom: 100px;
    left: 80%;
}

.Social--Text {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.Social--Text li {
    text-align: center;
}

.Social--right {
    margin: 0 0 0 auto;
}

.Social li {
    list-style: none;
}

.Social li svg {
    width: 40px;
    height: auto;
    fill: #fff;
    transition: transform 0.1s ease-out, fill 0.2s ease-in;
}

.Social a:hover svg {
    fill: #AE1816;
    transform: scale(1.2);
}

.Cover {
    width: 50%;
    padding-bottom: 50%;
    position: relative;
    transform: translateZ(1px);
    margin: 0 auto;
}

.Cover__Image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.Podcast {
    padding-top: 2em;
}
.Podcast__Cover {
    position: relative;
    transform-style: preserve-3d;
}

.Noise {
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    object-fit: cover;
    transform: translateZ(1px);
    position: absolute;
    mix-blend-mode: screen;
    opacity: 0.1;
}


.Podcast__Cover::before {
    display: block;
    content: " ";
    height: 60px;
    background-color: var(--red);
    transform: translateZ(-1px);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.Podcast__Info {
    background-color: var(--red);
    padding: 0em 6em 5em;
    color: var(--white);
}

.Podcast__Info__Description a:link, .Podcast__Info__Description a:visited {
    color: var(--white);
}

.Podcast__Info__Description a:hover {
    opacity: 0.4;
}

.Transcript {
    background-color: var(--white);
    color: var(--black);
    padding: 0em 6em 2em;
}

.CaptivatePlayer {
    border: 4px solid #fff; 
    width: 100%;
    height: 280px; 
    margin-top:2em; 
    margin-bottom: 20px;  
    overflow: hidden;
}

.Nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.Nav a:link, .Nav a:visited {
    color: var(--white);
    text-decoration: none;
    padding-bottom: 5px;
    font-weight: bold;
    border-bottom: 4px solid #00000000;
}

.Nav a:hover {
    border-bottom: 4px solid var(--white);
}


.Nav li {
    list-style: none;
}

.Nav li:after {
    content: "|";
    margin: 0 0.5em 0;
    opacity: 0.4;
}

.Nav li:last-of-type:after {
    content: "";
    margin: 0;
}

.CloseMenu, .ShowMenu {
    display: none;
    appearance: none;
    border: none;
    background: none;
    width: 48px;
    margin: 0 0 0 auto;
    cursor: pointer;
    fill: #fff;
}

.CloseMenu:hover svg, .ShowMenu:hover svg {
    fill: #AE1816 !important;
}

.PlayPodcast {
    appearance: none;
    background:transparent;
    border: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.PlayPodcast svg {
    fill: #fff;
    opacity: 0.4;
    transform: scale(1.4);
}

.PlayPodcast:hover svg {
    transform: scale(1.4);
    opacity: 1;
}

.AudioPlayer {display: none}

.PlayPodcast--Hidden {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 768px) { 

    body, html {
        font-family:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    .Header__Content {
        padding: 1em;
    }
    .Header__Content--Home .Header__Content__Nav {
        margin-bottom: 2em;
    }

    .Social {
        grid-template-columns:  repeat(4, 12%);
    }


    .PodcastList {
        grid-template-columns: 1fr;
        display:block;
   }

    .PodcastList li {
        margin-bottom: 1em;
    }

    .Section {
        width: 85%;
    }
    
    .Section-2x {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);    

    }

    .PartnersList {
        grid-template-columns: 40%;
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
    }
    .Section--Author  {
        display: block;
    }
    .Section--Author .Section--Aside {
        display: none;
    }

    .Nav {
        display: none;
        align-items: flex-start;
        font-size: 2em;
    }



    .Nav--visible {
        display: flex;
        flex-direction: column;
        background-color: var(--black);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        z-index: 1000;
        padding: 3em 0 0 0.5em;
    }

    .Nav--visible a:link,  .Nav--visible a:visited {
        padding-bottom: 1em;
    }

    .Nav--visible a:hover {
        border-bottom: 0;
        opacity: 0.3;
    }

    .CloseMenu {
        position: absolute;
        z-index: 1001;
        top: 5em;
        right: 5em;
        display: block;
        width: 48px;
        height: 48px;
    }
    
    .ShowMenu {
        display: block;
    }

    .Cover {
        width: 100%;
        padding-bottom:100%;
    }

    .Podcast__Cover::after {
        display: none;
    }

    .Social--Cover {
        display: none;
    }


    .Podcast__Info {
        padding: 0 1em 1em;
    }

    .Podcast__Info .Section__Header {
        padding: 1em 0 0.5em;
    }

    .Podcast__Info {
        font-size: 0.8em;
    }

    .Transcript {
        padding: 0 1em 1em;
    }

    .Footer {
        padding-top: 2em;
    }

    .Footer .Section-2x {
        gap: 0em;
        padding-bottom: 1em;
    }

    .Copyright {
        width: fit-content;
        margin: 0 auto;
    }

    .Social--right {
        margin: 0 auto;
    }
 }