@font-face {
        font-family: Cabin;
        font-style: normal;
        src: url(/fonts/Cabin-Variable.ttf);
}

@font-face {
        font-family: Cabin;
        font-style: italic;
        src: url(/fonts/Cabin-Italic-Variable.ttf);
}

@font-face {
        font-family: Atkinson;
        font-style: normal;
        src: url(/fonts/AtkinsonHyperlegibleMono-Variable.ttf);
}

footer {
        background-color: black;
        color: white;
        padding: 20px;
        padding-top: 30px;
        margin-top: auto;
        display: flex;
        flex-direction: row;

        a {
                text-decoration: underline;
                margin-bottom: 0.3em;
        }

        a:not(.coffeeLink) {
                color: white !important;
        }
        
        div:not(.imageWrapper) {
                margin-left: 2em;
                margin-right: 2em;
                margin-bottom: 2em;
                display: flex;
                flex-direction: column;
        }

        div p h3 {
                margin-top: 0;
        }

        .imageWrapper {

                img {
                        width: 5em;
                        margin-right: 1em;
                        cursor: pointer;
                }
                margin-right: auto;
                height: 5em;
        }
}  

header {
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        align-items: center;
        z-index: 10;

        div {
                margin-left: auto;
                display: flex;
                align-items: center;
        }

        button,a {
                font-size: 1em;
                background-color: transparent;
                border: none;
                transition-duration: 0.5s;
                display: flex;
        }

        button {
                font-size: 2.3em;
                cursor: pointer;
        }

        button,a:hover {
                filter: saturate(1.5);
        }

        a {
                text-decoration: none;
        }
}

body {
        display: flex;
        margin: 0;
        flex-direction: column;
        min-height: 100vh;
        font-family: "Cabin", sans-serif;
        overflow-x: hidden;
}

ul, ol {
        text-align: left;
        margin-left: 2em;
        margin-right: 2em;
}

table {
        margin: 1em;
        text-align: left;
        border: 1px solid;
        padding: 0.5em;
}

th {
        padding-right: 1em;
}

tt {
        border-radius: 0.3em;
        font-size: 0.8em;
        font-family: "Atkinson", monospace;
}

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

.verticalCentreWrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: left;
}

.horizontalCentreWrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
}

.bodyMain {
        padding: 10px;
        text-align: center;
        max-width: 45em;
        width: 90%;
        align-self: center;

        a:not(:has(img, h3)):after {
                content: " ⤴";
        }
}

.bodyMain h1 {
        margin-top: 3em;
}

.left {
        text-align: left;
}

.prevent-select {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.center {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100vh;
}

.invert {
        filter: invert(100%);
}

.block {
        text-align: justify;
        hyphens: auto;
        text-indent: 1em;

        h1, h2, h3, h4 {
                text-indent: 0;
        } 
}

::-moz-selection {
  color: #24273a;
  background: #c6a0f6;
}

::selection {
  color: #24273a;
  background: #c6a0f6;
}

#main_icon {
        height: 4em;
        border-radius: 1em;
        margin-right: 1em;
        cursor: pointer;
}

#main_icon_text {
        cursor: pointer;
        font-size: 1.2em;
        margin-right: 1em;
}

#main_icon_text:after {
        content: "Lich-Corals";
}

#main_icon_text:hover:after {
        content: "[lɪç-ˈkɒr.əls]";
        font-style: italic;
}

#loading_info {
        position:fixed;
        right: 0;
        bottom: 0;
        border-top-left-radius: 2em;
        background-color: #ffffffaa;
        color: black;
}

#js_warning {
        display: inline;
        background-color: #e78284;
        color: #232634;
        visibility: hidden;
        position: fixed;
}

#back_to_top, #dark_light_foot {
        width: 3em;
        height: 3em;
        border: none;
        border-radius: 2em;
        margin-top: 0.2em;
        display: flex;
        justify-content: center;
        align-items: center;

}

#sticky_bottom {
        border: none;
        display: grid;
        position: fixed;
        right: 3em;
        bottom: 3em;
        opacity: 60%;
        visibility: hidden;

        button {
                cursor: pointer;
        }
}

#coffee_logo {
        width: 1.1em;
        height:1.1em;
        border-radius: 1em;
}

#light_dark_button,#burger_menu {
        img {
                width: 1.1em;
                opacity: 80%;
        }
}

#burger_menu {
        transition-duration: 0.5s;  
}

#burger_menu.active {
        rotate: 90deg;
}

#navigator {
        transform: translateY(-100%);
        position: absolute;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        z-index: 9;
        padding: 1em;
        transition-duration: 0.3s;
        transition-property: transform;

        a {
                text-decoration: none;
                margin-left: 1em;
        }

        h2 {
                margin-top: 0;
                margin-bottom: 0;
        }

        div {
                display: flex;
                flex-direction: column;
                margin-right: 2em;
                margin-bottom: 1em;

                div {
                        margin-left: 1em;
                        margin-bottom: 0;
                }
        }
}

#to_screenshots_button {
        padding: 1em;
        border-radius: 1em;
        display: none;
}

@media screen and (scripting: none) {
        #js_warning {
                visibility: visible;
                position: relative;
        }
}
