/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


  
/* =========================================
   DEADGIRL.EXE — CLEANER LAYOUT
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    background: #050505;
}

body {
    margin: 0;
    padding: 0;

    background:
        radial-gradient(circle at 50% 20%, #181818 0%, #080808 55%, #020202 100%);

    color: #aaa;

    font-family: "Courier New", Courier, monospace;
    font-size: 13px;

    line-height: 1.6;
}


/* =========================================
   MAIN WEBSITE
   ========================================= */

.wrapper {
    width: 960px;
    max-width: calc(100% - 30px);

    margin: 30px auto;

    background: #0b0b0b;

    border: 1px solid #333;

    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(70, 0, 0, 0.15);
}


/* =========================================
   HEADER
   ========================================= */

header {
    padding: 35px 20px 25px;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            #161616,
            #0b0b0b
        );

    border-bottom: 1px solid #333;
}

.header-small {
    margin-bottom: 8px;

    color: #666;

    font-size: 10px;

    letter-spacing: 3px;
}

h1 {
    margin: 0;

    color: #ddd;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 44px;

    font-weight: normal;

    letter-spacing: 6px;

    text-shadow:
        2px 2px 0 #300,
        0 0 10px rgba(120, 0, 0, 0.5);
}

.subtitle {
    margin-top: 4px;

    color: #555;

    font-size: 10px;
}

.warning {
    display: inline-block;

    margin-top: 15px;

    padding: 3px 12px;

    border: 1px solid #4b2222;

    color: #874444;

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================================
   NAVIGATION
   ========================================= */

nav {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 4px;

    padding: 9px 12px;

    background: #111;

    border-bottom: 1px solid #333;
}

nav a {
    padding: 2px 8px;

    color: #777;

    font-size: 11px;

    text-decoration: none;
}

nav a:hover {
    color: #ddd;

    background: #260909;
}


/* =========================================
   MAIN 3-COLUMN AREA
   ========================================= */

.layout {
    display: grid;

    grid-template-columns: 175px minmax(0, 1fr) 175px;

    gap: 18px;

    padding: 20px;
}


/* =========================================
   SIDEBARS
   ========================================= */

.sidebar {
    min-width: 0;
}


/* =========================================
   SIDEBAR BOXES
   ========================================= */

.box {
    margin-bottom: 18px;

    padding: 12px;

    background: #101010;

    border: 1px solid #303030;

    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.box h2 {
    margin: -12px -12px 12px;

    padding: 6px 8px;

    background: #161616;

    border-bottom: 1px solid #303030;

    color: #777;

    font-size: 10px;

    font-weight: normal;

    letter-spacing: 2px;

    text-align: center;
}


/* =========================================
   AVATAR
   ========================================= */

.avatar {
    width: 90px;
    height: 90px;

    margin: 10px auto 15px;

    display: flex;

    justify-content: center;
    align-items: center;

    background:
        repeating-linear-gradient(
            0deg,
            #151515 0px,
            #151515 2px,
            #101010 2px,
            #101010 4px
        );

    border: 1px solid #444;

    color: #555;

    font-family: Georgia, serif;

    font-size: 40px;
}


/* =========================================
   MAIN BLOG POSTS
   ========================================= */

.post {
    margin-bottom: 18px;

    padding: 18px 20px;

    background: #0e0e0e;

    border: 1px solid #303030;
}

.post-date {
    padding-bottom: 6px;

    border-bottom: 1px dotted #333;

    color: #555;

    font-size: 10px;
}

.post h2 {
    margin: 14px 0 14px;

    color: #bbb;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    font-weight: normal;

    line-height: 1.3;
}

.post p {
    margin: 12px 0;
}

.post-footer {
    margin-top: 18px;

    padding-top: 7px;

    border-top: 1px dotted #333;

    color: #444;

    font-size: 9px;
}


/* =========================================
   LINKS
   ========================================= */

a {
    color: #888;

    text-decoration: underline;

    transition: color 0.15s, background 0.15s;
}

a:hover {
    color: #ddd;

    background: #350b0b;

    text-decoration: none;
}

.creepy-link {
    color: #9a3b3b;

    font-size: 14px;
}


/* =========================================
   TEXT
   ========================================= */

p {
    line-height: 1.65;
}

.tiny {
    color: #666;

    font-size: 10px;

    line-height: 1.5;
}

.center {
    text-align: center;
}

.red {
    color: #963737;
}

.green {
    color: #557755;
}


/* =========================================
   ASCII ART
   ========================================= */

.ascii {
    margin: 20px 0;

    padding: 12px;

    background: #080808;

    border: 1px dotted #333;

    color: #666;

    font-size: 10px;

    line-height: 1.3;

    text-align: center;
}


/* =========================================
   MUSIC PLAYER
   ========================================= */

.music-player {
    width: 100%;

    padding: 5px 7px;

    overflow: hidden;

    white-space: nowrap;

    background: #050505;

    border: 1px solid #292929;

    color: #555;

    font-size: 9px;
}


/* =========================================
   BUTTONS
   ========================================= */

.buttons {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 4px;
}

.buttons a {
    padding: 2px 5px;

    background: #080808;

    border: 1px solid #333;

    color: #666;

    font-size: 8px;

    text-decoration: none;
}

.buttons a:hover {
    background: #181818;

    border-color: #666;

    color: #ddd;
}


/* =========================================
   MOOD
   ========================================= */

.mood {
    color: #666;

    font-size: 11px;

    text-align: center;
}

.mood .blink {
    color: #743333;
}


/* =========================================
   VISITOR COUNTER
   ========================================= */

.counter {
    width: 100px;

    margin: 10px auto;

    padding: 4px;

    background: #000;

    border: 1px solid #333;

    color: #777;

    font-size: 14px;

    letter-spacing: 3px;

    text-align: center;
}


/* =========================================
   LISTS
   ========================================= */

.strange-box ul {
    margin: 0;

    padding-left: 20px;
}

.strange-box li {
    margin-bottom: 7px;
}

.strange-box li::marker {
    color: #555;
}


/* =========================================
   BLINKING TEXT
   ========================================= */

.blink {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0.2;
    }
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 18px;

    background: #090909;

    border-top: 1px solid #333;

    color: #444;

    font-size: 9px;

    text-align: center;
}

footer p {
    margin: 5px;
}

footer a {
    color: #555;
}

.footer-symbol {
    margin-top: 10px;

    color: #333;

    letter-spacing: 5px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {

    .layout {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .layout > .sidebar:last-child {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 12px;
    }

    .layout > .sidebar:last-child .box {
        margin-bottom: 0;
    }
}


/* =========================================
   PHONE
   ========================================= */

@media (max-width: 600px) {

    .wrapper {
        max-width: calc(100% - 16px);

        margin: 8px auto;
    }

    h1 {
        font-size: 31px;

        letter-spacing: 4px;
    }

    .layout {
        display: block;

        padding: 10px;
    }

    .sidebar {
        margin-bottom: 10px;
    }

    .layout > .sidebar:last-child {
        display: block;
    }

    .layout > .sidebar:last-child .box {
        margin-bottom: 12px;
    }

    .sidebar:first-child {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .sidebar:first-child .box {
        margin-bottom: 0;
    }

    .post {
        padding: 14px;
    }

    nav {
        padding: 8px 5px;
    }

    nav a {
        margin: 2px;
    }
}


@media (max-width: 420px) {

    .sidebar:first-child {
        display: block;
    }

    .sidebar:first-child .box {
        margin-bottom: 12px;
    }

}
