@font-face {
    font-family: CorbelLight;
    src: url(../fonts/corbel-light.ttf);
  }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

h1, p, ul, li, a {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../medias/images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 35%;
    background-attachment: fixed;
    font-family: CorbelLight;
    color: white;
    zoom: 1.1;
}

#page {
    width: 55%;
    height: 100%;
    margin: 0 auto 0 auto;
}

/* Header */
header {
    width: 100%;
    padding-top: 10%;
    margin-bottom: 5%;
    opacity: 1;
}

header h1 {
    font-size: 50pt;
    line-height: 0.85 ;
    margin-left: -3px;
}

header h1 span {
    font-weight: normal;
    font-size: 30pt;
    margin-left: 1px;
}

header p {
    font-size: 14pt;
}

header ul {
    margin-top: 7%;
    padding-bottom: 2px ;
    list-style-type: none;
    width: 100%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

header ul li {
    display: inline-block;
    margin-right: 4%;
}

header ul li a {
    text-decoration: none;
    color: white;
    padding: 5px;
    font-size: 15pt;
    transition: background-color 0.2s;
}

header ul li a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

header ul li .selected {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Content */
h2 {
    font-weight: normal;
    margin-top: 50px;
}

h3 {
    margin-bottom: 0;
    font-size: 20pt;
}

a {
    color: rgb(221, 185, 161);
}

/* Posts */

.post {
    width: 100%;
    margin-bottom: 120px;
}

.post .info {
    color: #f1e4bb;
}

.post .content {
    margin-top: 20px;
}

.post .content img {
    width: 250px;
    float: left;
    margin-right: 30px;
}

.post .content p {
    padding: 13px;
    font-size: 14pt;
    box-sizing: border-box;
}

.post .content a {
    color: white;
}

.post .content h4{
    margin-bottom: 0;
    padding-bottom: 0;
}

.post .content .audio-block {
    display: inline-block;
}

#content #left {
    width: 54%;
    display: inline-block;
    padding-right: 30px;
    box-sizing: border-box;
}

#content #right {
    width: 45%;
    display: inline-block;
    vertical-align: top;
}

hr {
    width: 100%;
    opacity: 0;
}

/* Footer */
footer {
    height: 200px;
}



/* NEW CODE */
#cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: calc(100%/4);
    padding: 15px;
    box-sizing: border-box;
}

.card a {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: block;
    padding: 15px;
    box-sizing: border-box;
    color: #2f2b1f;
    text-decoration: none;
    text-align: center;
    
}

.card a img {
    width: 100%;
    border-radius: 30px;
    opacity: 0.8;
}

.indented {
    margin-left: 30px;
}

.donate {
    width: 200px;
    display: block;
}
.donate img{
    width: 100%;
}



/* MOBILE */
@media only screen and (max-width: 600px) {
    body {
        background-position: center;
    }
    header ul li {
        display: block;
        margin: 10px 0 10px 0;
        text-align: right;
    }
    #page {
        width: 80%;
    }
    .post .content img {
        width: 100%;
        margin-bottom: 30px;
    }

    .post .content p {
        margin: 0 0 20px 0;
        padding: 0;
        display: block;
    }
    audio {
        max-width: 100%;
    }
    .donate {
        width: 200px;
    }
}


@media only screen and (max-width: 1500px) {
    .card {
        width: calc(100%/3);
    }
  }
  @media only screen and (max-width: 1100px) {
    .card {
        width: calc(100%/2);
    }
  }
