.credits{
    margin-top: 60px;
}

.credit{
    margin-bottom: 15px;
    display: flex;
}

.credit p{
    width: 50%;
    margin: 0;
    font-size: 1rem;
    font-family: "Goldman";
    font-weight: 400;
    line-height: 1rem;
}

.credit p:first-of-type{
    display: block;
    margin-left: auto;
    text-align: right;
    padding-right: 10px;
    color: #FFB34D;
}

.credit p:last-of-type{
    display: block;
    margin-right: auto;
    text-align: left;
    padding-left: 10px;
}


.member-hover-image {
    position: fixed;
    width: 350px; 
    height: 350px; 
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none; /* So it doesn't interfere with mouse events */
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%); /* Center the circle on cursor */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.credits {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* REMOVE ALL HOVER EFFECTS from .credit */
.credit {
    margin-bottom: 15px;
    display: flex;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    padding: 10px;
}

.credit:hover {
    background-color: rgb(80, 59, 31);
}

.credit p {
    width: 50%;
    margin: 0;
    font-size: 1rem;
    font-family: "Goldman";
    font-weight: 400;
    line-height: 1rem;
    transition: color 0.3s ease;
}

.credit p:first-of-type {
    display: block;
    margin-left: auto;
    text-align: right;
    padding-right: 10px;
    color: #FFB34D;
}

.credit p:last-of-type {
    display: block;
    margin-right: auto;
    text-align: left;
    padding-left: 10px;
    /* Don't change color on hover */
}

.credit:hover::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background-color: #FFB34D;
    border-radius: 2px;
}


@media (max-width: 800px) {
    .member-hover-image {
    display: none;
}
}