.instructors {
    width: 100%;
    color: var(--font);
    background: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: calc(var(--space-md));
    perspective: 1000px;
    padding: var(--space-xl) var(--space-lg) calc(var(--space-xl) * 4) var(--space-lg);
    overflow-x: hidden;
    overflow-y: hidden;
}

#carousel { 
    position: relative; 
    width: 100%;
    height: 280px;
    margin-top: calc(var(--space-lg) * 6);
} /* enables swipe capture */

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--font);
    background: transparent;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.5s, opacity 0.5s;
}
.card .img-container {
    width: 100%;
    height: 100%;
    border-radius: 12px 12px 0 0;
    background-color: #333;
    position: relative;
}
.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
}



.card p {
    font-size: 1rem;
    opacity: 0.8;
}

.air {
    background-color: #ff3232;
    color: #fcfcff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.4rem;
    position: absolute;
    top: -90px;
    right: -60px;
    width: 100px;
    aspect-ratio: 1 / 1;
    padding: var(--space-md);
    transform: rotate(15deg);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 3;

}
.air span {
    font-size: .8rem;
    font-weight: 600;
}
