* {
    scrollbar-width: thin;
    scrollbar-color: lightgrey #262626;
}

::selection {
    background: white;
    color: #262626;
}

body {
    background: black;
    background-image: url(Images/Backgrounds/miserabledollybg_polka3.png);
    font-family: 'Play', Tahoma, Verdana;
}

a {
    color: crimson;
    font-weight: 700;
}

a:hover, a:focus {
    color: white;
    font-style: italic;
}

h1, h2, h3, h4 {
    margin: 0;
}

h2 {
    font-size: larger;
    text-transform: uppercase;
    font-weight: 100;
    font-family: 'Aldrich' ,Tahoma, Verdana;
    line-break: anywhere;
}

h1 {
    font-family: 'Jersey 15';
    font-size: 2.7em;
    font-weight: 100;
}

#container {
    display: grid;
    grid-template: 
            "header header"
            "nav main"
            "footer footer" / 14% auto;
    max-width: 1200px;
    background: #282828;
    color: #ffffff;
}

#evilcontainer {
    border: solid 22px;
    border-image: url(Images/Borders/miserabledolly_doily2.png) 24 fill round;
    width: fit-content;
    height: fit-content;
    padding: 3px;
}


header {
    text-align: center;
    padding-bottom: 40px;
    padding-top: 30px;
    grid-area: header;
    color: white;
    font-style: italic; 
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background: black;
    background-image: url(Images/Backgrounds/f0ac54884f2dacdf0bf8448a56f05570.jpg);
    max-height: 300px;
    border: solid 2px;
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#headertext {
    display: block;
    font-family: 'Jersey 15';
    font-size: 1.7em;
}

.clock {
    padding-top: 8px;
}

main {
    grid-area: main;
    display: grid;
    grid-template: 
        "intro intro intro"
        "art blog blog"
        "stamphard stamphard stamphard"
        "todo changelog cliques"
        "status status cliques"
        "link buttons buttons"
        "guestbook guestbook music" / 25% auto 25%;
}

#side {
    grid-area: nav;
    border: solid 2px;
    border-right: none;
    border-bottom: 0;
}

nav a {
    display: block;
    background-color: #28272b;
    color: white;
    padding: 8px;
    font-size: 17px; 
    text-transform: uppercase;
    font-weight: lighter;
    font-family: 'Aldrich' ,Tahoma, Verdana;
    line-break: anywhere;
}

nav a::before {
    content: '/'
}

.offsite::before {
    content: ""
}

.notdone {
    font-style: oblique;
    text-decoration-line: line-through;
    color: grey;
}

.notdone:hover {
    background: #4e4e4e;
    color: grey;
}

nav h2 {
    border-top: solid 2px;
    border-bottom: solid 2px;
    padding-left: 5px;
    padding: 3px;
}

nav a:hover, nav a:focus {
    background: white;
    color: black;
}

#stamphard {
    grid-area: stamphard;
    overflow: hidden;
    justify-content: space-around;
    border: solid 2px;
    padding: 5px 0;
    border-bottom: none;
    
}
#stamphard img {
    width: 99px;
    height: 56px;
}

footer {
    border: solid 2px;
    padding: 9px;
    font-weight: 700;
    grid-area: footer;
    letter-spacing: 12%;
    line-break: anywhere;
    text-align: center;
}

#introcont {
    grid-area: intro;
    border: solid 2px;
    border-bottom: none;
}

.introbuttons {
    border: none;
    padding: 5px;
    font-size: large;
    font-family: 'Aldrich' ,Tahoma, Verdana;
    background: #262626;
    color: lightgrey;
    width: 50%;
}

.introbuttons:hover, .active {
    background: white;
    color: black;
    font-weight: 700
}

#sitebutton {
    border-right: solid 1px white;
}

#row1 {
    border-bottom: solid 2px;
}

#intro {
    padding: 3px;
    overflow: visible;
}

#aboutme p, #aboutsite p {
    margin: 0;
    margin-top: 8px;
}

.intros {
    padding: 18px;
    border-bottom: none;
    outline: dashed 2px rgba(255, 255, 255, 0.29);
    outline-offset: -4px;
    border-radius: inherit;
}

#aboutme, #faq {
    display: none;
}

#pfp {
    float: left;
    height: 100px;
    margin-right: 10px;
    border: solid 1px white;
    margin-top: 7px;
    border-radius: 8px;
    display: inline-block;
}

