#contact-section{
    padding-top: 10rem;
}

#contact-section h2{
    margin-top: 1rem;
}
footer {
    position: relative;
    width: 100%;
    min-height: 200px;
    background-color: var(--secondary-color);
}

.contact {
    padding-top: 3rem;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

footer .subtitle {
    padding-top: initial;
}

footer button {
    background-color: transparent;
    font-family: var(--font-regular);
    outline: 2px solid rgba(0, 0, 0, .5);
    outline-offset: 0px;
    border: none;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 3rem;
    gap: 1rem;
    font-size: var(--fontsize-normal);
    
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

footer button:hover {
    
    border: 1px solid;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 10px;
}

footer button img {
    width: 2rem;
}

/*footer wave animation*/

footer .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
}

footer .wave {
    position: absolute;
    top: -100px;
    Left: 0;
    width: 100%;
    height: 100px;
    background: var(--skills-background-color) url(../assets/wave.svg);
    background-size: contain;
}

footer .wave#wave1 {
    z-index: 3;
    opacity: 1;
    bottom: 0;
    animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
    z-index: 2;
    opacity: 0.5;
    bottom: 10px;
    animation: animateWave2 4s linear infinite;
}

footer .wave#wave3 {
    z-index: 3;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
    z-index: 2;
    opacity: 0.7;
    bottom: 20px;
    animation: animateWave 3s linear infinite;
}

@keyframes animateWave {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 0px;
    }

}

@keyframes animateWave2 {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: 1000px;
    }

}

@media (max-width:600px) {
    .contact{
        display: flex;
        flex-direction: column;
        padding-bottom: 2rem;
    }
}