/* ==================================================
   MISO'S CORNER
   SIMPLE OLD-WEB LAYOUT
   ================================================== */


/* ==================================================
   BASIC
   ================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    color: #222;


    /* =================================================
       ⭐ YOUR BACKGROUND IMAGE ⭐

       Put your background in:

       images/background.jpg

       If it is PNG, change .jpg to .png
       ================================================= */

    background-image:
        url("https://files.catbox.moe/7wpob1.jpeg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    background-repeat: no-repeat;

    background-color: #d8d8d8;

}


/* ==================================================
   WEBSITE WIDTH
   ================================================== */

.site {

    width: 900px;

    max-width: 95%;

    margin: 30px auto;

}


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

header {

    min-height: 190px;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

    background:
        rgba(245, 245, 235, 0.95);

    border: 3px solid #222;

    box-shadow:
        4px 4px 0 rgba(0,0,0,0.3);

}


/* ==================================================
   LOGO
   ================================================== */

.logo {

    max-width: 750px;

    max-height: 450px;

    width: 450px;

    height: 450px;

    display: block;

}


/* ==================================================
   MAIN TWO-COLUMN AREA
   ================================================== */

.layout {

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 15px;

    margin-top: 15px;

    align-items: start;

}


/* ==================================================
   LEFT SIDEBAR
   ================================================== */

.sidebar {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


/* ==================================================
   MENU
   ================================================== */

.menu {

    background:
        rgba(240,240,235,0.96);

    border: 3px solid #222;

    padding: 12px;

}


.menu h2 {

    margin:

        0
        0
        10px
        0;

    padding-bottom: 5px;

    font-size: 16px;

    border-bottom:
        1px dotted #555;

}


.menu a {

    display: block;

    padding:
        6px
        3px;

    color: #222;

    text-decoration: none;

    font-size: 14px;

}


.menu a:hover {

    background: #d8d8d8;

    text-decoration: underline;

}


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

.sidebar-box {

    background:
        rgba(240,240,235,0.96);

    border: 3px solid #222;

    padding: 10px;

}


.sidebar-box h2 {

    margin:

        0
        0
        10px
        0;

    padding-bottom: 5px;

    font-size: 15px;

    border-bottom:
        1px dotted #555;

}


.sidebar-box p {

    line-height: 1.4;

}


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

/*
   Your Free Hit Counters code will go inside
   the sidebar-box in index.html.

   Don't change anything here unless the counter
   needs special styling.
*/


.sidebar-box iframe {

    max-width: 100%;

}


/* ==================================================
   SITE BUTTON
   ================================================== */

.site-button {

    max-width: 100%;

    height: auto;

    display: block;

    margin: auto;

}


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

main {

    background:
        rgba(240,240,235,0.96);

    border: 3px solid #222;

    padding: 18px;

    min-width: 0;

}


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

.welcome {

    padding-bottom: 15px;

    border-bottom:
        2px dotted #555;

}


.welcome h1 {

    margin-top: 0;

    font-size: 26px;

    text-decoration: underline;

}


.welcome-content {

    display: flex;

    align-items: flex-start;

    gap: 20px;

}


.welcome-text {

    flex: 1;

}


.welcome-text p {

    line-height: 1.5;

}


.home-image {

    width: 230px;

    max-height: 240px;

    object-fit: contain;

}


/* ==================================================
   CONTENT SECTIONS
   ================================================== */

.content {

    margin-top: 20px;

    padding-bottom: 18px;

    border-bottom:
        2px dotted #555;

}


.content h2 {

    font-size: 20px;

    margin-top: 0;

    text-decoration: underline;

}


.content p {

    line-height: 1.5;

}


/* ==================================================
   ARTWORK
   ================================================== */

.art-row {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.art-row img {

    width: 150px;

    height: 150px;

    object-fit: cover;

    border: 2px solid #222;

}


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

a {

    color: #222;

}


a:hover {

    color: #555;

}


/* ==================================================
   RANDOM
   ================================================== */

.random {

    text-align: center;

}


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

footer {

    margin-top: 15px;

    padding: 15px;

    text-align: center;

    background:
        rgba(240,240,235,0.96);

    border: 3px solid #222;

    box-shadow:
        4px 4px 0 rgba(0,0,0,0.3);

    font-size: 12px;

}


footer p {

    margin: 8px;

}


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

@media (max-width: 700px) {


    .site {

        width: 95%;

    }


    .layout {

        grid-template-columns: 1fr;

    }


    .welcome-content {

        flex-direction: column;

    }


    .home-image {

        width: 100%;

        max-width: 300px;

        margin: auto;

    }


    .logo {

        max-width: 100%;

    }

}