:root {
    --lb-image-border-radius: 0px;
    --lb-image-font-family: times;
}



/* -------- FONTS --------- */
@font-face {
    font-family: 'basiic';
    src: url("/assests/basiic.ttf") format("truetype");
}

@font-face {
    font-family: 'virale';
    src: url("/assests/virale.ttf") format("truetype");
}

@font-face {
    font-family: 'helveticabold';
    src: url(/assests/HelveticaBoldCondensed.otf);
}

@font-face {
    font-family: 'matisse';
    src: url(/assests/MatisseProEB.otf);
}

@font-face {
    font-family: 'digital';
    src: url(/assests/digital-7.ttf);
}

/* -------- ELEMENTS --------- */
html {
    scroll-behavior: smooth;
}

header,
footer {
    border: black 2px solid;
    text-shadow: none;
    filter: blur(10);
    animation: animate-grow 0.2s ease-in;
    animation-delay: 0.8s; animation-fill-mode: backwards;

}

body {
    background: #000000 url(https://file.garden/amgFvkc3WFTKhs18/cormech/montreallight.jpg);
    cursor: url(https://file.garden/amgFvkc3WFTKhs18/cormech/assets/glasscursor.cur), auto;
    font-family: 'matisse', 'Times New Roman', Times, serif;
    font-size: 14px;
    font-weight: 400;
    text-shadow: 0px 0px 1px #f5f1f1;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 16px;
    position: relative;
    overflow: auto;
    overflow-anchor: none;
    
}

a,
.navbutton,
.clickableposter,
.clickableposter:hover,
.posterscroll,
button {
    cursor: url(https://file.garden/amgFvkc3WFTKhs18/cormech/assets/glassLink.cur), pointer;
}

header {
    max-width: 816px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    padding: 5px;
    text-align: center;
    text-decoration: none;
    max-width: 1000px;
    margin: 10px auto 10px auto;
    justify-content: center;
}

.left-aside {
    grid-row: 1/2;
    grid-column: 1/2;
    height: max-content;
    float: left;
}

main {
    grid-row: 1/2;
    grid-column: 2/3;
    height: max-content;

}

.right-aside {
    grid-row: 1/2;
    grid-column: 3/4;
    height: max-content;
    float: right;
}

.left-one {
    grid-row: 1/2;
    grid-column: 1/2;
    height: max-content;
    float: left;
}

.right-two {
    grid-row: 1/2;
    grid-column: 2/3;
    height: max-content;
    float: right;
}

footer {
    max-width: 816px;
    margin: 20px auto 50px auto;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    color: #000000;
}

/* -------- BLOG SPECIFIC --------- */
.slant, #webamp {
    transform: skew(3deg, 5deg);
    transition: transform 0.3s ease;
}

.slant.unslant, #webamp.unslant {
    transform: none;
}

#webamp {
    animation: animate-blur 0.3s ease-in;
    animation-delay: 0.6s; animation-fill-mode: backwards;
}

.blog-container {
    overflow: scroll;
    overflow-x: hidden;
    max-height: 400px;
    padding: 1rem;
    border: 2px solid #000000;
    animation: animate-grow 0.2s ease-in;
    animation-delay: 0.8s; animation-fill-mode: backwards;
}

.mainscreen {
    max-width: 900px;
    max-height: 650px;
    background: #ba0704;
    box-shadow: 0 0 20px 1px #752711;
    margin: 50px auto;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.5s; animation-fill-mode: backwards;
}

