body {
    background-color: #eee;
}

header {
    text-align: center;
}

header .logo svg {
    width: 300px;
    height: auto;
}

header h1 {
    font-size: 250%;
    text-align: center;
}

article {
    max-width: 80em;
    margin: 0 auto;
    padding: 1em;
    clear: both;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 30px;
    /* background-color: #eee; */
    /* border-radius: 10px; */
    /* box-shadow: 0 0 20px 20px #eee; */
}

article a.contentlink {
    border: 1px solid #666;
    background-color: #ddd;
    text-align: center;
    border-radius: 1em;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    text-decoration: none;
}

article  a.contentlink:hover {
    background-color: #fafafa;
    box-shadow: 4px 4px 25px rgba(0,0,0,0.5);
}

article  a.contentlink h1 {
    margin: 0;
    padding: 0.2em 1em;
    background-color: #444;
    color: white;
    font-size: 150%;
    border-radius: 0.67em 0.67em 0 0;
}

 a.contentlink div {
    margin: 1em;
}

 a.contentlink img {
    height: 130px;
    width: auto;
}

/*******************************************
 * Mobile devices 
 *******************************************/
/* #### Mobile Phones Portrait #### */
@media screen and (max-device-width:480px) and (orientation:portrait){
}

/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width:640px) and (orientation:landscape){
}

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-width:1024px){
    article {
        max-width: none;
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width:640px){
    article {
        max-width: none;
        grid-template-columns: auto;
    }
}
