﻿@media (min-width: 1200px) {
    .content-container {
        max-width: 1140px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(10dvh);
}

/* Section1 */
.payment-section1-container {
    width: 96%;
    margin: 0 auto;
    margin-top: 3rem;
    border-radius: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-image: url(/images/OnlinePayment/Section1-background.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    min-height: 30rem;
}

.payment-section1-h1 {
    font-size: 2.5rem;
    color: var(--PrimaryColor7);
    text-align: center;
}

/* Section2 */
.payment-section2-container {
    width: 100%;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.section2-part1-container {
    width: 55%;
    padding-left: 3rem;
}

.section2-part2-container {
    width: 45%;
}

.section2-part2-image {
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.section2-content-container {
    display: flex;
    align-items: center;
    background-color: #eeecfc;
    transition: all 0.2s ease-in-out;
}

    .section2-content-container:hover {
        border-radius: 1.3rem;
        transform: translateY(-6px);
        box-shadow: 0px 4px 10px #5555;
    }

        .section2-content-container:hover .section2-part2-image {
            border-radius: 0 1.3rem 1.3rem 0;
        }

.section2-part1-title {
    font-size: 1.6rem;
    font-weight: 600;
}

.section2-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section2-h2 {
    font-size: 2.5rem;
}

.section2-part1-information {
    width: 90%;
}

/* Section3 */
.section3-content-container {
    margin-top: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.section3-content-h2 {
    font-size: 2.5rem;
    text-align: center;
}

.section3-icon {
    width: 3rem;
}

.section3-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease-in-out;
}

    .section3-item:hover {
        transform: translateY(-4px) scale(1.01);
    }

.section3-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.section3-image {
    width: 50%;
    border-radius: 1rem;
    transition: transform 0.2s ease-in-out;
}

    .section3-image:hover {
        transform: translateY(-4px);
    }

.section3-item-text {
    margin: 0;
}

.section3-items-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .section2-p {
        font-size: 1.3rem;
    }

    .section2-content-container {
        flex-direction: column;
        padding: 3rem;
        gap: 3rem;
    }

        .section2-content-container:hover .section2-part2-image {
            border-radius: 50%;
        }

    .section2-part1-container {
        width: 90%;
        text-align: center;
        padding-left: 0;
    }

    .section2-part1-title {
        font-size: 2rem;
    }

    .section2-part1-information {
        width: 95%;
        font-size: 1.3rem;
        margin: 0 auto;
    }

    .section2-part2-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .section2-part2-image {
        width: 25rem;
        height: 23rem;
        border-radius: 50%;
    }

    .section3-container {
        flex-direction: column;
    }

    .section3-image {
        width: 75%;
    }

    .section3-icon {
        width: 4.5rem;
    }

    .section3-item-text {
        font-size: 1.3rem;
    }

    .section3-items-container {
        width: 75%;
    }
}

@media (max-width: 500px) {
    .payment-section1-h1 {
        font-size: 1.6rem;
        width: 95%;
    }

    .payment-section2-container {
        margin-top: 8rem;
    }

    .section2-h2 {
        font-size: 1.6rem;
    }

    .section2-p {
        font-size: 1rem;
        width: 90%;
        text-align: center;
    }

    .section2-part1-container {
        width: 100%;
    }

    .section2-part1-title {
        font-size: 1.6rem;
    }

    .section2-part1-information {
        width: 100%;
        font-size: 1rem;
    }

    .section2-part2-image {
        width: 22rem;
        height: 20rem;
    }

    .section3-content-h2 {
        font-size: 1.6rem;
    }

    .section3-content-container {
        gap: 2rem;
    }

    .section3-image, .section3-items-container {
        width: 85%;
    }

    .section3-icon {
        width: 3.5rem;
    }

    .section3-item-text {
        font-size: 1rem;
    }
}
