/* Style for causes_effects page */
.causes{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: -12%;
  }

.causesH2 {
  margin-top: 3%;
  margin-bottom: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  font-weight: 900;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* style for causes card */
.causes-card{
    position: relative;
    width: 220px;
    height: 220px;
    background: #5d3c6b;
    padding: 35px;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
    margin: 0 25px;
}

/* style for causes card hover */
.causes-card:hover{
    border-radius: 10px;
    height: 400px;
    width:300px;
}

.causes-card .img{
    position: relative;
    width: 100%;
    height: 100%;
    transition: .6s;
    z-index: 99;
}

/* style for causes card hover */
.causes-card:hover .img{
    margin-left: 8%;
    margin-bottom:40%;
    margin-top: -35%;
    width: 200px;
    height: 200px;
}

/* style for causes card img */
.img img{
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
}

.causes-card:hover img{
    border-radius: 10px;
}

/* style for caption */
.caption{
    text-align: center;
    font-weight: bold;
    transform: translateY(-80px);
    opacity: 0;
    transition: .10s;
    color: #b8df10;
    font-family:'Times New Roman', Times, serif;
}

/* style for caption hover */
.causes-card:hover .caption{
    opacity: 1;
}

.caption h3{
    font-size: 21px;
    margin-bottom:5%;
}

/* style for caption p */
.caption p{
    font-size: 16px;
    font-weight: lighter;
    font-family: 'Times New Roman', Times, serif;
    color: #ffffff;
    margin: 2px 0 9px 0;
    text-align: justify;
}

/* style for solution elements*/
.solution{
    text-align: center;
    text-transform: capitalize;
    color: #000000;
    margin: 100px 10px 10px 20px;
    position: relative;
    font-size: 55px;
    font-weight: 900;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif ;
}

/* style for solution after */
.solution::after{
    content: "";
    position: absolute;
    width: 40%; height: 2px;
    background-image: linear-gradient(to left, transparent 5%, #726a95);
    bottom: -20px; left: 50%;
    transform: translate(-50%);
}

.solution-row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px 0;
}

.solution2{
    flex: 1 1 250px;
    margin: 20px;
    text-align: center;
    padding: 20px 10px;
    cursor: pointer;
    max-width: 300px;
    transition: all 0.3s;
    background: #ffffff;
}

.solution2:hover{
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-20px);
}

.solution2 img{
    display: block;
    width: 150px; height: 150px;
    object-fit: cover;
    border:4px solid #5d3c6b;
    border-radius: 50%;
    margin: 0 auto;
}

.solution2 h2{
    text-transform: uppercase;
    font-size: 24px;
    color: #000000;
    margin: 15px 0;
}

/* style for solution2 p */
.solution2 p{
    font-size: 15px;
    color:#8d00a6;
    line-height: 1.6;
}