.home {
    height: 100vh;
    display: flex;
    margin-top: 3%;
    margin-bottom: 8%;
}

.box-left-home {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-right-home {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-apresentação {
    display: flex;
    flex-direction: column;
    margin-left: 15%;
    width: 100%;
}

.box-apresentação h3 {
    color: var(--font-color);
    font-size: clamp(1.5rem, 4vw, 2.7rem);
}

.box-apresentação h1 {
    color: var(--primary-color);
    font-size: clamp(2rem, 6vw, 5.2rem);
}

.box-apresentação h1::after {
    content: '|';
    margin-left: 5px;
    opacity: 1;
    animation: pisca .7s infinite;
}

.box-apresentação h2 {
    color: var(--font-color);
    font-size: clamp(1.3rem, 4vw, 2.8rem);
}

.btn-cv {
    color: var(--font-color2);
    font-weight: 800;
    background-color: var(--primary-color);
    width: 20rem;
    height: 3.5rem;
    font-size: 1.5rem;
    border-radius: 8px;
    margin-top: 15px;
    padding: 0 10px 0 10px;
    transition: ease-in-out 0.3s;
    cursor: pointer;
    border: none;
}

.btn-cv:hover {
    background-color: transparent;
    border: solid 1px var(--primary-color);
    color: var(--font-color);
}

.icons-home {
    display: flex;
    gap: 5%;
    margin-top: 15px;
}

.icon-home img {
    cursor: pointer;
    width: 100%;
    transition: 0.7s;
}

.icon-home img:hover {
    transform: translateY(-10px);
}

.box-right-home figure {
    width: 80%;
}

.box-right-home figure img {
    width: 100%;
    animation: float 3s ease-in-out infinite;
}

.Scrool-Down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    animation: float 1s ease-in-out infinite;
    cursor: pointer;
}

.Scrool-Down a {
    font-size: 2rem;
    color: var(--font-color);
}


@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-30px);
    }

    100% {
        transform: translatey(0px);
    }
}

@keyframes pisca {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media screen and (max-width:770px) {
    .home {
        flex-direction: column-reverse;
        margin: 0;
    }

    .box-left-home {
        width: 100%;
        height: 50%;
    }

    .box-right-home {
        width: 100%;
        height: 50%;
    }

    .box-right-home figure img {
        margin-top: 13rem;
    }

    .box-apresentação {
        text-align: center;
        margin-left: 0;
    }

    .icons-home {
        justify-content: center;
        gap: 30px;
    }

}

@media screen and (max-width:360px) {
    .btn-cv {
        width: 90%;
    }
}

@media screen and (max-height:760px) {

    .box-left-home {
        align-items: flex-end;
        margin-bottom: 15%;
    }

    .box-right-home figure img {
        margin-top: 11rem;
    }

    .Scrool-Down {
        display: none;
    }
}