* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    padding: 70px;
}

.btn-back {
    width: 100px;
    height: 30px;
    background-color: yellowgreen;
    color: white;
    border-radius: 10px;
    
    cursor: pointer;
}

.btn-back a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    
}

.container{
    text-align: center;
    position: relative;
    left: auto;
    top: 10%;
    transition: translate(-50%, -50%);
    width: 100%;
}

.container span{
    display: block;
    width: 100%;
    max-width: 1600px;
}

.text1{
    color: #555;
    font-size: 90px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background: #fff;
    position: relative;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    animation: text 1.5s 1;
}

h2{
    font-size: 40px;
    color: #555;
}

h4{
    font-size: 30px;
    color: #555;
}

li{
    font-size: 20px;
    color: #555;
}

.text2{
    color:#555;
    font-size: 30px;
    font-weight: bolder;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding-top: 0px;
}

 
@keyframes text {
    0%{
        color: #555;
        margin-bottom: -50px;
    }

    20%{
        letter-spacing: 0px;
        color: #555;
        margin-bottom: -50px;
    }

    70%{
        color: white;
        letter-spacing: 40px;
        margin-bottom: -50px;
    }
}



.milou {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 20%;
    width: 100%;
    max-width: 1200px;
    grid-gap: 24px;
}

@media (min-width: 480px) {
    .milou {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 740px) {
    .milou {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
    }
}

@media (min-width: 900px) {
    .milou {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 60px;
    }
}

@media (min-width: 1200px) {
    .milou {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1600px;
        margin-top: 70px;
    }
}

@media (min-width: 900px) {
    .container {
        position: relative;
    }
}

@media (min-width: 540px) {
    .container {
        position: relative;
    }
}

@media (min-width: 1280px) {
    .container {
        position: realtive;
    }
}
/* Nous allons commencer à styliser les background de
nos covers */
.mil {
    position: relative;
    padding-bottom: 150%;
}
.card-background {
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    border-radius: 3px; 
    box-shadow: 0px 0px 5px black;  
    transition: 0.3s;
}

.mil:hover .card-background {
    transform: scale(1.05);
}

.milou:hover > .mil:not(:hover) > .card-background {
    filter: brightness(.3) saturate(0) contrast(1.2);
    
}
p {
    font-size: 20px;
    font-family: sans-serif;
    font-weight: lighter;
    text-decoration: underline;
    padding-top: 20px;
    color: #333;
    position: relative;
    width: 100%;
    max-width: 1600px;
}