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

.details {
    img {
        width: 100%;
        height: 300px;
        // margin-top: 1rem;
        @media only screen and (max-width: 1000px) {
            height: 200px;
        }
    }
    h2{
        color: $col-white;
        padding-bottom: .3rem;
        font-size: 1rem;
    }

    p{
        color: $col-white;
        font-size: .8rem;
        opacity: .85;
        font-weight: 400 !important;
        line-height: 2;
        padding-bottom: 1.5rem;
    }

    h4{
        color: $col-white;
        font-size: .85rem;
        opacity: .85;
    }

    &__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 15px;
        color: $col-white;
        margin-top: .5rem;
        margin-bottom: 3rem;
        @media only screen and (max-width: 1000px) {
            display: flex;
            flex-direction: column;
        }
        &--item {
            background: #121214;
            border-radius: 6px; 
            padding: .5rem 1.3rem;
            line-height: 3;
            border: 1px solid $col-border-lining;
            @media only screen and (max-width: 1000px) {
                padding: .5rem 1rem;
            }
            &--details {
                display: flex;
                justify-content: space-between;

                p{
                    font-size: .8rem;
                    opacity: .9;
                }
                h6{
                    font-size: .85rem;
                    opacity: .9;
                }

                span {
                    font-size: .8rem;
                    background: #085528;
                    color: #05DF73;
                    padding: .4rem .7rem;
                    border-radius: 3px;
                    display: inline-flex !important;
                    justify-content: center;
                    align-items: center;
                    line-height: .3;
                    text-align: center;
                    height: 1.7rem;
                    font-weight: 400;
                    margin-top: .4rem;
                }
            }
        }
    }

    &--note {
        background: #0A100E;
        border-radius: 6px;
        border: 1px solid #085528;
        color: #05DF73;
        font-size: .78rem;
        margin-top: 1rem;
        display: flex;
        padding: 1rem 1.2rem;
        gap: 10px;
        align-items: flex-start;
        p{
            opacity: .8;
            line-height: 1.8;
        }
    }

    &--support {
        @extend .details--note; 
        background: #0C0E1A;
        border: 1px solid #1C398E;
        color: #2B7FFF;
        h6{
            font-size: .9rem;
        }
        p{
            font-size: .79rem;
        }
        @media only screen and (max-width: 1000px) {
            display: none;
        }
    }
}