:root {
    --header-bg: url('/img/banner2.png');
    --accent-color: #C8FC73;
    --link-color: #8EE44A;
    --button-color: #4F4F4F;
    --bg-color: #303030;
    --bg-color2: #848484;
    --bg-color3: #8F8F8F;
    --bg-color4: #705F86;
    --text-color: #FEFFFF;
    --border-color: #95E94B;
    --favorite-color: #3CBF63;
    --outline-color: #48E8CB;
    --primary-font: students; 
}

@font-face {
    font-family: students;
    src: url(../fonts/TheStudentsTeacher-Regular.ttf) format("truetype");
}

* {
    color: var(--text-color);
    font-family: monospace;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--outline-color) var(--text-color);
}

::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: auto !important;
}

body {
    background-image: url('/img/background_plants.png');
    /*background-size: 165px;*/
    background-position: center top;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--bg-color2);
    margin: 0;
}
p {line-height: 1.5em;}

header {
    background: var(--header-bg);
    background-size: 100%;
    background-position: center;
    max-width: 969px;
    min-height: 177px;
    margin: 0 auto;
    padding: 0 1em;
    border-radius: 1em;
    box-shadow: var(--button-color) 8px 8px 20px;
}

header h1 {
    padding: .5em;
    border-radius: .3em;
    max-width: 900px;
    font-size: 4em;
    text-align: right;
    color: var(--text-color);
    text-shadow: var(--accent-color) 4px 4px .5em;
}

nav {
    margin-top: 1px;
    font-weight: bold;
}

nav > ul {
    max-width: 960px;
    margin: auto;
    line-height: 3rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    list-style-type: none;
    padding-left: 0;
    justify-content: space-evenly;
}
nav li {
    text-align: center;
}
nav li > a {
    background-color: var(--button-color);
    padding: .5em 3em;
    box-shadow: var(--bg-color2) 0 0 6px;
    text-decoration: none;
}
nav li > a:visited {
    color: var(--link-color);
}
nav li > a:hover {
    background-color: var(--favorite-color);
    box-shadow: var(--bg-color) 0 0 6px;
    color: var(--text-color);
}

a {
    color: var(--link-color);
    border-radius: .5em;
    text-shadow: var(--bg-color) 1px 1px 2px;
    font-weight: bold;
    transition: color 400ms ease-out, background-color 400ms ease-out, box-shadow 400ms ease-out;
}
a:visited {
    color: var(--text-color);
}
a:hover {
    color: var(--link-color);
}

ul { 
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

li{
    display: list-item;
    unicode-bidi: isolate;
}

article {
    display: block;
    unicode-bidi: isolate;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

textarea {
    text-rendering: auto;
    color: fieldtext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: auto;
    -webkit-rtl-ordering: logical;
    resize: -internal-textarea-auto;
    cursor: text;
    overflow-wrap: break-word;
    background-color: field;
    column-count: initial !important;
    margin: 0em 0em 0em 0em;
    border-width: 1px;
    border-style: solid;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    border-image: initial;
    padding: 2px;
    white-space: pre-wrap;
}

marquee{
    font-size: smaller;
    font-family: var(--primary-font);
    letter-spacing: .5px;
    padding: 4px;
    background-color: var(--favorite-color);
}

.boxi{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 24px 12px;
    margin-bottom: 1em;
    align-items: center;
    justify-content: space-evenly;
}

.banner{
    background-color: var(--bg-color2);
    color: var(--accent-color);
    margin: 0;
    padding: .5em;
    border-radius: 0 0 6px 6px;
}

.banner p{
    margin: 0;
    padding: .5em;
}

.soup{
    position: relative;
    width: 300px;
    max-width: 100%;
    margin: auto;
}

.soup a{
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 2px 2px 2px var(--link-color);
    transition: .3s letter-spacing;
}

.soup img{
    height: 100%;
    width: 300%;
    max-width: 100%;
    border-radius: .2em;
}

.soup p{
    color: var(--text-color);
    pointer-events: none;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.soup a:visited{
    color: var(--favorite-color);
}

.soup a:hover{
    color: var(--outline-color);
    transition: color 0.25s ease, var(--favorite-color) 0.25s ease;
    outline: 4px solid var(--outline-color);
}

.banner a:visited{
    color: var(--favorite-color);
}

.half-width {
    max-width: 48%;
}

.cool-heading{
    border-radius: 6px 6px 0 0;
    background: var(--border-color);
    text-shadow: 2px 2px var(--dark-color);
    border: none;
    margin: 0;
    padding: .3em .5em;
}

.boxi-box{
    background-color: var(--bg-color2);
    color: var(--button-color);
    padding: .5em;
    overflow: auto;
    font-size: smaller;
    letter-spacing: .5px;
}

.boxi-box ul{
    margin: 0;
    padding-left: 0;
}

.boxi-box li{
    border-bottom: 2px dashed var(--accent-color);
}

.boxi-box b{
    background-image: linear-gradient(180deg, #56D48B, #3CBF63);
}

.tiny-list{
    list-style-type: "";
}

.news li{
    padding: 8px 0;
    list-style-type: "";
}

.tiny-list li::before{
    content: "🦔";
    padding-right: 8px;
}

.news time{
    font-weight: bold;
}

.news li {
    padding: 8px 0;
    list-style-type: "";
}

#sidebar {
    background: var(--bg-color);
    min-width: 220px;
    margin: 1em;
    padding: 1em;
    border: 2px dotted var(--link-color);
    box-shadow: var(--button-color) 8px 8px 20px;
    border-radius: 2em;
}

#avatar {
    margin: .5em auto;
    max-width: 164px;
    max-height: 164px;
    border-radius: 8em;
}
#avatar img {
    background: var(--bg-color2);
    border: 2px solid var(--favorite-color);
    max-width: 160px;
    border-radius: 8em;
}

#bio {
    margin: 1em;
    background: var(--bg-color3);
    border: 1px solid var(--border-color);
    border-radius: 1em;
}
#bio p { 
    margin: 1em;
 }

