@font-face {
    font-family: "Horizon";
    src: url("Fonts/AdventPro_ExtraExpanded-ExtraLight.ttf") format("truetype");
  }

body{
    background: linear-gradient(to left, #6b0078 -410%,rgb(20, 20, 20), #007BFF 500%);
    background-repeat: no-repeat;
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    font-family: "Horizon";
    cursor: url('Images/Cursor.png'), auto;
}

@keyframes gradient {
	0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 25% 50%;
    }
    50% {
        background-position: 50% 50%;
    }
    75% {
        background-position: 75% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-10%, -10%);
    transition: transform 0.05s linear;
    z-index: 9999;
    animation: cursor 15s ease infinite;
}

@keyframes cursor {
    0% {
        background: #00ffff0b;
        box-shadow: 0 0 30px #00ffff33,
                    0 0 30px #00ffff1a;
    }
    50% {
        background: #cc00ff0b;
        box-shadow: 0 0 30px #cc00ff33,
                    0 0 30px #cc00ff1a;
    }
    100% {
        background: #00ffff0b;
        box-shadow: 0 0 30px #00ffff33,
                    0 0 30px #00ffff1a;
    }
}

.header {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 80px;
    filter: blur(2px);
    background-color: #0e0e0e38;
}

.headertext {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 80px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerlinks {
    font-size: 30px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.headerlinks:last-child {
    margin-right: 40px;
}

.headerlink:not(:hover) {
    color: white;
    text-shadow: none;
    transition: color 0.3s ease, text-shadow 0.5s ease;
}

.headerlink:hover {
    text-shadow: 0 0 8px #00ffcc, 0 0 16px #00ffcc, 0 0 24px #00ffcc;
    animation: text-colour 7s ease infinite;
    transition: text-shadow 0.2s ease, color 0.2s ease;
    color: #00ff73;
}

@keyframes text-colour {
    0% {
        color: #00ff73;
    }
    45% {
        color: #00ff73;
    }
    50% {
        color: #00d9ff;
    }
    55% {
        color: #00ff73;
    }
    100% {
        color: #00ff73;
    }
}

.headerlink:active {
    text-shadow: 0 0 20px #cc00ff, 0 0 40px #cc00ff;
    color: #cc00ff !important;
    transition: none;
}

.headerlink.active-click {
    animation: fade-out 2s forwards;
}

@keyframes fade-out {
    0% {
        color: #cc00ff;
        text-shadow: 0 0 20px #cc00ff, 0 0 40px #cc00ff;
    }
    50% {
        color: #00ff73;
        text-shadow: 0 0 8px #00ffcc, 0 0 16px #00ffcc, 0 0 24px #00ffcc;
    }
}

.videodiv {
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}