﻿
.contCont {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.partinimg {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.imgCont {
    height: 100%;
    width:100%;
    padding: 0;
}

    .imgCont img {
      object-fit: cover;
      height:100%;
      width:100%;
    }

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
    border-radius: 16.5%;
    transition: .5s ease;
    background-color: #000000;
}


.container {
    display: inline-block;
    position: relative;
    width: 26%;
    height: 21vw;
    border-radius: 16.5%;
    overflow: hidden;
    margin: 3.2%;
    margin-top: 0.2%;
    background-color: white;
}

.container:hover .overlay {
    opacity: 0.75;
}

.text {
    color: white;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    -ms-transform: translate(-50%, -50%);
    font-size: var(--all-fonts-base);
}

.button {
    background-color: #ff0000;
    border: 0px;
    color: white;
    padding: 12px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    min-width: 50%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    cursor: pointer;
    font-size: min(var(--all-fonts-base), 1.8vw);
    transition: .2s ease;
}

    .button:hover {
        background-color: #d50101;
        color: white;
    }

@media only screen and (min-width: 1220px) {

    .container {
        height: 270px;
    }
}
