/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.wrapper{
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fafafa;
}
.max-width{
    max-width: 1300px;
    padding: 0 45px;
    margin: auto;
}
.max-width h1{
    color: #000;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
}
.max-width h1::after{
    content: '';
    position: absolute;
    width: 180px;
    height: 3px;
    background: #000000;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.line{
  font-family: "Georgia", serif;
    font-size: 1.4em;
    line-height: 1.5;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}
.content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.card{
    padding: 50px 25px;
    width: calc(26% - 20px);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    user-select: none;
    cursor:pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 15px 30px rgba(0,0,0,0.2);
}
.card12{
    margin-bottom: 20px;
    margin-left: 30px;
    padding: 20px 25px;
    width: calc(97% - 20px);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    user-select: none;
    box-shadow: 20px 25px 20px 30px rgba(0,0,0,0.2);
}

.box{
    transition: all 0.3s ease;
}
.card:hover .box{
    transform: scale(1.05);
}
.box i{
    font-size: 50px;
    color: #000000;
    transition: color 0.3s ease;
}
.card:hover .box i {
    color: #fff;
}
.card:hover .box h3 {
    color: #ffffff;
    font-size: 25px;
}
.card:hover .box p {
    color: #060606;
    font-size: 20px;
}
.box h3{
    align-items: center;
    justify-content: center;
    font-size: 25px;
    padding: 10px 0 7px;
}
.card:nth-child(1):hover,
.card:nth-child(2):hover,
.card:nth-child(3):hover,
.card:nth-child(4):hover{
    background: linear-gradient(45deg,
                                   rgba(88, 70, 159, 0.7) 0% ,
                                   rgba(136, 113, 199, 0.7)100% ) ,
                                    url('Cclub.jpg');
                                    background-size: cover;
}
/* responsive */
@media(max-width:991px){
    .max-width{
        padding: 25px;
    }
    .max-width h1{
        font-size: 2.5em;
        font-weight: 600;
    }
    .content{
        flex-direction: column;
        width: 100%;
    }
    .card{
        min-width: 300px;
        margin: 10px auto;
    }
    .card12{
        margin-left: 15px;
    }
}
