body {
    margin: 0;
    padding: 0;
    background-color: #fffbf4; /* Background color */
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fffbf4; /* Background color */
    padding: 20px;
    position: relative;
}

h1 {
    color: #fdd656;
    text-align: center;
    font-family: 'Racing Sans One';
    font-size: 6em;
    font-weight: 100;
    margin-bottom: 25px;
}


h2 {
    font-size: 2em;
    margin-bottom: -70px;
}
  

h4 {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.7em;
    text-align: center;
    margin-bottom: -100px;
}

/* Grid Styles */
.writing-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.writing-item {
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.writing-item img {
    width: 100%;
    height: auto;
    display: block;
}

.back-button {
    position: absolute;
    top: 60px;
    left: 30px; /* Moved to the left corner */
    display: block;
    text-decoration: none;
    color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 900;
    transition: color 0.3s ease;
}

.back-button:hover {
    cursor: pointer;
    color: #fdd656; /* Text color on hover */
}

.footer {
    width: 100%;
    height: auto;
    background-color: #fffbf4;
    margin-top: 20px;
    position: relative;
}

/* Zoom-Effekt bei Hover */
.writing-item img {
    transition: transform 0.3s ease;
}

.writing-item img:hover {
    transform: scale(1.05); /* Leichte Vergrößerung */
}

/* Footer Section */
footer {
    padding: 60px 20px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: #fffbf4;
}

.footer-separator {
    width: 100%;
    max-width: 1200px;
    height: 2px;
    background-color: black;
    margin: 0 auto;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap; /* Ensure the footer content wraps on smaller screens */
    justify-content: space-between;
    align-items: center; /* Center items vertically */
}

footer .left-footer,
footer .right-footer {
    width: 100%;
    max-width: 45%;
    margin: 10px 0; /* Add margin for spacing */
    text-align: center; /* Center text */
}

footer .footer-content h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    font-style: italic;
}

footer .footer-content p {
    margin: 20px 0; /* Increased margin */
    font-size: 1.2em; /* Increased font size */
    font-style: italic;
}

footer .footer-content a {
    color: rgb(16, 9, 9);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer .footer-content a:hover {
    color: #fdd656;
}

footer .contact-icons {
    margin-top: 10px;
    text-align: center; /* Center icons */
}

footer .contact-icons a {
    margin-right: 10px;
}

footer .contact-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

footer .contact-icons img:hover {
    transform: scale(1.3);
}



footer .footer-links a {
    margin: 0 10px;
    font-size: 0.8em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .writing-item {
        flex: 1 1 100%;
    }

    footer {
        padding: 40px 20px;
    }

    footer .left-footer,
    footer .right-footer {
        max-width: 100%;
    }
}