Presented below is the code snippet of my HTML:
.classWrap {
text-align: center;
}
.classInd {
display: inline-block;
height: 200px;
width: 200px;
margin: 20px;
border: 2px solid #FFF202;
border-radius: 10%;
box-shadow: 0 0 15px 0 #FFF202;
background-image: url(img/logos/logoSmall10.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.classTitle {
text-align: center;
font-family: bebaslight;
margin-bottom: 0px
}
.classInd p {
font-family: bebaslight;
font-size: 13px;
margin: 5px;
}
.line {
border-top: .25px solid black;
width: 75%;
margin: 0 auto;
}
<div class="classWrap">
<h1 style="text-align:center;font-family:bebaslight;font-size:50px">Group Classes</h1>
<div class="classInd">
<h3 class="classTitle">Body Sculpting</h3>
<div class="line"></div>
<p>Chisel those hard-to-train areas and experience unprecedented results. Work your upper, lower body, strengthen the sides of your waist and lower back, and transform your fitness routine.</p>
</div>
<div class="classInd">
<h3 class="classTitle">Cardio Blitz</h3>
<div class="line"></div>
<p>Squeeze in optimum calorie burn with our quick 30-minute cardio blitz class. Challenge yourself to make this your warm-up routine!</p>
</div>
<div class="classInd">
<h3 class="classTitle">Intro Training</h3>
<div class="line"></div>
<p>Learn fundamental iRock exercises and TRX Suspension Trainer techniques in a fun, engaging environment with our certified trainers. Get ready for transformative workouts!</p>
</div>
<div class="classInd">
<h3 class="classTitle">Circuit Training</h3>
<div class="line"></div>
<p>Say goodbye to boring workout routines with our high-energy circuit training class. Blast fat, sculpt muscle, and engage in exclusive exercises only at iRock Fitness, Erie, PA.</p>
</div>
<div class="classInd">
<h3 class="classTitle">H.I.I.T. Abs</h3>
<div class="line"></div>
<p>Get that heart pumping with a rigorous high-intensity abs workout that targets core muscle groups effectively.</p>
</div>
<div class="classInd">
<h3 class="classTitle">MX Cardio</h3>
<div class="line"></div>
<p></p>
</div>
<div class="classInd">
<h3 class="classTitle">MX Strength</h3>
<div class="line"></div>
<p></p>
</div>
<div class="classInd">
<h3 class="classTitle">Boot Camp</h3>
<div class="line"></div>
<p>Finally, achieve the desired results with our intense boot camp circuit. Be prepared to break a sweat!</p>
</div>
<div class="classInd">
<h3 class="classTitle">Cardio Endurance</h3>
<div class="line"></div>
<p>Reach maximum heart rate levels as you pedal, step, jump, and row towards your fitness goals and weight loss journey.</p>
</div>
</div>
I attempted to address the alignment issue by adding vertical-align: top to the "classWrap" class based on suggestions from other resources, but unfortunately, some elements remain shifted up or down.