body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e3f2fd;
    color: #212121;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Шапка */
header {
    background: #90caf9;
    color: #ffffff;
    letter-spacing: 0.05cm;
    padding: 40px 20px 40px 130px;
    font-variant: all-petite-caps;
    font-size: 16pt;
    border-bottom: 2px solid #64b5f6;
    display: flex;
    align-items: center;
}

header h1 {
    margin: 0;
}

nav {
    background: #64b5f6;
    border-top: 1px solid #90caf9;
}

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

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    font-variant: all-petite-caps;
    font-size: 14pt;
}

nav ul li a:hover {
    background: #bbdefb;
    color: #212121;
}

h1 {
    text-align: center;
    color: #333;
    text-shadow: 1px 1px 2px #aaa;
}

.student-list {
    column-count: 3;
    column-gap: 20px;
    list-style: none;
    padding: 0;
}

.student-list li {
    margin: 10px 0;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.student-list li:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.student-list a {
    text-decoration: none;
    color: #1a73e8;
    font-weight: 500;
}

.student-list a:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#yes-btn {
    background-color: #4CAF50;
    color: white;
}

#no-btn {
    background-color: #f44336;
    color: white;
}

#yes-btn:hover {
    background-color: #45a049;
}

#no-btn:hover {
    background-color: #da190b;
}

.explosion-gif {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

.explosion-gif img {
    width: 300px;
    height: 300px;
}
