/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'EB Garamond', serif;
    line-height: 1.2;
    color: #363636;
    font-size: 20px;
}

/* Container for the entire page */
.container {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
}

/* Content column with fixed width */
.content {
    width: 700px;
    padding: 40px 20px;
}

/* Text content styling */
.text-content {
    margin: 30px 0;
}

h1 {
    font-family: 'EB Garamond', serif;
    font-size: 52px;
    color: rgba(0, 0, 0, 0.5); /* 50% black */
    margin-bottom: 30px;
    font-weight: 800;
    text-align: center;
}

p {
    margin-bottom: 20px;
    font-size: 20px;
    color: #363636;
    line-height: 1.2;
    text-align: justify;
}

/* Navigation buttons */
.navigation {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin: 20px 0;
}

.top {
    margin-bottom: 40px;
}

.bottom {
    margin-top: 40px;
}

.btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.sign {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.8); /* 50% black */
    margin-bottom: 20px;
    font-weight: normal;
    text-align: right;
}

.btn:hover {
    background-color: #e0e0e0;
}

/* Image and caption styling */
.image-container {
    margin: 30px 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-family: 'EB Garamond', serif;
    font-size: 14px;
    font-style: italic;
    color: #363636;
    text-align: center;
    margin-top: 10px;
    line-height: 1.0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 42px;
    }
    
    body {
        font-size: 18px;
    }
}
