/* based on square theme by oooops.lol

*/

/* CSS RESET below, basically makes code less annoying to deal with by default */

@font-face {
font-family: "victor mono";
font-style: normal;
font-weight: 400;
src: url('fonts/victor mono.ttf') format('truetype');
}

@font-face {
  font-family: 'victoritalic';
  font-weight: 100;
  src: url('fonts/victor mono italic.ttf') format('truetype');
}

@font-face {
font-family: "sylmono";
font-style: normal;
font-weight: 400;
src: url('fonts/sylmono.ttf') format('truetype');
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    max-width: 80%;
    height: auto;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10%;
}
.imgabout {            
    margin-right: 15px;
    float: right;
}

.imgbtn {
    float: none;
    width: 88px;
    display: inline-block;
    border-radius: 0%;
    padding-top: 0px;
}

/* main body & text details.nav */
body {
    background: url(images/background.png);    
    color: #000;
    font-size: 1.1em;
    font-family: victor mono, Courier, monospace;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    min-height: 100dvh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

a,
a:visited {
    color: #000;
    text-decoration: underline;
}

a:hover {
    text-decoration: overline;
}

strong {
    font-weight: bold;
    color: #2a173b;
}

em {
    font-style: italic;
    color: #1e1a4a;
}

p {
    max-width: 95%;
    margin-bottom: 1.1em;
  }

ul  {
    list-style: square;
    color:#a191d4;
}

ul li a, li a:visited {
    color:#a191d4;
}

ul li:nth-child(odd) { 
    color:#e794c7; 
}


/* grid */
#grd {
    display: grid;
    grid-template-areas: "side   top " "side   main" "xtra   main""ring   main" "footer footer" ;
    grid-template-columns: 1fr 3fr;
    height: 90dvh;
    width: 76vw;
    -moz-column-gap: 0.5em;
    column-gap: 0.5em;
    border: 1px outset #00000021;
    padding: 0.3em;
    background: #e5def9;
}

/* top & main body */
header {
    grid-area: top;
    text-align: center;
}

main {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: auto;
    grid-area: main;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
   	background: RGB(239, 233, 246, 0.8);
    border: 4px outset #00000024;
    gap: 0.5em;
}

#sidebar {
    width: 100%;
    overflow: auto;
    grid-area: side;
    border: 4px oute5def9set #00000030;
    height: 30vh;
    border: 1px dotted;
    font-size: 0.9em;
}

#ring {
    width: 100%;
    overflow: auto;
    grid-area: ring;
    border: 4px oute5def9set #00000030;
    height: 10vh;
    border: 1px dotted;
    font-size: 0.9em;
}

#extra {
    width: 100%;
    overflow: auto;
    grid-area: xtra;
    height: 40vh;
    border: 1px dotted;
    margin-top: 0.5em;
}

.entry {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 84%;
    margin: 0 auto 0.5em;
    overflow: auto;
    padding: 10px 0;
    flex-shrink: 0;
}

.quote {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 84%;
    color: #a191d4;
    font-size: 1.1em;
    margin: 0 auto 10px;
    text-align: center;
    font-family: victoritalic, victor mono, Courier, monospace;

}

nav {
    background: #a191d4;
    color: #ffffff;
    width: 100%;
    padding: 10px 0;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 0;
    border: 4px outset #00000026;
}

nav a,
nav a:visited {
    color: #ffffff;
    flex-grow: 1;
    letter-spacing: 2px;
    text-decoration: underline dotted;
    font-size: 1.1em;
    font-family: victor mono, Courier, monospace;
    font-weight: bold;
    font-size: 0.9em;
}

nav a:hover {
    color: #a191d4;
    background: #ffffff;
    flex-grow: 1;
    letter-spacing: 2px;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    font-size: 1.1em;
    font-weight: bold;
}

nav a:active {
    color: #a191d4;
    background: #ffffff;
}

footer {
    grid-area: footer;
    width:100%;
    height: 8vh;
    font-size: 0.9em;
    justify-content: center;
    align-items: center;
    font-family: victor mono, Courier, monospace;
    color: #000;
}

h1 {
    font-family: victoritalic, Courier, monospace;
    color: #e794c7;
    font-size: 2.3em;
    font-weight: bold;
    margin: auto;
    border: 4px outset #0003;
    padding-bottom: 8px;
}

h2 {
    font-family: victoritalic, Courier, monospace;
    color: #a191d4;
    font: 2.1em;
    margin: 0 auto;
    text-decoration-style: double;
    text-decoration-skip-ink: none;
    padding: 3px 0 5px;
}

h3 {
    color: #a191d4;
    background: #fff;
    font-size: 1.1em;
    margin: 0 auto 10px;
    text-align: center;
    font-family: victor mono, Courier, monospace;
}

.statuslol {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    border-radius: 0.5em;
    padding: 1em;
}

.container {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}

.statuslol_emoji_container {
    min-width: 30px;
    flex: 0 0 1em;
    font-size: 0.9em;
}

.statuslol_content {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    margin: -0.5em 0 0 0;
    text-align: left;
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
}

.statuslol_wrapper {
    border-radius: 0.5em;
}

/* mobile mode */
@media (orientation: portrait) and (max-width: 955px) {

    /* change grid to a single column */
    #grd {
        display: grid;
        grid-template-areas: "top" "main" "side" "xtra" "footer";
        grid-template-rows: -webkit-min-content auto auto auto auto;
        grid-template-rows: min-content auto auto auto auto;
        grid-template-columns: 100%;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        width: 100vw;
        row-gap: 10px;
    }

    /* change nav to a column */
    nav {
        flex-direction: row;
        width: 100%;
        margin: auto;
        gap: 0.3em;
    }

    #sidebar,
    #extra {
        height: fit-content;
        min-height: fit-content;
    }

    main {
        max-height: 500px;
    }
}
