html{
    font-family: "Raleway", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-size: 10pt;
    color: grey;
}
body{
    background: #ceffe5;
}

/* LAYOUT */
section.grid {
    height: auto;
    display: grid;
    grid-gap: 6%;
    margin: 0 4%;
}
section#databases {    
    grid-template-columns: repeat(4, 1fr);
}
section#heritage {
    grid-template-columns: repeat(3, 1fr);
}
.card {
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    position: relative;

    /* -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button; */
    background-color: rgb(239, 239, 239);
    /* box-sizing: border-box; */
    border-width: 1px;
    border-style: outset;
    border-color: rgb(133, 133, 133);
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    border-radius: 0.5rem;
}
.card:hover {
    filter: brightness(95%);
    box-shadow: 0 0 0 0.2rem;
}  
.card:active {
    filter: brightness(70%);
}
section#databases img {
    margin: 1rem;
    height: 100px;
}
section#databases p {
    text-align: justify;
}


/* CARDS */
.cardicon {    
    width: 70%;
    height: 150px;
    /* you need to match the shadow color to your background or image border for the desired effect*/
    box-shadow: 0 0 6px 6px rgb(239 239 239) inset;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0.5rem;
    
}
div#official .cardicon {
    background-image: url('css/pernet-trans.png');
    background-size: contain;
}
div#live .cardicon {
    background-image: url('css/cascais1978_toots.JPG');
    background-size: cover;
}
div#meta .cardicon {
    background-image: url('css/manual.png');
    background-size: contain; 
    filter: grayscale(80%);
}

section.grid h3 {
    margin: 0.5rem;
}
section#databases a::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MAKE-UP */
a {
    text-decoration: none;
}
h1{
    display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
    line-height: 20px;
    color: black;
}
h3 {
    color: black;
}
h5 {
    color: black;
}
span.inline, span.descripion {
    font-weight: normal;
    color: grey;
    padding-left: 5px;
}