#app{
    position: relative;
    z-index: 1;
    color: var(--blue);
    overflow-x: hidden;
}

#app::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://i.imgur.com/lrmrfPW.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.poster-reves{
    width: 600px;
    display: flex;
    align-self: center;
}

.livre-reves{
    width: 600px;
    display: flex;
    align-self: center;
    margin: 60px 0;
}

iframe{
    align-self: center;
}

.credits{
    margin-bottom: 0;
}

.texte-reves{
    margin: 5% 0;
}

.credits{
    margin: 0 !important;
}

.fleurs{
    background-color: var(--white);
}

.fleurs img{
    width: 100%;
}

header{
    margin-bottom: 15%;
}

header p{
    font-size: 30px;
    text-align: center;
    color: var(--blue);
    margin: 10%;
} 

.parent {
    display: grid;
    align-self: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 2 / 1 / 3 / 2; }
.div5 { grid-area: 2 / 2 / 3 / 3; }
.div6 { grid-area: 2 / 3 / 3 / 4; }
.div7 { grid-area: 3 / 1 / 4 / 2; }
.div8 { grid-area: 3 / 2 / 4 / 3; }
.div9 { grid-area: 3 / 3 / 4 / 4; }
.div10 { grid-area: 4 / 1 / 5 / 2; }
.div11 { grid-area: 4 / 2 / 5 / 3; }
.div12 { grid-area: 4 / 3 / 5 / 4; }
.div13 { grid-area: 5 / 1 / 6 / 2; }
.div14 { grid-area: 5 / 2 / 6 / 3; }
.div15 { grid-area: 5 / 3 / 6 / 4; }
.div16 { grid-area: 6 / 1 / 7 / 2; }
.div17 { grid-area: 6 / 2 / 7 / 3; }
.div18 { grid-area: 6 / 3 / 7 / 4; }

.parent > a{
    width: 400px;
    height: 400px;
    margin: 5px;
}

.parent > a > img{
    width: 100%;
    height: 100%;
}

/*RESPONSIVE*/
@media only screen and (max-width: 1200px){
    #app::before{
        background-image: url("https://i.imgur.com/XXGHRE7.png") !important;
    }
}

@media screen and (max-width: 1024px){
    #app::before{
        background-image: url("https://i.imgur.com/NeKAKzO.png") !important;
    }
}

@media screen and (max-width: 768px){
    video{
        width: 400px !important;
    }
    .parent > a{
        width: 300px;
        height: 300px;
        margin: 5px;
    }
    .parent{
        display: flex;
        flex-direction: column;
    }

    iframe{
        width: 100%;
        height: 400px;
    }


    #app::before{
        background-image: url("https://i.imgur.com/QuPbXEW.png") !important;
    }
}

@media screen and (max-width: 500px){
    video{
        width: 300px !important;
    }
    #app::before{
        background-image: url("https://i.imgur.com/QuPbXEW.png") !important;
    }
}

@media screen and (max-width: 360px){
    #app::before{
        background-image: url("https://i.imgur.com/R7qPjqV.png") !important;
    }
}

@media screen and (max-width: 320px){
    #app::before{
        background-image: url("https://i.imgur.com/BTCMNrf.png") !important;
    }
}