﻿/* Recommended to edit file in external code editor as Visual Studio CSS does not fully support nesting */

.love-every-step {
    text-align: center;
    padding: 55px 15px 70px;

    h2 {
        font-size: 36px;
        font-weight: var(--font-weight-bold);
        line-height: normal;
        margin-bottom: 20px;

        sup {
            font-size: 18px;
            top: -0.7em;
        }
    }

    p {
        font-size: 18px;
        font-weight: var(--font-weight-regular);
        line-height: 24px;
        margin-bottom: 40px;
    }

    .every-step-columns {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-width: 1382px;
        margin: 0 auto 30px;

        .every-step-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: var(--color-seafoam);
            width: 100%;
            min-height: 394px;
            padding: 15px 30px;
            margin-bottom: 20px;
            border-radius: 7px;
        }

        .every-step-col:last-child {
            margin-right: 0px;
            margin-bottom: 0px;
        }

        img {
            max-height: 93px;
            margin: 25px 0;
        }

        h3 {
            font-family: var(--font-poppins);
            font-size: 24px;
            font-weight: var(--font-weight-semi-bold);
            line-height: 30px;
            margin-bottom: 15px;
            sup {
                font-size: 15px;
                top: -0.5em;
            }
        }

        p {
            font-size: 16px;
            font-weight: var(--font-weight-regular);
            line-height: 24px;
            margin: 0;
        }
    }

    @media (min-width: 60em) {
        h2 {
            font-size: 42px;

            sup {
                font-size: 22px;
            }
        }

        p {
            margin-bottom: 25px;
        }

        .every-step-columns {
            flex-direction: row;
            min-height: 394px;
            margin: 0 auto 45px;

            .every-step-col {
                max-width: 320px;
                margin-right: 2%;
                margin-bottom: 0px;
            }
        }
    }
}