body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    .thoughtBubble {
        z-index: 1;
        cursor: pointer;

        h1 {
            font-size: 1.2em;
        }
    }
}

svg {
    background: whitesmoke;
    /*width: 100%;*/
    /*height: 100%;*/
    position: fixed;
    z-index: 0;
}

circle {
    cursor: pointer;
}

text {
    user-select: none;
}

header, footer {
    z-index: 1;
    position: fixed;
    left: 0;
    right: 0;
    background: lightgray;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;

    pointer-events: none;
}

header {
    top: 0;
    height: 100px;
    font-size: 1.1em;
    font-weight: bold;
    flex-direction: column;
    gap: 4px;

}

footer {
    font-size: 0.8em;
    bottom: 0;
    height: 80px;
    flex-direction: column;
    gap: 8px;

    a {
        pointer-events: initial;
    }

    img {
        width: 24px;
    }


}

.footerSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    width: 80%;
    /*max-width: 1000px;*/

    div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    &#footerLower {
        justify-content: center;
        gap: 15vw;
    }
}


.thought {
    fill: purple;
    /*animation: pulsateRadius 5s infinite ease-in-out;*/

}

.thoughtLabel {

}

.thoughtBubble {
    position: relative;

    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
    margin: 16px;
    font-size: 1rem;
    line-height: 1.5;

    max-width: 300px;

    &::after{
        content: "X";
        position: absolute;
        top: 0;
        right: 0;
        background: lightgray;
        padding: 8px;
        border-radius: 4px;
        font-size: 0.8em;
    }
    

}

.smallScreenOnly {
    display: none;
}

.largeScreenOnly {
    display: initial;
}

@media (max-width: 600px) {
    header, footer {
        flex-direction: column;
        gap: 12px;
    }

    header {
        gap: 2px;
        height: 10vh;
    }

    footer {

        text-align: center;
        height: 15vh;
        font-size: smaller;

        .footerSection {
            div {
                gap: 2px;
            }
        }

    }

    .smallScreenOnly {
        display: block;
    }

    .largeScreenOnly {
        display: none !important;
    }

}


@keyframes pulsateRadius {
    0% {
        r: 5;
        opacity: 1;
    }
    50% {
        r: 8;
        opacity: 0.8;
    }
    100% {
        r: 5;
        opacity: 1;
    }
}



