/*
    Theme Name: Pixel-PerfectPodcast
    Theme URI:
    Author: Daniel Montilla
    Author URI:
    Description: Pixel-Perfect Podcast Markup
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org.licenses/gpl-2.0.html
    Tags: flexbox, css grid
    Text Domain: pixelperfectpodcast

*/
:root {

    /** Font  **/
    --mainFont : 'Roboto Flex', sans-serif;
    --secondaryFont : 'Open Sans', sans-serif;

    /** Colors **/
    --primarycolor: #c91865;
    --colorcard1: #f87193;
    --colorcard2: #359aca;
    --colorcard3: #7143bf;
    --textmenu: #738192;
    --colorfooter: #f6f5f8;

}
html {
    box-sizing: border-box;
    font-size: 62.5%; /* Now 10px = 1rem! */
}
body {
    font-size: 16px; /* px fallback */
    font-size: 1.6rem; /* default font-size for document */
    line-height: 1.5; /* a nice line-height */
    margin: 0;
}
*, *:before, *:after {
    box-sizing: inherit;
}

/** Heading **/

h1, h2, h3, h4 {
    font-family: var(--mainFont);
    margin: 1rem 0;
    line-height: 1.2;
}
h1 {
    font-size: 6rem;
    font-weight: 600;
}
h2 {
    font-size: 3rem;
    font-weight: 600;
    color: white;
}
h3 {
    font-size: 2rem;
    font-weight: 600;
    color: white;
}
h4 {
    font-size: 1.6rem;
    font-weight: 400;
    color: white;
}
/** Global **/

a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    img {
        max-width: 200px;
        height: auto;
        position: absolute;
        padding-top: 6rem;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (min-width: 768px) {
    img {
        max-width: 140px;
        height: auto;
    }
}
.container {
    margin: 0 auto;
    width: 95%;
}

/** Header **/

.site-header {
    display: block;
    padding-bottom: 1rem;
}
@media (min-width: 768px) {
    .site-header {
        width:380px;
        float: left;
        padding-right: 5rem;
    }
    .site-header .logo {
        padding-top: 4rem;
        padding-right: 4rem;
    }
}
@media (min-width: 1340px) {
    .site-header .container {
        border-right: 3px solid var(--colorfooter);
        height: 95vh;
    }
}
.logo {
    display: flex;
    justify-content: center;
}
/**Main Menu **/

@media (min-width: 768px) {
    .menu-main-menu-container {
        align-items: center;
        justify-content: flex-start;
        padding-top: .2rem;
        padding-bottom: 3rem;
    }
    .menu-main-menu-container .menu {
    display:flex;
    justify-content: space-around;
    }
    .menu-main-menu-container button {
        padding-right: 4.5rem;
    }       
}
@media (min-width: 1150px) {
    .menu-main-menu-container {
    display: flex;
    }
}
.discover-menu button {
    font-family: var(--secondaryFont);
    font-weight: 600;
    color: var(--textmenu);
    font-size:2.2rem;
    background-color: white;
    border: none;
    cursor:pointer;

}
.discover-menu button:hover {
    color:black;
}

/** Sidebar Menu **/
.dashicons, .dashicons-before:before {
    font-size: 25px;
    vertical-align: text-top;
    padding-right: 3rem;
}
.menu-sidebar-menu-container {
    padding-top: 4rem;
}
#menu-item-17 {
    padding-top: 4rem;
}
.menu-sidebar-menu-container {
    display:none;
}
@media (min-width: 768px) {
    .menu-sidebar-menu-container {
        display: flex;
    }
    .menu-sidebar-menu-container .menu {
        display:flex;
        justify-content: space-around;
        flex-direction: column;
    }
    .menu-sidebar-menu-container li {
        margin-bottom: .6rem;
    }
    .menu-sidebar-menu-container li:last-of-type {
        margin-bottom: 0;
    }       
}
.menu-sidebar-menu-container a {
    font-family: var(--secondaryFont);
    font-weight: 600;
    color: var(--textmenu);
    font-size:2.2rem;
    padding: .5rem 7rem;
    display:block;
}
.menu-sidebar-menu-container .menu a:hover {
    color: var(--primarycolor);
    border-left: 6px solid var(--primarycolor);
    margin-left:-6px;
    transition: color .3s;
    transition: border-left .3s;
}
.menu-sidebar-menu-container .current_page_item {
    border-left: 6px solid var(--primarycolor);
    margin-left:-6px;
}
.menu-sidebar-menu-container .current_page_item a {
    color: var(--primarycolor);
}
.menu-sidebar-menu-container .current_page_item a:hover {
    transition: none;
}

/** Mobile Sidebar Menu **/
.slicknav_menu {
    background-color: white;
}
.slicknav_btn {
    background-color: var(--primarycolor);
}

.slicknav_menu a {
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--secondaryFont);
    font-weight: 600;
    color: var(--textmenu);
}

