I have integrated Bootstrap 4 into my project along with my custom CSS. In the center of the screen, there is a price sheet displaying three pricing options. I am currently using floats and clears, but the columns are not collapsing as intended at 962px. Instead, they seem to be adhering to their own breakpoints and collapsing closer to 500px. Has anyone encountered a similar issue before? Your insights are greatly appreciated. Images and code provided below.
index.html (yes, viewport meta tag is included)
<div class="wrapper-red store-backdrop">
<div class="container-fluid mb-5">
<h2 class="pt-5 nuestros-clientes text-center">CHOOSE THE BEST PLAN</h2>
<div class="text-center">
<i class="fa fa-2x fa-star text-white" aria-hidden="true"></i>
</div>
<div class="container p-4">
<p class="pt-3 light text-white">We have plans that suit your needs. Try one out and if you’re
satisfied, you can upgrade to others!
</p>
</div>
<div class="container">
<div class="row">
<div class="column2">
<div class="bg-white shadow rounded p-3 mt-4 text-center">
<h4 class="pt-1">Group Class</h4>
<h1><span style="font-size: 80px;font-family:'Lato', sans-serif;">$50</span>
</h1>
<p>Monthly</p>
<hr>
<p>2 classes of 1 hour per week</p>
<p>Maximum of 6 students per class</p>
<p>Native Teacher
</p>
<p>Conversational Classes
</p>
<p>Classes start on the first business day of the month</p>
<p>Subject to availability</p>
<p>Fixed Schedule</p>
<div class="button-holder mb-4">
<button type="button" class="btn .btn-lg bg-grey btn-outline-secondary mt-5 p-3"><span
style="font-size: 20px;">Enroll Today!</span></button>
</div>
</div>
</div>
<div class="column2 middle">
<div class="text-center bg-white shadow rounded p-3" style="height: 830px;">
<h4 class="pt-1">Individual Class</h4>
<h1><span style="font-size: 80px;font-family:'Lato', sans-serif;">$130</span>
</h1>
<p>Monthly</p>
<hr>
<p>2 classes of 1 hour per week</p>
<p>One-on-One Classes</p>
<p>Native Teacher</p>
<p>Method and Level Classes</p>
<p>Fixed Schedule</p>
<p class="mb-5 pb-5">Classes start every 15 days</p>
<div class="button-holder mt-5 mb-5">
<button type="button" class="btn btn-lg bg-grey btn-danger mt-5 p-3"><span
style="font-size: 20px;">Start Your Classes Now!</span>
</button>
</div>
</div>
</div>
<div class="column2">
<div class="text-center bg-white shadow rounded p-3 mt-4">
<h4 class="pt-1">Premier Class</h4>
<h1><span style="font-size: 80px;font-family:'Lato', sans-serif;">$300</span>
</h1>
<p>Monthly</p>
<hr>
<p>3 classes of 1 hour per week
</p>
<p>One-on-One Classes</p>
<p>Native Teacher</p>
<p>Conversational or Level Classes
</p>
<p>Immediate Class Start</p>
<p>Flexible Schedule</p><br><br>
<div class="button-holder mb-4">
<button type="button" class="btn .btn-lg bg-grey btn-outline-secondary mt-5 p-3"><span
style="font-size: 20px;">Advance Today!</span></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
style.css
.store-backdrop {
background-image: url(../assets/img/backdropFull.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
padding: 5px 5px 5px 5px;
width: 100%;
}
.column2 {
float: left;
width: 33.33%;
}
.row2:after {
content: "";
display: table;
clear: both;
}
.middle {
z-index: 1;
}
@media screen and (max-width: 962px) {
.column2 {
width: 100%;
float: none;
}
}
https://i.sstatic.net/1fUyD.png
I am seeking to convert the 3 column layout to individual stacked items at 962px. Your assistance on this matter is highly appreciated. Thank you in advance.