

@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);
}

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;
}

.badge {
        padding: 1em;
        padding-top: 0em;
        display: flex;
        align-items: center;
        text-decoration: none;
        margin: 0.2em;
        text-align: left;

        img {
                width: 2em;
                height: 2em;
                margin-right: 1em;
        }
}

body.dark {
        .badge {
                img {
                        filter: invert(100%);
                }
        }
}

.projectScreenshot {
        margin-top: 2em;
        margin-bottom: 2em;
        width: 100%;
        border-style: solid;
        border-radius: 1em;
}


.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;
}

.backBodyMain {
        width: 100%;
        display: flex;
        justify-content: center;
}

body.light {
        .back_1 {
                background: #8caaee;
        }

        .back_2 {
                background: #babbf1;
        }

        .back_3 {
                background: #ca9ee6;
        }

        .back_end {
                background: #f4b8e4;
        }

        .spende {
                background: #e78284; 
                color: #4c4f69 !important;
        }

        .spende {
                background: #ea999c;
        }
}

body.dark {
        .back_1 {
                background: #1e66f5;
        }

        .back_2 {
                background: #7287fd;
        }

        .back_3 {
                background: #8839ef;
        }

        .back_end {
                background: #ea76cb;
        }

        .spende {
                background: #d20f39; 
                color: #cdd6f4 !important;
        }

        .spende:hover {
                background: #e64553;
        } 
}

.spende {
        padding: 1em;
        border-radius: 1.5em;
        text-decoration: none;
}

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

.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;
        transition-duration: 0.3s;
        transition-property: transform;

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

        a:hover {
                text-decoration: underline;
        }

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

        div {
                display: flex;
                flex-direction: column;
                padding: 1em;

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

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

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