/* Stylesheet for trouble shot ! */

:root {
    --blue: #4d4d86;
}

* {
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1025px) {
    html {
        font-size: 20px;
    }
}


body {
    font-family: helvetica, arial, sans-serif;
    font-size: 1rem;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
   -webkit-overflow-scrolling: touch;
}

/* {{{ Header */

header, main {
    background: white;
    margin: 0;
    padding: 0;
    overflow: auto;
}

header {
    display: block;
    text-align: center;
    flex: initial; 
}

header h1 {
    text-transform: uppercase;
    font-size: 2.5em;
    margin-bottom: 0;
    color: var(--blue);
    font-weight: bold;
}

header p {
    margin-top: 0;
    font-style: italic;
    color: #666;
}

header a {
    text-decoration: none;
}

/* }}} */

/* {{{ Main */

main {
    display: block;
    max-width: 45rem;
    min-width: 320px;
    margin: auto;
    flex: 1 1 auto;
    color: #454545;
    padding-top: 1rem;
    padding-bottom: 3rem;
    padding-right: 5px;
    padding-left: 5px;
}

/* {{{ Index Page */
ul.blog-list {
    list-style: none;
    padding: 0;
    line-height: 1.2;
}

ul.blog-list li {
    margin: 1rem 0;
}

ul.blog-list p {
    margin: 0;
}

ul.blog-list p.post-date {
    font-size: .8em;
    font-style: italic;
    color: #666;
    margin-top: 5px;
}
/* }}} */

main .article {
    line-height: 1.2;
}

main .article p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

main .article h1 {
    text-align: center;
    margin-top: 2rem; 
    margin-bottom: 4rem; 
    font-style: italic;
}

main .article img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: auto;
}

main  a {
    position: relative;
    text-decoration: none;
    color: #414141;
    z-index: 100;
}

main  a:after {
    content:"";
    position: absolute;
    left: 0;
    bottom: 0;
    display:block;
    width: 75%;
    height: 50%;
    background: rgb(233, 233, 255);
    z-index: -1;
    transition: width .5s, background .5s;
}

main  a:hover:after {
    content:"";
    position: absolute;
    bottom: 0;
    display:block;
    width: 100%;
    height: 50%;
    background: #a6bec9;
    z-index: -1;
}

/* }}} */


footer {
    background: #505050;
    border-top: solid 2px var(--blue);
    text-align: center;
    font-size: .7rem;
    padding: 1em;
    color: #aeaeae;
}

footer div {
    margin-top: .5em;
    margin-bottom: .5em;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
}

/* vim: set fdm=marker: /*
