/* responsive.css */

/* Tablet and smaller screens */
@media screen and (max-width: 1024px) {
    .spotifyPlaylist {
        flex-direction: column;
        height: auto;
    }

    .leftBox {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .rightBox {
        width: 100%;
        height: max-content;
    }

    .search-field input {
        width: 15rem;
    }
}

/* Mobile screens */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }

    .search-box {
        width: 100%;
        justify-content: center;
    }

    .search-field input {
        width: 100%;
        max-width: 250px;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
    }

    .artistContainer, .albumContainer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .rightFooter {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .rightFooter .links ul {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        height: auto;
        gap: 15px;
        text-align: center;
    }

    .footer button {
        margin-right: 0;
    }
}

/* Very small screens */
@media screen and (max-width: 480px) {
    .search-field input {
        width: 100%;
        max-width: 180px;
    }
    
    .artistContainer .artistCard, .albumContainer .albumCard {
        width: 130px;
    }
    
    .artistCard img {
        height: 130px;
        width: 130px;
    }
}
