/*
------------------------------------------------------------------------------------------------------------------------
STYLES DE LA PAGE
------------------------------------------------------------------------------------------------------------------------
 */


.accueil {
    padding-top: 80px;

    .decor1 {
        position: absolute;
        top: 100px;
        left: 30%;
        z-index: 0;
        opacity: 0.3;
        width: 1000px;
    }

    /*
------------------------------------------------------------------------------------------------------------------------
A PROPOS DE MOI
------------------------------------------------------------------------------------------------------------------------
 */


    .about {
        width: 100%;
        min-height: 600px;
        background: url('../img/background_2.png') repeat;
        background-size: cover;
        position: relative;
        padding: 50px;
        margin-top: 200px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;

        .title {
            position: absolute;
            top: -80px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5em;
            color: var(--rose-pale);
            text-align: center;
            text-shadow: 2px 2px 0 var(--gris-fonce-textes);
        }

        .bandeau-deco {
            height: 100%;
            position: absolute;
            top: 0;
            right: 50px;
        }

        .wrap-portrait {
            position: relative;
            padding: 40px;

            .portrait {
                width: 250px;
            }

            .rond {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 100px;
                background-color: var(--gris-fonce);
                border-radius: 50%;
            }

            .angle {
                position: absolute;
                top: 0;
                left: 0;
                height: 240px;
            }
        }

        .wrap-texte {
            color: var(--rose);
            padding-right: 150px;
            font-size: 1.3em;
            font-weight: lighter;
            display: flex;
            flex-direction: column;
            gap: 30px;

            .signature {
                color: white;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                width: 100%;

                span {
                    width: 400px;
                    font-size: 0.7em;
                }

                span:not(.aniron) {
                    font-size: 0.9em;
                }
            }
        }
    }


    /*
------------------------------------------------------------------------------------------------------------------------
TIMELINE
------------------------------------------------------------------------------------------------------------------------
 */

    .timeline {
        box-sizing: border-box;
        padding: 50px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        margin-top: 250px;

        .title {
            position: absolute;
            top: -80px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5em;
            color: var(--rose-vif);
            text-align: center;
            text-shadow: 2px 2px 0 var(--gris-fonce-textes);
        }

        .timeline_image {
            position: absolute;
            height: 100%;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .date {
            display: flex;
            width: 100%;
        }

        .date:nth-child(odd) {
            justify-content: flex-end;
        }

        .date:nth-child(even) {
            justify-content: flex-start;
        }

        .date {

            div {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                width: 450px;

                img {
                    width: 100%;
                }

                *:not(img) {
                    width: 100%;
                }

                span {
                    text-align: left;
                }

                .three-sixty-condensed {
                    text-align: center;
                    font-size: 1.5em;
                    font-weight: bold;
                    padding-bottom: 15px;
                }

                .onciale {
                    text-align: right;
                    font-size: 2em;
                    color: var(--rose-vif);
                }
            }
        }
    }


    /*
------------------------------------------------------------------------------------------------------------------------
COMPETENCES
------------------------------------------------------------------------------------------------------------------------
*/

    .competences {
        width: 100%;
        position: relative;
        margin-top: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
        padding-top: 200px;

        .title {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5em;
            color: var(--rose-vif);
            text-align: center;
            text-shadow: 2px 2px 0 var(--gris-fonce-textes);
        }

        .download {
            width: 400px;
            display: flex;
            justify-content: center;
            text-decoration: none;
            position: relative;
            margin-top: 130px;

            span {
                font-size: 1.6em;
                font-weight: bold;
                transition: 0.4s ease;
                color: black;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            img {
                width: 100%;
            }

            &:hover > span {
                color: var(--rose-vif);
            }
        }

        .competence {
            display: flex;
            justify-content: space-between;
            padding: 0;
            width: 90%;
            box-sizing: border-box;
            gap: 20px;
            position: relative;

            .titre, .level {
                display: flex;
                flex-direction: column;
                gap: 20px;
                justify-content: center;
                align-items: flex-start;
                font-size: 1.3em;
            }

            .titre {
                width: 280px;
            }

            .level {
                color: var(--rose-vif);
                font-weight: bold;
            }

            .illu {
                width: 250px;

                img {
                    max-width: 100%;
                }
            }

            .laine {
                position: absolute;
                top: 50%;

                width: 700px;
                height: auto;
            }

            .large {
                left: -100px;
            }

            .mid {
                left: -400px;
            }
        }
    }


    /*
------------------------------------------------------------------------------------------------------------------------
PROJETS RECENTS
------------------------------------------------------------------------------------------------------------------------
*/

    .projets-recents {
        width: 100%;
        min-height: 600px;
        background: url('../img/background_2.png') repeat;
        background-size: cover;
        position: relative;
        margin-top: 200px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 100px;
        padding-top: 400px;
        padding-bottom: 100px;

        .title {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5em;
            color: var(--rose-pale);
            text-align: center;
            text-shadow: 2px 2px 0 var(--gris-fonce-textes);
        }

        .projet-recent {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 80px;
            width: 100%;

            .desc {
                color: var(--rose);
                padding-left: 30px;
                display: flex;
                flex-direction: column;
                gap: 20px;
                font-size: 1.3em;

                .three-sixty-condensed {
                    font-size: 1.5em;
                }

                a {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    color: var(--rose-vif);
                    font-size: 1em !important;
                    transition: 0.4s ease;
                    text-decoration: none;
                    width: fit-content;
                    margin: 50px auto;
                    border-bottom: 2px solid transparent;


                    &:hover {
                        border-bottom: 2px solid var(--rose-vif);
                    }
                }
            }

            .illustration {
                position: relative;

                img:not(.illu) {
                    height: 485px;
                }

                .illu {
                    position: absolute;
                    height: 543px;
                }
            }
        }

        .projet-recent:nth-child(even) {

            .desc {
                padding-left: 30px;
            }

            .illustration {

                .illu {
                    top: -50px;
                    left: -20px;
                }
            }
        }

        .projet-recent:nth-child(odd) {

            flex-direction: row-reverse;

            .desc {
                padding-left: 0;
                padding-right: 30px;
            }

            .illustration {

                .illu {
                    top: -50px;
                    right: -20px;
                    transform: scaleX(-1);
                }
            }
        }
    }


    /*
------------------------------------------------------------------------------------------------------------------------
PROJETS
------------------------------------------------------------------------------------------------------------------------
*/


    .projets {
        width: 100%;
        position: relative;
        margin-top: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 200px;

        .title {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5em;
            color: var(--rose-vif);
            text-align: center;
            text-shadow: 2px 2px 0 var(--gris-fonce-textes);
        }

        .carousel {
            width: 100%;
            height: fit-content;
            display: flex;
            justify-content: center;
            overflow: hidden;

            a {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                width: calc((100vw / 7) + 50px);
                flex-shrink: 0;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .carousel-left {
            margin-top: -5px;
        }
    }

}