.Boka {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1em;
    text-align: center;

    width: fit-content;
    border: 1px solid aqua;
    border-radius: 3px;
    padding: 3px 20px;
}


.projects-row {
    display: flex;
    justify-content: space-between;
    margin: 15px 30px 35px 30px;
    gap: 20px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    /* cursor: pointer; */
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card-image-wrapper {
    position: relative;
    height: 12rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.top-left,
.top-right {
    position: absolute;
    top: 1rem;
    color: white;
}

.top-left {
    left: 1rem;
    background-color: rgb(129 64 187);
    border-radius: 6px;
    padding: 3px 5px;
    font-size: 12px;
}

.top-right {
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .top-right {
    opacity: 1;
    transform: translateY(0);
}

.card-content {
    padding: 1rem 1rem 0 1rem;
}

.card-border {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid rgba(147, 51, 234, 1);
    opacity: 0;
    background: linear-gradient(45deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: opacity 0.3s ease;
}

.card:hover .card-border {
    opacity: 1;
}

.github-btn {
    /* to center the .github-btn within the div */
    padding: 16px 25px;
    margin: 5px auto;
    margin-top: 10px;
    display: block;

    background-color: unset;
    border-radius: 5px;

    border: 2px solid rgba(255, 255, 255, 0.6);
    font-family: sans-serif;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: border 0.5s, background-color 0.5s, color 0.5s, box-shadow 0.5s ease;
}

.github-btn:hover {
    border: 2px solid rgb(201, 193, 201);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.github-btn a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

@media (max-width: 500px) {
    .projects-row {
        display: block;
        justify-content: space-between;
    }

    .card {
        margin-bottom: 20px;
    }
}