body {
    background: url('/paper/elements/background-white.jpg') repeat !important;
}

/** Navbar **/
header, .header-nav-bar {
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1.5em;
}
.header-nav-bar {
    background: url('/paper/elements/background-white.jpg') repeat;
}
#navbar.scrolled {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#logo-blue, #logo-pink, #logo-green, #logo-yellow {
    display: inline-block;
    width: 600px;
    max-width: 70%;
    aspect-ratio: 2.75;
    background-image: url("/paper/logos/virtualsociety-blue.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

#logo-pink {
    background-image: url("/paper/logos/virtualsociety-pink.png");
}
#logo-green {
    background-image: url("/paper/logos/virtualsociety-green.png");
}
#logo-yellow {
    background-image: url("/paper/logos/virtualsociety-yellow.png");
}

header a, header a:hover, header a:visited,
.header-nav-bar a, .header-nav-bar a:hover, .header-nav-bar a:visited {
    color: #876852;
    text-decoration: none;
    font-family: 'montserrat', Arial, sans-serif;
    font-size: 1.2em;
    position: relative;
    display: inline-block;
}

header a.active::before, .header-nav-bar a.active::before {
    content: '';
    position: absolute;
    left: -2px;
    bottom: 0;
    height: 100%;
    width: calc(100% + 4px);
    background-color: rgba(195, 107, 73, 0.3);
    z-index: 0;
    transform: skew(-7deg);
    transform-origin: left;
}

.bullet-yellow, .bullet-pink, .bullet-blue, .bullet-green {
    background: url('/paper/elements/dots.png') no-repeat;
    background-clip: content-box;
    display: inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;
    width: 1em !important;
    height: 1em !important;
    background-size: cover;
    position: relative;
    top: 0.1em;
}

.bullet-yellow { background-position-x: 0; }
.bullet-pink { background-position-x: -1em; }
.bullet-blue { background-position-x: -2em; }
.bullet-green { background-position-x: -3em; }

.social-networks {
    position: absolute;
    top: 0;
    right: 20px;
}
.social-networks a, .social-networks a:hover, .social-networks a:visited, .social-networks a:focus,
.social-footer a, .social-footer a:hover, .social-footer a:visited, .social-footer a:focus {
    display: inline-block;
    width: 3em;
    aspect-ratio: 1 !important;
    border: 0;
    background-size: 3em;
    background-position: 50% 50%;
    background-attachment: initial;
    transition: all 0.25s ease-out;
}
.social-networks a:hover, .social-footer a:hover {
    background-size: 3.5em;
}

@media (max-width: 650px) {
    .social-networks a, .social-networks a:hover, .social-networks a:visited, .social-networks a:focus {
        width: 2em;
        background-size: 2em;
    }
    .social-networks a:hover {
        background-size: 2.3em;
    }
}
.social-footer a, .social-footer a:hover, .social-footer a:visited, .social-footer a:focus {
    width: 4em;
    background-size: 4em;
}
.social-footer a:hover {
    background-size: 4.3em;
}

.social-instagram { background-image: url("/paper/social/Instagram.svg"); }
.social-x { background-image: url("/paper/social/X.svg"); }
.social-discord { background-image: url("/paper/social/Discord.svg"); }
.social-facebook { background-image: url("/paper/social/Facebook.svg"); }
.social-mail { background-image: url("/paper/social/Mail.svg"); }
.social-patreon { background-image: url("/paper/social/Patreon.svg"); }
.social-steam { background-image: url("/paper/social/Steam.svg"); }
.social-tiktok { background-image: url("/paper/social/Tiktok.svg"); }
.social-youtube { background-image: url("/paper/social/Youtube.svg"); }
.social-bsky { background-image: url("/paper/social/BlueSky.svg"); }

/** Footer */
footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #876852;
    font-family: 'VSPencil', Arial, sans-serif;
    font-size: 1em;
}

footer a, footer a:hover, footer a:visited, footer a:active {
    color: #876852;
    border: 0;
    text-decoration: none;
}

footer .footer-support, footer img {
    border: 0;
    text-decoration: none;
    width: 80%;
}
.follow-us {
    font-size: 2em;
    color: #876852;
    font-family: 'VSPencil', Arial, sans-serif;
}
.supports-text {
    font-size: 1.1em;
    color: #876852;
    font-family: 'montserrat', Arial, sans-serif;
}

