/* Headers: Source Serif 4 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");
/* Body text: Nunito */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
/* Monospace: IBM Plex Mono */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

*,
html,
body {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    word-wrap: normal;
}

:root {
    --accent-dark: #7b5481;
    --accent-medium: #8a6a99;
    --accent-light: #aa92c8;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: "Nunito", "Lato", sans-serif;
    color: var(--accent-dark);
    font-size: 1.1rem;
    overflow-x: hidden;
    flex-shrink: 1;
}

button {
    font-family: "Nunito";
    font-size: 1.1rem;
}

html {
    overflow-x: hidden;
}

header {
    width: 100%;
    text-align: center;
    margin-bottom: 4rem;
    line-height: clamp(0.5rem, 3vh, 3rem);
}

header h1 {
    font-size: clamp(2.25rem, 8vw, 5rem);
    white-space: normal;
    word-wrap: normal;
}

header h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

footer {
    width: 100%;
    text-align: center;
    padding: 2rem 0 1rem 0;
    background-color: var(--accent-medium);
    color: #fff;
    margin-top: 3rem;
    border-top: 2px solid var(--accent-medium);
}

/* Currently, the only table is in in commissions.html. */
table {
    border-collapse: collapse;
    text-align: center;
}

table,
tr,
td {
    border: 1px solid var(--accent-medium);
}

ol {
    text-align: left;
    margin-top: 0;
}

#bandcamp-embed-container {
    /* display: grid;
    grid-template-columns: 3;
    grid-template-rows: 1; */
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 1;
    justify-content: center;
    padding-bottom: 0;
}

#bandcamp-embed-container iframe {
    border-radius: 1rem;
    border: 0;
    max-width: 17.875rem;
    min-height: 26.5rem;
}

.nav-bar {
    display: flex;
    border-bottom: 1px solid var(--accent-medium);
    gap: 2rem;
    padding: 1rem;
}

.nav-bar-item a {
    text-decoration: none;
    color: var(--accent-medium);
}

.svg-white {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(35deg)
        brightness(106%) contrast(103%);
}

.top-arrow-icon {
    max-width: 80%;
    max-height: 80%;
    padding: 0;
    /* TODO: Find a way to not have to do this */
    transform: translateX(-6.5px);
}

.back-to-top-button {
    border: 0;
    margin-top: 2.5rem;
    padding: 1rem;
    background-color: var(--accent-medium);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 5rem;
    height: 5rem;
}
#corner-avatar {
    position: absolute;
    z-index: 1;
    top: 2rem;
    left: 2rem;
    max-width: 5rem;
    border-radius: 50%;
    cursor: pointer;
}

#social-media-bar {
    margin: 2rem 0 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.hover-tooltip {
    position: relative;
    text-decoration: underline;
    cursor: pointer;
}

.tooltip-text {
    position: absolute;
    left: -4rem;
    bottom: 2rem;
    background-color: #e4e0e9;
    color: var(--accent-medium);
    padding: 0.2rem;
    border-radius: 0.5rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.onclick-copyable {
    cursor: pointer;
}

.tooltip-text::before {
    position: absolute;
    width: 0.65rem;
    height: 0.65rem;
    background-color: #e4e0e9;
    content: "";
    transform: rotate(45deg);
    top: calc(1em + 0.2rem + 0.2rem);
    left: 6rem;
}

.hover-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.tooltip-text:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.main-stripe-section h1 {
    color: #fff;
}

.main-stripe-section {
    background-color: var(--accent-medium);
}

.main-content-section {
    padding: 0rem 15vw 1.5rem 15vw;
    color: #fff;
    background-color: var(--accent-medium);
    flex-shrink: 1;
}

.after-stripe-section {
    color: var(--accent-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.after-stripe-section h1 {
    font-size: 3rem;
}

@media (max-width: 680px) {
    #corner-avatar {
        display: none;
    }
}

.centered-list-container {
    display: flex;
    justify-content: center;
}

.float-on-hover {
    transition: transform 0.2s ease;
}

.float-on-hover:hover {
    transform: translateY(-0.3rem);
    transition: transform 0.2s ease;
}

.bandcamp-embed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    max-width: 17.875rem;
    text-align: center;
    padding-bottom: 0;
}

.drop-shadow {
    filter: drop-shadow(0.5rem 0.5rem 0.3rem #6b627c);
}

.drop-shadow-small {
    filter: drop-shadow(0.25rem 0.25rem 0.125rem #6b627c);
}

.username {
    font-family: "IBM Plex Mono";
    background-color: #e4e0e9;
    border-radius: 0.25rem;
    padding: 0.1rem;
}

.notice-with-image {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 500px) {
    .notice-with-image {
        flex-direction: column;
        align-items: center;
    }
    .notice-container {
        text-align: center;
    }
}

.notice-container-image {
    flex-shrink: 0;
    width: clamp(10px, 3rem, 50px);
}

.notice-prompt {
    font-weight: bold;
}

.notice-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    min-width: 0;
    white-space: initial;
}

.notice-white {
    margin: 0.5rem 0 1rem 0;
    background-color: #fff;
    color: var(--accent-medium);
    padding: 1rem;
    border-radius: 1rem;
    word-wrap: normal !important;
}

.notice-purple {
    margin: 0.5rem 0 1rem 0;
    background-color: var(--accent-medium);
    color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    word-wrap: normal !important;
}

@media (max-width: 715px) {
    .notice-container {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }
    .notice-white {
        width: 100%;
        max-width: clamp(10rem, 70vw, 30rem);
        word-break: normal;
        overflow-wrap: normal;
        white-space: normal;
    }
    .notice-purple {
        width: 100%;
        max-width: clamp(10rem, 70vw, 30rem);
        word-break: normal;
        overflow-wrap: normal;
        white-space: normal;
    }
}

.notice-white:hover {
    transform: translateY(-0.25rem);
}

.subtle-border {
    border-radius: 0.3rem;
}

.social-media-image {
    max-width: 1.5rem;
    position: relative;
    transform: translateY(0rem);
    transition: transform 0.1s ease;
}

.inline-social-media-image {
    max-width: 1.1rem;
    position: relative;
    transform: translateY(3px);
}

.social-media-image:hover {
    transform: translateY(0.1rem);
    transition: transform 0.1s ease;
}

.social-media-image-wrapper {
    position: relative;
    cursor: pointer;
    display: inline;
}

.highlight-on-hover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(255, 255, 255, 0.389);
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.highlight-on-hover:hover::after {
    opacity: 1;
    transition: opacity 0.1s ease;
}

.serif-heading {
    font-family: "Source Serif 4", serif;
}

.wave-container {
    position: relative;
}

.main-wave-top {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* Fix for a weird 1-pixel gap the curve makes */
    transform: translateY(1px);
}

.main-wave-top svg {
    position: relative;
    display: block;
    width: calc(169% + 1.3px);
    height: 10vh;
}

.main-wave-top .shape-fill {
    fill: var(--accent-medium);
}

.main-wave-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-1px);
}

.main-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 5vh;
}

.main-wave-bottom .shape-fill {
    fill: var(--accent-medium);
}

.footer-wave-bottom {
    position: absolute;
    bottom: calc(2rem + 1.3px);
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 44px;
}

.footer-wave-bottom .shape-fill {
    fill: var(--accent-medium);
}
