/*
 * Copyright (c) 2022–2023, 2025–2026 Emma Tebibyte
 *
 * This css is free software: you can redistribute and/or modify it under the
 * terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 *
 * This css is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * This css. If not, see <https://www.gnu.org/licenses/agpl-3.0.en.html>.
 */

@font-face {
    font-family: 'Ubuntu';
    src: url('https://tebibyte.media/assets/fonts/ubuntu.ttf');
         url('https://tebibyte.media/assets/fonts/ubuntu.woff2');
         url('https://tebibyte.media/assets/fonts/ubuntu.woff');
}

@font-face {
    font-family: 'Ubuntu Mono Ligaturized';
    src: url('https://tebibyte.media/assets/fonts/UbuntuMonoLigaturized-Regular.ttf');
}

::selection {
    color: #171614;
    background: #9d4e54;
}

* {
    box-sizing: border-box;
    font-family: "Ubuntu";
    scrollbar-color: #9d4e54 transparent;
}

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

body {
    background-color: #171614;
    color: #fafafa;
    margin: 0 auto;
    padding: 0 5%;
    max-width: 80em;
    display: flex;
    flex-direction: column;
}

a {
    transition-duration: 0.4s;
    color: #9d4e54;
    text-align: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
}

a:hover {
    text-decoration-color: #9d4e54;
}

a::selection {
    text-decoration-color: #171614;
}

code {
    font-family: 'Ubuntu Mono Ligaturized';
    word-break: break-all;
    white-space: nowrap;
}

main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0;
    padding: 1em;
    border-radius: 20px;
    background: #171614;
    box-shadow: 1.5em 1.5em 3.5em #131211, -1.5em -1.5em 3.5em #1b1a17;
}

menu {
    padding: 0;
}

menu li {
    display: inline;
}

p {
    text-align: inherit;
}

section {
    flex-basis: 49%;
    flex-grow: 1;
}

section.full, .intro {
    align-items: center;
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    justify-items: center;
}

small {
    margin: 1em;
}

.back {
    color: #9d4e54;
    text-align: left;
}

.back a {
    transition: 0.5s;
    padding: 0.15em;
    border-radius: 0.5em;
    text-decoration: none;
}

.back a:hover {
    color: #171614;
    background: #9d4e54;
}

.favicon {
    max-width: 1em;
}

.full {
    text-align: center;
}

.intro {
    text-align: justify;
}

.warn {
    margin: 0.5em 0;
    padding: 0.5em;
    display: inline-block;
    color: #171614;
    background: #9d4e54;
    border-radius: 0.5em;
}

.warn p {
    margin: 0;
    margin-right: 2em;
    display: inline;
}

.sym {
    filter: invert(4%) sepia(23%) saturate(325%) hue-rotate(2deg)
            brightness(96%) contrast(90%);
    max-height: 1em;
    margin-right: 0.5em;
    margin-left: 1em;
    margin-top: auto;
    margin-bottom: auto;
}

#frens-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#frens-links a {
    margin: 0.20em;
}

#pronouns {
    text-align: center;
    font-size: 0.8em;
}

#stickers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}
