@media (prefers-reduced-motion: reduce){
    .refs * { transition: none !important; animation: none !important; }
}

.references.content {
    padding: 50px 25px;

    min-height: calc(100dvh - 75px);

    max-width: 1200px;

    margin: 0px auto;
}

.titlebox .title {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.refs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;

    width: 100%;
}

.refs .ref {
    /* width: 100%; */
    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    margin: 25px 0px;
}

/* .refs .ref:hover .infos {
    padding: 15px 25px;
    width: 100% !important;
} */

.refs .ref .img {
    max-width: 450px;
    width: fit-content;
    height: fit-content;

    position: relative;
}

.refs .ref .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    border-radius: 30px;

    z-index: 0;
    
    box-shadow: 0px 0px 5px #565656;
}

.refs .ref .img .fade {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 3px;

    z-index: 1;

    border-radius: 30px;

    background: linear-gradient(to top, #0000007c 0%, #00000000 50%, #00000000 100%);

    transition: all .15s ease-in-out;
}

.refs .ref .fade .company {
    position: absolute;

    bottom: 15px;
    left: 25px;

    z-index: 2;

    color: white;
    font-weight: bold;
}

.refs .ref .fade:hover {
    cursor: pointer;

    box-shadow: 5px 5px 20px #4b00e06c;
}

.refs .ref .fade .company .underline {
    width: 0%;
    height: 2px;
    
    background-color: white;

    transition: width .3s ease-in-out;
}

.refs .ref .fade:hover .underline {
    width: 100%;
}

.refs .ref .fade .company i {
    color: white;

    font-size: 0px;
    
    transition: all .3s ease-in-out;
}

.refs .ref .fade:hover .company i {
    font-size: 13px;
}

.refs .ref .infos {
    padding: 15px 25px;

    overflow: hidden;

    max-width: 450px;
    width: calc(100% - 450px);
    height: 100%;

    transition: width .3s ease-in-out;
}

.refs .ref .infos .company {
    width: 100%;

    font-size: 20px;

    margin-bottom: 15px;
}

.refs .ref .infos .metaData {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.refs .ref .infos .dataItem {
    width: fit-content;

    margin-right: 15px;
    margin-bottom: 15px;
}

.refs .ref .infos .dataItem .title {
    width: fit-content;
    font-size: 18;
    font-weight: bold;
}

.refs .ref .infos .dataItem .data {
    font-size: 15px;
    
    text-align: left;
}



/* Mobile */
@media only screen and (max-width: 768px) {
    .refs .ref .infos {
        width: 100%;
    }
}