.cardContainer {
    margin: 5px;
}

.cardsWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    position: relative;
    width: 300px;
    height: 350px;
    perspective: 1000px;
}

.cardInner {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: width 0.8s, transform 0.8s ease;
    transform-style: preserve-3d;

}

.card:hover .cardInner {
    transform: rotateY(-180deg);
}

.cardFrontside,
.cardBackside {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--accentGradient);
    border-radius: 10px;
}

.cardBackside {
    background: var(--accentGradient2);
    color: white;
    transform: rotateY(180deg);
}

.card h2 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0;
    padding: 20px;
    margin-bottom: -30px;
    color: var(--textColor);
}

.card p {
    text-align: center;
    font-size: 1rem;
    margin: 0;
    padding: 20px;
    color: var(--textColor);
}

.card img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    object-fit: cover;
    border-radius: 10px;
    filter: var(--invert);
}

.image-container {
    position: relative;
    display: inline-block;
}

.overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: url(/assets/icons/click.svg) no-repeat center center;
    background-size: cover;
}


.borderExampleImage {
    width: 250px;
    border-radius: 10px;
    transition: border 0.2s ease;
}

.borderExampleImageCorner {
    width: 250px;
    transition: border-radius 0.5s ease;
}

.borderExampleImageCorner:hover {
    border-radius: 50px;
}

.borderExampleImage:hover {
    border: 5px solid var(--accentColor);
}

.fillerImageParent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.fillerImage {
    object-fit: cover;
    width: 60vw;
}

.codeBlock {
    background-color: var(--elementColor);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    overflow-x: auto;
}

@media only screen and (max-width: 600px) {
    .overlay {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        background: url(/assets/icons/clickMobile.svg) no-repeat center center;
        background-size: cover;
    }

    .fillerImage {
        width: 90vw;
    }
}