:root {
    --black-bluish: #0B0C10;
    --black-bluish-transparent: rgba(49, 56, 53, 0.2);
    --green: rgba(0, 255, 136, 0.2);
    --green-md: #00d981;
    --white-green: rgb(164, 206, 164);
    --white: rgb(225, 241, 225);
}


.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero__container {
    height: calc(100dvh - 80px);
    padding: 0px 60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.hero__image-container {
    width: 300px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    display: flex;
    align-items: flex-end;
    border: 2px solid var(--green-md);
    box-shadow: 0 0 20px 2px var(--green-md);
}

.hero__image {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.hero__content {
    width: 360px;
    opacity: 0;
}

.hero__text {
    color: var(--white);
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

.hero__title {
    font-size: 3rem;
    color: var(--green-md);
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.hero__description {
    color: var(--white);
    font-size: 20px;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.hero__button--click {
    display: grid;
    width: 180px;
    height: 38px;
    font-family: "Nunito Sans", sans-serif; 
    place-items: center;
    border-radius: 8px;
    border: 1px solid var(--green-md);
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
}

.hero__button--click:hover {
    background-color: var(--green-md);
    color: var(--black-bluish);
    box-shadow: 0 0 14px -4px var(--green-md);
    transform: scale(1.04);
    transition: 
        transform 0.8s ease,
        background-color 0.8s ease;
}

.hero__button--click:not(:hover){
    background-color: var(--black-bluish);
    color: var(--white);
    transform: scale(1);
    transition: 
        transform 0.8s ease,
        background-color 0.8s ease;
}

/*ANIMATIONS*/

@keyframes leftEntrance {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    60% {
        opacity: 1;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes rightEntrance {
    0% {
        opacity: 0;
        transform: translateX(120%);
    }
    60% {
        opacity: 1;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.animation--left {
    transition: transform 1.4s ease;
    animation: leftEntrance 1.4s ease forwards;
}

.animation--right {
    animation: rightEntrance 1.4s ease forwards;
}

@media screen and (max-width: 430px) {
    .hero__container {
        width: auto;
        height: calc(100dvh - 70px);
        flex-direction: column;
        padding: 0px 14px;
        gap: 30px;
    }
    .hero__image-container {
        width: auto;
    }
    .hero__image {
        width: 180px;
        height: auto;
    }
    .hero__content {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .hero__text {
        font-size: 34px;
    }
    .hero__title {
        font-size: 2.4rem;
    }
    .hero__description {
        width: 76%;
        font-size: 16px;
        text-align: center;
    }
    .hero__button--click {
        width: 160px;
        height: 36px;
        font-size: 14px;
    }
}