.flex {
    display: flex;
    margin: 20px 0;
    align-items: center;
}
.img_idoso {
    max-width: 584px;
    max-height: 390px;
}

.flex-text {
    margin: 0 20px;
}

.title {
    padding: 0;
    color: #41aed4;
    margin: -5px 0 0 0px;
    font-family: "Calibri_Bold";
}

.flex-image img {
    margin-top: 50px;
    border-radius: 10%;
    transform: skew(-5deg);
}

.activity {
    display: flex;
    align-items: center;
}

.activity-image {
    border-radius: 10%;
    width: 350px;
    height: 300px;
    background-image: linear-gradient(to right, #597cff, #47e0b1);
}

.activity-image img {
    width: 350px;
    height: 300px;
    margin-left: 30px;
    border-radius: 10%;
}

.activity-image figcaption {
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    color: white;
}

.activity-text {
    padding: 80px;
    text-align: justify;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.margin-bottom {
    margin-bottom: 50px;
}

@media screen and (orientation: portrait), (max-width: 1000px) {
    .flex {
        flex-direction: column-reverse;
    }
    .flex-image img {
        width: 100%;
    }
    .flex-text {
        margin-top: 50px;
    }
    .activity {
        flex-direction: column;
    }
    .activity-image img {
        margin: 0;
    }
    .activity-text {
        margin-top: 70px;
        margin-bottom: 50px;
        padding: 0;
    }
}