.navbox {
    background: radial-gradient(#da7b1bea, #cf6418df, #b24d1ec7);
    box-shadow: 0 0 20px 1px #aa3616;
    padding: 10px;
    position: absolute;
    top: 150px;
    margin-left: 100px;
    z-index: 2;
    text-align: left;
    height: 450px;
    max-width: 180px;
    overflow-x: hidden;
    overflow-y: auto;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.3s; animation-fill-mode: backwards;
}

.float-window {
    background: radial-gradient(#da7b1bea, #cf6418df, #b24d1ec7);
    box-shadow: 0 0 20px 1px #aa3616;
    position: absolute;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.2s; animation-fill-mode: backwards;
}

.blog-link {
    scroll-margin-top: 0;
    overflow-anchor: none;
}

.enlargeimg {
    display: inline-block; 
    transition: transform 0.2s;
    text-decoration: none;
    vertical-align: top;
    position:relative;
    margin: 0;
}

.enlargeimg:hover {
    transform: scale(1.08);
}

.enlargimg img {
  display: block; 
  margin: 0;
  padding: 0;
}

.gallery {
    display: inline-block;
}

.gallery:has(.imgenlarge:focus) {
    height: auto;
}

#bloghome {
  text-align: center; 
  padding: 0px; 
  display: block; 
  position: absolute;
  font-family: monospace; 
  font-size: 11px; 
  line-height: 1.2; 
  white-space: pre; 
  overflow: hidden;
}

/* -------- BODIES --------- */
.mainbox {
    max-width: 816px;
    margin: auto;
    justify-content: center;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 200px 400px 200px;
}

.two-box {
    max-width: 816px;
    margin: auto;
    justify-content: center;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.onemainbody {
    max-width: 816px;
    margin: auto;
    justify-content: center;
}

.unequaltwo {
    max-width: 816px;
    margin: auto;
    justify-content: center;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 650px 134px;
}

.headerbox {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 200px 700px;
}

@media (prefers-reduced-motion: reduce) {
    header, footer, .toggle-window, .mainscreen, .navbox, .clock, .float-window, #webamp, .navbutton, .blog-container, .crt::after {
        animation: none !important;
    }

    .flashgif {
        display: none;
    }

    body {
        background-image: none !important;
        background: #000000;
    }
}


@media only screen and (max-width: 735px) {

    .mainbox,
    .two-box,
    .onemainbody,
    .unequaltwo {
        display: grid;
        justify-content: center;
        align-content: center;
        grid-template-columns: 1fr;
        flex-direction: column;
        width: 100%;

    }

    .left-one,
    .right-two {
        grid-column: auto;
        grid-row: auto;
        float: none;
        width: 100%;
    }

    .float-window, 
    .box, #webamp, .clock {
        display: none;
    }

    .right-aside,
    .left-aside {
        margin: 0 auto;
    }

    .navbox {
        background: radial-gradient(#da7b1bea, #cf6418df, #b24d1ec7);
        box-shadow: 0 0 20px 1px #aa3616;
        padding: 10px;
        position: relative;
        margin: 0;
        z-index: 2;
        text-align: left;
        height: 300px;
        overflow-x: hidden;
        overflow-y: auto;
        order: 999; 
        margin-top: 0;
        position: relative !important; 
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100%;
    }

     #bloghome {
        overflow: auto;
        position: relative;
    }

}


/* -------- TEXT --------- */
h1 {
    font-family: 'Times New Roman', Times, serif;
    transform: scaleX(0.8);
}

.title {
    color: black;
    text-decoration: none;
}

.title:hover {
    color: #f0f8ff;
    text-shadow: 0 0 15px aliceblue;
}

h2 {
    font-family: digital;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 5px;
    padding: 4px;
}

h3 {
    font-family: helveticabold;
    font-size: 16px;
    border-bottom: white 2px solid;
    margin-top: 0px;
    margin-bottom: 10px;
    padding: 5px;
    max-width: 280px;
    font-weight: 400;
    text-shadow: 0px 0px 1px #ffffff;
    color: white;
    letter-spacing: 2px;
    line-height: 16px;
    text-indent: 18px hanging each-line;
}

h6 {
    font-family: basiic;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 5px;
    border-left: rgb(87, 85, 85) 1px solid;
    font-weight: 400;
    text-shadow: 0px 0px 1px #bbb;
    color: #2a2525;
    letter-spacing: 2px;
    line-height: 16px;
}

a {
    color: #ffb300d5;
    text-shadow: 0px 0px 5px #ff3c1a;
}

.navbox a:visited {
    color: #f0967d;
    text-shadow: 0px 0px 5px #ff3c1a;
}

pre {
    font-family: monospace;
    font-size: 12px;
    color: #575555;
    background-color: #95bcaa80;
    border-radius: 6px;
    padding: 0px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    white-space: pre-wrap;
}

textarea {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #575555;
    background-color: #95bcaa80;
    border-radius: 0px 6px 6px 0px;
    border: none;
    padding: 0px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: pre-wrap;
}

.ul-one {
    list-style: circle inside;
    margin: 0px;
    padding-left: 5px;
    padding-top: 4px;
    border-left: rgb(87, 85, 85) 1px solid;
    text-indent: 18px hanging each-line;

}

