@use "../../utils" as *;

/*----------------------------
amenities section design
------------------------------*/
.td-amenities {
    &-box {
        margin-top: 50px;

        @media #{$lg,$md} {
            margin-top: 40px;
        }

        @media #{$xs} {
            margin-top: 30px;
        }

        &-card {
            border-radius: 16px;
            background-color: rgba(4, 154, 71, 0.04);
            padding: 40px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: background-color 0.3s ease-in-out;

            @media #{$xl,$lg,$md,$xs} {
                padding: 30px 10px;
            }

            &:hover {
                background-color: rgba(4, 154, 71, 0.16);
            }

            &-icon {
                width: 40px;
                height: 40px;
                margin-bottom: 30px;

                @media #{$xl,$lg,$md} {
                    width: 35px;
                    height: 35px;
                    margin-bottom: 25px;
                }

                @media #{$xs} {
                    width: 30px;
                    height: 30px;
                    margin-bottom: 15px;
                }

                @media #{$sm} {
                    width: 40px;
                    height: 40px;
                    margin-bottom: 20px;
                }

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            &-text {
                p {
                    color: var(--td-theme-bg-color);
                    text-align: center;
                    font-size: 16px;
                    font-weight: 500;
                    text-transform: capitalize;

                    @media #{$xs} {
                        font-size: 14px;
                    }

                    @media #{$xs} {
                        font-size: 12px;
                    }

                    @media #{$sm} {
                        font-size: 14px;
                    }
                }
            }
        }
    }
}