
/* Par defaut pour ordinateurs  */

header{
    display: flex;
    height: 100px;
    width: 100%;
}

footer{
    display: flex;
}

header > nav {
    background: black;
}

header > div{
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, purple, black);
}

#availability_panel{
    display: none;
}

nav{
    width: 50%;
    height: 100%;
}

nav ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

nav > ul > li{
    font-size: 160%;
    margin-right: 30px;
}

nav > ul > li > a{
    text-decoration: none;
    color: gray;
}

nav > ul > li > a:hover{
    color: #ecd9fa;
    border-bottom: solid 1px #ecd9fa;
    padding-bottom: 12px;
}

a[nav_selected]{
    color: #ecd9fa;
    border-bottom: solid 1px #ecd9fa;
    padding-bottom: 12px;
}

footer > div{
    width: 50%;
    height: 100%;
}

body {
/*  background: linear-gradient(to right, purple, black);*/
    margin: 0px;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main {
    /*background-image: url('../img/home_img.jpg');*/
    background: black;
    height: 80%;
    width: 100%;
    display: flex;
}

article {
    width: 100%;
}

main > section {
    width: 50%;
}


h1 {
    margin: 0px;
}
h2 {
    margin: 0px;
}

#infos-section{
    background: linear-gradient(to left, purple, black);
    color: white;
    font-family: serif;
    font-size: 300%;
}

#iam{
    color: gray;
    font-size: 40%;
}

#infos-section > h2 > strong{
    font-size: 60%;
    margin-left: 10px;
    border-bottom: solid #00d5ff 1px;
}

#social-medias-section > ul > li > a > svg{
    border: solid #8e5394;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
}

#social-medias-section > ul > li > a{
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}


#social-medias-section > ul > li > a > span{
    font-size: 65%;
    margin-left: 25px;
    color: #e0b5ff;
}

#background-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}


ul{
    list-style-type: none;
}


footer > div:nth-child(1){
    background: black; display: flex; justify-content: center; align-items: center;
}

footer > div:nth-child(2){
    background: linear-gradient(to left, purple, black);
}


@media (max-width: 600px) {    }       /* responsive mobile classique */
@media (min-width: 601px) and (max-width: 1024px) {    }       /* responsive tablette classique */
@media (min-width: 1025px) {    }       /* responsive ordinateur classique */


@media (max-width: 1024px) { }

@media screen and (min-aspect-ratio: 1/1) { }  /* largeur est superieur ou égale à la hauteur (ordi) */

@media screen and (max-aspect-ratio: 1/1) {    /* largeur est inférieure ou égale à la hauteur (mobiles) */

    nav ul{
        padding-left: 20px;
        margin-top: 10px;
    }

    header{
        height: 60px;
    }

    main {
        flex: 1;
    }

    header > nav, header > div {
        background: linear-gradient(to bottom, purple, black);
    }

    main > section {
        /*position: relative;*/
        width: 100%;
        top: 60px;
    }

    #img_section{
        left: 0px;
        display: none;
    }

    #infos-section{
        /*background: linear-gradient(to left, purple, black);*/
        background-image: url('../img/home_img.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /*background: rgba(0, 0, 0, 0.5);*/
        right: 0px;
        font-size: 100%;
        padding-top: 10px;
        padding-right: 20px;

    }

    #infos-section > h1{
        text-align: right;
        width: 60%;
        margin-left: 40%;
    }

    #infos-section > h2{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 55%;
        margin-left: 45%;
        min-height: 80px;
        margin-top: 20px;

    }

    #iam{
        text-align: right;
    }

    #infos-section > h2 > strong{
        text-align: right;
        width: fit-content;
    }

    .typed-cursor {
        display: none;
    }

    #social-medias-section > ul > li > a{
        flex-direction: row-reverse;
    }

    #social-medias-section > ul > li > a > svg{
        width: 15px;
        height: 15px;
    }

    #social-medias-section > ul > li > a > span{
        font-size: 100%;
        margin-right: 5px;
    }

    footer > div:nth-child(1){

        width: 100%;
        background: linear-gradient(to top, purple, black);
    }

    footer > div:nth-child(2){
        display: none;
    }

    footer > div > p {
        font-size: 80%;
    }

}