#content {
    display: flex;
    max-width: 960px;
    margin: auto;
}

#updates boxi-box{
    max-height: 202px;
}

#link-code{
        min-width: 100%;
    max-width: 100%;
    height: 4em;
    min-height: 2em;
    max-height: fit-content;
}

/*FAQ STARTS*/
.big-box{
    margin: .5em;
    border: 2px dashed var(--border-shadow);
}
#faq .big-box{
    border: none;
}
#faq .big-box details{
    background-color: var(--bg-color2);
    color: var(--bg-color2);
}
.big-box details{
    padding: 10px;
    background-color: var(--dark-color);
}
#faq .big-box details[open] > summary {
    background-color: var(--border-color);
}
.big-box summary:hover {
    background-color: var(--favorite-color);
    transition: .25s ease bg-color;
}
.big-box summary {
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px;
    transition: .5s ease var(--border-color);
}
details > summary {
    cursor: pointer;
}
#faq .big-box h4 {
    border-bottom: 1px dashed var(--button-color);
}
/*FAQ ENDS*/

/*ANIMAUX STARTS*/
.fellas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(autofit, minmax(4, 1fr));
    grid-column-gap: 18px;
    grid-row-gap: 16px;
    margin-bottom: 16px;
}
a:visited{
    color: var(--link-color);
    border: 1px solid transparent;
    margin: 0px;
}

.animal{
    position: relative;
    width: 160px;
    height: 190px;
    background-image: url(/data/bg_dither.png);
    font-weight: bold;
    padding-bottom: 4px;
}
.icon{
    width: 150px;
    height: 160px;
    background-size: 100% 100%;
    background-position: center;
    color: #fff;
    font-weight: normal;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
}
.animaltext {
    position: absolute;
    bottom: 3px;
    margin: 0;
    height: 26px;
    width: 140px;
    left: 10px;
    font-size: 18px;
    text-align: center;
}
/*ANIMAUX ENDS*/

main {
    background-color: var(--bg-color);
    padding: 1em 2em;
    margin: 1em;
    border: 2px dotted var(--link-color);
    box-shadow: var(--bg-color4) 7px 7px 18px;
    border-radius: 2em;
}

main > h1,
main > h2,
main > h3 {   
    background-image: linear-gradient(180deg, #95E94B, #3CBF63);
    /*background-color: var(--favorite-color);*/
    border-radius: .4em;
    padding: .2em .5em;
}

.center { text-align: center; }
.img-right { float: right; }

footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}

/*mobile styles! */
@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    header {
        min-height: 160px;
        margin: 0 1em;
    }
    header > h1 { 
        font-size: 3em;
        margin: .4em;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 50%;}
    main {margin: 0 1em;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    .img-right {
        float: none;
        text-align: center;
    }
    footer {
        margin: 1em;
    }
}

/*BUTTONS STARTS*/
.weirdbuttons {
    list-style-type: "";
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}
.weirdbuttons li {
    flex: auto;
    padding: 4px 0;
    border: none;
}
.weirdbuttons li a{
    display: inline-block;
    width: 100%;
    min-height: 2em;
    line-height: 2em;
    padding: 0 .5em;
    vertical-align: middle;
    color: var(--text-color);
    background-color: var(--border-color);
    font-weight: bold;
    border-radius: .25rem;
    text-decoration: none;
    text-align: center;
}
.weirdbuttons li a:visited {
    color: var(--favorite-color);
}
.weirdbuttons li a:hover{
  color: var(--outline-color);
  transition: color 0.25s ease, var(--favorite-color) 0.25s ease;
  outline: 2px solid var(--outline-color);
}
.svg-icon{
    max-width: 26px;
    width: 26px;
    float: left;
    margin-top: 3px;
}
/*BUTTONS ENDS*/

/*SITEMAP STARTS*/
#sitemap {
    background-color: var(--bg-color2);
    color: var(--button-color);
    padding: 8px 24px;
    border-radius: 1em;
    line-height: 1.5em;
}
#sitemap ul {
    padding-left: 1em;
}
/*SITEMAP ENDS*/

/*COMMISSION SECTION STARTS*/
.commScroll {
    overflow: auto;
    height: 700px;
    padding: 5px;
}

.commExample {
    background: var(--box-gradient1);
    border-radius: 0 0 20px 20px;
    box-shadow: 1px 1px var(--shadow-color1), -1px -1px var(--shadow-color2);
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.CommissionRow {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0 5px;
}
/*COMMISSION SECTION ENDS*/