@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Yellowtail&display=swap');

body {
    background-color: rgb(255, 0, 0);
    margin: 0;
    padding: 0;
}

.center {
    display: block;
    text-align: center;
    margin: auto;
}

#particleCanvas {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

h1 {
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: cursive;
    user-select: none;
}

.animatedTitle {
    animation-name: fly-in-bottom;
    animation-duration: 2s;
}

ul {
    opacity: 0%;
    padding-left: 0;
    animation-name: fly-in-right;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

ul:nth-child(2) {
    animation-name: fly-in-right;
    animation-duration: 2s;
    animation-delay: 2s;
}

.links {
    opacity: 0%;
    position: absolute;
    font-size: 40px;
    font-family:Arial, Helvetica, sans-serif;
}

#gear  {
    color: rgb(255, 255, 255);
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
}

#gearcontainer {
    display: flex;
    margin: auto;
    width: 50%;
    align-items: center;
    justify-content: center;
    flex-wrap:nowrap;
}

#gearcontainer #gear {
    transition: transform 3s;
}

#gearcontainer:hover #gear  {
    transform:  translateX(-200%) rotate(720deg);    
}

#gearcontainer h2 {
    transition: opacity 3s;
}

#gearcontainer:hover h2  {
    opacity: 100%;
}

@keyframes fly-in-bottom {
    from{
        transform: translateY(200%); 
        opacity: 20%;
    }
    top{
        transform: translateY(0%); 
        opacity: 100%;
    }
}

@keyframes fly-in-right {
    0%{
        opacity: 0%;
        transform: translateX(10%); 
        visibility: visible;
    }
    100%{
        opacity: 100%;
        transform: translateX(0%); 

    }
}

