.nav {
    margin-top: 10vh;
}

h2 {
    font-family: 'K2D';
    font-style: normal;
    font-weight: 400;
    font-size: 5vh;
    line-height: 5vh;
    color: rgb(247, 243, 221);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

h3 {
    font-family: 'K2D';
    font-style: normal;
    font-weight: 400;
    font-size: 4vh;
    line-height: 4vh;
    color: rgb(247, 243, 221);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.project {
    background: rgba(168, 71, 0, 0.3);
    width: 35vw;
    min-height: 35vh;
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: -0.5rem;
    border-radius: 5px;
    animation: floatingAnimation 10s infinite;
    animation-fill-mode: both;
}

@keyframes floatingAnimation {
    0% {
      transform: translate(0);
    }
    25% {
        transform: translate(-10px, -2px);
    }
    50% {
      transform: translate(-12px, 10px);
    }
    75% {
        transform: translate(10px, -10px);
    }
    100% {
      transform: translate(0);
    }
}
main {
    margin-top: 5%;
    display: flex;
    justify-content: normal;
    flex-direction: column;
    align-items: center;

}
#subNav {
    display: flex;
    flex-direction: column;
    list-style: none;
    position: fixed;
    align-self: center;
    width: 10vw;
    background-color:  rgba(58, 58, 58, 0.5);
    border-color: black;
    border-width: 1vw;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    padding: 0.5rem;
    border-radius: 1.5rem;
}
.subNavButton {
    background-color: rgba(168, 71, 0, 0.3);
    border-color: rgb(247, 243, 221);
    border-width: .1vw;
    border-radius: 50%;
    width: 7vw;
    height: 7vw;
    color: rgb(247, 243, 221);
}
#proj1 {
    animation-delay: 0s;
    margin-left: -40vw;
}
#proj2 {
    animation-delay: 0.5s;
    animation-direction: reverse;
}
#proj3 {
    animation-delay: 1s;
    margin-left: 40vw;
}
#proj4 {
    animation-delay: 1.5s;
    animation-direction: reverse;
    margin-left: -35vw;
}