@font-face {
    font-family: 'titre'; 
    src: url('font/Barbarian.ttf') format('truetype'),
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background-color: black;
    margin-top: 3%;
}

header{
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 20px;
    background-color: orange;
    margin: 0 auto;
    margin-bottom: 3%;
    border-radius: 20px;
    width: 80%;
}

#titre{
    position: relative;
    font-size: 400%;
    letter-spacing: 15px;
    color: #0e3742;
    width: 100%;
    text-align: center;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0B1215);
    line-height: 0.7em;
    outline: none;
    animation: animate 5s linear infinite;
    cursor: vertical-text;
}

#logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-left: 20px;
}

#text-overlay {
    position: absolute;
    padding: 40px;
    max-width: 60px; 
    color: white ;
    font-size: 14px;
}





/* ------------------------------------------------------------------------------------ */

#liens {
    background-color: #333;
    padding: 10px 0;
    text-align: center; 
    position: sticky;
    top: 0px; 
    width: 90%;  
    margin: 0 auto;
    border-radius: 20px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    justify-content: space-around; 
}

li {
    margin-right: 20px;
}

a {
    color: #fffafa;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.5s ease;
}

a:hover {
    color: #007BFF;
}

/* Style pour le menu hamburger */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #fffafa;
}


/* ------------------------------------------------------------------------------------ */

#texte{
    margin-left: 60px;
    margin-top: 5em;
    width: 80%;
    max-width: max-content;
    border-bottom: 1px solid white;
}

.titre:hover h1{
	text-decoration: underline;
}

.boite{
    display: flex;
    padding-bottom: 50px;
}

.devtexte{
    padding-left: 15px;
}
.devimage{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: grayscale(100%);
}

.devimage:hover{
    filter: grayscale(0%);
}


/* ------------------------------------------------------------------------------------ */
@media screen and (max-width: 900px) and (min-width: 600px){
    #titre{
        font-size: 30px;
    }
}

@media screen and (max-width: 600px) {
    #titre{
        font-size: 20px;
    }
}

@media only screen and (max-width: 600px) {
    ul {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        border-radius: 0 0 20px 20px;
    }

    ul.show {
        display: flex;
    }

    li {
        margin: 0;
        margin-bottom: 10px;
    }

    .menu-icon {
        display: block;
    }
}




