*{
    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");
}

html{
    scroll-behavior: smooth;
    scroll-padding: 120px;
    /*
    background-image: url(/resources/background-90s-web.gif);
    overflow: visible;
    background-attachment: fixed;
    */
}

body{
    position: relative;
    font-family: "roundedfont";
    font-size: 16px;
    background-color: white;
    -webkit-text-size-adjust: 0;
    -moz-text-size-adjust: 0;
    text-size-adjust: 0;
    /*
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
    border-left: solid gray 1px;
    border-right: solid gray 1px;*/
}

main{
    min-height: calc(100vh - 80px);
}

img{
    max-width: 100%;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}



@media (max-width: 500px) {
    body{
        font-size: 14px;
    }
}


@media (min-width: 1800px) {

    body {
        zoom: 1.2;
    }

    main.home {
        min-height: calc(100vh - 180px);
    }

}

@media (min-width: 2000px) {

    body {
        zoom: 1.4;
    }

    main.home {
        min-height: calc(100vh - 360px);
    }

}


/*Default margins*/

header,
section,
article,
aside,
form {
    padding-left: 20px;
    padding-right: 20px;
}


address {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 500px) {

    header,
    section,
    article,
    aside,
    form {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*Nav and Footer*/

nav{
    z-index: 99;
    background: #252526;
    height: 80px;
    width: 100%;
    position: fixed;
    overflow: hidden;
    /*
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    */
}

div.nav{
    background: grey;
    height: 80px;
    width: 100%;
}

nav ul{
    float: right;
    margin: 20px;
    margin-top: 20px;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 40px;
    margin: 0 10px;
}

nav ul li a{
    color: blueviolet;
    text-transform: uppercase;
    font-size: 16px;
    padding: 5px;
}

@media (max-width: 495px) {
    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;
    }
}

@media (max-width: 600px) {
    a.hideable {
        display: none;
        position: absolute;
    }
}

.logo{
    color: green;
    font-size: 35px;
    line-height: 80px;
    margin-left: 30px;
    margin-right: 0;
    text-decoration: underline #551a8b 1px;
    font-weight: bold;
}

.logo:hover{
    text-decoration: underline #551a8b 2px;
}


footer{
    background: #252526;
    padding-left: 15px;
    padding-right: 15px;
    /*height: 200px;*/
    width: 100%;
    padding-bottom: 10px;
    font-size: 16px;
    color: darkgray;
}

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;
}

img.pins {
    width: 88px;
    margin: 1px;
}

ul.pins {
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
    max-width: 270px;
}


/*Headings and Text*/

h2 {
    color: green;
}

h3 {
    color: green;
    margin-bottom: 5px;
}

h2.DB, h3.DB {
    color: limegreen;
}

h4 {
    color: blueviolet;
}

h4.G {
    color: green;
}

h5 {
    margin-top: 2px;
}

.CT {
    text-align: center;
}

.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: white;
    text-transform: uppercase;
    background-color: blueviolet;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
    text-shadow: none;
    border: outset 3px #80808080;
}

a.WLinkPBox:active{
    border: outset 3px #70707080;
}

.WLinkPBoxS{
    color: white;
    text-transform: uppercase;
    background-color: blueviolet;
    padding: 0px 4px;
    padding-bottom: 1px;
    border-radius: 4px;
    white-space: nowrap;
    text-shadow: none;
}

a:active, input:active {
    position: relative;
    top: 2px;
    cursor: progress;
}

@media (max-width: 480px) {

    a.move:active {
        position: absolute;
        top: 38px;
    }
}

a:hover {
    text-decoration: underline 2px;
}

input:hover {
    border: solid green 2px;
}

input[type="text"]:focus {
    border: solid blueviolet 2px;
    outline: unset;
}

input[type="submit"] {
    color: black;
    background-color: whitesmoke;
    padding-inline: 1px;
    border: outset 1px #80808080;
}

input[type="submit"]:hover {
    border: solid green 1px;
}

.BoxParty:active {
    animation: LinkPartyBox 0.7s;
}

@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 {
        position: static;
        margin: 10px;
    }


    .HbyRP:active {
        position: relative;
        right: 0;
        top: 2px;
    }
}

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: blueviolet 3px solid;
}


html {
    scrollbar-width: 18px;
    scrollbar-color: #551a8b #2c2c2d;
}


/* lists and tables */

ul.list li{
    margin-left: 2px;
    list-style: circle;
    list-style-position: inside;
    margin-top: 4px;
    margin-bottom: 4px;
}

li.list {
    margin-left: 2px;
    list-style: circle;
    list-style-position: inside;
    margin-top: 4px;
    margin-bottom: 4px;
}

ol li {
    list-style: decimal;
    list-style-position: inside;
    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-main.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;
}

/*notifications*/

aside.indevW {
    color: white;
    background-color: darkorange;
    background-image: url(/resources/indevWarning-background.jpg);
    padding: 10px;
    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%;
    border-bottom: outset 3px #80808080;
    border-top: outset 3px #80808080;
}

aside.indevW h4 {
    float: right;
    margin-right: 10px;
}

.notifCtrl:checked+aside.indevW {
    display: none;
}

aside.notif {
    color: #fffcf4;
    background-color: #551a8b;
    padding: 7px;
    padding-inline: 15px;
    min-height: 32px;
    width: 100%;
    position: fixed;
    z-index: 88;
    border-bottom: outset 3px #80808080;
    border-top: inset 3px #80808080;
    /*max-width: 1380px;
    margin-left: auto;
    margin-right: auto;*/
}

aside.notif a {
    color: deepskyblue;
}

aside.notif h4 {
    float: right;
    margin-right: 10px;
}

.notifCtrl {
    margin: 5px;
    margin-top: 14px;
    position: fixed;
    z-index: 89;
    right: 0px;
    padding-right: auto;
}

.notifCtrl:active {
    position: fixed;
    top: unset;
    margin-top: 16px;
}

.notifCtrl:checked~aside.notif {
    display: none;
}

.notifCtrl:checked {
    margin: 2px;
    position: relative;
    float: right;
}

@media (max-width: 750px) {
    aside.notif {
        bottom: 0;
    }

    .notifCtrl {
        margin-top: 28px;
        bottom: 0;
    }

    .notifCtrl:active {
        margin-top: 30px;
    }
}

.notifCtrl:active:checked {
    position: relative;
    top: 2px;
    margin: 2px;
}

input[type=checkbox].notifCtrl {
    accent-color: gray;
}
