main {
    margin-top: 100px;
}

h1 {
    text-align: center;
    color: #d14c33;
}

div.realisations {
    width: 100%;
    max-width: 1200px;
    padding: 10px;
    margin: 0 auto;
}
div.albums {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin: 10px 0 50px 0;
}
div.albums div.album {
    height: 300px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
div.albums div.album div.image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
    transition: 0.5s;
}
div.albums div.album:hover div.image {
    transform: scale(1.5);
}
div.albums div.album div.datas {
    display: block;
    z-index: 99;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    height: auto;
    padding: 15px;
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
}
div.albums div.album div.datas p {
    margin: 0;
    padding: 0;
}
div.albums div.album div.datas p.titre {
    font-size: 1.7em;
}
div.albums div.album div.datas p.nb {
    font-size: 1em;
}

p.ariane {
    width: 100%;
    margin: 0 auto;
    padding: 5px 10px;
}
p.ariane a {
    color: #333;
}

div.photos {
    width: 100%;
    max-width: 1200px;
    padding: 10px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}
div.photos a.photo {
    height: 215px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.photos a.photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

@media screen and (max-width: 1200px) {
    div.realisations {
        padding: 50px;
    }
}
@media screen and (max-width: 880px) {
    div.albums {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 580px) {
    div.albums {
        display: block;
    }
    div.albums div.album {
        margin: 15px 0;
    }
}
@media screen and (max-width: 360px) {
    div.albums div.album {
        height: 200px;
    }
}
