/* ============ BREAKPOINTS ================== */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .row h6 a {
        bottom: 46px;
    }

    .footer .container {
        flex-direction: column;
    }

    .episodes-container{
        width: 880px;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        top: 70px;
        width: 100%;
        height: 100vh;
        right: -100%;
        display: flex;
        flex-direction: column;
        background: #1b1e39;
        padding: 20px 0;
        transition: all .55s ease-in-out;
    }

    .navlist li{
        margin-top: -40px;
    }

    .navlist a {
        display: block;
        padding: 10px;
        margin-top: 80px;
        font-size: 20px;
        font-weight: 600;
    }

    .navlist a:hover {
        border-bottom: transparent;
    }

    .navlist.open {
        right: 0;
    }

    .home-content p {
        font-size: 2.1rem;
    }

    .about h2 {
        margin-bottom: 65px;
    }

    .about img {
        height: auto;
        width: 55vw;
        margin-top: 2%;
    }

    .main {
        width: 600px;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-content: space-around;
    }

    .about-text p {
        font-size: 2.1rem;
        color: #000;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .episodes-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-text h2 {
        font-size: 3.2rem;
        font-weight: 700;
        margin-top: -120px
    }

    .text-span {
        font-size: 4.6rem;
        font-weight: 700;
        line-height: 1.3;
        color: #19a1c4;
    }

    .community-text p {
        font-size: 2.1rem;
    }

    .episode-container{
        display: flex;
        width: 701px;
        padding: 13px;
        border-radius: 10px;
        background: #f1f1f8;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    }
    .row h6 a{
        bottom: 105px;
    }
}

@media (max-width: 617px) {
    .about-text {
        display: flex;
        flex-direction: column;
        margin-top: 60px;
        width: 80%;
    }

    .episodes-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .episode-container{
        width: 381px;
        display: flex;
        flex-direction: column;
    }

    .episode-container img{
        height: auto;
        width: 85vw;
        margin-top: 1%;
    }

    .details .number h4{
        text-align: left;
        font-weight: 400;
        font-size: 2.1rem;
        margin-bottom: 10px;
    }

    .time{
        display: flex;
        align-items: right;
        justify-content: right;
        margin-top: -28px;
        margin-right: -122px;
    }

    .details .title{
        margin-top: 10px;
        text-align: left;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .details .stamp{
        margin-top: 20px;
        font-weight: 500;
        font-size: 1.3rem;
        text-align: left;
    
    }

    .time{
        display: flex;
        align-items: right;
        justify-content: right;
        margin-right: -110px;
    }
    .row h6 a{
        bottom: 105px;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .episode-container{
        width: 320px;
    }

    .episode-container img{
        height: auto;
        width: 75vw;
        margin-top: 1%;
    }

    
}

@media (max-width: 365px) {
    .home-text{
        font-size: 2.2rem;
    }

    .about img {
        height: auto;
        width: 75vw;
        margin-top: 2%;
    }

    .main {
        width: 400px;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-content: space-around;
    }

    .episodes-btn {
        font-size: 10px;
    }

    .row h6 a{
        bottom: 132px;
    }

    .footer-text p {
        font-size: 1.1rem;
    }

    .footer .menu li{
        display: inline-block;
        margin: 1em;
        text-align: center;
        font-size: 2.2rem;
        font-weight: 300;
    }

    .episode-container{
        width: 280px;
    }

    .time{
        margin-right: -70px;
    }
}