/** FONTS **/
@font-face {
    font-family: 'VSFont';
    src: url('/fonts/vs/vs5-webfont.woff2') format('woff2'),
    url('/fonts/vs/vs5-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'VSPencil';
    src: url('/fonts/vspencil/VSPencil.woff2') format('woff2'),
    url('/fonts/vspencil/VSPencil.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'montserrat';
    src: url('/fonts/montserrat/montserrat-medium.woff2') format('woff2'),
    url('/fonts/montserrat/montserrat-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.montserrat {
    font-family: 'montserrat', Arial, sans-serif;
}
.vsfont {
    font-family: 'VSFont' !important;
}
h1, h2, h3, .vspencil {
    font-family: 'VSPencil' !important;
    display: inline-block;
}
h1 {
    font-size: 3em;
    position: relative;
    color: #916E53;
}
.text-brown { color: #916E53; }
.icon-h1 { width: 4em !important; }
.vsfont-title-color, .vsfonttitle {
    font-family: 'VSFont' !important;
    text-transform: uppercase;
}
.vsfont-title-color {
    color: #5e4e41;
}
.vsfont-title-shadow {
    font-family: 'VSFont' !important;
    text-transform: uppercase;
    text-shadow: #000 1px 1px 0, #000 2px 2px 0
}
.vsfont-strong-shadow {
    font-family: 'VSFont' !important;
    text-shadow: #000 1px 1px 0, #000 2px 2px 0
}
.strong-shadow {
    text-shadow: #000 1px 1px 0, #000 2px 2px 0
}

/** Stickers */
.sticker {
    display: inline-block;
    aspect-ratio: 1 !important;
    width: 1em;
    padding: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    position: relative;
    top: 0.5em;
}

.sticker-book-story { background-image: url("/paper/stickers/book-story.png"); }
.sticker-edit-world { background-image: url("/paper/stickers/edit-world.png"); }
.sticker-people { background-image: url("/paper/stickers/people.png"); }
.sticker-sun { background-image: url("/paper/stickers/sun.png"); }
.sticker-sword { background-image: url("/paper/stickers/sword.png"); }

/** Titles underlines */
span img.title-svgline {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 20px;
}
span img.title-svgoutline {
    position: absolute;
    top: -10px;
    left: -10px;
    overflow: hidden;
    margin: 0;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
}

/** Sections */
.site-section {
    width: 100%;
    display: block;
    padding-left: 5px;
    padding-right: 5px;
}
@media (min-width: 576px) {
    .site-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (min-width: 768px) {
    .site-section {
        padding-left: 35px;
        padding-right: 35px;
    }
}
@media (min-width: 992px) {
    .site-section {
        padding-left: 60px;
        padding-right: 60px;
    }
}
@media (min-width: 1200px) {
    .site-section {
        padding-left: 110px;
        padding-right: 110px;
    }
}


.article-subtitle span {
    font-family: 'VSPencil', system-ui;
    color: #916E53;
}

@media (max-width: 576px) {
    .article-subtitle {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-bottom: 1em;
    }

    .article-subtitle i {
        font-size: 2em;
        margin: 0.6em;
    }

    .article-subtitle span {
        font-size: 0.8em;
    }

    .article-subtitle span::before {
        content: "\A";
        white-space: pre;
    }
}

/** Pagination **/
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: url("/paper/elements/bg-green.jpg") repeat;
    padding: 2em;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    position: relative;
    text-align: center;
    margin-bottom: 2em;
    color: white;
}

.pagination-container .page-active,
.pagination-container .page,
.pagination-container a, .pagination-container a:hover, .pagination-container a:active, .pagination-container a:visited {
    display: inline-block;
    position: relative;
    padding: 0.5em 1em;
    color: white;
    text-decoration: none;
    font-family: 'VSPencil', Arial, sans-serif;
    font-size: 1.1em;
    margin-left: 0.3em;
    margin-right: 0.3em;
}
.pagination-container .page-active,
.pagination-container .page {
    aspect-ratio: 1 !important;
    background: url("/paper/icons/pagination-bg.svg") no-repeat;
    background-size: contain;
}
.pagination-container .page-active {
    opacity: 0.4;
}
.pagination-prev, .pagination-next {
    display: inline-block;
    aspect-ratio: 1 !important;
    width: 1em;
    background-repeat: no-repeat;
    background-size: contain;
}
.pagination-next {
    background-image: url("/paper/icons/pagination-next.svg");
}
.pagination-prev {
    background-image: url("/paper/icons/pagination-prev.svg");
}
.centered-full-container {
    width: 100%;
    height: 100%;

    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    align-items: center;
    justify-content: center;

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

.lang-switcher {
    display: inline-block;
    position: absolute;
    top: 1em;
    left: 1em;
    width: 3em;
    aspect-ratio: 1 !important;
}
.lang-switcher .lang-fr, .lang-switcher .lang-en {
    width: 100%;
    height: 100%;
    border: 0;
    text-decoration: none;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.lang-switcher .lang-fr {
    background-image: url("/paper/elements/lang-fr.svg");
}
.lang-switcher .lang-en {
    background-image: url("/paper/elements/lang-en.svg");
}
.lang-switcher .dropdown-item {
    font-size: 1em !important;
}
@media (max-width: 650px) {
    .lang-switcher {
        width: 2em;
        top: 0.5em;
        left: 0.5em;
    }
}
/* outlines */
.outlined, .outlined-yellow, .outlined-blue, .outlined-green, .outlined-red,
.outlined:hover, .outlined-yellow:hover, .outlined-blue:hover, .outlined-green:hover, .outlined-red:hover,
.outlined:active, .outlined-yellow:active, .outlined-blue:active, .outlined-green:active, .outlined-red:active {
    display: inline-block;
    margin: 0.2em 0;
    position: relative;
    text-decoration: none;
    font-size: 1.25em;
    font-family: 'vspencil', 'Comic Sans MS', sans-serif;
    padding: 0 1.25em;
    border: 1.5px solid #B69881;
    border-radius: 0.9em;
    color: #6b5146;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.outlined-inverse {
    color: white;
    border-color: white;
}
.outlined-yellow::before, .outlined-blue::before, .outlined-green::before, .outlined-red::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    right: 2px;
    bottom: -4px;
    transform: rotate(1deg);
    background-color: #d8a594;
    border-radius: 0.8em;
    border-bottom-right-radius: 0.6em;
    z-index: -1;
    transition: top 0.2s ease-in-out, left 0.2s ease-in-out;
}
.outlined-yellow::before {
    background-color: rgba(228, 196, 128, 0.6) !important;
}
.outlined-red::before {
    background-color: rgba(227, 169, 149, 0.6) !important;
}
.outlined-blue::before {
    background-color: rgba(172, 189, 204, 0.6) !important;
}
.outlined-green::before {
    background-color: rgba(205, 211, 171, 0.6) !important;
}
.outlined-button {
    background: none;
    cursor: pointer;
}

.footer-vso-container {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 15px solid;
    border-image: url('/paper/elements/patch-faq.svg');
    border-image-repeat: stretch round;
    border-image-slice: 12.5% fill;
}