.cover {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.cover-with-spline {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    z-index: 10;
}

.text-cover {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
}

.name {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 72px;
    font-family: var(--font-family-titles);
}

.career {
    font-size: 32px;
}

.cv-download {
    width: 200px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    overflow: hidden;
}

@media (max-width: 1220px) {
    .cover-with-spline {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .text-cover {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        height: auto;
        z-index: 100;
    }
}

@media (max-width: 1120px) {
    .name {
        font-size: 68px;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .name {
        font-size: 52px;
        text-align: center;
    }

    .career {
        font-size: 24px;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .text-cover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translate(0, 0);
    }
}