.overview-section {
    background-color: var(--bg-color);
}

.top-p {
    margin-bottom: 1.5rem;
}

/* Largest images */
.overview-section .overview-largest-image {
    height: 350px;
    width: 100%;
}

/* Medium-sized images */
.overview-section .overview-medium-image {
    height: 250px;
    width: 100%;
}

/* Smallest image */
.overview-section .overview-smallest-image {
    height: 150px;
    width: 100%;
}

/* Align all images to the same base */
.overview-section .row {
    align-items: flex-end;
}

.overview-section .overview-buttons {
    top: 10%;
    transform: translateY(-50%);
    z-index: 10;
}

.overview-section .overview-image-btn {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.overview-section .overview-image-btn:hover {
    transform: translateY(-10px);
}

.forum-btn {
    border: 1px white solid !important;
    font-size: 14px !important;
}

.forum-btn.learn {
    background-color: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color) !important;
    color: var(--primary-color);
}

.forum-btn.learn:hover {
    background-color: white !important;
    border: 1px solid white !important;
}

.aspect {
    background: white !important;
}

.head-p {
    color: #333333;
    font-weight: 400;
    font-size: 13px !important;
}

.info-box {
    border-left: 8px solid var(--primary-color) !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #f9fafc !important;
    padding-bottom: 0px !important;
}

.info-box h4 {
    color: #333333 !important;
    margin-bottom: 0px !important;
    font-weight: 600;
}

.info-box p {
    color: #333333 !important;
    font-weight: 400;
}

.partition {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.video {
    background-color: var(--bg-color);
}

.vid-container iframe {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .overview-section .row {
        display: flex;
        flex-wrap: wrap;
    }

    .overview-section .overview-smallest-image,
    .overview-section .overview-medium-image {
        height: auto;
    }

    .top-p {
        margin-bottom: 8.5rem;
    }

    .head-p {
        width: 100%;
    }

    .overview-section .col-6 {
        margin-bottom: 15px;
    }

    .overview-section .col-md-2 {
        margin-bottom: 15px;
    }

    .overview-section .overview-buttons {
        top: -5%;
    }

    .info-box {
        margin-bottom: 2rem;
    }

    .vid-container iframe {
        height: 300px;
    }
}
