/* Selector style hover only on desktop view */
@media (min-width: 1033px) {
    .home-directory-item:hover {
        scale: 1.15;
        margin-left: 2vw;
        cursor: pointer;
        text-decoration: underline;
        text-shadow: 0px 0px 15px rgb(241, 218, 168);
    }

    .home-directory-item:hover::before {
        opacity: 1;
    }
}

/* TABLET SIZING */
@media (max-width: 1032px) {
    :root {
        --title-size: 82px;
        --image-height: 42vh;
        --item-size: 42px;
        --nav-width: 0px;
        --nav-item-size: 28px;
        --nav-bar-height: 0px;
    }

    /* element+class selectors here outrank the plain-class rules in
       style.css despite being imported earlier, avoiding cascade ties */
    nav.side-nav {
        width: auto;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        background-color: transparent;
        border: none;
    }

    img.side-nav-deco {
        display: none;
    }

    button.nav-toggle {
        display: flex;
        width: 64px;
        height: 64px;
        padding: 16px;
        background-color: rgba(0, 0, 0, 0.95);
        border: 1px solid rgb(241, 218, 168);
    }

    ul.side-nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 10vh);
        left: 0;
        width: max-content;
        min-width: 260px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4em;
        margin-top: 0;
        padding: 2em;
        background-color: rgba(0, 0, 0, 0.95);
        border: 1px solid rgb(241, 218, 168);
    }

    ul.side-nav-list.open {
        display: flex;
    }

    .home-nav-item {
        display: list-item;
        
    }

    .home-container {
        width: 80vw;
    }

    .home-directory {
        flex-direction: column;
        justify-content: center;
    }

    .home-directory-list {
        flex-direction: row;
        gap: 80px;
        margin-right: 0;
    }
}

/* MOBILE SIZING */
@media (max-width: 767px) {
    :root {
        --title-size: 8vh;
        --item-size: 4vh;
        --image-height: 64vh;
    }

    body {
        width: 100vw;
    }

    .nav-toggle {
        position: fixed;
    }

    .home-directory-list {
        flex-direction: column;
        gap: 0;
    }

    .page-content h1 {
        font-family: 'Sabbath Black';
        text-align: right;
        font-size: 5vh;
        width: 75vw;
    }

    .page-content p {
        text-align: left;
        font-size: 1.1em;
        margin-top: 2vh;
        width: 65vw;
    }

    .page-content ul {
        width: 60vw;
        font-size: 1em;
    }


    .page-content .blog-list {
        width: 100%;
    }

    .blog-list-item {
        gap: 0.5em;
    }

    .blog-list-title {
        font-size: 1.6em;
        text-align: right;
    }

    .blog-back-link {
        align-self: flex-start; 
        font-size: 2.5vh;
    }

    .blog-post-full {
        --blog-content-width: 100%;
    }

    .page-content .blog-post-title,
    .blog-post-date,
    .blog-post-body {
        width: 100%;
    }

    .blog-post-date {
        align-self: flex-end;
        font-size: 0.8em;
    }

    .blog-post-body ul,
    .blog-post-body ol {
        font-size: 1.1em;
    }

    .page-content .art-list {
        width: 100%;
    }

    .art-list-item {
        gap: 0.5em;
    }

    .art-list-title {
        font-size: 1.6em;
        text-align: right;
    }

    .art-back-link {
        align-self: flex-start;
        font-size: 2.5vh;
    }

    .art-post {
        --art-content-width: 100%;
    }

    .page-content .art-post-title,
    .art-post-date,
    .art-post-summary,
    .art-track-summary,
    .art-carousel-summary,
    .art-player-layout,
    .art-carousel {
        width: 100%;
    }

    .art-post-date {
        align-self: flex-end;
        font-size: 0.8em;
    }

    .art-player-layout {
        flex-direction: column;
    }

    .art-track-list {
        width: 100%;
        max-height: 12em;
    }

    .art-player-volume-row {
        width: 100%;
    }

    .art-carousel-image {
        max-height: 40vh;
    }

}
