@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Open+Sans&display=swap');

/* Grundlegende Stildefinitionen */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #eeeeee;
}

header {
    background-color: black;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 5px;
    color: white;

    text-align: center;
    padding: 10px;
}

#kaenguru {
    height: 18px;
    filter: invert(100%);
    margin-left: -3px;
    margin-right: 5px;
    margin-bottom: -1px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -25px;
}

#blog-section {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

/* Stil für Blog-Beiträge */
.post {
    margin-bottom: 50px;
    max-width: 1000px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    background-color: #ffffff;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    padding-left: 20px;
    padding-top: 15px;
    padding-right: 20px;
    background-color: black;
    border-radius: 20px 20px 0px 0px;
    color: white;
}

.post-date {
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-bottom: 15px;
    margin: 0;
    color: white;
    background-color: black;

}

.post-heading {
    padding-left: 20px;
}

.post-img {
    width: 100%;
}

.post-text {
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
    line-height: 130%;
    text-align: justify;
    hyphens: auto;
    
}

.access-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px;
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.access-section, .blog-section {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 20px;
    border-radius: 20px;
    padding-left: 80px;
    padding-right: 80px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Stil für das Zugangsformular */
.access-section h1 {
    font-size: 24px;
}

.code-input {
    display: flex;
    flex-direction: row; /* Formularelemente vertikal anordnen */
    align-items: center; /* Horizontal zentriert */
    gap: 10px;
    margin-top: 15px;
}

.code-digit {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.access-button {
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #000000;
}

.access-button:hover {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
    .access-section h1 {
        font-size: 20px;
    }
    .access-section {
        height: auto;
        width: 80vw;
        margin: 0;
    }

    .access-section, .blog-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .code-input {
        gap: 5px;
        margin-top: 15px;
    }
    .code-digit {
        width: 40px;
        height: 40px;
        font-size: 20px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    #blog-section {
        padding: 10px;

    }
    .post {
        border-radius: 15px;
    }
    .post-title {
        border-radius: 15px 15px 0px 0px;
    }
    .post-text {
        font-weight: 100;
    }

  }

