.header {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.header h2 {
    font-size: 2rem;
    color: #297fff;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-link {
    padding: 0.5rem 1rem;
    transition: transform .2s ease;                                                                        
    & img {
        width: 50px;
        filter: drop-shadow(
            0 0 20px rgba(0, 0, 0, .8)
        );
    }
}
.social-link:hover {
    transform: scale(1.1);
}

#cv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 5vh;
    line-height: 40px;
    font-size: 18px;
    font-family: sans-serif;
    text-decoration: none;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    transition: all .35s;
    color: rgba(255, 255, 255, 0.5);
}

#cv:after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #297FFF;
    opacity: 0.8;
    transition: all .5s;
    border-radius: 8px;
}

#cv > span{
    position: relative;
    z-index: 2; 
}
  
#cv:hover{
    color: white;

}

#cv:hover:after{
    width: 100%;
}

@media (max-width: 520px) {
    #cv {
        width: 60%;
    }
}