.carousel-pro {
    display: flex;
    gap: 5em;
    justify-content: center;
    flex-wrap: wrap;
    overflow: auto;
    padding: 3em 1em;
    min-height: 600px;
}

.carousel-pro::-webkit-scrollbar {
    display: none;
}

.pro-card {
    width: 260px;
    transition: transform .3s ease-out, box-shadow .3s ease-out;
    flex-shrink: 0;
}

.pro-card:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
}

.pro-card.top {
    margin-bottom: 4em;
}

.pro-card.bottom {
    margin-top: 4em;
}

.pro-card > .pro-pic {
    position: relative;
    width: 100%;
    aspect-ratio: 260 / 320;
    height: auto;
}

.pro-card > .pro-pic > .profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pro-card > .pro-pic > .see-more {
    width: 30px;
    height: auto;
    position: absolute;
    bottom: 1em;
    right: 1em;
    filter: brightness(0) invert(1);
    cursor: pointer;
}

.pro-card .pro-info {
    padding-top: .5em;
    padding-bottom: 1em;
    background-color: #ffffff;
}

.pro-card .name,
.pro-card .role {
    margin-top: .5em;
    margin-bottom: 0;
    transition: padding .3s ease-out;
}

.pro-card:hover .name,
.pro-card:hover .role {
    padding-left: 1em;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0004;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-container > .pro-modal {
    width: 75%;
    aspect-ratio: 16/9;
    background-color: #ffffff;
    position: relative;
    display: flex;
}

.modal-container .pro-modal > div {
    padding: 5em;
}

.modal-container .pro-modal .pro-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5em;
}

.modal-container .pro-modal .pro-description {
    width: calc(75% - 2.5em);
}

.modal-container .pro-modal .pro-details {
    width: 25%;
}

.modal-container .pro-modal .pro-details .pro-picture {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.modal-container .pro-modal .pro-details .citation {
    font-size: 14px;
    font-style: italic;
}


.pro-modal .pro-contact {
    background-color: var(--giuggioli-gold);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 3em;
}

.pro-modal .pro-contact a {
    color: #000000;
}

.pro-modal .close-btn {
    position: absolute;
    top: 1.5em;
    right: 3em;
    width: 2em;
    cursor: pointer;
    opacity: .3;
    transition: opacity .3s ease-out;
}

.pro-modal .close-btn:hover {
    opacity: 1;
}

body:has( .modal-container.active) {
    overflow: hidden;
}

