.img {
    position: relative;
    width: 96%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6%;
    width: 100%;
}

.img-overlay {
    background: url('/img/img-ava.png') no-repeat center center/cover;
    filter: brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.img h1 {
    z-index: 1;
    color: white;
    font-size: 4.5rem;
    text-align: center;
}

.container-ava {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.vector-img {
    width: 620px;
}

.text-ava {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    justify-content: space-evenly;
    width: 40%;

}

.text-ava h1 {
    font-size: 7rem;
}

.text-ava p {
    width: 90%;
    font-size: 1.7rem;
    padding: 2vh 0;
}

.text-ava span {
    color: #578E73;
}


.btn-ava {
    --color: #000000;
    font-family: inherit;
    display: inline-block;
    width: 9em;
    height: 4em;
    line-height: 2.5em;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #1E594B;
    transition: color 0.5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: #fff;

    background-color: #1E594B;
}

.about-ava{
    height: 70vh;
    display: flex;
}

.btn-ava:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: black;
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn-ava:hover {
    color: #fff;
    border: 2px solid #000000;
}

.btn-ava:before {
    top: 100%;
    left: 100%;
    transition: all 0.7s;
}

.btn-ava:hover:before {
    top: -30px;
    left: -30px;
}

.btn-ava:active:before {
    background: #000000;
    transition: background 0s;
}

@media (max-width: 425px) {

    .container-ava {
        display: flex;
        align-items: center;
        flex-direction: column;

        text-align: center;

    }

    .text-ava {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .container-ava h1 {
        font-size: 3rem;
        width: 100%;
    }

    .container-ava p {
        width: 80%;

        font-size: 1.3rem;
    }

    .btn-ava {

        font-size: 0.8rem;
    }

    .vector-img {
        display: none;
    }

}

@media (max-width: 374px) {
    .img > h1 {
        font-size: 4rem;
    }

    .text-ava > h1 {
        font-size: 4.5rem !important;
    }
}

