html {
    text-align: center;
    background-image:url('/Source/bg.png');
    background-size: cover;
    background-attachment: fixed;
}

h1 {
    margin: 1rem 0 10px 0;
}

body {
    margin: auto;
    position: absolute;
    top: 50%; left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-name: enter;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
}

.arr {
    text-align: start;
    animation-name: arrow;
    animation-duration: 1s;

    animation-delay: 0s;
    animation-iteration-count: infinite;
    font-size: 25px;
}

@keyframes enter {
    0% {
        opacity: 0;
        bottom: 100px;
    }
    100% {
        opacity: 1;
        bottom: 0;
    }
}

@keyframes arrow {
    0% {
        transform: translateY(25px);
    }
    25% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(25px);
    }
}

nav {
    top: 20px;
    left: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    margin: auto;
    max-width: fit-content;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 3px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

nav ul li a.active {
    background-color: #e0e0e0;  /* Darker gray for active state */
}

nav ul li a:hover:not(.active) {
    background-color: rgba(223, 223, 223, 0.5);  /* Light gray on hover for inactive items */
}

img {
    max-width: 50%;
    border-radius: 25%;
}