body {
    background-color: #001f3f; /* Deep blue */
    background-image: url('../images/stars.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Floating White Box */
.container {
    max-width: 1200px;
    width: 90%;
    background: white;
    padding: 30px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Header Styling */
h1, h2, h3 {
    color: #004aad;
    text-align: center;
}

h2 {
    border-bottom: 2px solid #004aad;
    padding-bottom: 5px;
    display: inline-block;
}
/* Стили для контейнера шапки (логотипы + заголовок) */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 0 80px;
}
.site-title {
    text-align: center;
    flex-grow: 0;
    padding: 0 20px;
}
.logo {
    max-height: 130px;
    width: auto;
}

/* Flexbox Layout */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

/* Vertical Table Styling */
.photometry-table {
    flex: 1;
    max-width: 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.photometry-table table {
    width: 100%;
    border-collapse: collapse;
}

.photometry-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.photometry-table td:first-child {
    font-weight: bold;
    background: #004aad;
    color: white;
}

/* Grid for Images (2x2) */
.image-container {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.content-wrapper .image-container img {
    width: 100%;
    max-width: 550px;
    height: auto;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 290px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tess-images {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tess-images img {
    display: block;
    flex: 1 1 auto;
    max-width: none;
    height: auto;
}

/* Reference Section */
.references {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.references a {
    text-decoration: none;
    color: #004aad;
    font-weight: bold;
}

.references a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .photometry-table {
        max-width: 100%;
    }

    .image-container {
        grid-template-columns: 1fr; /* Single column for small screens */
    }

    .image-container img {
        max-width: 100%;
    }

/* Spectroscopy Section */
.spectroscopy {
    display: inline-block;
    max-width: 500px;
    width: 60%;
}
.spectroscopy img {
    width: 30%;
    max-width: 500px;
}