#updatelog {
    border-top: solid 2px;
    grid-area: changelog;
}

#updatelist {
    overflow-y: scroll;
    margin: 0;
    padding: 5px;
    padding-top: 8px;
    height: 250px;
}

dt {
    font-weight: 700;
    margin-top: 7px;
}

dd {
    margin-top: 7px;
}

.headerone {
        padding: 4px 0;
    padding-left: 10px;
    border-bottom: solid 2px ;
}

.headertwo {
    border-bottom: solid 2px ;
    text-align: center;
    padding: 4px 0;
}

h2::after, .headertwo::before {
    content: ' 🟆 '
}

#latestart {
    grid-area: art;
    border: solid 2px;
    text-align: center;
     border-bottom: none;
    overflow: hidden;
    position: relative;
}

#art, #fart {
    margin: auto; 
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#art img, #fart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    image-rendering: optimizeQuality;
    filter: grayscale(35%)
}

#art img:hover {
    transition: ease 0.5s;
    filter: grayscale(0);
    transform: scale(1.1)
}

#artgalbutton {
    position: absolute;
    bottom: 10px;
    right: 0;
    left: 0;
    margin-inline: auto; 
    z-index: 100;
    border: solid 2px white;
    border-radius: 3px;
    padding: 5px;
    background: #262626;
    outline: solid 2px #262626;
    color: white;
    width: 180px;
}

#artgalbutton:hover, #artgalbutton:focus {
    font-size:  1.1em;
    transition: ease 0.5s;
    font-style: normal;
    transform: scale(1.15)
}

#blogcont {
    grid-area: blog;
    border: solid 2px;
    border-bottom: none;
    border-left: none;
}

#blogcolumn {
    overflow: auto;
    max-height: 400px;
}

.blogbox {
    border: solid 2px;
    padding: 10px;
    margin: 8px;
    background: linear-gradient(dimgrey, #262626);
}

#buttonwall {
    border: solid 2px;
    grid-area: buttons;
     border-bottom: none;
    border-left: none
}

#buttons a {
    display: block;
}

#buttons img {
    border: solid 1px white;
    filter: grayscale(1);
    margin: 2px;
    width: 88px;
    height: 31px;
    box-sizing: content-box;
}

#buttons img:hover {
    filter: grayscale(0);
}

#buttons {
    padding: 3px;
    justify-content: center;
}

#buttonlink {
    border: solid 2px;
    grid-area: link;
    border-bottom: none;

}
textarea {
    display: block;
    height: 80px;
    margin: auto;
    width: 80%;
    border: solid 2px ;
}

textarea:focus {
    outline: solid white 2px;
    box-shadow: -5px 0 10px inset grey;
    outline-offset: 2px
}

#buttonlink .row {
    justify-content: center;
    margin: 4px 0px;
}

.mybuttons {
    margin: 1px; 
    display: block;
}

#gb {
    grid-area: guestbook;
    border: solid 2px;
    border-bottom: 0;
    overflow: hidden;
    height: 430px;
}

#gb iframe {
    width: 100%;
    height: 95%;
    border: none;
}

#todo {
    grid-area: todo;
    border: solid 2px;
    font-weight: 700;
    border-bottom: none;
}

ol li {
    margin-bottom: 7px;
}

#cliques {
    grid-area: cliques;
    border: solid 2px;
    border-bottom: none;
}

.cliques {
    margin: auto;
    margin: 4px;
    text-align: center;
    background: #3a3a3a;
    padding: 9px;
    outline: dashed 1px white;
    outline-offset: -5px;
    color: white;
    border-radius: 6px;
    border: solid 1px;
    box-shadow: 4px 2px;
    margin-right: 9px;
    display: flex;
    justify-content: center;
}

.cliques a {
    color: crimson;
}

.cliques a:hover {
    color: black;
}

#cliquebox {
    overflow-y: auto;
    height: 420px;
}

#gradientring {
    padding: 11px;
}

#gradient {
    font-size: 1.2em;
    text-align: center;
    font-family: 'Aldrich', Tahoma, sans-serif;
    color: white;
    text-transform: uppercase;
    text-decoration-line: none;
}

#gradient a {
    color: white;
    text-transform: uppercase;
    text-decoration-line: none;
}

.gradmask {
background: linear-gradient(to right, white, grey, white);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black);
}

