
:root {
    /*--color-light: #DBD3D3;*/
    /*--color-dark: #091057;*/
    /*--color-accent: #EC8305;*/
    /* SPRING */
    /*--color-light: #FFFDEC;*/
    /*--color-dark: #86A788;*/
    /*--color-accent: #FFCFCF;*/

    /* ALL GREEN*/
    /*--color-light: #F4FFC3;*/
    /*--color-dark: #5D8736;*/

    /* GREEN (original) */
    --color-light: #EEEEEE;
    --color-dark: #015551;
    --color-accent: #EFB036;

    /* DARK BLUE */
    /*  --color-light: #F0F0F0;*/
    /*--color-dark: #3C486B;*/
    /*--color-light: #EEEEEE;*/
    /*--color-dark: #134B70;*/

    /* MONOCHROME */
    /*--color-light: #F0F0F0;*/
    /*--color-dark: #3C3D37;*/

    --color-background: var(--color-light);
    --color-text: var(--color-dark);
}

[data-theme="dark"] {
    --color-background: var(--color-dark);
    --color-text: var(--color-light);
}

.serif {
    font-family: "Antic Didone", serif;
    font-weight: 600;
    font-style: normal;
}

.sans-serif {
    font-family: "Antic Didone", serif;
    font-weight: 600;
    font-style: normal;
}

html {
    max-height: 100vh;
    max-width: 100vw;
    scroll-behavior: smooth;
    position: relative;
}

body {
    margin: 0;
}

.body-wrapper {
    z-index: 1;
    position: absolute;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2 {
    width: fit-content;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 24px;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
}

.header {
    height: 100vh;
    width: 100%;

    margin-bottom: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .header-content {
        width: 80%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.section {
    width: 30%;
    margin-bottom: 40px;

    @media screen and (max-width: 768px){
        width: 80%;
    }
    text-align: justify;
}

.footer {
    margin-top: 40px;
}

.settings {
    position: sticky;
    align-self: flex-start;
    top: 90vh;
    left: 90vw;
    cursor: pointer;
    background-color: var(--color-background);
    z-index: 20;

    @media screen and (max-width: 768px){
        /*position: relative;*/
        align-self: center;
        left: 70vw;
        top: 20px;
        margin-bottom: 60px;
    }
}

.section-title {
    margin-bottom: 20px;
    text-align: center;
    scroll-margin-top: 40px;
}

.inline {
    display: inline;
}

.bracket {
    width: 500px;

    @media screen and (max-width: 768px){
        width: 80%;
    }

    text-align: center;
}

.circle {
    max-width: fit-content;
}

.highlight {
    color: var(--color-background);
    padding: 5px 10px;
}

@keyframes move-clip {
    0% {
        clip-path: circle(0% at 100% 50%);
    }

    100% {
        clip-path: circle(100% at 100% 50%);
    }
}

#clip {
    z-index: 2;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;

    line-height: 1.6;
    font-size: 20px;

    position: absolute;
    top: 0;
    left: 0;

    color: var(--color-text);
    background-color: var(--color-background);

    &.animated {
        animation: 500ms linear move-clip;
    }
}

#learn-more {
    cursor: pointer;
    margin-top: 40px;
}