﻿/* CONTAINER */
/* --------- */
.images-and-badge-left-right-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* Space between left and right sections */
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto; /* Center the container */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
@media (max-width: 900px) {
    .images-and-badge-left-right-container {
        padding: 0.5rem;
    }
}

/* LEFT / RIGHT CONTAINERS */
/* ----------------------- */
.images-and-badge-left-right-container__left,
.images-and-badge-left-right-container__right {
    flex: 1; /* Each section takes up equal space */
    min-width: 250px; /* Ensure a minimum width for each section */
}

.images-and-badge-left-right-container__left {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.images-and-badge-left-right-container__right {
    text-align: left; /* Align text to the left in the right section */
}

/* DISC AT THE CENTRE OF THE IMAGES */
/* -------------------------------- */

/* Disc */
/* ---- */
.images-and-badge-left-right-container__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 150px;
    width: 150px;
    transform: translate(-50%, -50%);
    background: var(--secondary-color);
    border: 5px solid var(--white-color);
    border-radius: 50%;
    padding: 1rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Text within */
/* ----------- */
.images-and-badge-left-right-container__overlay-text {
    color: var(--white-color);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

/* Modifiers */
.images-and-badge-left-right-container__overlay-text--large {
    font-size: 2rem;
}

/* IMAGES IN LEFT CONTAINER */
/* ------------------------ */
.images-and-badge-left-right-container__image {
    transition: transform 0.3s ease;
}

.images-and-badge-left-right-container__image:hover {
    transform: translateY(-5px);
}

/* SPACER AT THE TOP AND BOTTOM OF EACH IMAGE */
/* ------------------------------------------ */
.images-and-badge-left-right-container__spacer {
    height: 20px;
}
