.header {
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    position: fixed;
    /* <— keeps it on screen */
    top: 0;
    /* anchor to top */
    left: 0;
    width: 100%;
    /* full width */
    height: 100px;
    z-index: 1000;
    /* stay above everything else */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-left a,
.dropbtn {
    color: rgb(225, 0, 255);
    text-decoration: none;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.nav-left a:hover,
.dropdown-content a:hover,
.dropbtn:hover {
    transform: scale(1.05);
    transition: 300ms;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 700ms ease;
    position: absolute;
    background-color: #111;
    min-width: 140px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: rgb(225, 0, 255);
    padding: 10px 16px;
    display: block;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 70px;
}

.logo-crop {
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-crop img {
    height: 180px;
    object-fit: cover;
    transform: translateY(-10px);
    padding-top: 14px;
}

#donate {
    color: white;
    font-weight: bold;
    background: rgb(225, 0, 255);
    padding: 5px 14px;
    border-radius: 20px;
    transition: 300ms;
    position: absolute;
    top: 0px;
    right: 0px;
    margin-top: 40px;
    margin-right: 110px;
}

#donate:hover {
    transform: scale(1.05);
    animation: rainbowFlash 1.5s infinite linear;
}

#donate-small {
    color: rgb(12, 12, 12);
    font-weight: bold;
    transition: 300ms;
}

#donate-small:hover {
    transform: scale(1.05);
    animation: rainbowVibe 1.5s infinite linear;
}

/* Rainbow keyframes */
@keyframes rainbowFlash {
    0% {
        background: red;
        transform: scale(1.15);
    }

    14% {
        background: orange;
        transform: scale(1.15);
    }

    28% {
        background: yellow;
        transform: scale(1.25);
    }

    42% {
        background: green;
        transform: scale(1.25);
    }

    57% {
        background: blue;
        transform: scale(1.15);
    }

    71% {
        background: indigo;
        transform: scale(1.15);
    }

    85% {
        background: violet;
        transform: scale(1.25);
    }

    100% {
        background: red;
        transform: scale(1.25);
    }
}

@keyframes rainbowVibe {
    0% {
        color: red;
    }

    14% {
        color: orange;
    }

    28% {
        color: yellow;
    }

    42% {
        color: green;
    }

    57% {
        color: blue;
    }

    71% {
        color: indigo;
    }

    85% {
        color: violet;
    }

    100% {
        color: red;
    }
}