/* Container Layout */
main {
    font-family: system-ui, -apple-system, sans-serif;

    #highlight-heading {
        position: relative;
        margin-left: 2rem;

        width: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;

        svg path {
            fill: transparent;
            stroke: #00e5ff;
            stroke-dasharray: 940;
            stroke-dashoffset: 940;

            animation: starAnimation 3s ease-in-out infinite alternate;
        }
    }

    #highlight-heading::after {
        content: "";
        flex-grow: 1;

        height: 2px;
        width: 50%;
        bottom: 50%;

        background-image: linear-gradient(to right, rgba(0, 229, 255, 0.7), rgba(0, 229, 255, 0));
    }
}

@keyframes starAnimation {
    0% {
        stroke-dashoffset: 940;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.project-hero {
    margin: 0 0 1em 0;
    padding-left: 1em;

    border-left: 1px solid;
    border-image: linear-gradient(to bottom, rgba(0, 229, 255, 0), rgba(0, 229, 255, 0.7), rgba(0, 229, 255, 0)) 1;
    font-family: sans-serif;

    h5 {
        color: #00e5ff;
    }

    h1 {
        font-size: 3.5em;
        padding: 5px 0;
        color: rgba(255, 255, 255, 0.9);
    }

    p {
        color: grey;
        max-width: 40vw;
    }
}

.highlights {
    margin: 0.8em 1.5em;
    background-color: rgba(93, 93, 93, 0.132);
    border: 1px dashed rgba(0, 255, 255, 0.402);
    border-radius: 15px;
    height: 40vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    #coming-soon {
        text-align: center;

        padding: 1em;
        max-width: 30vw;
    }

    #star {
        padding: 0.4em;
        margin: 5px;

        background-image: linear-gradient(135deg, rgba(57, 4, 127, 0.6), rgba(1, 29, 139, 0.6));
        border: 1px solid #00e5ff65;
        border-radius: 10px;
    }

    p {
        color: rgb(121, 121, 121);
    }
}

h2 {
    font-family: Fira-Code system-ui, Verdana;
    text-align: center;
    padding: 1rem;
    color: #f5f5f5;
    letter-spacing: 1px;
}

.minproj {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem;
}

/* CARD STYLING */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: rgba(207, 80, 218, 0.377);
    border-radius: 1rem;
    transition: transform 0.3s ease;

    img {
        display: block;
        border-radius: 1rem;
        height: 200px;
        width: auto;
    }

    .card-content {
        color: whitesmoke;
        text-align: center;
        font-weight: 600;
        font-size: 1.1rem;

        h2{
            padding: 4px;
            font-size: 1.5rem;
            font-family: Roboto;
        }
        p{
            color: rgb(191, 191, 191);
        }
        .links{
            margin: 4px;
            display: grid;

            a{
                background-color: #00e5ffb9;
                color: rgb(78, 2, 84);
                padding: 4px;
                margin: 2px;
                border-radius: 200px;
                text-shadow: none;

                &:hover{
                    filter: brightness(0.9);
                }
            }
        }
    }

    &:hover {
        transform: translateY(-6px);
    }
}