body {
    background-image: url('фон.jpg'); 
    background-repeat: no-repeat;           
    background-size: cover;                
    background-position: center top;        
    background-attachment: fixed; 
    font-family: 'Georgia', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
	font-size: 20px;
}

h1, h2, h3 {
    color: #3e4f3c; 
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background: #fdfaf0;
    border: 10px solid #3d362d; 
    outline: 2px solid #6b8e23; 
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    display: block;
}

.ornament {
    height: 30px;
    background-color: #4b5320;
    background-repeat: repeat-x;
    opacity: 0.8;
}

a {
    color: #556b2f;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:hover {
    color: #8b4513;
    text-decoration: underline;
}

.post-text {
    text-align: center;
    color: #2b2b2b;
}

.nav-link {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    background-color: #556b2f;
    color: #C5B9A5;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #3d362d;
}

.nav-link:hover {
    background-color: #4b5320;
    color: #C5B9A5;
    text-decoration: none;
    transform: translateY(-2px);
}

.nav-link:active {
    background-color: #2f4f4f;
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.nav-link:visited {
   color: #9ab973;
}

