:root {
    --white: rgba(255, 255, 255);
    --blk: rgba(0, 0, 0, 0.8);
    --darkgrey: rgba(0, 0, 0, 0.15);
    --white-transparent: rgba(255, 255, 255, 0.93);
    --space-xs: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 4rem;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}
html {
    margin: auto;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
    list-style: none;
    text-decoration-skip-ink: auto;
}
body {
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}
main {
    margin: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-grow: 1;
    min-height: 80dvh;
}
button {
    background-color: transparent;
    font-size: inherit;
    border: inherit;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.is-hidden {
    opacity: 0;
    transition: opacity 0.3s;
}
.popup-section.is-hidden {
    display: none;
}
.white-background{
    background-color: var(--white);
}
.main-top {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
}
.nav {
    border-bottom: 1px solid var(--darkgrey);
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 100;
}
.nav__wrapper {
    display: flex;
    justify-content: space-between;
    margin: var(--space-md);
    margin-bottom: 0.6rem;
    align-items: flex-start;
}
.nav,
ul.nav__items {
    z-index: 1000;
}
ul.nav__items {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    margin-top: 0.15rem;
    align-items: center;
}
.tags {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-md);
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    text-transform: capitalize;
}
.tag {
    display: flex;
    align-items: center;
    height: var(--space-md);
}
.tag::before {
    content: "·";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--space-xl);
    line-height: 1;
    margin-right: var(--space-xs);
    transform: translateY(-1px);
}
.artist__header{
    background-color: var(--white);
    z-index: 1000;
}
.artist__nav,
.artist__nav-wrapper {
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
}
.artist__meta {
    margin-bottom: var(--space-md);
}
.footer {
    position: fixed;
    bottom: 0;
    display: flex;
    margin: var(--space-md);
    margin-bottom: 0;
    padding-bottom: var(--space-md);
}
.footer__copyright {
    width: 25%;
    text-align: justify;
}
.footer__bio {
    width: 57%;
    text-align: left;
}
.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: var(--space-md);
    text-align: center;
}
.back-button:hover,
.nav__item--active,
a:hover {
    opacity: 0.6;
}
.active {
    opacity: 0.3;
}
.nav__logo a:hover,
.no-hover a:hover {
    opacity: 1;
}
.back-button:hover {
    cursor: pointer;
}
.popup-section {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100%;
    padding: var(--space-xl);
    text-align: left;
    background-color: var(--white-transparent);
}
.popup-section__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.popup-section__content p {
    margin-bottom: var(--space-md);
}
.popup-section__team {
    display: flex;
    flex-direction: column;
}
.popup-section__socials {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.artist__overview-media iframe {
    width: 10rem;
    height: 5.5rem;
    display: block;
}
.embed-wrapper {
    display: flex;
    align-items: flex-start;
}

.contact__copyright {
    position: fixed;
    bottom: var(--space-md);
    font-size: 0.8rem;
}

@media (max-width: 500px) {
    .footer__bio {
        width: 95vw;
        text-align: left;
        padding: 0;
        font-size: 0.9rem;
        padding-top: var(--space-md);
        margin-top: var(--space-md);
    }
}
@media (max-width: 780px) {
    .bio-block--header{
        margin-top: var(--space-md);
    }
    .artist__header{
        position: fixed;
        left: var(--space-md);
        right: var(--space-md);
        padding-bottom: var(--space-md);
        z-index: 100;
        top: 6rem;
        padding-top: var(--space-xl);
    }
    .artist__nav {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
    }
    main {
        padding-top: calc(var(--space-2xl) * 1.5);
    }
    .main-top,
    .main-top--mobile {
        padding-top: calc(var(--space-2xl) * 2);
        margin-bottom: var(--space-md);
        padding-bottom: 3rem;
        overflow-x: hidden;
    }
    .nav__logo img {
        height: 2.6rem;
        margin: var(--space-md);
        margin-right: calc(var(--space-xs) / 2);
        object-fit: contain;
    }

    ul.nav__items {
        gap: calc(var(--space-xs) * 1.5);
        display: flex;
        flex-direction: row;
        margin-top: var(--space-md);
        flex-wrap: wrap;
    }
    .back-button {
        position: fixed;
        bottom: var(--space-md);
        right: var(--space-lg);
        z-index: 10000;
        cursor: pointer;
    }
    .tags {
        margin-top: var(--space-xl);
        align-items: center;
        justify-content: center;
        z-index: 1000;
        flex-wrap: wrap;
        row-gap: 0;
        padding-bottom: var(--space-md);
    }
}
@media (max-width: 892px) {
    .popup-section {
        width: 100%;
    }
    .popup-section__content {
        margin-top: var(--space-xl);
    }
}
@media (max-width: 1190px) {
    .footer__copyright {
        display: none;
    }
    .footer__bio {
        width: 90vw;
        text-align: left;
        padding: var(--space-md);
        padding-bottom: 0;
    }
}
@media (min-width: 780px) {
    .nav__logo img {
        height: 3.2rem;
    }
    .back-button {
        position: fixed;
        top: 0.9rem;
        right: var(--space-lg);
    }
    .artist__nav {
        justify-content: space-between;
    }
    .artist__header {
        position: fixed;
        left: var(--space-md);
        background-color: var(--white);
        right: var(--space-md);
        padding-bottom: var(--space-md);
        z-index: 100;
        top: 4.5rem;
        padding-top: var(--space-md);
    }
}
@media (min-width: 892px) {
    .popup-section {
        width: 40%;
    }
}

@media (max-width: 500px) and (max-height: 600px) {
    .footer, .footer__bio, .footer__copyright, footer { display: none; }
}

@media (max-height: 500px) {
    .footer, .footer__bio, .footer__copyright, footer { display: none; }
}

@media (max-height: 650px) {
    .footer, .footer__bio, .footer__copyright { font-size: 0.8rem; }
}