@media (min-width: 768px) {
    .slicknav_menu {
        display:none;
    }   
}

/** Footer **/

.site-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--colorfooter);
    text-align: center;
}
.slider {
    width: 90%;
    height: 2px;

}
@media (max-width:768px ) {
    .container-footer {
        display: flex;
        flex-wrap: wrap;
    }
    .img-album {
        position: relative;
        width: 30%;
        margin-left: 1rem;
    }
    .info-album {
        width: 20%;
    }
    .play-button-box {
        width: 5rem;
    }
    .range-line {
        width: 100%;
    }
}
.container-footer {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
}
.container-footer img {
    border-radius: 10px;
    max-width: 100px;
    height: 100px;
    background-color: white;
    padding: 4px;
    margin-top: -2.5rem;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 10%);
}
.info-album {
    width: 20%;
    text-align: initial;
}

@media (min-width: 768px) {
    .info-album {
        padding-left: 4rem;
    }
}
.container-footer .play-button-box {
    background-color: var(--primarycolor);
    margin: 0 4rem;
    width: 5.6rem;
    
}
.container-footer .play-button {
    border-color: transparent transparent transparent white;
}
@media (min-width: 768px) {
    .range-line {
        width: 75%;
    }
}

.name-album {
    font-family: var(--secondaryFont);
    font-weight: 600;
    color: black;
}
.name-author {
    font-family: var(--secondaryFont);
    color: var(--textmenu);
}
/** Homepage **/
@media (max-width:768px ) {
    .upper-title {
        display: flex;
        flex-wrap: wrap;   
    }
}
@media (min-width: 768px) {
    .upper-title {
        display: flex;
        padding-top: 2rem;
        padding-right: 5rem;
        justify-content: space-between;;
    }
}
@media (min-width: 768px) {
    .img-album {
        padding-left: 6rem;
    }    
}
@media (max-width: 768px) {
    .discover-title {
        width: 100%;
        text-align: center;
    }
    .profile {
        display: flex;
    flex-direction: column;
    text-align: center;
    }
    .img-profile {
        height: 6rem;
    } 
    .discover-menu {
        text-align: center;
    padding-bottom: 2rem;
    }
    .profile {
        width: 100%;
    }
    .img-profile {
        display: block;
        height: 6rem;
    }
}

.upper-title img {
    border-radius: 40px;
    max-width: 60px;
    height: auto;
}
.profile {
    display: flex;
}
.img-profile {
    align-items: center;
    margin: 0rem 2rem;
}
@media (min-width: 768px) {
    .img-profile {
        display: flex;
    }
}
.name-profile {
    font-family: var(--secondaryFont);
    font-weight: 600;
    color: black;
}
.country-profile {
    font-family: var(--secondaryFont);
    color: var(--textmenu);
}
.cards-container {
    display: grid;
    padding-right: 2rem;
    padding-left: 2rem;
    gap: 6rem;
    grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
    padding-bottom: 16rem;
}
@media (min-width: 768px) {
    .cards-container {
        padding-right: 6rem;
        padding-left:0;
    }   
}
.cards-container img {
    border-radius: 10px;
    max-width: 100px;
    height: auto;
    background-color: white;
    padding: 4px;
}
@media (min-width: 768px) {
    .bottom-card {
        justify-content: space-between;
        align-items: flex-end;
        flex-direction: row!important;
    }
}
.bottom-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card1 {
    background-color: var(--colorcard1);
    height: 40rem;;
    border-radius: 20px;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 10%);
}
.card2 {
    background-color: var(--colorcard2);
    height: 40rem;;
    border-radius: 20px;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 10%);
}
.card3 {
    background-color: var(--colorcard3);
    height: 40rem;;
    border-radius: 20px;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 10%);
}
.title-card {
    padding-bottom: 1rem;
}
.sub-card {
    padding: 10rem 4rem 3rem 4rem;;
    text-align: center;
}
@media (max-width:768px ) {
    .sub-card {
        padding: 2rem;
    }
}
@media (min-width: 768px) {
    .sub-card {
        text-align: start;
    }
}
.play-button-box {
    width: 5rem;
    height: 5rem;
    background-color: white;
    cursor: pointer;
    border-radius: 100px;
    margin-bottom: 8px;
} 
@media (max-width: 768px) {
    .play-button-box {
    margin-bottom: 7rem;
    }
}
.play-button {
    margin: 0 auto;
    top: 40%;
    position: relative;  
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .5rem 0 .5rem 1.0rem;
}
.card1 .play-button {
    border-color: transparent transparent transparent var(--colorcard1);
}
.card2 .play-button {
    border-color: transparent transparent transparent var(--colorcard2);
}
.card3 .play-button {
    border-color: transparent transparent transparent var(--colorcard3);
}
.play-button-box:hover {
    background-color: var(--textmenu);
} 
.play-button-box:hover .play-button {
    opacity: 1;
}
.img-card {
    position: relative;
}
.hidden {
    display: none;
}