@import url('https://fonts.googleapis.com/css2?family=Asimovian&family=Sankofa+Display&display=swap');

:root {
    --accent: hsla(206, 22%, 66%, 0.797);
    --glow:   hsla(142, 17%, 26%, 0.396);
}

* {
    padding: 0;
    margin:  0;
    box-sizing: border-box;
}

html {
    background: #25252d;
}

body {
    position: relative;
    isolation: isolate; /*Stacks elements*/
    min-height: 100vh;
    overflow-x: hidden;

    background:
        linear-gradient(
            145deg,
            #18191ac8 0%,
            #bcbcbd51 4%,
            #5f5860c5 16%,
            #36363d 32%,
            #4c605288 48%,
            #9da0a33c 56%,
            #212526c5 64%,
            #3b4c53af 80%,
            #1e1e18d2 100%
        );

    background-attachment: fixed;
}

h1 {
    width: 100%;
    padding: 16px 16px 32px;

    text-align: center;
    font-family: "Sankofa Display", sans-serif;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    /* Chrome text */
    color: transparent;
    background:
        linear-gradient(
            180deg,
            #ffcedb 0%,
            #36444a 64%,
            #8397b4 100%
        );
    background-clip: text;
    -webkit-background-clip: text;

    filter:
        drop-shadow(0 0 12px var(--glow))
        drop-shadow(0 0px 3px rgba(147, 163, 157, 0.501));
}

.audioClass {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: min(520px, calc(100% - 32px));
    margin: 0px auto 0px;
    padding: 32px 0px;

    border: 2px solid rgba(93, 112, 104, 0.885);
    border-radius: 32px;

    background:
        linear-gradient(
            180deg,
            rgba(164, 172, 169, 0.353),
            rgba(118, 127, 127, 0.368)
        );
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
}

p {
    width: min(100%, 500px);
    margin-top: 28px;
    padding: 16px 8px;

    color: var(--accent);
    font-family: "Asimovian", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;

    border-left: 88px groove var(--accent);
    border-radius: 6px;

    background: rgba(48, 55, 59, 0.358);
    box-shadow: inset 0 0 4px rgba(130, 166, 152, 0.412), 0 0 8px var(--glow);

    transition:
        color 0.25s linear,
        border-color 0.35s linear,
        box-shadow 0.15s linear;
}

audio {
    width: min(100%, 500px);
    height: 64px;
    margin-top: 16px;

    border: 4px solid rgba(171, 187, 183, 0.45);
    border-radius: 100px;

    background: rgba(88, 107, 97, 0.574);
    accent-color: var(--accent);

    box-shadow: inset 0 1px rgba(255, 255, 255, 0.6), 0 0 16px var(--glow), 0 4px 12px rgba(31, 31, 29, 0.45);
}