/* Format mobile */
.block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    margin-inline: 0.9375rem;
    margin-bottom: 1.875rem;

    &>h3 {
        margin-bottom: 0.9375rem;
        text-align: center;
    }

    &>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.9375rem;

        & img {
            width: 100%;
        }
    }
}

.block.inverse {
    &>div {
        flex-direction: column-reverse;
    }
}

.block.portrait {
    img {
        max-height: 35%;
    }
}

.block.time {
    flex-direction: column;
    text-align: center;
    font-family: 'Century Gothic Paneuropean', sans-serif;
    margin: 1rem;
    
    &>div {
        gap : 0;
    }
}

/*Format tablette*/
@media (min-width : 768px) {
    .block {
        margin-block: 2rem;

        
        & div {
            & img {
                max-width: 50%;
            }
        }
    }
    
    .block.portrait {
        img {
            max-height: 20%;
        }
    }

    .block.time {
        &>div {
            align-items: flex-start;

            
            &>p {
                text-align: justify;
            }
        }
    }
}

/* Format desktop */
@media (min-width: 1024px) {
    .block {
        margin-block: 3rem;
        margin-inline: 6rem;
        &>div {
            flex-direction: row;
            width: 100%;
            justify-content: space-evenly;
            
            &>img {
                max-width: 30%;
            }
            
        }
        
        &>p {
            font-size: 1.125rem;
        }
    }
    

    .block.portrait {
    img {
        max-height: 45%;
    }
}
    
    .block.time {
        &>div {
            flex-direction: column;
        }
    }

    .block.inverse {
        &>div {
            flex-direction: row-reverse;
        }
    }

    .phamaTitle>h3 {
        align-self: flex-start;
        margin-left: 9rem;
    }
}

@media (min-width: 2000px) {
    .block {
        &>p {
            font-size: 1.25rem;
        }
    }
}