/* =========================================
   CVNERVI — 2000s ANIME GIRL / BLOG
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;

    color: #222;

    background-color: #d9d9d9;

    background-image:
        radial-gradient(#ffffff 1px, transparent 1px);

    background-size: 8px 8px;
}


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

.site {
    width: 900px;
    max-width: 95%;

    margin: 35px auto;

    background: #f7f7f7;

    border: 1px solid #111;

    box-shadow:
        6px 6px 0 #777,
        12px 12px 0 rgba(0, 0, 0, 0.12);
}


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

header {
    position: relative;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 40px 20px;

    color: white;

    overflow: hidden;

    border-bottom: 1px solid #111;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.38)
        ),
        url("header.jpg");

    background-size: cover;

    background-position: center;
}


/* subtle old-photo effect */

header::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.035) 1px,
            transparent 1px,
            transparent 3px
        );

    pointer-events: none;
}


/* title */

header h1 {
    position: relative;

    margin: 0 0 12px;

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

    font-size: 43px;

    font-style: italic;

    font-weight: normal;

    letter-spacing: 1px;

    color: white;

    text-shadow:
        2px 2px 0 #000,
        4px 4px 0 rgba(0,0,0,0.4);
}

header p {
    position: relative;

    margin: 0;

    padding: 5px 10px;

    background: rgba(0,0,0,0.55);

    border: 1px solid rgba(255,255,255,0.7);

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.sparkles {
    position: relative;

    color: white;

    font-size: 18px;

    letter-spacing: 7px;

    text-shadow:
        0 0 4px white,
        0 0 8px #d8a9c4;

    opacity: 0.9;
}


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

.navigation {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    background: #111;

    border-bottom: 1px solid #000;

    padding: 0;
}

.navigation a {
    display: block;

    padding: 11px 17px;

    color: #fff;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;

    border-right: 1px solid #555;

    transition: 0.15s;
}

.navigation a:first-child {
    border-left: 1px solid #555;
}

.navigation a:hover {
    color: #111;

    background: #e7c9d8;

    text-decoration: none;
}


/* =========================================
   THREE COLUMNS
========================================= */

.layout {
    display: grid;

    grid-template-columns: 175px 1fr 175px;

    gap: 10px;

    padding: 10px;

    background: #ededed;
}


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

.sidebar {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


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

.box {
    background: #fff;

    border: 1px solid #222;

    box-shadow: 3px 3px 0 #aaa;

    padding: 10px;

    line-height: 1.55;
}

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

    padding: 6px 7px;

    background: #111;

    color: white;

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

    font-size: 13px;

    font-weight: normal;

    font-style: italic;

    letter-spacing: 1px;

    border-bottom: 3px solid #d8a9c4;
}

.box p {
    margin: 7px 0;
}

.box a {
    display: block;

    margin: 5px 0;

    color: #333;

    font-weight: bold;

    text-decoration: underline;
}

.box a:hover {
    color: #a85d7c;

    background: #f1dce6;
}


/* =========================================
   MAIN CONTENT
========================================= */

main {
    min-width: 0;

    padding: 18px;

    background: #fff;

    border: 1px solid #222;

    box-shadow: 3px 3px 0 #aaa;
}


/* =========================================
   WELCOME TITLE
========================================= */

.title {
    padding: 9px;

    margin-bottom: 18px;

    text-align: center;

    background: #111;

    color: white;

    border-bottom: 4px solid #d8a9c4;

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

    font-size: 22px;

    font-style: italic;

    letter-spacing: 1px;

    text-shadow: 1px 1px #000;
}

.title span {
    color: #d8a9c4;
}


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

.welcome p {
    font-size: 12px;

    line-height: 1.7;
}

main h2 {
    margin-top: 10px;

    color: #222;

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

    font-size: 18px;

    font-style: italic;

    font-weight: normal;

    text-align: left;
}


/* =========================================
   DIVIDERS
========================================= */

.divider {
    margin: 20px 0;

    text-align: center;

    color: #999;

    font-size: 12px;

    letter-spacing: 7px;
}


/* =========================================
   BLOG POST
========================================= */

.post {
    padding: 12px;

    background: #f4f4f4;

    border: 1px dashed #777;

    box-shadow: inset 0 0 0 3px #fff;
}

.post h3 {
    margin: 0 0 8px;

    padding-bottom: 5px;

    color: #222;

    border-bottom: 1px dotted #999;

    font-family: Georgia, serif;

    font-size: 13px;

    font-style: italic;
}


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

.buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;
}

