@use '../abstracts/variables' as *;
@use '../base/typography' as *;
// @use '../abstracts/mixins' as *;

$hero-corner-cut-x: 350px;
$hero-corner-cut-y: 200px;

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    background-color: $color-bg-body;
    overflow: hidden;
    clip-path: polygon(
        0 $hero-corner-cut-y,
        $hero-corner-cut-x 0,
        100% 0,
        100% calc(100% - #{$hero-corner-cut-y}),
        calc(100% - #{$hero-corner-cut-x}) 100%,
        0 100%
    );

    &__content {
        max-width: 1360px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;

        &-inner {
            display: flex;
            flex-direction: column;
            width: 60%;
        }
    }

    &__title {
        font-family: $font-family-sao-welcome;
        font-size: 3.5rem;
        color: $color-text-base;
    }

    &__description {
        font-size: 1.25rem;
        color: $color-text-lighter;
        margin-top: 1rem;
    }

    &__buttons {
        display: flex;
    }

    &__background {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.5;
        transform: scale(1.5);
        transition: all 3s ease-in-out;
    }

}