@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#image-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#growing-image {
    width: 0px;
    height: auto;
}

@keyframes grow {
    0% {
        width: 0px;
    }
    100% {
        width: 2000px;
    }
}

@keyframes shrink {
    0% {
        width: 2000px;
    }
    100% {
        width: 0px;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.linear-wipe {
    text-align: center;
    background: linear-gradient(to right, #FFF 20%, #000 40%, #000 60%, #FFF 80%);
    background-size: 200% auto;
    font-size: 8px;
    color: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 1s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

body {
    background: radial-gradient(ellipse at center, #fff 0%, #000 100%);
    color: #000;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow: auto;
    position: relative;
    animation: fadeIn 2s;
}

body::before {
    content: "";
    display: none;
}

body::-webkit-scrollbar-thumb {
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-track {
    background-color: #fff;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
    border: 2px solid #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body::-webkit-scrollbar-track-piece {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
}

body::-webkit-scrollbar-button {
    display: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    max-height: none;
    background: linear-gradient(to bottom, #fff, #000);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

h1 {
    font-size: 48px;
    color: #fff;
    animation: pulse 2.5s infinite alternate;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

h2 {
    font-size: 36px;
    color: #fff;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease-in-out, transform 0.2s, font-size 0.3s;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px #000;
    font-size: 18px;
    transform: scale(1.1);
}

section {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border: 1px solid #000;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, opacity 0.5s;
    opacity: 0.75;
}

section:hover {
    transform: scale(1.05);
    opacity: 1;
}

a {
    text-decoration: none;
    color: #03fcf0;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ff03fc;
}

.highlighted-text {
    color: black;
    text-shadow: 0 0 10px black; /* Эффект свечения */
}


footer {
    background: rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    text-shadow: 2px 2px 0 #000;
    border-radius: 10px;
}
