body,html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
    color: #ffffff; 
}

/* Контейнер для контента */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

/* Текстовые элементы */
.content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    pointer-events: auto;
}

.content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    pointer-events: auto;
}

/* Кнопки */
.btn {
    padding: 15px 30px;
    margin: 10px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Эффекты свечения кнопок */
.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(45deg);
    transition: all 0.3s;
    pointer-events: none;
}

.btn:hover::before {
    top: -100%;
    left: -100%;
}

/* График :3 */
#chartContainer {
    width: 80%;
    max-width: 600px;
    margin: 50px auto 0;
    pointer-events: auto;
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 20;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5em;
    cursor: pointer;
}

/* Canvas для Three.js */
#rainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

a {
    color: unset;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}


.item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition-duration: 0.5s;

}

.list1, .list2 {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.item>a {
    border: solid 1px black;
    border-radius: 25px;
    padding: 1px 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    transition-duration: 0.5s;
}

.item>a:hover {
    border: solid 1px rgb(108, 87, 87);
    padding: 5px 15px;

}