.ul-two {
    list-style: circle inside;
    margin: 0px;
    padding-left: 30px;
    text-indent: 18px hanging each-line;
}

.doubleline-indent {
    border-left: 1px double #333;
    padding-left: 18px;
}


.navbutton {
    font-family: virale;
    font-size: 15px;
    background: radial-gradient(#da7b1bea, #cf6418df, #b24d1ec7);
    box-shadow: 0 0 20px 1px #aa3616;
    padding: 10px;
    text-align: center;
    color: white;
    text-decoration: none;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.1s; animation-fill-mode: backwards;
}

.navbutton:hover {
    background-color: rgba(211, 215, 216, 0.825);
}

.togglebutton:hover {
    color: white;
}

.togglebutton {
    font-family: 'virale';
    font-size: 15px;
    background-color: #00000000;
    border: none;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
    color: #ffb300d5;
    text-shadow: 0px 0px 5px #ff3c1a;
    text-decoration: none;
    min-width: fit-content;
    white-space: nowrap;
    line-height: 1.6;
}

::selection {
    background: #da7b1bea;
}


/* -------- BOX/DOT/LINES --------- */
.box {
    background: radial-gradient(#da7b1bea, #cf6418df, #b24d1ec7);
    box-shadow: 0 0 20px 1px #752711;
    padding: 5%;
    position: relative
}

.darkbox {
    background-color: rgb(221 237 240 / 70%);
    border-radius: 6px;
    padding: 5%;
    position: relative
}

.toggle-window {
    z-index: 10;
    background: rgba(0, 0, 0, 0.608);
    box-shadow: 0 0 20px 1px #752711;
    border: #ffb300d5 2px solid;
    position: absolute;
    top: -30px;
    right: 200px;
    width: 150px;
    margin: 0;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.1s; animation-fill-mode: backwards;
}

.posterscroll {
    background-color: #f0f8ff;
    border-radius: 0px 0px 6px 0px;
    border: #575555 1px solid;
    padding: 2px;
    padding-left: 5px;
    margin: 0;
    max-height: 100px;
    max-width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.clickableposter {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickableposter:hover {
    transform: scale(1.02);
    filter: opacity(60%);
}

.poster-text {
    display: none;
}

.poster-text:target {
    display: block;
    position: relative;
}

:target ~ #bloghome,
*:target ~ #bloghome {
    display: none !important;
}


hr {
    color: #575555;
    border-style: dotted;
    border-width: 1px;
}

/* -------- CLOCK --------- */
.clock {
    text-align: center;
    font-family: 'digital';
    font-size: 40px;
    color: #ffb300d5;
    text-shadow: 0px 0px 5px #ff3c1a;
    margin: 10px;
    background: rgba(0, 0, 0, 0.608);
    box-shadow: 0 0 20px 1px #752711;
    border: #ffb300d5 2px solid;
    padding: 10px;
    padding-top: 30px;
    position: absolute;
    top: 18px;
    left: 220px;
    z-index: 2;
    height: 30px;
    width: 150px;
    animation: animate-grow 0.3s ease-in;
    animation-delay: 0.1s; animation-fill-mode: backwards;
}

/* SCROLL */
.blog-container::-webkit-scrollbar {
    width: 5px;
  }

.blog-container::-webkit-scrollbar-track {
    background: none;
  }

.blog-container::-webkit-scrollbar-thumb {
    background-color: #f0f8ff;
    border-radius: 0px;
    border: 1px none #f0f8ff;
  }


/* -------- CRT EFFECT --------- */
.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.crt.crt-off::before {
    content: none;
}

@keyframes flicker {
    0% {
        opacity: 0.27861;
    }

    5% {
        opacity: 0.34769;
    }

    10% {
        opacity: 0.23604;
    }

    15% {
        opacity: 0.10626;
    }

    20% {
        opacity: 0.18128;
    }

    25% {
        opacity: 0.10626;
    }

    30% {
        opacity: 0.18128;
    }

    35% {
        opacity: 0.23604;
    }
}

@keyframes animate-grow {
  0% {
    opacity: 0;
    transform: scale(1, 0);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@keyframes animate-blur {
0% {
    opacity: 0;
    filter: blur(15px);
  }

  100% {
    opacity: 1;
    filter: blur(0px);
  }
}


.crt::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

.crt.crt-off::after {
    animation: none !important;
    display: none !important;
    content: none;
    background: none;
}