#status {
    border: solid 2px;
    grid-area: status;
    position: relative;
    border-bottom: 0;
    border-right: 0;
}

#mememe {
    position: absolute;
    bottom: 0;
    left: 0;
    image-rendering: pixelated;
    display: block;
    max-width: 208px;
    z-index: 1;
}

#statusframe {
    display: block;
    margin: 5px auto;
}

#textballon {
    border: 3px solid black;
    padding: 10px;
    width: fit-content;
    height: fit-content;
    background: linear-gradient(grey, white 60%);
    margin: 5px auto;
    position: relative;
    border-radius: 30px;
    margin-left: 30%;
}

#textballon::after {
    content: url(Images/Pngs/textTriangle2.png);
    position: absolute;
    bottom: 18px;
    left: -40px;
    image-rendering: pixelated;
}

#textballon:hover, #textballon:focus, #statusframe:hover, #statusframe:focus {
        z-index: 1000;
}

#musicplayerbox {
    border: solid 2px;
    grid-area: music;
    border-bottom: none;
    border-left: none
}

.phone, .ipad, .phoneinline {
    display: none;
}

#offsiteh2 {
    border-top: solid 2px white;
}

@media only screen and (max-width: 640px) {
    #container {
        grid-template:
            "header"
            "nav"
            "main"
            "footer";
    }
    
    #evilcontainer {
        margin: -8px;
    }
    
    main {
        grid-template: 
            "intro"
            "blog"
            "todo"
            "art"
            "changelog"
            "buttons"
            "status"
            "cliques"
            "guestbook"
            ;
    }
    
    .row, .column {
        flex-wrap: wrap;
    }
    
    .nophone, #stamphard {
        display: none !important;
    }
    
    h1 {
        font-size: 1.38em;
        margin-bottom: 10px;
    }
    
    #headertext, .clock {
        font-size: 1.2em;
    }
    
    #blogcolumn, #row1, #cliquebox {
        flex-wrap: nowrap;
    }
    
    nav {
        flex-direction: row !important;
    }
    
    nav a {
        width: 50%;
        text-align: center;
    }
    
    .phone {
        display: block;
    }
    
    .phoneinline {
        display: inline;
    }
    
    #cliquebox {
        height: max-content;
    }
    
    #buttonwall, #latestart, #todo, #status, #cliques, #introcont, #blogcont, #updatelog, footer{
        border-right: none;
        border-left: none;
    }
    
    #textballon {
        margin: 4px auto;
        border-radius: 14px;
        position:relative;
        margin-bottom: 20px;
    }
    
    #textballon::after {
        content: url("Images/Pngs/textTriangle3.png");
        bottom: -44px;
        left: 42%;
        position: absolute;
    }
    
    h2::after, .headertwo::before {
        content: " ✦ "
    }
}

@media only screen and (max-width: 390px) {
     #headertext, .clock {
        font-size: 1.1em;
        padding: 0;
    }
    
    #evilcontainer, #container {
        border: solid 2px white
    }
}

@media only screen and (max-width: 950px) and (min-width: 639px) {
    
    #container {
            grid-template: 
            "header"
            "nav"
            "main"
            "footer"/ auto;
    }
    
    main {
        grid-template: 
        "intro intro"
        "art blog"
        "stamphard stamphard"
        "todo changelog"
        "status status"
        "cliques buttons"
        "music guestbook"  / 35% auto;
    }
    
    #evilcontainer {
        margin: -9px;
    }
    
    #headertext, .clock {
        font-size: 1.2em
    }
    
    .noipad, .notdone, .offsite {
        display: none !important;
    }
    
    #cliquebox {
        height: 260px;
    }
    
    #gb {
        border-left: none;
    }
    
    .ipad {
        display: block;
    }
    
    summary {
        border-top: solid 2px;
        border-bottom: solid 2px;
        font-size: 1.2em;
        font-family: "Aldrich", Tahoma, sans-serif;
        padding: 3px;
        padding-left: 5px;
    }
    
    h1 {
        font-size: 2.2em
    }
    
    footer {
        border-right: none;
        border-left: none;
    }
    
        h2::after, .headertwo::before {
        content: " ✦ "
    }
}

@media only screen and (max-width: 1100px) and (min-width: 769px) {
    h1 {
        font-size: 2.1em;
    }
    
    #headertext {
        font-size: 1.5em
    }
    
    .FUCK {
        display: none !important;
    }
}