.hero {
    height: fit-content;
    max-width: 1170px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 130px;
}

.hero__content {
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.hero__content--title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cor-preto);
}

.hero__content--description {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    font-size: 1.5rem;
    color: var(--cor-preto);
}

.hero__content--btn {
    height: 72px;
    width: 370px;
    border-radius: 25px;
    background-color: var(--cor-vermelho);
    color: var(--cor-branco);
    border: none;
    font-size: 1.5rem;
}

.hero__content--btn:hover {
    cursor: pointer;
    background-color: var(--cor-azul-cinza);
    transition: 0.25s;
}

@keyframes diceRoll {
    0% {
        transform: scale(1.2) ease-in;
    }

    25% {
        transform: scale(1.2) rotate(20deg);
    }

    100% {
        transform: scale(1) rotate(-360deg);
    }
}

.hero__img {
    display: grid;
    place-items: center;
    height: 433px;
    width: fit-content;
    animation-name: diceRoll;
    animation-delay: 0.5s;
}

.hero__img:hover {
    animation-duration: 2s;
    cursor: pointer;
    animation-iteration-count: infinite;
}

@media (max-width: 1024px) {
    .hero {
        gap: 60px;
        padding: 0 20px;
    }

    .hero__content--title {
        font-size: 2.5rem;
    }

    .hero__content--description {
        font-size: 1.2rem;
    }

    .hero__content--btn {
        width: 320px;
        height: 64px;
        font-size: 1.25rem;
    }

    .hero__img {
        height: 340px;
    }
}

@media (max-width: 820px) {
    .hero {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .hero__content {
        align-items: center;
    }

    .hero__content--description {
        padding-bottom: 2rem;
    }

    .hero__img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero__content--title {
        font-size: 2rem;
    }

    .hero__content--description {
        font-size: 1rem;
    }

    .hero__content--btn {
        width: 100%;
        max-width: 280px;
        height: 56px;
        font-size: 1.1rem;
    }

    .hero__img {
        height: 220px;
    }
}