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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

#body-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
    width: 60%;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.25rem;
    margin-top: 0.1rem;
    color: #944a25;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: #5e4334;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 600px;
    color: #555555;
}

a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #a2724b;
    text-decoration: underline;
}

pre {
    background: #5c330e;
    color: #ecf0f1;
    width: 50%;
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

iframe {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 1.5rem 0;
    width: 1120px;
    height: 630px;
    max-width: 100%;
}

cite {
    margin-top: 2rem;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #body-wrapper {
        width: 90%;
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    iframe {
        width: 100%;
        height: 315px;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #body-wrapper {
        width: 95%;
        padding: 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    iframe {
        height: 225px;
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
    border-bottom: 1px solid darkslategray;
}

.gallery-item {
    flex: 1 1 500px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
    margin-bottom: 0.5rem;
}

.gallery-desc {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}