.references {
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 5%;
    margin-right: 5%;
    justify-content: center;
    text-align: center;
}

.references_image img{
    border-radius: 20px;
    box-shadow: #fd0add1f 0px 4px 16px, #f38f0c0d 0px 8px 32px;
}

.references_image:hover{
    -webkit-transform: scale(1.1) rotate(4deg);
    transform: scale(1.1) rotate(4deg);
    cursor: pointer;
}

.references_image{
    width: 100%;
    height: auto;
    display: flex;
    margin: 0px 10px;
    transition: .8s;
    clear: both;
}

.reftext h4{
    padding-top: 1%;
    font-size: 30px;
    text-align: center;
    background: -webkit-linear-gradient(45deg, #a2759b, #855ae6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.refhr{
    color: #a2759b;
    padding-bottom: 2%;
}

.refpad{
    padding-bottom: 7%;
}

.references_image:before {
    content: '';
    display: block;
    position: absolute;
    height: 0%;
    width: 100%;
    bottom: 0;
    transition: top .5s ease-out;
    background: linear-gradient(0deg, transparent 50%, #a2759b 100%) !important;
    border-radius: 20px;
}

.references_image:hover:before {
    height: 100%;
    display: flex;
    width: 100%;
}

.references_text {
    position: absolute;
    padding-left: 1em;
    padding-right: 1em;
    top: 15%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.references_text h3 {
    font-family: boldstrom, sans-serif;
    font-size: 15px;
    padding-top: 5%;
    color: #fff;
}

.references_image:hover .references_text {
    opacity: 1;
}

@media (max-width: 700px)
{
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img{
        width: 100%;
    }
}
@media (min-width: 576px) {
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img{
        width: 100%;
    }
}
@media (min-width: 1200px) {
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img {
        width: 100%;
    }
}
@media (min-width: 1400px) {
    .references{
        grid-template-columns: repeat(1,auto);
    }
    .references img {
        width: 100%;
    }
}