*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    /* colors taken from the album cover */
    --color-blue: #0a2373;
    --color-blue-light: #479fcc;
    --color-white: #eae8e9;
    --color-skin: #d8291d;
    --color-skin-light: #f16c1c;
    --color-green: #518872;
    --color-pink: #fc7db3;
    --color-pink-white: #f9c6ce;

    --bg-card: white;
    --mt-card-desktop: 2rem;
    --link-underline-size: 1px;
    color: var(--color-blue);
    font-family: "Poppins", sans-serif;
    font-variation-settings: "wdth" 100;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 62.5%;
    /* equals to 10px */
    text-transform: lowercase;
}

button {
    font-family: inherit;
    color: inherit;
}

h1 {
    font-size: 3.2rem;
}

body {
    font-size: 1.6rem;
    margin: 0;
}

.w-fit {
    width: fit-content !important;
}

figure {
    margin-inline: 0;
}
figcaption {
    font-size: 1.4rem;
    color: var(--color-blue-light);
}

a {
    color: var(--color-blue-light);
    /* color: inherit; */

    &:hover {
        color: var(--color-blue);
    }
}

main {
    /* single column type layout */
    display: flex;
    flex-flow: row nowrap;
    gap: 2rem;
    max-width: 35rem;
    margin: auto;
    padding: 1rem;
    background: var(--bg-card);
}

@media screen and (width > 767px) {
    main {
        padding: 2rem;
        max-width: 46rem;
        /* border-radius: 10px 10px 0 0; */
        border-radius: 10px;
        /* replicate linktree's card look. this had a bunch of empty space in the bottom on large displays so disabling for now */
        /* margin-top: var(--mt-card-desktop); */
        /* min-height: calc(100lvh - var(--mt-card-desktop)); */
        margin-block: var(--mt-card-desktop);
        box-shadow: 0 0 50px -12px rgb(0 0 0 / 0.25);
    }

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: -1;
        /* background: var(--bg-card);
        filter: brightness(0.95); */
        background: var(--color-white);
    }
}

.content-column {
    /* holds main content (excluding nav) */
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.logo {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;

    h1 {
        margin: 0;
        width: fit-content;
        user-select: none;
    }
}
.logo__artists {
    margin-top: .6rem;
}

.click-notice {
    animation: pulse 950ms ease-in-out infinite alternate;
    transform-origin: top left;
    margin-bottom: 1rem;
}

.click-notice__text {
    margin-right: .35rem;
}

.click-notice__arrow {
    width: 2rem;
    rotate: -35deg;
    translate: 0 45%;
    fill: var(--color-blue);
}

@keyframes pulse {
    from {
        /* scale: 0.6; */
        scale: 0.9;
    }

    to {
        /* scale: 0.7; */
        scale: 1;
    }
}

.soundboard__btns-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.soundboard__button {
    border: none;
    width: 16%;
    flex-basis: 16%;
    padding: 0;
    background: none;

    /* not setting this on button class itself because it may be larger than 
    the inner element & seeing clickable cursor in empty space may feel weird */
    &>* {
        cursor: pointer;
    }

    &:focus-visible {
        outline: 2px solid;
        /* outline-style: solid; */
        border-radius: 2px;
    }

    &:active {
        transform: scale(0.85);
    }

    &:nth-of-type(even) {
        --rotate-deg: 15deg;
    }

    &:nth-of-type(odd) {
        --rotate-deg: -15deg;
    }

    img {
        width: 100%;

        &:hover {
            rotate: var(--rotate-deg, 15deg);
        }
    }
}

.tabs__container {
    /* elements in this will be replaced based on selected tab*/
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tabs__bar {
    display: flex;
    justify-content: start;
    gap: 1rem;

    a {
        /* text-decoration: none; */
        font-weight: 600;
        /* underline offset kinda bugged for sidebar so disabled for now */
        text-underline-offset: var(--link-underline-size);

        &:visited {
            color: inherit;
        }

        &:active {
            color: inherit;
        }
    }
}

.tabs__content {
    display: none;

    &.tabs__content--active {
        display: block;
    }

    img {
        border-radius: 2%;
        width: 100%;
        position: relative;
    }
}
.album-cover {width: 100%;}

.accordion__links {
    list-style-type: none;
    padding: 0;

    li {
        margin-bottom: 0.8rem;
        padding: 0;
    }

    a {
        display: inline-block;
        width: 100%;
        padding: 0.5rem 1rem;
    }
}

.accordion summary {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.accordion summary,
.accordion__links li {
    border: 1px solid var(--color-blue-light);
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0 0 15px -7px rgb(0 0 0 / 0.25);
    transition: box-shadow 150ms ease-in-out;

    &:hover {
        box-shadow: 0 0 25px -7px rgb(0 0 0 / 0.35);
    }
}

.slider-container {
    a {
        display: inline-block;
        position: relative;
    }
}