@font-face {
    font-family: "DumbnerdRegular";
    src: url(https://whiroo.alessiomaggiowebdev.it/wordpress/wp-content/uploads/2023/10/dumbnerd.ttf) format('truetype'), url(dumbnerd-webfont.svg) format("svg")
}

.membri_container {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    background-color: #fff;
    color: #444;
    justify-items: center;
    margin-bottom:50px;
}

.border {
    height: 369px;
    width: 290px;
    background: transparent;
    transition: border 1s;
    position: relative;
}

.membri_card {
    height: 379px;
    width: 300px;
    background: #808080;
    border-radius: 10px;
    transition: background 0.8s;
    overflow: hidden;
    background: #000;
    box-shadow: 0 70px 63px -60px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card0 {
    background-position: top center;
    background-size: 379px;
    background-repeat: no-repeat;
    position: relative;
}

.membri_card-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 0;
    display: none;
}

.card0:hover {
    /* background: url("./dani.jpg") left center no-repeat;  */
    background-position: left center;
    background-position-x: left;
    background-repeat: no-repeat;
    background-size: 400px;
    z-index: 1;
}

.card0:hover .membri_card-overlay {
    background-color: #00000065;
    display: block;
}

.card0:hover h2 {
    opacity: 1;
}

.card0:hover .fa-brands,
.card0:hover .fa-solid {
    color: #fff;
    opacity: 1;
}

.border h2 {
    font-family: "DumbnerdRegular", Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    color: #fff;
    margin: 20px;
    opacity: 0;
    transition: opacity 1s;
    font-size: 30px;
    background: linear-gradient(to right, #FBB732 20%, #fdcb67 30%, #ffe4af 70%, #ffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.fa-brands,
.fa-solid {
    opacity: 0;
    transition: opacity 1s;
    background: linear-gradient(to right, #FBB732 20%, #fdcb67 30%, #ffe4af 70%, #ffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

.icons {
    position: absolute;
    fill: #fff;
    color: #fff;
    height: 130px;
    top: 126px;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}


.footer_banner {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 10px;
background-color:#000
}

.footer__banner--info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__banner--info .logo__banner {
    width: 80%;
}

.footer__banner--info .logo_banner_sponsor {
    width: 100%;
}

.nome__atleta {
    color: #fff;
}

.container__img_logo_societa {
    flex-basis: 20%;
}

.container_nome_atleta {
    flex-basis: 60%;
    text-align: center;
}

.container__img_logo_sponsor {
    flex-basis: 20%;
}