@use '../root' as *;
@use '../utilities' as *;

.feature1 {
    background: $bg-color;
        position: relative;
    &__shape1 {
        position: absolute;
        top: 21%;
        left: 5%;
        z-index: 1;
        @include breakpoint (max-xxl){
            display: none;
        }
    }
    &__shape2 {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
        @include breakpoint (max-xxl){
            display: none;
        }
    }
    &-card {
        position: relative;
        z-index: 7;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 23px 30px;
        background: $white;
        box-shadow: 0px 10px 40px 0px rgba(31, 31, 31, 0.20);
        margin-bottom: 24px;
        @include breakpoint (max-sm){
            width: 100%;
        }

        &:hover {
            background: #4D7B6B;
            @include transition;

            .feature1 {
                &-card {
                    &__text {
                        color: $white;
                        @include transition;
                    }
                }
            }
        }

        &__icon {
            width: 64px;
            height: 64px;
            flex-shrink: 0;

            @include breakpoint (max-sm){
                width: 50px;
                height: 50px;
            }
        }

        &__text {
            color: $title-color;
            font-family: $body-font;
            font-size: 20px;
            font-style: normal;
            font-weight: 500;
            line-height: 26px; /* 130% */
        }
    }
    &-card2 {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        &__thumb {
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 485.556px;
            background: #5B931C;
            width: 440px;
            height: 440px;
            flex-shrink: 0;
            img {
                margin-top: -187px;
            }
            @include breakpoint (max-xl){
                width: 100%;
                height: 100%;
            }
        }
    }
}