/* general */

@font-face {
    font-family: "Inkling";
    src: url("/font/Splatoon2.otf") format("opentype");
}

html,
body {
    color: whitesmoke;
    margin: 0;
    padding: 0;
    background-color: #484041;
}

a {
    text-decoration: none;
    color: whitesmoke;
}

a:hover {
    color: #70EE9C;
}


hr {
    color: whitesmoke
}

/* landing page */

#landing {
    display: flex;
    height: 100vh;
}

#landing ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#landing li {
    margin-bottom: 2rem;
    padding: 0;
}

#landing time {
    font-weight: normal;
    font-size: 1.5rem;
    color: #70EE9C;
}

#landing-content {
    max-height: 100vh;
    width: 45vw;
    overflow: auto;
    /* box-shadow: -3px 0px 15px 0px rgba(0, 0, 0, 0.50); */
    padding: 0 0 0 2rem;
}

#landing-content footer {
    color: whitesmoke;
    font-weight: normal;
}

#landing-content footer a {
    text-decoration: underline;
    color: #70EE9C;
}

#posts-container {
    font-size: 2rem;
    font-family: "Inkling", "Ubuntu Mono";
    font-weight: bold;
    margin-top: 2rem;
    padding: 0 10rem 0 0;
}

#landing-canva {
    width: 55%;
}

#landing-canva canvas {
    display: block;
    width: 100%;
}

/* header */

header {
    max-width: 800px;
    margin: 1rem auto 0 auto;
    line-height: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-title {
    display: inline-block;
    color: whitesmoke;
    border: 2px solid whitesmoke;
    padding: 0.6rem;

    font-family: "Inkling", "Ubuntu Mono";
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;

}

#site-title:hover {
    color: #434371;
    background-color: #70EE9C;
    border: 2px solid #70EE9C;
}

.navigation {
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    font-family: "Inkling", "Ubuntu Mono";
    font-size: 1.2rem;
    word-spacing: 0.5rem;
}

.header-group {
    width: fit-content;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
}

.header-icon {
    text-decoration: none;
    color: whitesmoke;
    padding: 0 0.3rem;
}

.bi:hover {
    fill: #70EE9C;
}

.header-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* post page */

#post {
    margin: auto;
    font-family: "Inkling", "Ubuntu Mono";
    max-width: 800px;
    font-size: 1.2rem;
}

#post-title {
    color: whitesmoke;
    margin: 4rem 0 0.5rem 0;
    font-size: 2rem;
    font-weight: bold;
}

#post time {
    color: #70EE9C;
    font-size: 1.3rem;
    font-weight: bold;
}

#post-content {
    text-align: justify;
    text-justify: inter-word;
}

#post-content a {
    color: #70EE9C;
}

#after-post {
    font-family: "Inkling", "Ubuntu Mono";
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    margin: 5rem auto;
}

#reply-by-email {
    text-align: center;
    color: whitesmoke;
    margin-top: 2rem;
}

#reply-by-email a {
    border: 2px solid #70EE9C;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.6rem;
}

#reply-by-email a:hover {
    background-color: #70EE9C;
    color: #29524a;
}


/* footer */

footer {
    font-family: "Inkling", "Ubuntu Mono";
    color: whitesmoke;
    opacity: 0.75;
    font-size: 1rem;
    margin: 0 auto;
    padding: 3rem 0 2rem 0;
    text-align: center;
}

/* others */

img {
    max-width: 100%;
}

.chroma {
    font-family: "Inkling", "Ubuntu Mono";
    font-size: 1rem;
    padding: 1.5rem 1rem;
    border-radius: 3px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

/* media queries */

@media only screen and (max-width: 992px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }

    .header-group {
        padding: 1rem 0 0 0;
    }

    #landing {
        flex-direction: column;
        height: unset;
    }

    #landing header {
        margin-left: 0;
        padding-left: 2rem;
    }

    #landing-canva {
        width: 100%;
        height: 15rem;
    }

    #landing-content {
        max-height: unset;
        width: 100vw;
        overflow: unset;
        /* box-shadow: 0px -3px 15px 0px rgba(0, 0, 0, 0.50); */
        padding: 0;
    }

    #posts-container {
        margin-top: 4rem;
        padding: 0 2rem;
    }

    #post {
        padding: 0 1rem;
    }

    #after-post {
        padding: 0 2rem;
    }
}