@use 'abstracts';

.projects {
    display: flex;
    min-height: 100vh;
    margin-top: var(--neg-nav-height);
    align-items: center;

    &__wrapper {
        @include abstracts.container-wrapper;
    }

    &__card-container {
        display: flex;
        gap: var(--space-3);
    }

    &__card {
        position: relative;
        border-radius: var(--border-radius);
        overflow: hidden;

        &__description {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: var(--space-2);
            background: rgba(0, 0, 0, 0.7);
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        &:hover &__description {
            opacity: 1;
            color: var(--color-white);
        }
    }

    &__card-features {
        display: flex;
        gap: var(--space-2);
    }
}