button {
    padding: 6px 10px;

    background: #111;

    color: white;

    border: 2px outset #777;

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: bold;

    cursor: pointer;
}

button:hover {
    color: #111;

    background: #e7c9d8;

    border-style: inset;
}


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

.mood {
    padding: 7px;

    text-align: center;

    background: #eee;

    border: 1px inset #aaa;

    color: #333;

    font-family: Georgia, serif;

    font-style: italic;
}


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

.counter {
    padding: 6px;

    background: #111;

    border: 2px inset #777;

    color: #e7c9d8;

    font-family: "Courier New", monospace;

    text-align: center;

    letter-spacing: 3px;
}


/* =========================================
   BLINKIE
========================================= */

.blinkie {
    padding: 7px 4px;

    text-align: center;

    background: #111;

    color: white;

    border: 1px solid #555;

    font-family: "Courier New", monospace;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 0.5px;

    box-shadow: 3px 3px 0 #aaa;
}

.blinkie::first-letter {
    color: #e7c9d8;
}


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

.music-player {
    padding: 5px;

    background: #ddd;

    border: 2px outset #888;

    box-shadow: 3px 3px 0 #aaa;

    text-align: center;
}

.player-title {
    padding: 5px;

    background: #111;

    color: white;

    font-family: Arial, sans-serif;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 1px;
}

.player-screen {
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 5px;

    background: #181818;

    border: 2px inset #777;

    color: #e7c9d8;

    font-size: 24px;

    text-shadow:
        0 0 4px #e7c9d8;
}

.song-title {
    margin: 6px 0;

    font-size: 9px;

    font-family: "Courier New", monospace;
}

.progress {
    height: 6px;

    background: #999;

    border: 1px inset #777;
}

.progress-bar {
    width: 45%;

    height: 100%;

    background: #222;
}

.player-buttons {
    display: flex;

    justify-content: center;

    gap: 3px;

    margin-top: 6px;
}

.player-buttons button {
    padding: 3px 5px;

    font-size: 8px;
}


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

footer {
    padding: 16px;

    background: #111;

    color: white;

    border-top: 4px solid #d8a9c4;

    text-align: center;

    font-size: 10px;

    letter-spacing: 1px;
}

footer p {
    margin: 5px;
}


/* =========================================
   LITTLE OLD-WEB DETAILS
========================================= */

::selection {
    background: #222;

    color: #e7c9d8;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .site {
        width: 95%;

        margin: 10px auto;
    }

    header {
        min-height: 250px;
    }

    header h1 {
        font-size: 30px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .navigation a {
        padding: 9px 10px;
    }

}

header {
    background-color: black !important;
}

.navigation {
    background-color: white !important;
}

.navigation a {
    color: black !important;
}

main {
    background-color: white !important;
}

.box {
    background-color: #eeeeee !important;
}

footer {
    background-color: black !important;
}

/* ===== 2000s BLOG DETAILS ===== */

.site {
    border: 2px solid #111 !important;
    box-shadow: 8px 8px 0 #888 !important;
}

.navigation {
    border-top: 1px solid #555;
    border-bottom: 2px solid #111;
}

.navigation a {
    border-right: 1px solid #777;
}

.box {
    border: 1px solid #222 !important;
    box-shadow: 3px 3px 0 #999 !important;
}

.box h2 {
    background: #111 !important;
    color: #fff !important;
    border-bottom: 2px solid #ccc;
}

.title {
    background: #111 !important;
    color: white !important;
    border-bottom: 3px solid #ccc;
}

.post {
    background: #f5f5f5;
    border: 1px dashed #777;
}

footer {
    border-top: 2px solid #777;
}

/* PROFILE */

.profile-box {
    text-align: center;
}

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

    margin: 10px auto;

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

    background: #111;

    border: 3px double #777;

    color: #fff;

    font-family: Georgia, serif;

    font-size: 30px;

    box-shadow:
        3px 3px 0 #aaa;
}

.profile-name {
    margin: 5px 0;

    font-family: Georgia, serif;

    font-size: 18px;

    font-style: italic;

    font-weight: bold;
}

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

    margin: 10px auto;

    overflow: hidden;

    background: #111;

    border: 3px double #777;

    box-shadow: 3px 3px 0 #aaa;
}

.avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}