* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
}

@font-face {
    font-family: "roundedfont";
    src: url("/resources/ARLRDBD.TTF");
}

@font-face {
    font-family: "emojifont";
    src: url("/resources/other/seguiemj.ttf");
}

html {
    scroll-behavior: smooth;
    scroll-padding: 132px;
    background: gray;
}

body {
    position: relative;
    font-family: "roundedfont", "emojifont";
    font-size: 16px;
    min-width: 320px;
    background-color: white;
    -webkit-text-size-adjust: 0;
    -moz-text-size-adjust: 0;
    text-size-adjust: 0;
}

main {
    min-height: calc(100vh - var(--navH, 80px));
}

@media (max-width: 500px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 1800px) {
    body {
        zoom: 1.2;
    }

    main.home {
        min-height: calc(100vh - (100px));
    }

}

@media (min-width: 2000px) {

    body {
        zoom: 1.4;
    }

    main.home {
        min-height: calc(100vh - 360px);
        min-height: calc(100vh - (280px + var(--navH)));
    }

}

@media (prefers-color-scheme: dark) {
    body {
        background: #1F1F1F;
        color: #fffcf4;
    }
}

img {
    max-width: 100%;
    color-scheme: only dark;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/*Default margins*/



header,
section,
article,
aside, nav{
    padding-left: 20px;
    padding-right: 20px;
}

header{
    padding-top: 40px;
    padding-bottom: 100px;
}

section{
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 0;
}

@media (max-width: 500px) {
    header,
    section,
    article,
    aside,
    nav {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*Nav and Footer*/

:root{
    --navH: 70px;
}

@media (max-width: 1400px){
    :root{
        --navH: 80px;
    }
}

nav {
    z-index: 99;
    background: #252526;
    background: #252526e6;
    height: var(--navH, 80px);
    width: 100%;
    position: fixed;
    overflow: hidden;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #ffffff13;
    color-scheme: only dark;
}

div.nav {
    height: var(--navH, 80px);
    width: 100%;
    background: #252526;
}

nav ul {
    float: right;
    margin: 20px;
    margin-block: calc((var(--navH, 80px) - 30px) / 2 );
    margin-right: -10px;
}

nav ul li {
    display: inline-block;
    line-height: 30px;
    margin: 0 10px;
}

nav ul li a {
    color: #8a2be2;
    text-transform: uppercase;
    font-size: 16px;
    padding: 5px;
}

/* win 11 */

nav a {
    border: 1px solid transparent;
    border-top: 0px solid;
    border-radius: 12px;
    transition-duration: 0.002s;
}

nav a:hover {
    background-color: #ffffff0d;
    border-radius: 5px;
    transition-duration: 0.1s;
    border: 1px solid #ffffff03;
    border-top: 1px solid #ffffff13;
}

nav a.WLinkPBox:hover {
    background-color: #8a2be2;
    border: outset 3px #80808080;
    border-bottom: solid 3px #2e2e2e80;
}

@media (max-width: 500px) {
    a.move {
        position: absolute;
        padding: 0px;
        margin-top: 8px;
        margin-left: 5px;
        line-height: 35px;
    }

    nav ul li {
        margin: 0px;
    }

    nav ul {
        margin-top: 10px;
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    a.hideable {
        display: none;
        position: absolute;
    }
}

nav h1 {
    display: inline-block;
}

.logo {
    color: green;
    font-size: 35px;
    line-height: var(--navH, 80px);
    padding: 5px;
    text-decoration: underline #551a8b 1px;
    font-weight: bold;
    border-radius: 20px;
    transition-duration: 0.01s;
}

.logo:hover {
    text-decoration: underline #551a8b 2px;
    border-radius: 6px;
    transition-duration: 0.11s;
}

footer {
    background: #252526;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    padding-bottom: 10px;
    color: darkgray;
    backdrop-filter: blur(8px);
    border-top: 1px solid #ffffff13;
    /*
    background: linear-gradient(#252526EF,#252526ef), url(/resources/background-main.jpg) #252526 no-repeat;
    background-size: cover;
    */
    color-scheme: only dark;
}

footer h4,
footer p {
    color: green;
}

div.footerF {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

div.footerF ul {
    margin: 10px;
    width: auto;
    color: green;
}

footer ul li a {
    color: blueviolet;
}

footer hr {
    margin-top: 10px;
}

ul.pins {
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
    max-width: 270px;
}

ul.pins img {
    width: 88px;
    margin: 1px;
}

/*Headings and Text*/

h2 {
    color: green;
}

h3 {
    color: green;
    margin-bottom: 5px;
}

h2.DB,
h3.DB {
    color: limegreen;
    color-scheme: only dark;
}

h4 {
    color: blueviolet;
}

h5 {
    margin-top: 2px;
}

.CT {
    text-align: center;
}

.blackH {
    color: black;
}

.backG {
    color: #fffcf4;
}

.backGC {
    color: #fffcf4;
    text-shadow: 2px 0 0 black, 0px -2px 0 black, 0 2px 0 black, -2px 0 0 black, 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black;
}

.backGCwhite {
    color: black;
    text-shadow: 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white, -2px 0 0 white, 1px 1px 0 white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white;
}


/*Links\Buttons*/

a {
    cursor: default;
    text-decoration: underline 1px;
}

a.WLinkPBox {
    color: #fffcf4;
    text-transform: uppercase;
    background-color: #8a2be2;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
    text-shadow: none;
    border: outset 3px #80808080;
    border-bottom: solid 3px #2e2e2e80;
    color-scheme: only dark;
}

a.WLinkPBox:active {
    border: outset 3px #70707080;
}


a.WLinkPBoxS {
    color: #fffcf4;
    text-transform: uppercase;
    background-color: #8a2be2;
    padding: 0px 4px;
    padding-bottom: 1px;
    border-radius: 4px;
    white-space: nowrap;
    text-shadow: none;
    color-scheme: only dark;
}

a:active,
input:active {
    position: relative;
    bottom: -2px;
    cursor: progress;
}

@media (max-width: 480px) {
    a.move:active {
        position: absolute;
        top: 38px;
    }
}

a:hover {
    text-decoration: underline 2px;
}

input[type="text"]:hover{
    outline: none;
    border: green 1px solid;
    border-radius: 2px;
    padding: 1px;
}

input[type="text"]:focus{
    outline: none;
    border: #8a2be2 1px solid;
    border-radius: 2px;
    padding: 1px;
}

input[type="submit"] {
    padding-inline: 1px;
    border: outset 1px darkgray;
    border-radius: 2px;
}

input[type="submit"]:hover, input[type="button"]:hover{
    border: solid green 1px;
}

.BoxParty:active {
    animation: LinkPartyBox 0.7s linear;

}

.BoxPartyB {
    animation: LinkPartyBox 0.7s linear;
}

@keyframes LinkPartyBox {
    10% {
        background-color: red;
    }

    30% {
        background-color: blue;
    }

    50% {
        background-color: limegreen;
    }

    70% {
        background-color: red;
    }

    90% {
        background-color: yellow;
    }

    100% {
        background-color: blueviolet;
    }
}

.HbyRP {
    position: absolute;
    right: 20px;
    top: 562px;
    max-width: 176px;
    max-height: 62px;
}

.HbyRP:active {
    position: absolute;
    right: 20px;
    top: 564px;
}

@media (max-width: 750px) {
    .HbyRP {
        display: none;
    }
}

summary {
    cursor: context-menu;
}

summary:active {
    position: relative;
    top: 2px;
}

/* custom scrollbar */

::-webkit-scrollbar {
    width: 18px;
    height: 16px;
}

::-webkit-scrollbar-track:vertical {
    background-color: #252526;
    border-left: white solid 1px;
    border-right: white solid 1px;
}

::-webkit-scrollbar-track:horizontal {
    background-color: #252526;
    border-top: white solid 1px;
    border-bottom: white solid 1px;
}

::-webkit-scrollbar-thumb {
    background: #252526;
    border: 2px solid transparent;
    outline-offset: -6px;
    outline: green 3px solid;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    outline: #8a2be2 3px solid;
}

@-moz-document url-prefix() {
    html {
        scrollbar-width: 18px;
        scrollbar-color: #551a8b #2c2c2d;
    }
}

::selection {
    background: rgba(0, 118, 215, 0.5);
}

/* lists and tables */

ul.list {
    display: block;
    margin-left: 20px;
}

ul.list li {
    list-style: circle;
    margin-top: 4px;
    margin-bottom: 4px;
}

ul.list li * {
    margin-left: -5px;
}

ol {
    display: block;
    margin-left: 2px;
}

ol li {
    list-style: decimal inside;
    margin-top: 4px;
    margin-bottom: 4px;
}

th {
    padding: 10px;
    width: 280px;
}

table {
    border: solid 2px black;
}

td {
    border: 2px solid black;
    padding: 4px;
}

/* Default resources*/

main.home {
    background: url(/resources/background-home.jpg) no-repeat center, url(/resources/background_low-home.jpg) #6b664f no-repeat center;
    background-size: cover;
}

header.home {
    padding-top: 40px;
    padding-bottom: 100px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #0000004D;
}

div.navHome {
    height: var(--navH, 80px);
    background: linear-gradient(#0000004d, #0000004d), url(/resources/background-home.jpg) #252526 no-repeat;
    background-size: cover;
}

header.main {
    background: url(/resources/background-main.jpg) #4e7a1b no-repeat;
    padding-top: 110px;
    padding-bottom: 100px;
    background-size: cover;
}

.mainALT {
    background: url(/resources/background-main.jpg) #4e7a1b no-repeat;
    padding-top: 40px;
    padding-bottom: 100px;
    background-size: cover;
}

.box {
    border: 3px solid #8a2be2;
    padding: 3px;
    border-radius: 4px;
    background: #e4e2d9;
    background: #ffffffbe;
    max-width: 465px;
    color: black;
    backdrop-filter: blur(2px);
}

.mainA {
    position: absolute;
    right: 15px;
    top: calc(42px + var(--navH, 80px));
    width: 300px;
    min-height: 200px;
}

.mainB {
    margin-top: 12px;
    background: #252526;
    background: #00000073;
    display: inline-block;
    border-radius: 10px;
    padding: 5px;
    margin: 15px;
    color: #fffcf4;
}

.mainB h3 {
    color: limegreen;
    color-scheme: only dark;
}

.mainM {
    padding-block: 20px;
    background: #6b664f url(/resources/background_low-home.jpg) center no-repeat;
    background-size: cover;
}

@media (min-width: 750px) {
    .mainM {
        display: none;
    }
}

@media (max-width: 900px) {
    .mainA {
        display: none;
    }
}


@media (max-width: 750px) {
    main.home {
        height: unset;
        max-height: unset;
        background-image: unset;
        background-color: unset;
    }

    header.home {
        background: url(/resources/background-main.jpg) center no-repeat;
        background-size: cover;
        padding-top: 30px;
        padding-bottom: 40px;
    }
}


/*notifications*/

aside.indevW {
    color: white;
    background: darkorange url(/resources/indevWarning-background.jpg);
    padding: 9px;
    text-shadow: 2px 0 0 black, 0 -2px 0 black, 0 2px 0 black, -2px 0 0 black;
    position: fixed;
    z-index: 88;
    width: 100%;
    top: var(--navH, 80px);
    border-top: inset 3px #80808080;
    border-bottom: outset 3px #80808080;
}

.notifCtrl:checked+aside.indevW {
    display: none;
}

aside.notif {
    color: #fffcf4;
    background-color: #551a8b;
    padding: 6px 15px;
    width: 100%;
    position: fixed;
    z-index: 88;
    top: var(--navH, 80px);
    border-bottom: solid 3px #40235B;
    border-top: solid 3px #40235B;
    transition: all 0.1s ease-in;
    color-scheme: only dark;
}

aside.notif a {
    color: deepskyblue;
}

aside.notif h4, aside.indevW h4{
    float: right;
    margin-right: 10px;
}

.notifCtrl {
    margin: 5px;
    margin-top: 12px;
    position: fixed;
    z-index: 89;
    right: 0px;
    top: var(--navH, 80px);
}

.notifCtrl:active {
    position: fixed;
    margin-top: 16px;
    top: var(--navH, 80px);
    bottom: unset;
}

.notifCtrl:checked {
    margin: 2px;
    position: absolute;
    top: var(--navH, 80px);
    right: 0;
    bottom: unset;
}

.notifCtrl:checked~aside.notif {
    margin-top: -40px;
    height: 0;
    overflow: hidden;
    padding-block: 0px;
    border: 0px solid #40235B;
}

@media (max-width: 750px) {
    aside.notif {
        top: unset;
        bottom: 0;
    }

    .notifCtrl {
        top: unset;
        margin-top: 28px;
        bottom: 0;
    }

    .notifCtrl:active {
        top: unset;
        margin-top: 30px;
    }
}

.notifCtrl:active:checked {
    position: absolute;
    margin: 2px;
}

input[type=checkbox].notifCtrl {
    accent-color: gray;
}

/* Home page*/

.mainB a.B {
    color: #fffcf4;
    border-top: #ffffff13 2px outset;
    background-color: #008000a1;
    padding: 0px 2px;
    border-radius: 5px;
    text-shadow: none;
    white-space: nowrap;
    font-weight: bold;
    text-transform: capitalize;
}

.signNow {
    position: absolute;
    right: 20px;
    top: 450px;
    text-align: center;
}

@media (max-width: 1000px) {
    .signNow {
        position: static;
        padding-bottom: 20px;
    }
}

.signNow h3 {
    color: green;
    text-shadow: 2px 0 0 white, 0px -2px -0px white, 0 2px 0 white, -2px 0 0 white;
    color-scheme: only light;
}

.cookie {
    width: 100px;
    float: right;
    cursor: context-menu;
}

.mainC details {
    display: inline-block;
    margin-right: 30px;
    vertical-align: text-top;
}

.webrings {
    text-decoration: underline solid white 1.5px;
}

.webrings:hover {
    text-decoration: underline solid white 2.1px;
}

/* mobile */


@media (max-width: 750px) {

    .mainB {
        background: none;
        margin: 10px;
    }

    .mainB div {
        color: black;
        border: 3px solid #8a2be2;
        margin-top: 2px;
        padding: 3px;
        margin-bottom: 10px;
        border-radius: 4px;
        background-color: #ffffffbe;
        max-width: 465px;
        text-shadow: none;
    }

    .mainB h3 {
        color: green;
        text-align: center;
    }

    .mainC {
        display: none;
    }

    ul.list {
        margin-left: 5px;
    }

    ul.list li {
        list-style: disc inside;
    }

    ul.list li * {
        margin-left: -10px;
    }
}

@media (min-width: 400px) {
    br.M {
        display: none;
    }
}

/*Unsorted*/

/* let the blink tag rise again*/

blink {
    animation: blink-animation 2s steps(2, start) infinite;
    color: #8a2be2;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* . */

.EasterEggB {
    color: black;
    background-color: whitesmoke;
    padding: 3px;
    border: outset 1.5px white;
    border-radius: 10px;
    display: inline-block;
}

@media (prefers-reduced-transparency){
    nav, footer, div.navHome{
        background: #252526;
        backdrop-filter: none;
    }

    .box{
        background: #e4e2d9;
        backdrop-filter: none;
    }

    
    .mainB a.B{
        background-color: #008000;
    }
}