/* general */

html,
body {
    color: whitesmoke;
    margin: 0;
    padding: 0;
    background-color: #737FFF;
    font-family: "Helvetica", monospace;
}

a {
    color: #e9b371;
}

hr {
    color: whitesmoke;
}

/* landing page */

#landing {
    display: flex;
    height: 100vh;
}

.landing-left {
    background-image: url("../images/wallpaper.jpg");
    background-color: #737FFF;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left; 
    background-size: 650px 800px;
    width: 70%;
}

#landing a {
    text-decoration: none;
    color: #e9b371; 
}

#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: #e9b371;
}

#landing-content {
    max-height: 100vh;
    overflow: auto;
    padding: 0 0 0 2rem;
}

#landing-content footer {
    color: whitesmoke;
    font-weight: normal;
}

#landing-content footer a {
    text-decoration: underline;
    color: #e9b371;
}

#posts-container {
    font-size: 2rem;
    font-family: "Helvetica", monospace;
    font-weight: bold;
    margin-top: 3rem;
    padding: 0 10rem 0 0;
}

#posts-container a:hover {
    text-decoration: underline;
}

#landing-canva {
    width: 55%;
}

#landing-canva canvas {
    display: block;
    width: 100%;
}

/* header */

header {
    max-width: 850px;
    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;
    text-transform: uppercase;
    font-family: "Helvetica", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    width: 350px;
}

#site-title:hover {
    color: #29524a;
    background-color: whitesmoke;
}

.header-group {
    width: 150px;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
}

.header-icon {
    text-decoration: none;
    color: whitesmoke;
    padding: 0 0.3rem;
}

.header-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* post page */

#post {
    margin: auto;
    font-family: "Helvetica", sans-serif;
    max-width: 800px;
    font-size: 1.2rem;
    background-color: #736EFF;
}

#post-title {
    color: whitesmoke;
    margin: 4rem 0.5rem 0.5rem 0.6rem;
    font-size: 2rem;
    font-weight: bold;
    padding-top:6px;
}

#post time {
    color: #e9b371;
    font-size: 1.3rem;
    font-weight: bold;
}

#post-content {
  padding: 0px 16px 16px 16px;
  p {
    text-align: justify;
    text-justify: inter-word;
  }
}

#after-post {
    font-family: "Helvetica", sans-serif;
    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 #e9b371;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.6rem;
}

#reply-by-email a:hover {
    background-color: #e9b371;
    color: #29524a;
}


/* footer */

footer {
    font-family: "Helvetica", monospace;
    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: "Helvetica", monospace;
    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;
    }
    
    footer {
      height: 0px;
    }

    .header-group {
        padding: 1rem 0 0 0;
    }


    #landing header {
        margin-left: 0;
        padding-left: 2rem;
    }

    #landing-content {
        max-height: unset;
        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;
    }
}