/*Applique un effef soit fout soit non-afficache de toute lapge lors du click de sous pages annexes 
        (flou, flou1 flou2, flou3 sont ainsi divises car un un seul element flou le code perd la priorite et bug*/

#flou.flou,#flou.flou1,#flou.flou2,#flou.flou3{
    filter: blur(2px);
    position: fixed;
    display: none;
}
    /*Description CSS pour une Gestion de page par js*/
#about,
#skill,
#work,
#contact{
    font-size: 0%;
    display: none;
}
#about.open,
#skill.open,
#work.open,
#contact.open{
    font-size: 100%;
    display: block;
    filter: none;
    padding: 15px;
}
#other-pages{
    font-size: 200%;
    color: rgb(48, 50, 51);
    padding: 0;
}
h2{
    color: rgb(36, 36, 36);
}
    /*CSS relatif a la page principale*/
body{
    background-color: #bd8a1c4d;
}
header{
}
#logo{
    font-size: 150%;
    margin-left: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}
#menu-button{
    display: none;
}
#menu{
    float: right;
    display: flex;
}
.item{
    margin-right: 80px;
    text-decoration: none;
    color: rgb(107, 44, 44);
    font-size: 20px;
    font-weight: bold;
    font-family: "Edu AU VIC WA NT Hand", cursive;
    cursor:alias;
}

#gestion-horizontale{
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
aside{
    display: flex;
    width: 450px;
    flex-direction: column ;
    justify-content: center;
    align-items: center;
}
article{
    display: flex;
    justify-content: center;
}
aside{
    font-size: 30px;
    font-weight: bold;
}
.MyName{
    color: #d48e3e;
    font-weight: bold;
    display: inline;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 33px;
}
.specialite{
    color: #d48e3e;
    margin-top: 47px;
}
a{text-decoration: none; color:black}

#button-contact{
    font-size: 18px;
    width: 200px;
    background-color: rgb(2, 49, 58);
    background-color: #bd8a1c00;
    color: rgb(46, 46, 46);
    margin-top: 60px;
    padding: 10px;
    border-radius: 100px 50px;
    border: solid #865a5a 10px; ;
    border: solid #b98242 10px; ;
    animation: Color 1s infinite linear;
}
#profil{
    font-size: 10%;
    margin-top: 70px;
    border-top-left-radius: 250px;
    border-top-right-radius: 330px ;
    border-bottom-left-radius: 330px;
    border-bottom-right-radius: 250px;
}
        
#space{
    display: none;
    }

    /*Seul l'element footer reste sans modification*/
footer{
    padding: 10px;
}
#more-info{
    font-size: 150%;
    text-align: start;
    margin-left: 30px;
}
.logo{
    width: 50px;
    height: 50px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px ;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius:30px;
}
    /* Styles pour les écrans de petite taille (mobiles) */
@media only screen and (max-width: 1267px) {
    #menu-button{
        display: block;
        font-size: 18px;
        padding: 15px;
        float: right;
        background-color: #d48e3e;
        color: aliceblue;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        border-radius: 20px;
    }
	#menu {
	    display: none;
        top: 0;
        float: right;
        padding: 40px;
		width: 200px;
        background-color:  #d48e3e;
        box-shadow: 0px 20px 100px #602274;
		transition: left 0.3s ease-in-out;
	}
	#menu.open {
        display: inline;
        position: fixed;
        right: 0;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	}
    .item{
        width: 20%;
        line-height: 80px;
        text-decoration: none;
        font-size: 150%;
        font-weight: bold;
        color: rgb(255, 255, 255);
    }
    #gestion-horizontale{
        width: 100%;
        display:flex;
        flex-wrap: wrap-reverse;
        justify-content: center;
        align-items: center;
        align-content: center;
        gap: 0;
    }
    
    #button-contact{
        font-size: 20px;
        margin-top: -100px;
    }
    #profil{
        width: 330px;
        height: 400px;
        object-fit: cover;
        margin-top: 0;
        border-top: 100px;
        border-top-left-radius: 200px;
        border-top-right-radius: 150px ;
        border-bottom-left-radius: 240px;
        border-bottom-right-radius: 170px;
        border-image: fill linear-gradient(red,gray);
    }
    .profil::after{ 
    border-image: fill linear-gradient(red,gray);
    }
    .logo{
        width: 30px;
        height: 30px;
    }
    #other-pages{
            font-size: 200%;
    }
    #space{
        display: inline;
    }
}