@use "../../../../styles/abstracts/variables";
@use "../../../../styles/abstracts/mixins"; 

.invest {
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-gap: 30px;
    margin-top: 2rem;

    @media only screen and (max-width: 1000px) {
        display: flex;
        flex-direction: column;
    }

}

.invest__asset {
    @include mixins.pageBase;
    &{
        margin-top: 0;
    }

    img {
        width: 100%;
        border-radius: 10px;
        height: 350px;
        // margin-top: 1rem;
        @media only screen and (max-width: 1000px) {
            height: 200px;
        }
    }

    &__info{
        padding-top: 1.5rem;
        h1{
            font-size: 1.5rem;
            color: variables.$col-secondary;
            font-weight: 700;
            padding-bottom: 1rem;
            width: 95%;

            @media only screen and (max-width: 1000px) {
                width: 100%;
            }
        }
        span {
            background: variables.$col-success-bg;
            color: variables.$col-success-color;
            font-weight: 600;
            padding: .5rem 1.5rem;
            border-radius: 50px;
            font-size: .75rem;
        }
    }

    &__description {
        background: variables.$col-active-btn-bg;
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 2rem;
        h1{
            font-weight: 700;
            color: variables.$col-secondary;
            font-size: 1.2rem;
        }
        p{
            font-size: .85rem;
            color: variables.$col-secondary;
            line-height: 1.8;
            font-weight: 600;
            opacity: .8;
        }

        &__stats{
            padding-top: .1rem;
            p{
                padding-bottom: 1rem;
            }
            h2{
                font-size: .85rem;
                color: variables.$col-secondary;
                line-height: 1.8;
                font-weight: 600;
                opacity: .8;
                padding-bottom: .5rem;
                line-height: 2.5;
                border-bottom: 1px solid #F1F2F3;
                display: flex;
                align-items: center
            }
        }
    }
    button{
        @include mixins.dashPagesButton;
        display: inline-flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
    }
}