{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, a {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f1;
}


a {
text-decoration: none;
}


header {
    /*background:linear-gradient(rgba(44, 62, 80, 0.7), rgba(23, 11, 66, 0.9));*/
    background: #f9f7f1;
   /*background: #2c3e50;*/
    color: white;
    padding: 1rem 0; 
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
            font-size: 1.1rem;
    max-width: 2000px;
    margin: 0 auto;
    display:  block;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
nav h1 a {
    color: black;
    text-decoration: none;
            font-size: 1.1rem;
}
.nav-menu {
    list-style: none;
    display: flex;
      justify-content: center;
  align-items: center;
    gap: 2rem;
}
.nav-menu a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #3498db;
}
.hero {
    background: url('../images/chekhov_new_fon.png'), url('../images/chekhov_signature_new_fon.png');
    background-size: contain, auto;
    background-position: left, right;
    background-repeat: no-repeat, no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
}

.hero-content {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: black;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
    border: 1px solid black;
}
.btn:hover {
    background: #2980b9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
section {
    padding: 4rem 0;
}
.exhibit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.exhibit-card {
    background: #f9f7f1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid black;
}
.exhibit-card:hover {
    transform: translateY(-5px);
}
.exhibit-card img {
    width: 100%;
    height: 200px;
}

.exhibit-card p, h3 {
padding-left: 7px;
}

.biography_text {
    font-size: 1.5rem;
    text-align: left;
    color: black;
    text-justify: auto;
}   

.biography_text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

#exhibits_places {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pad_text {
    padding-left: 7px;
    padding-right: 7px;
    text-align: justify;
}

h4 {
    padding-left: 7px;
}

.rukopisi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 2rem;

}
.contacts {
font-size: 1.3rem;
}

