/* Основные настройки */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
color: white;
}
/* Видео-фон */
.video-background {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
/* Навигация */
nav ul {
list-style-type: none;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
padding: 1rem;
}
nav li {
margin-right: 1rem;
}
nav a {
text-decoration: none;
color: white;
transition: color 0.3s ease;
}
nav a:hover {
color: #ffcc00;
}
/* Основная секция */
.main-content {
text-align: center;
padding-top: 10vh;
}
.main-content h1 {
font-size: 2.5rem;
margin-bottom: 2rem;
}
.main-content button {
padding: 1rem 2rem;
background-color: #ffcc00;
color: black;
border: none;
cursor: pointer;
font-size: 1.2rem;
transition: background-color 0.3s ease;
}
.main-content button:hover {
background-color: #ffb300;
}
/* Модальное окно */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
align-items: center;
justify-content: center;
}
.modal-content {
background-color: white;
padding: 2rem;
max-width: 400px;
border-radius: 5px;
}
.close {
float: right;
font-size: 2rem;
cursor: pointer;
}
/* Расписание занятий */
.schedule-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
padding: 2rem;
}
.schedule-item {
background-color: rgba(255, 204, 0, 0.7);
padding: 1rem;
border-radius: 5px;
text-align: center;
}