@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Merriweather&display=swap");

@media only screen and (max-width: 600px) {
    /* Global */

    body {
        border-top:2px solid black;
    }

    #head {
        width:80%;
        margin: 0 auto;
        text-align:center;
    }

    #head img {
        width:100%;
    }

    #menubar {
        width:100%;
        text-align: center;
        border: 2px auto 2px auto;
        margin: auto auto 1ex auto;
        padding: .5ex .5ex;
        border-top: solid black;
        border-bottom: solid black;

    }
    
    #menubar a {
        display:block;
        color:#022e5b;
        text-decoration: none;

    }

    /* list */
    .list .titleimage {
        width:100%;
    }

    .list .titleimage img {
        width:100%;
    }

    .list .column {
        border: 0;
    }

    .list div.title {
        width:100%;
    }

    .list .title h2 {
        font-size:1.6em;
        margin-top:0;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#002e5c;

    }
    .list .title h2 a {
        color:white;
        text-decoration: none;        
    }

    .list .title h3 {
        width:90%;
        font-size:1.2em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#004284;
    }

    .list .title h3 a {
        color:white;
        text-decoration: none;        
    }

    .list .summary {
        width:80%;
        margin:0 auto;
    }

    .list .meta {
        width:90%;
        margin:0 auto;
        text-align:right;
    }

    /* detail */
    .detail {
        min-height: 900px;
    }

    .detail .titleimage {
        width:100%;
    }

    .detail .titleimage img {
        width:100%;
    }

    .detail div.title {
        width:100%;
    }

    .detail .title h2 {
        font-size:1.6em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#002e5c;

    }
    .detail .title h2 a {
        color:white;
        text-decoration: none;        
    }

    .detail .title h3 {
        width:90%;
        font-size:1.2em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#004284;
    }

    .detail .title h3 a {
        color:white;
        text-decoration: none;        
    }

    .detail .content {
        width:90%;
        margin:0 auto;
        font-family: open sans,sans-serif;
        
    }

    .detail .meta {
        width:95%;
        margin:0 auto;
        text-align:right;
    }

    #footer {
        background-color:#002e5c;
        color:white;
        text-align:center;
    }
}

@media screen and (min-width:601px) {
    /* Global */

    body {
        border-top:2px solid black;
    }

    #head {
        width:80%;
        margin: 0 auto;
        text-align:center;
    }

    #head img {
        width:65%;
    }

    #menubar {
        width:100%;
        display:flex;
        justify-content: space-evenly;
        text-align: center;
        border: 2px auto 2px auto;
        margin: auto auto 1ex auto;
        padding: .5ex .5ex;
        border-top: solid black;
        border-bottom: solid black;

    }
    
    #menubar a {
        display:block;
        color:#022e5b;
        text-decoration: none;

    }

    .list #columns {
        display:flex;
    }

    .list #columns #column_first.column {
        flex: 3;
        border-left: none;
    }

    .list #columns .column  {
        flex: 1;
        border-left: 1px solid black;
        padding: .5em 1em 1em 1em;
    }

    /* list */
    .list .titleimage {
        width:100%;
    }

    .list .titleimage img {
        width:100%;
    }

    .list .column {
        border: 0;
    }

    .list div.title {
        width:100%;
    }

    .list .title h2 {
        font-size:1.6em;
        margin-top:0;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#002e5c;

    }
    .list .title h2 a {
        color:white;
        text-decoration: none;        
    }

    .list .title h3 {
        width:90%;
        font-size:1.2em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#004284;
    }

    .list .title h3 a {
        color:white;
        text-decoration: none;        
    }

    .list .summary {
        width:80%;
        margin:0 auto;
    }

    .list .meta {
        width:90%;
        margin:0 auto;
        text-align:right;
    }

    /* detail */
    .detail {
        min-height: 900px;
    }

    .detail .titleimage {
        width:100%;
    }

    .detail .titleimage img {
        width:100%;
    }

    .detail div.title {
        width:100%;
    }

    .detail .title h2 {
        font-size:1.6em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#002e5c;

    }
    .detail .title h2 a {
        color:white;
        text-decoration: none;        
    }

    .detail .title h3 {
        width:90%;
        font-size:1.2em;
        margin:0 auto 0 auto;
        border-radius:.1em;
        font-family: 'Merriweather', serif;
        text-align: center;
        color:white;
        background-color:#004284;
    }

    .detail .title h3 a {
        color:white;
        text-decoration: none;        
    }

    .detail .content {
        width:90%;
        margin:0 auto;
        font-family: open sans,sans-serif;        
        
    }


    .detail .meta {
        width:95%;
        margin:0 auto;
        text-align:right;
    }

    #footer {
        background-color:#002e5c;
        color:white;
        text-align:center;
    }
}
