* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: visible !important;
    scroll-behavior: smooth;
    line-height: 160%;

}

html {
    --text-color: #000000;
    --background-color: #ffffff;
}

.highlight {
    background: radial-gradient(circle, #4b0082, #5a0a99, #6a16b1, #7a20c9, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-link {
    color: #6a16b1;
}

@media (width <= 800px) {
    p {
        text-align: justify;
    }
}

p {
    margin-top: 1rem;
}

/*
    SCROLL HINT
*/

#scroll-hint {
    
    position: fixed;
    width: fit-content;
    height: fit-content;
    font-size: 3vmin !important;
    overflow: hidden;

    bottom: 2rem;
    left: 50%;
    transform: translate(-50%,0);
    z-index: 200;
    color: white;
    transition: opacity 0.3s ease;
    opacity: 1; /* Fully visible initially */
}
#scroll-hint.hidden {
    opacity: 0;
    z-index: -2;
}
#scroll-hint > span {
    overflow: hidden;
    font-size: 5vmin !important;
}

@media (width <= 800px) {
    #scroll-hint > span {
        font-size: 15vmin !important;
    }
}

/*
    HEADER
*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: fit-content;
    z-index: 9999;
    padding: 1rem;

    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;

    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
header.opaque {
    background-color: white;
    color: black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
header > a {
    color: inherit;
    text-decoration: none;
}
header > a:hover {
    text-decoration: underline;
}

/*
    FOOTER
*/

footer {
    background-color: #eeeeee;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-height: fit-content;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
footer > .link-row {
    display: flex;
    align-items: center;
    justify-content: center;
    
    gap: 1rem;
    padding: 1rem;
}

footer > #internal-links > a {
    color: black;
    text-decoration: none;
}
footer > #internal-links > a:hover {
    text-decoration: underline;
}

footer > #external-links > .external-link {
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: transform 0.1s ease;

    display: flex;
    align-items: center;
}
.external-link:hover {
    transform: scale(1.1);
}
.external-link > img {
    width: 100%;
    height: 100%;
    color: black;
}

/*
    BUTTONS
*/

.btn-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: .5rem 1rem .5rem 1rem;
    background: #7a20c9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: .25rem;
    transition: background-color .1s ease;
    gap: .5rem;
    outline: none;
    border: none;
}
.btn:hover {
    background: #5a0a99;
}
.btn > img {
    height: 1.5rem;
    color: white;
}

/* 
    FLEXBOX HELPERS
*/

.flex {
    display: flex;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}