body {
    background-color: #b5722b;
}

.podcast-page {
    position: relative;

    width: calc(100% - 16px);
    min-height: calc(100vh - 80px);

    margin: 0 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 40px;
    padding-bottom: 40px;

    background-image: url("./../img/background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    border-left: 8px solid #b5722b;
    border-right: 8px solid #b5722b;
    border-bottom: 16px solid #b5722b;

    box-sizing: border-box;
}

.podcast-page::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(6px);

    z-index: 0;
}

.podcast-container {
    width: 88%;
    max-width: 1400px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 100px;

    position: relative;
    z-index: 1;
}


/* =========================
   IMAGEM
   ========================= */

.podcast-imagem {
    width: 460px;
    height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #b5722b;
    border-radius: 12px;

    color: black;
    font-size: 1.2rem;
}


/* =========================
   INFORMAÇÕES
   ========================= */

.podcast-info {
    width: 500px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.podcast-info h1 {
    margin: 0 0 32px 0;
    font-size: 2.8rem;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}


/* =========================
   BOTÃO
   ========================= */

#btn-ver-podcast {
    background-color: #e69138;

    border: none;
    border-radius: 8px;

    padding: 16px 32px;

    color: white;
    font-size: 1.25rem;

    cursor: pointer;

    margin-bottom: 42px;
}

#btn-ver-podcast:hover {
    background-color: #b5722b;
}


/* =========================
   FAIXA
   ========================= */

.podcast-faixa {
    margin: 0 0 10px 0;

    font-size: 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   ÁUDIO
   ========================= */

.podcast-audio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 100px;
    padding: 20px 24px;
    background-color: #e6913899;
    border-radius: 12px;
    margin: 0;
    gap: 24px;
}

.podcast-audio-item .track-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    gap: 12px;
}

.podcast-audio-item .track-info p {
    margin: 0;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
}

.podcast-audio-item .progress-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    cursor: pointer;
    height: 8px;
    width: 100%;
}

.podcast-audio-item .progress-bar {
    background-color: #ffffff;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

.podcast-audio-item .btn-play-track {
    background-color: transparent;
    border: 2px solid #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.podcast-audio-item .btn-play-track:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.podcast-audio-item .btn-play-track svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.podcast-audio-item audio {
    display: none;
}

.podcast-carrossel {
    width: 460px;
    height: 460px;

    position: relative;

    overflow: hidden;
}

.podcast-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    box-sizing: border-box;
    padding: 50px 25px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity 1.5s ease-in-out;

    text-align: center;

    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;

    overflow: hidden;
}

.podcast-slide p {
    margin: 0 0 15px 0;
}

.podcast-slide p:last-child {
    margin-bottom: 0;
}

.podcast-slide.ativo {
    opacity: 1;
    visibility: visible;
}

.podcast-logo-footer {
    position: absolute;

    bottom: 50px;
    left: 50%;

    transform: translateX(-50%);

    font-family: "Amatic SC", sans-serif;
    font-size: 2.5rem;

    color: #b5722b;
}

@media (max-width: 1100px) {
    .podcast-container {
        gap: 60px;
    }

    .podcast-carrossel,
    .podcast-imagem {
        width: 380px;
        height: 380px;
    }

    .podcast-info {
        width: 430px;
    }
}

@media (max-width: 800px) {
    .podcast-page {
        padding-top: 60px;
    }

    .podcast-container {
        width: 90%;
        flex-direction: column;
        gap: 50px;
    }

    .podcast-carrossel,
    .podcast-imagem {
        width: min(460px, 100%);
        height: 380px;
    }

    .podcast-info {
        width: min(520px, 100%);
        align-items: center;
    }

    .podcast-info h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 500px) {
    .podcast-page {
        width: calc(100% - 16px);
        margin: 0 8px;
        border-left-width: 8px;
        border-right-width: 8px;
    }

    .podcast-container {
        width: 100%;
    }

    .podcast-carrossel,
    .podcast-imagem {
        height: 330px;
    }

    .podcast-info h1 {
        font-size: 2rem;
    }

    .podcast-slide {
        font-size: 1.2rem;
    }

    .podcast-audio-item {
        padding: 16px;
        gap: 16px;
    }

    .podcast-audio-item .track-info p {
        font-size: 1.1rem;
    }

    .podcast-audio-item .btn-play-track {
        width: 46px;
        height: 46px;
    }
}
