/* Custom CSS */

.title {
    font-size: 1.3em;
    font-weight: 400;
}


/* - - - - - - - - */


.container {
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    box-sizing: border-box;
    padding: 20px;
}

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

.container .box:hover {
    background-color: #a889d4;
}

.container .box p {
    margin: 0;
    padding: 0;
    transition: 0.5s;

}

.colourback {
    background-color: #3a97c0;
}

.colourback :is(h1, h2, h3, h4, p, b, a, li, strong) {
    color: #fff;
}

.container .box h4 {
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: rgb(176, 200, 226);
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

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

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

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

}

.container .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;
}

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

.container .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);
}

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


/* - - - - - - - - */
