*{
    margin: 0;
    padding: 0;
}
body{
    min-height: 100vh;
    background-image: url(graphics/laptop.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Montserrat','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}





nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* assure-toi qu’il n’y a pas d’espace */
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

#logo {
    margin-right: auto; /* pousse les autres items à droite */
}

#logo a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
}

#logo img {
    height: 40px; /* ajuste selon ton image */
    margin-right: 10px;
}

#logo span {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

nav a:hover{
    background-color: #f0f0f0;
}

nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.goldenMenu {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu{
    background: linear-gradient(45deg, #22333b, #2d4551);
    color:white;
    font-weight: bold;
    border-radius: 5px;
}

.contactMenu:hover a{
    color:black;
}

.contactMenu a {
    color: white;
}


/* -------  Body --------*/

#header_blog {
    height: auto;
    background-image: url(../../graphics/sport-2266184_1280.jpg);
}

#header_blog_text{
    color: #ffffff;
    padding-left: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#header_blog_text h2{
    margin-top: 35px;
}

#header_blog_text a{
    color: white;
    text-decoration: none;
}

#header_blog_text a:hover{
    color: #d2d2d2;
}

.container {
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    margin-right: 100px;
    width: 450px;
}

.twoFields input {
    border-radius: 5px;
    padding: 3px;
    margin-top: 10px;
    width: 200px;
    height: 20px;
    border: 1px solid black;
}

#Mail {
    margin-left: 20px;
}

#Name {
    margin-right: 20px;
}

#Phone {
    margin-right: 20px;
}

#Object {
    margin-left: 20px;
}

#messageArea {
    margin-top: 30px;
}

#messageArea textarea {
    width: 500px;
    border: 1px solid black;
    border-radius: 5px;
    height: 200px;
    resize: horizontal;
    min-width: 500px;
    max-width: 500px;
}

#submit_button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

#submit_button button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid black;
    width: 250px;
    background-color: #8d6b42;
    color: white;
    font-weight: bold;    
}

#MainSection {
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin-left: 120px;
}

#InformationsEntreprise {
    margin-top: 50px;
    margin-left: 10px;
}

#InformationsEntreprise p {
    color: rgb(156, 156, 156);
}

@media(max-width:950px){
    #MainSection {
        margin-left: 50px;
    }
}
@media(max-width:860px){
    #MainSection {
        flex-direction: column-reverse;
        align-items: center;
        margin-left: 0px;
    }
    #InformationsEntreprise{
        width: 300px;
    }
    #InformationsEntreprise h2{
        text-align: center;
    }
    .container{
        margin-right: 0px;
    }
    .container h2{
        text-align: center;
    }
}
@media(max-width:528px){
    
}



/* -------     FOOTER  --------*/

#footer{
    background-color: #22333b;
}

#div-footer{
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.footer-categories{
    padding-left: 100px;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-categories img{
    height: 100px;
    padding-bottom: 15px;
}

.footer-categories ul {
    width: 100%;
    list-style: none;
}
.footer-categories li {
    padding-top: 2px;
}

.footer-categories li a {
    text-decoration: none;
    color: rgb(163, 163, 163);
    transition: all 0.5s ease;
}

.footer-categories li a:hover {
    color: white;
}

#copyright{
    background-color: #26373e;
    color: rgb(163, 163, 163);
    padding: 15px;
}

#copyright p{
    padding-left: 85px;
}

@media(max-width: 650px){
    #div-footer{
        flex-direction: column;
        justify-content: center;
    }
    .footer-categories{
        padding-left: 40%;

    }
    #Informations {
        width: 60%;
        
    }

}






/* ------- RESPONSIVE ------- */

@media(max-width: 1000px){
    .hideOnMobile{
        display: none;
    }
}

@media(min-width: 1001px){
    .hideOnPC{
        display: none;
    }
}



@media(max-width: 525px){
    #messageArea textarea {
        width: 300px;
        height: 200px;
        resize: horizontal;
        min-width: 300px;
        max-width: 300px;
    }
}

@media(max-width: 460px){
    .twoFields input {
        width: 200px;
        height: 20px;
        display: flex;
        flex-direction: column;
    }

#Mail {
    margin-left: 0px;
}

#Name {
    margin-right: 0px;
}

#Phone {
    margin-right: 0px;
}

#Object {
    margin-left: 0px;
}
}


