 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
body {
    
    background-image: url('../images/звезды.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-attachment: fixed; 
    background-position: center; 
    font-family:'Merriwheather' 'Times New Roman', serif;
    color: #2c1810; 
    line-height: 1.6;
}

.content-block {
    max-width: 900px;  
    width: 90%;      
    margin: 30px auto; 
    background-color: rgba(245, 235, 220); 
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(180, 130, 80, 0.3);
}

nav ul {
    list-style: none;
    display: flex;    
    flex-wrap: wrap; 
    gap: 15px;        
    margin-bottom: 30px; 
    padding: 15px 0;  
    border-bottom: 2px solid #c0a080; 
    border-top: 2px solid #c0a080;    
}

nav ul li {
    margin: 0; 
}

nav ul li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8b4513;
    color: #f5e6d3;
    text-decoration: none;
    font-family: 'Oswald', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-radius: 30px;
    border: 1px solid #d4a373;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #b85e1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1, h2, h3 {
    font-family:'Lobster';
    font-weight: 400;
    color: #6b2d0c; 
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem; 
    border-left: 8px solid #c96f3d;
    padding-left: 20px;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px dashed #c96f3d; 
    padding-bottom: 10px;
}

p {
    margin-bottom: 20px; 
    font-size: 1.1rem;
    text-align: justify; 
}

}.figure {
    margin: 30px 0;
    text-align: center;
}

.figure img {
    max-width: 100%;
    border: 5px solid #f0d9b8;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.figure-caption {
    margin-top: 10px;
    font-style: italic;
    color: #6b2d0c;
    font-size: 0.95rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table th {
    background-color: #8b4513;
    color: #f5e6d3;
    padding: 12px;
    font-family: 'Oswald', sans-sero
if;
    font-weight: 500;
    letter-spacing: 1px;
}

.data-table td {
    padding: 10px;
    border-bottom: 1px solid #d4a373;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background-color: rgba(180, 130, 80, 0.1);
}

.citation {
    font-size: 0.9rem;
    color: #5a3e2b;
    padding-left: 20px;
    margin-bottom: 5px;
    border-left: 3px solid #c96f3d;
}

.ref-list {
    list-style-type: none;
    padding-left: 0;
}

.ref-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ref-list li:before {
    content: "[1]";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
}

.ref-list li:nth-child(1):before { content: "[1]"; }
.ref-list li:nth-child(2):before { content: "[2]"; }
.ref-list li:nth-child(3):before { content: "[3]"; }
.ref-list li:nth-child(4):before { content: "[4]"; }
.ref-list li:nth-child(5):before { content: "[5]"; }
.ref-list li:nth-child(6):before { content: "[6]"; }
.ref-list li:nth-child(7):before { content: "[7]"; }
.ref-list li:nth-child(8):before { content: "[8]"; }
.ref-list li:nth-child(9):before { content: "[9]"; }

.supplement-link {
    display: inline-block;
    margin: 10px 10px 10px 0;
    padding: 8px 15px;
    background-color: #8b4513;
    color: #f5e6d3;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    border: 1px solid #d4a373;
    transition: all 0.3s ease;
}

.supplement-link:hover {
    background-color: #b85e1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.author-info {
    text-align: center;
    margin: 20px 0 30px;
    font-size: 1.1rem;
    color: #6b2d0c;
    border-bottom: 1px dashed #c0a080;
    padding-bottom: 15px;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #8b4513;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #f5e6d3;
    text-decoration: none;
    font-family: 'Oswald', 'Arial', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    box-shadow: none;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #b85e1a;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}
