/* GENERAL */
body{
    margin: 0;
}
body[data-theme="dark"]{
    background-color: #181818;
}
.link{
    text-decoration: none;
    color: black;
    font-size: 18px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}
body[data-theme="dark"] .link{
    color: #FFFFFF;
}
.list{
    list-style: none;
    color: black;
    padding: 0;
}
.title{
    font-size: 43px;
    font-family: 'Staatliches', sans-serif;
}
.title--medium{
    font-size: 21px;
    font-family: 'Roboto', sans-serif;

}
body[data-theme="dark"] .title{
    color: #FFFFFF;
}
.text{
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
body[data-theme="dark"] .text{
    color: #FFFFFF;
}
.text--color{
    color: #7579E7;
}


/* HEADER */
.header{
    margin: 0 20px;
}
.menu__list{
    display: flex;
    justify-content: space-between;
}
.menu__el--alex{
    display: none;
}
.link--home{
    color: #7579E7;
    border-bottom: 2px solid #7579E7;
}
.dark{
    background-image: url(images/darkmode1.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: transparent;
    height: 30px;
    width: 30px;
    border: none;
    outline: none;
    cursor: pointer;
}
body[data-theme="dark"] .btn__darkmode--light{
    display: none;
}
body[data-theme="light"] .btn__darkmode--dark{
    display: none;
}
.dark--inspi{
    background-image: url(images/darkmode2.svg);
}

/* MAIN */
.section{
    margin: 0 20px;
}

/* SECTION HELLO */
.section--hello{
    margin-bottom: 100px;
}
.container--img01{
    position: relative;
    margin: 30px auto 0 auto;
    height: 280px;
    width: 280px;
}
.container--img01::after{
    display: block;
    content: '';
    height: 75px;
    width: 75px;
    border-radius: 100%;
    background-color: #7579E7;
    opacity: 50%;
    position: absolute;
    bottom: -20px;
    left:-30px;
}
.container--img01 img{
    width: 100%;
}
.cta{
    display: block;
    text-decoration: none;
    width: 160px;
    font-size: 18px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #7579E7;
    border-radius: 50px;
    padding: 13px 0;
    text-align: center;
    box-shadow: 0 2px 4px #7579E7;
}


/* SECTION PERSO */
.section--perso{
    margin-bottom: 100px;
}
.container--img02{
    position: relative;
    margin: 0 auto;
    height: 280px;
    width: 280px;
}
.container--img02::after{
    display: block;
    content: '';
    height: 75px;
    width: 75px;
    border-radius: 100%;
    background-color: #7579E7;
    opacity: 50%;
    position: absolute;
    bottom: -20px;
    right: -30px;
}
.container--img02 img{
    width: 100%;
}
.cta--perso{
    width: 190px;
}

/* SECTION RESEAUX */
.section--rs{
    margin-bottom: 50px;
}
.title--rs{
    display: none;

}
.list--rs{
    display: flex;
    justify-content: center;
}
.list--icons{
    height: 50px;
    width: 50px;
    margin: 10px;
}

/* FOOTER */
.footer{
    background-color: #7579E7;
}
.list--footer{
    display: flex;
    justify-content: center;
}
.list--footer__el{
    margin: 20px;
}
.list--footer__el a{
    color: #FFFFFF;
}
.link--dwm img{
    display: block;
    margin: 0 auto;
    height: 25px;
}
.link--footer{
    color: #FFFFFF;
}
.title--footer{
    text-align: center;
    margin: 30px 0 0 0;
    padding-bottom: 20px;
    font-size: 18px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    display: block;
}

/* INSPIRATION */
.container--img{
    position: relative;
    margin: 0 auto;
    width: 100%;
}
.container--img img{
    width: 100%;
}
.link--article{
    position: relative;
    font-size: 21px;
}
.link--article::after{
    display: block;
    content: '';
    height: 21px;
    width: 21px;
    position: absolute;
    top: 1px;
    right: -35px;
    background-image: url(images/fleche.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.section--gestalt{
    margin-bottom: 50px;
}

/* CREDITS */
.container--img03{
    position: relative;
    margin: 0 auto;
    width: 100%;
}
.container--img03 img{
    width: 100%;
}
.title--credits{
    text-align: center;
}
.credits{
    max-width: 120px;
    margin: 0 auto 50px auto;
}
.credits__el{
    display: flex;
}
.credits__el::before{    
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #7579E7;
    margin-top: 13px;
    margin-right: 10px;
}
.link--credits{
    font-weight: 400;
    line-height: 2;
}

/* UI-KIT */
.container--desktop{
    display: none;
}
.title--medium{
    font-size: 18px;
}
.list--color{
    display: flex;
    justify-content: space-between;
}
.color__el{
    text-indent: -9999px;
    white-space: nowrap;
    height: 60px;
    width: 60px;
}
.color__el--1{
    background-color: #7579E7;
}
.color__el--2{
    background-color: #9AB3F5;
}
.color__el--3{
    background-color: #ffffff;
    border: 1px solid  #7579E7;
}
.color__el--4{
    background-color: #000000;
}
.list--accueil{
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
}
.accueil__el{
    display: inline-block;
}
.accueil__el--hover{
    border-bottom: 2px solid #7579E7;
}
.list--btn{
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    margin-bottom: 50px;
}
.btn__el{
    margin-top: 30px;
}
.cta--white{
    color: #7579E7;
    background-color: #FFFFFF;
    border: 1px solid #7579E7;
    box-shadow: none;
    margin-left: 20px;
}
.img--dwm{
    display: block;
    background-color: #181818;
    height: 50px;
    margin: 50px auto 50px auto;
}

@media(min-width:450px){
    .header{
        max-width: 400px;
        margin: 0 auto;
    }
    .container--hello{
        max-width: 350px;
        margin: 0 auto;
    }
    .container--perso{
        max-width: 350px;
        margin: 0 auto;
    }
    .text{
        max-width: 350px;
    }

    .container--img img{
        height: 300px;
        object-fit: cover;
    }
    .container--rules{
        max-width: 350px;
        margin: 50px auto 50px auto;
    }
    .section--gestalt{
        max-width: 350px;
        margin: 0 auto 100px auto;
    }
    .section--ui{
        max-width: 450px;
        margin: 0 auto;
    }
}

@media(min-width:900px){
    .link{
        font-size: 21px;
    }
    .title{
        font-size: 49px;
    }
    .text{
        font-size: 18px;
        max-width: 500px;
    }
    .link--menu:hover{
        border-bottom: 2px solid #7579E7;
        transition: all 0,4s;

    }
    .container--hello{
        max-width: 500px;
    }
    .container--perso{
        max-width: 500px;
        margin-bottom: 200px;
    }
    .container--img01{
        width: 380px;
        height: 380px;
    }
    .container--img02{
        width: 380px;
        height: 380px;
    }
    .cta{
        margin-top: 50px;
    }
    .cta:hover{
        color: #7579E7;
        background: #FFFFFF;
        border: 1px solid #7579E7;
        box-shadow: none;
        transition: all 0.4s ease 0s;
    }

    /* SECTION RESEAUX */
    .list--icons{
        height: 75px;
        width: 75px;
    }
    .list--icons:hover{
        transition: all 0.4s ease 0s;
        transform: scale(1.2);
    }
    .section--rs{
        margin-bottom: 150px;
    }

    /* FOOTER */
    .title--footer{
        font-size: 21px;
        margin: 70px 0 0 0;
    }
    .footer{
        height: 150px;
        display: flex;
        justify-content: space-around;
    }
    .list--footer{
        order: 3;
        margin: 0;
    }
    .list--footer__el{
        margin: 70px 0 0 0;
    }
    .list__el--kit{
        margin-right: 20px;
    }
    .link--dwm{
        height: 25px;
        margin-top: 70px;
    }
    .link--dwm:hover{
        transition: all 0.4s ease 0s;
        transform: scale(1.2);
    }
    .link--footer:hover{
        border-bottom: 2px solid #FFFFFF;
        transition: all 0,4s;
    }

    /* INPSIRATION */
    .container--rules{
        max-width: 500px;
        margin: 70px auto 70px auto;
    }
    .section--gestalt{
        max-width: 500px;
        margin: 0 auto 130px auto;
    }

    /* CREDITS */
    .credits{
        max-width: 140px;
    }
    .credits__el::before{
        margin-top: 17px;
    }
    /* UI-KIt */
    .section--ui{
        max-width: 500px;
    }
    .container--desktop{
        display: block;
    }
    .container--mobile{
        display: none;
    }
    .title--medium{
        font-size: 21px;
    }

}
@media(min-width:1100px){
    body{
        max-width: 1500px;
        margin: 0 auto;
    }
    .text--eischen{
        color: #7579E7;
    }
    .header{
        margin: 30px 20px 30px 20px;
        max-width: none;
    }
    .menu__el--alex{
        display: block;
        flex-grow: 1;
        margin-top: 10px;
    }
    .menu__el--menu{
        margin-top: 10px;
        margin-right: 30px;
    }
    .dark{
        height: 50px;
        width: 50px;
    }
    .section--hello{
        display: flex;
        margin-top: 100px;
        margin-bottom: 300px;
    }
    .section--perso{
        display: flex;
        flex-direction: row-reverse;
    }
    .container--img01{
        width: 480px;
        height: 480px;
    }
    .container--img01::after{
        height: 150px;
        width: 150px;
        bottom: -80px;
        right: -60px;
    }
    .container--img02{
        width: 480px;
        height: 480px;
    }
    .container--img02::after{
        height: 150px;
        width: 150px;
        bottom: -80px;
        right: -60px;
    }
    .cool-link::after {
        display: block;
        width: 0;
        height: 2px;
        content: '';
        transition: width .3s;
        background: #7579E7;
    }


    /* INSPIRATION */
    .container--img img{
        height: 500px;
        object-fit: cover;
    }

    /* UI-KIT */
    .main--ui{
        margin-top: 100px;
        margin-bottom: 150px;
        display: flex;
        justify-content: space-around;
    }
}