/* MOBILE */
header{
    font-size: 18px;
}
.main-title{
    font-size: 40px;
}
.second-title{
    font-size: 20px;
}
.photo{
    width: 200px;
    margin: 30px 0;
}
.section-2, .section-3, footer{
    padding: 0 40px;
}
.section-title{
    font-size: 30px;
    padding: 60px 0 20px 0;
}
.base-size{
    font-size: 20px;
}
.preferences{
    margin: 15px 0;
}
.cv{
    margin: 10px 0 25px 0;
}
.avatar{
    width: 260px;
    display: block;
    margin: 30px auto 100px auto;
}
.small-text{
    font-size: 16px;
}
.tiny-text{
    display: block;
    font-size: 14px;
    margin: 40px 0 15px 0;
}
/* SLIDER */
.slider{
    display: flex;
    column-gap: 25px;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 360px;
}
.slider a{
    display: block;
    height: 335px;
    width: 215px;
    border-radius: 20px;
    color: black;
    text-decoration: none;
    line-height: 1.3;
    box-shadow: 0px 10px 10px hsla(0, 0%, 0%, 0.05);
}
.slider img{
    width: 100%;
    border-radius: 20px 20px 0 0;
}
.slider h5{
    font-size: 16px;
    padding: 5px 12px;
}
.slider .projet-annee{
    font-size: 12px;
    padding: 0 12px;
}

/* RESPONSIVE */
@media (min-width: 450px){
    .main-title{
        bottom: -990px;
    }
    .second-title{
        font-size: 26px;
    }
}
@media (min-width: 500px){
    .section-3{
        padding: 0 100px;
    }
    footer{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }
    footer .flex--col{
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media (min-width: 550px){
    .section-3{
        padding: 0 100px;
    }
}
@media (min-width: 750px){
    .section-3{
        padding: 0 160px;
    }
}

@media (min-width: 850px){
    .section-3{
        padding: 0 220px;
    }
    .section-3::after{
        width: 300%;
        height: 300%;
        left: 0;
        bottom: -2300px;
    }
}

@media (min-width: 950px){
    .section-3{
        padding: 0 280px;
    }
    .section-3::after{
        bottom: -2500px;
    }
}

/* Desktop */
@media (min-width: 1050px){
    header{
        font-size: 26px;
    }
    .main-title{
        font-size: 80px;
    }
    .second-title{
        font-size: 45px;
    }
    .photo{
        width: 250px;
    }
    .section-title{
        font-size: 40px;
    }
    .base-size{
        font-size: 25px;
    }
    .small-text{
        font-size: 20px;
    }
    .tiny-text{
        font-size: 18px;
        margin: 0;
    }
    .section-3{
        padding: 0 280px;
    }
    .section-3::after{
        left: 50px;
        bottom: -2800px;
    }
    footer{
        flex-direction: row;
        margin-bottom: 40px;
    }
}

@media (min-width: 1150px){
    .section-3{
        padding: 0 320px;
    }
    .section-3::after{
        width: 3200px;
        height: 3200px;
        bottom: -2700px;
        left: 300px;
    }
}

@media (min-width: 1250px){
    .section-3{
        padding: 0 380px;
    }
    .section-title{
        padding: 60px 0px 40px 30px;
    }
    /* GRID */
    .slider{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 50px;
        overflow-y: auto;
        height: 1200px;
        column-gap: 0;
        justify-items: center;
        align-items: center;
    }
}

@media (min-width: 1350px){
    .section-1{
        flex-direction: row;
        column-gap: 110px;
        justify-content: center;
    }
    .section-3{
        padding: 0 250px;
        display: flex;
        column-gap: 130px;
        justify-content: center;
        align-items: center;
    }
    .avatar{
        margin: 0;
    }
    footer{
        margin-top: 150px;
    }
    .section-3::after{
        bottom: -2500px;
        left: 800px;
    }
}

@media (min-width: 1450px){
    .section-3{
        padding: 0
    }
    .section-3 div{
        width: 470px;
    }
}