styles/styles.scss
@import 'variables';
@import 'animations';

// Função para display flex -> @include display(display, justify-content, align-items, flex-direction);

html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: $body_font_family;
}

body {
    height: 100vh;
    @include display(flex, center, center, row);
    background-color: $body_bg_color;

    main {
        border-radius: 1rem;
        display: flex;
        background-color: $main_bg_color;
        border-radius: 1rem;
        
        .image_area {
            animation: roll-in-blurred-left 0.65s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
            animation-delay: 0.5s;
            width: $image_and_text_area_width;
            height: $image_and_text_area_height;

            img {   
                border-radius: 10px 0 0 10px;
                width: inherit;
                height: inherit;
            }

            #mobile_image {
                display: none;
            }
        }

        .text_area {
            @include display(flex, space-around, flex-start, column);
            font-size: 1.4rem;
            padding: 2rem;
            height: $image_and_text_area_height;
            width: $image_and_text_area_width;

            .perfume {
                animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
                animation-delay: 0.7s;
                color: $p_color;
                text-transform: uppercase;
                letter-spacing: .4rem;
            }

            .title_container {
                display: flex;
                align-items: center;
                height: 12rem;
                width: 20rem;

                h1 {
                    font-family: $title_font_family;
                    color: $title_color;
                    font-weight: 700;
                    font-size: 3rem;
                }
            }

            .description_container {
                color: $p_color;
                display: flex;
                align-items: center;
                height: 8rem;
                width: 24rem;
            }

            .price_container {
                animation: tracking-in-expand 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
                height: 4rem;
                width: 20rem;
                @include display(flex, space-between, center, row);

                .main_price {
                    font-family: $title_font_family;
                    color: $button_bg_color;
                    font-size: 3rem;
                }

                .discount_price {
                    position: relative;
                    color: $p_color;

                    &::after {
                        content: "";
                        position: absolute;
                        height: .1rem;
                        width: 0%;
                        background-color: $p_color;
                        left: 0;
                        top: 50%;
                        animation: cut-price 6s ease forwards;
                    }
                }
            }

            .button {
                cursor: pointer;
                margin-top: 1.5rem;
                background-color: $button_bg_color;
                height: 5rem;
                width: 100%;
                @include display(flex, center, center, row);
                gap: 1rem;
                color: $button_p_color;
                border-radius: 1rem;
                animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
                font-size: 1.4rem;

                &:hover {    
                    background-color: $button_hover_bg_color;
                }
            }
        }
    }
}

.slide-in-elliptic-top-fwd {
    animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.tracking-in-expand {
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes cut-price {
    to {
        width: 100%;
    }
}