html {
    background-color: var(--black);
    z-index: 1;
}

main {
    background-color: var(--black);
    height: 4600px;
    overflow: hidden;
}


.d1 {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin-bottom: 100px;

    .design1 {
    width: 900px;
    }
}

.d2 {
    display: flex;
    justify-content: end;
    width: 100%;
    position: relative;
    top: -520px;
    margin-left: 250px;

    .design2 {
        width: 900px;
    }
}

.design1,
.design2 {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.5s ease;
    z-index: 2;
}

.block1 {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    object-fit: contain;
    box-sizing: border-box;
    align-items: center;
    top: -320px;
    z-index: 4;

    img {
        border-radius: 50%;
        width: 500px;
    }

    p {
        font-family: var(--CDSB);
        color: whitesmoke;
        font-size: 1.3em;
    }
}

.block1 p {
    transform: translateY(20px);
    transition: transform 0.3s ease;

    .violet {
        color: blueviolet;
    }
}

.block2 {
    position: relative;
    top: -580px;
    height: 270vh;
    background-color: whitesmoke;
    z-index: 1;

    svg {
        width: 200vw;
        margin-top: -265px;
        margin-left: -767px;
        height: 100vh;
        z-index: 1;
    }

    .competences {
        position: relative;
        top: -650px;
        font-family: var(--CDSB);
        color: whitesmoke;
        margin-left: 80px;
        font-size: 6.5em;
        z-index: 4;
    }

    section {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 70%;
        height: 200vh;
        position: relative;
        top: -300px;
        margin-left : 80px;

    }

    section > article {
        width: 100%;
        height: 500px;
        border: 3px solid black;
        border-radius: 6px;
        object-fit: contain;
        box-sizing: border-box;

        h1 {
            color: var(--black);
            font-family: var(--CDSB);
            font-size: 6em;
            margin-left: 25px;
            margin-top: 10px;
        }

        p {
            font-family: var(--CDSB);
            font-size: 1.3em;
            color: var(--black);
            margin-left: 25px;
            margin-top: 25px;

            .violet {
                color: blueviolet;
            }
        }

        img {
            position: relative;
            bottom: -50px;
            width: 100px;
            margin-left: 25px;

        }
    }

    section > .av {
        height: 680px;
    }
}
