.line {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.image-container {
    position: relative;
    width: 22.4vw;
    height: 28vw;
    overflow: hidden;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 10px;
    box-shadow: 6px 6px 10px;
}

.image-container img {
    width: inherit;
    height: inherit;
}

.text-overlay {
    position: absolute;

    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(101,176,104,0.75);
    background: linear-gradient(180deg, rgba(101,176,104,0.75) 0%, rgba(96,142,82,0.75) 5%, rgba(88,83,43,0.75) 10%, rgba(84,50,21,0.75) 100%);
    transition: bottom 0.25s ease-out;
    overflow: hidden;
}

.image-container:hover .text-overlay {
    bottom: 0;
}

.text-overlay p {
    margin-top: 1em;
    color: #e8f7fa;
    padding: 10px;
    text-align: justify;
    font-size: 0.7em;
}

.shiffre {
    color: #65b068;
    font-weight: bold;
    font-size: 1.5em;
}

h1 {
    font-family: 'Cooper Hewitt 711', sans-serif;
    font-weight: 700;
    color: #f8d18a;
    text-shadow: #a44635 5px 5px;
    text-align: center;
}

.membres {
    padding-top: 180px;
    background-image: linear-gradient(90deg, rgba(246,140,54,1) 2%, #488533 20%, #488533 80%, rgba(246,140,54,1) 98%);
}


.pupitre {
    background-image: url(../img/background.png);
    background-position: center;
    background-repeat: repeat-y;
}

@media all and (max-width: 860px) {
    .line {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        width: 65vw;
        height: 81.25vw;
    }

    .membres {
        padding-top: 100px;
    }
}