body {
    font-family: 'Verdana', sans-serif;
    margin: 0 auto;
    max-width: 800px;
    font-size: 12px;
    color: rgb(90, 90, 90);
}

header {
    /* background-color: #f2f2f2; */
    background-color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.logo a {
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
}

main {
    padding: 20px;
    box-sizing: border-box;
}

section {
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        top: 80px; /* Adjust based on header height */
        background-color: #f2f2f2;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        font-size: large;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }
}

#news table {
    border-collapse: separate;
    border-spacing: 10px 10px;
}

#news table td:first-child {
    width: 96px;
    white-space: nowrap;
}

.news-date {
    background-color: rgb(105, 60, 209);
    color: white;
    padding: 5px 5px;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
}

.news-date.commitee {
    background-color: rgb(201, 165, 19);
}

.news-date.publication {
    background-color: rgb(165, 0, 165);
}


.publication-table td:first-child {
    vertical-align: middle;
    text-align: center;
}

.publication-table img {
    width: 96px;
    height: auto;
}

.publication-table h3 {
    color: rgb(105, 60, 209);
    margin-top: 0px;
    margin-bottom: 5px; /* Add a little space below the title */
}

.publication-links {
    margin-top: 10px;
}



.button {
    background-color: rgb(105, 60, 209);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-top: 5px;
    margin-left: 5px;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: rgb(65, 37, 131);
}

/* General table styling */
table {
    border-collapse: separate;
    border-spacing: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%;
}

td, th {
    padding: 5px;
}

td:first-child {
    width: 140px;
}

blockquote.warning {
    background-color: #ffebee;
    border: 1px solid #e57373;
    border-radius: 8px;
    padding: 0px 20px;
    padding-bottom: 10px;
    margin: 0px 0;
}

blockquote.warning h1,
blockquote.warning h2,
blockquote.warning h3,
blockquote.warning h4,
blockquote.warning h5,
blockquote.warning h6 {
    color: #c62828;
}

.framed {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 15px;
    margin-bottom: 20px;
}

.framed > *:first-child {
    margin-top: 0;
}

pre {
    background-color: #f5f5f5;
    overflow-x: auto;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    font-size: 12px;
}
