body {
    font-family: 'Amatic SC', cursive;
    margin: 0px;
}

.header-image {
    background-position: bottom; 
    background-repeat: no-repeat;
    background-size: cover; 
    height: 600px; 
    display: grid; 
    place-items: center;
    font-family: 'Amatic SC', cursive;
    margin-bottom: 25px;
}

@media only screen and (min-width: 1920px) {

    .header-image {
        background-attachment: fixed; 
        background-position: bottom; 
        background-repeat: no-repeat;
        background-size: cover; 
        height: 600px; 
        display: grid; 
        place-items: center;
    }
    
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top-heading {
    font-size: 48pt;
}

.sub-heading {
    font-size: 24pt;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
}

.categories {
    display: grid;
}

.post {
    text-align: center;
    margin: 15px;
    border-radius: 15px;
    overflow: hidden;
    height: fit-content;
    width: 1fr;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    transition: 0.5s all ease-in-out;
    height: 550px;
}

.category {
    text-align: center;
    margin: 15px;
    border-radius: 15px;
    overflow: hidden;
    height: fit-content;
    width: 1fr;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    transition: 0.5s all ease-in-out;
}


.post:hover {
    transform: translateY(-20px);
}

h1 {
    font-size: 48pt;
}

h2 {
    font-size: 34pt;
}

p {
    font-size: 24pt;
}

.button {
    background-color: #ffcc00;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: x-large;
    text-decoration: none;
}

.details {
    padding: 15px;
}

[data-bg="alles"] {
    background-image: url('media/bg3.png');
    background-position: 0 70%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
[data-bg="alles"]:hover {
    background-position: 0 40%;
}
[data-bg="arten"] {
    background-image: url('media/bg-top.jpg');
    background-position: 0 60%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
[data-bg="arten"]:hover {
    background-position: 0 20%;
}
[data-bg="fragen"] {
    background-image: url('media/gb2.png');
    background-position: 0 70%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
[data-bg="fragen"]:hover {
    background-position: 0 50%;
}
.categories a {
    text-decoration: none;
}

[data-big-img="all"] {
    background-image: url('media/bg3.png');
}
[data-big-img="wiki"] {
    background-image: url('media/bg-top.jpg');
}
[data-big-img="questions"] {
    background-image: url('media/gb2.png');
}

.postimg {
    height: 235px;
    object-fit: cover;
}