.return-to-top-button::after {
    content: "";

    display: block;
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    
    width: 500%;
    height: 100%;

    background-repeat: repeat-x;
    background-position-y: bottom;
    background-size: 50%;
    background-blend-mode: color;

    translate: 0%;
    animation: wave 7.5s linear infinite;
    opacity: 0.8;

    transform-origin: left bottom;
    transition: bottom cubic-bezier(0.445, 0.05, 0.55, 0.95) 150ms;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23b8ffd299'/%3E%3C/svg%3E")!important;
    width: 1500%;
}

.return-to-top-button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;

    font-family: "JetBrains Mono", monospace;
    font-size: 1.5em;

    background: #458087;
    color: #b5eac6;

    min-width: fit-content;
    position: relative;
    overflow: hidden;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.return-to-top-button:hover::after {
    bottom: -30%;
}

#return-to-top {
    display: none;
    
    position: relative;
    
    z-index: 99;
    padding-right: 1%;
    
    transition: opacity ease 0.4s;
    opacity: 0;
}

.return-to-top {
    height: 4rem;
    position: fixed;

    z-index: 99;

    display: flex;
    flex: 1;
    justify-content: flex-end;

    min-width: 100%;
    bottom: 20px;

	animation: float 6s ease-in-out infinite;
}

@keyframes wave {
    0% {
        translate: 0%;
    }
    100% {
        translate: -50%;
    }
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}