/* CSS Custom */

.button2 {
    --color: #00A97F;
    padding: 0.8em 1.7em;
    background-color: transparent;
    border-radius: .3em;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
    font-weight: 400;
    font-size: 17px;
    border: 1px solid;
    font-family: inherit;
    text-transform: uppercase;
    color: var(--color);
    z-index: 1;
}

.button2::before,
.button2::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--color);
    transition: 1s ease;
}

.button2::before {
    top: -1em;
    left: -1em;
}

.button2::after {
    left: calc(100% + 1em);
    top: calc(100% + 1em);
}

.button2:hover::before,
.button2:hover::after {
    height: 410px;
    width: 410px;
}

.button2:hover {
    color: rgb(10, 25, 30);
}

.button2:active {
    filter: brightness(.8);
}


.quotes {
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.quotes .box {
    position: relative;
    padding: 80px 40px 40px;
    transition: 0.5s;
    text-align: center;
    background: #d9d4cb;
    border-radius: 10px;
}

.quotes .box:hover {
    background-color: #002344;
}

.quotes .box p {
    margin: 0;
    padding: 0;
    transition: 0.5s;
    color: #242C36;

}

.quotes .box h4 {
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: #1DBF73;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.quotes .box h4 span {
    font-weight: 600;
    font-size: 14px;
    color: #c5c5c5;
    transition: 0.5s;
}

.quotes .box:hover p,
.quotes .box:hover h4,
.quotes .box:hover h4 span {
    color: #fff;
}

.quotes .box .imgBox {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;

}

.quotes .box:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: url("../img/quotes.png");
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
}

.quotes .box:hover:before {
    transform: translateY(-60px);
    opacity: 1;
}

.quotes .box:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: url("../img/quotes.png");
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
    transform: rotate(180deg) translateY(0px);
}

.quotes .box:hover:after {
    transform: rotate(180deg) translateY(-60px);
    opacity: 1;
}
