* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F4F2EF;
    font-family: "Kreon", serif;
    padding-bottom: 40px;
}

header {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

#name {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    font-size: 58px;
    margin-left: 95px;
    margin-top: 15px;
    display: block;
    color: #3b342d;
}

#links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    margin-top: 27px;
    font-optical-sizing: auto;
    font-size: 27px;
    font-style: normal;
    background-color: #E8D9CD;
    padding: 7.5px;
    border-radius: 60px;
    font-family: "Delius", cursive;
    font-weight: 600;
    font-style: normal;
}

.link {
    padding: 10px 40px;
    cursor: pointer;
    transition: background-color 0.3s, border-radius 0.3s;
    border-radius: 60px;
}

.link:hover {
    background-color: rgba(244, 242, 239, 0.7);
    border-radius: 60px;
}

/* Loading and Load More */
.loading-container {
    text-align: center;
    padding: 40px;
    margin: 20px 0;
}

.loading-spinner {
    border: 4px solid #E8D9CD;
    border-top: 4px solid #3b342d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.load-more-btn {
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.load-more-btn:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background-color: #8b7355;
    cursor: not-allowed;
    transform: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #5a4c3e;
    transform: translateY(-5px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #8b7355;
}

.no-results h3 {
    color: #3b342d;
    margin-bottom: 10px;
    font-size: 24px;
}

/* Footer */
#footer {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    color: #3b342d;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeIn 0.5s ease-in-out;
}

/* Lazy loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Intro Section */
.intro-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid rgba(232, 217, 205, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.intro-section p {
    color: #3b342d;
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
}