.title {
    color: black;
    margin-top: 0px;
}

main {
    padding: 40px 10%;
    margin-bottom: 100px;
}

.red-line {
    width: 58px;
    height: 5px;
    background-color: #BB1A21;
    margin: -10px 0 25px 0;
}

.paragraph {
    color: #222222;
    text-align: justify;
    display: block;

    .text-red {
        color: #BB1A21;
    }
}

.space {
    height: 37px;
}

.flex-1 {
    display: flex;
    color: black;
    margin-top: 30px;
    height: 200px;

    .img-container {
        min-width: 400px;
        align-items: start;

        img {
            height: 200px;
            object-fit: contain;
        }
    }

    div {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.flex-2 {
    display: flex;
    color: black;
    margin-top: 30px;
    height: 250px;

    .img-container {
        min-width: 400px;
        align-items: start;

        img {
            height: 250px;
            object-fit: contain;
        }
    }

    div {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.flex-3 {
    display: flex;
    color: black;
    margin-top: 30px;
    height: 200px;

    .img-container {
        min-width: 400px;
        align-items: start;

        img {
            width: 350px;
            object-fit: contain;
        }
    }

    div {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.red-bg {
    background-color: #BB1A21;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 40px;
    margin-top: 20px;

    .btn {
        margin-top: 20px;
        border-radius: 50px;
        font-size: small;
        color: #BB1A21;
        border: none;
        padding: 10px 40px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn:hover {
        scale: 1.02;
        background-color: #222222;
        color: white;
    }
}

.img-container {
    transition: all 0.2s;

    img {
        transition: all 0.2s;
    }

    img:hover {
        scale: 1.1;
    }
}

@media (max-width: 480px) {
    .flex-1, .flex-2, .flex-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: fit-content;
        width: 100%;

        .img-container {
            margin: 0;
            padding: 0;
            width: fit-content;
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: fit-content;

            img {
                padding: 0;
                margin: 32px;
            }
        }
    }
}