/* Modern CSS для старого PHP сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Chiswick", "Book Antiqua", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.title {
    font-size: 2.5em;
    color: #2c3e50;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-family: Georgia, "Chiswick", "Book Antiqua", serif;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2c3e50;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.partner-logos img {
    max-height: 100px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.partner-logos img:hover {
    transform: scale(1.05);
}

.programs-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.programs-list ul {
    list-style: none;
    padding: 0;
}

.programs-list li {
    padding: 10px 12px;
    margin: 6px 0;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    font-family: Georgia, serif;
    font-size: 14px;
}

.login-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #e8f4f8;
    border-radius: 8px;
}

.login-section img {
    max-width: 200px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.login-section img:hover {
    transform: translateY(-5px);
}

.orbuculum-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.orbuculum-section a {
    color: #ffd700;
}

.orbuculum-section img {
    border-radius: 50%;
    border: 4px solid #ffd700;
    margin: 15px auto;
    display: inline-block;
    transition: transform 0.3s;
}

.orbuculum-section img:hover {
    transform: rotate(10deg) scale(1.1);
}

.orbuculum-section p {
    font-family: Georgia, serif;
    margin: 8px 0;
}

hr {
    border: none;
    height: 2px;
    background: #ddd;
    margin: 30px 0;
}

.molecule-container {
    text-align: center;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.molecule-container table {
    margin: 0 auto;
    padding: 0;
}

.molecule-container x3d {
    display: block;
    margin: 0 auto;
}

/* Уменьшаем padding вокруг молекулы */
x3d {
    padding: 0;
    margin: 0;
}

/* Уменьшаем отступы для всех p */
p {
    margin: 10px 0;
}