body{
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
}

.header, .content, .sidebar, .sidebar-secondary, .footer {
    padding: 26px 34px;
    color: white;
    box-sizing: border-box;

}

.header{
    background-color: black;
    flex-basis: 100%;
    text-align: center;
    color: grey;
}
nav{
    background-color: black;
    min-height: 50px;
    flex-basis: 100%;
}
nav ul{
    display: flex;
    justify-content: space-evenly;
}
nav ul li {
    list-style-type: none ;
}
nav ul li a{
    text-decoration: none;

}
nav ul li a:link {
    color: white;
}
nav ul li a:visited {
    color: red;
  }
/* Style sur le menu */
.topnav {
    overflow: hidden;
    background-color: black;
    position: relative;
  }
  
  /* Pn cache les liens*/
  .topnav #myLinks {
    display: none;
  }
  
  /* on rend les liens stylé */
  .topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
  }
  
  /* stylisons le menu burger */
  .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  /* on ajoute un background blanc */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* on démarque l'actif */
  .active {
    background-color: red;
    color: white;
  }


  

.bandeau{
    background: url(../img/corridor.jpg) no-repeat;
    background-size: cover;
    min-height: 600px;
    width: 2000px;
}
.bandeauWIP{
    background: url(../img/corridor.jpg) no-repeat;
    background-size: cover;
    min-height: 600px;
    width: 2000px;
}
.bandeauhistory{
    background: url(../img/doomed.png) no-repeat;
    background-size: cover;
    min-height: 600px;
    width: 2000px;
}

.content{
    background-color: black;
    flex-basis: 100%;
    justify-content: space;
}
.content ul{
    display: flex;
    justify-content: space-evenly;
}
.sidebar{
    background-color: rgb(26, 25, 25);
    flex-basis: 100%;
}

.sidebar-secondary {
    background-color: rgb(43, 42, 42);
    flex-basis: 100%;
}

.footer{
    background-color: grey;
    flex-basis: 100%;
}

footer p {
    text-align: center;
}

/*@media qury est une condition qui vient limiter la taille de l'écran sur laquelle on veut appliquer les classes CSS.
Pour déclarer une media query, on va écrire ci dessous: */
@media screen and (min-width:682px) and (max-width: 768px) {
    body{
        text-align: justify;
    }
    .bandeau{
        min-height: 300px;
    }
    .sidebar-secondary{
        flex-basis: 100%;
    }
    .content{
        flex-basis: 75%;
    }
    .sidebar{
        flex-basis: 25%;
    }
    
}
@media screen and (max-width: 682px)  {
    body {
        text-align: justify;
        
    }
    .bandeau{
        display: none;
    }
    nav {
        justify-content: space-evenly;
    }
    nav ul{
        margin-right: 49px;
    }
    .sidebar, .content, .sidebar-secondary{
        flex-basis: 100%;
        font-size: 10px;
    }
}


form div {
    margin: 30px 20px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
  }
  .sidebar.boutons{
      justify-content: space-between;
  }
  
  input {
    margin-left: 20px;
    margin-bottom: 30px;
    padding: 10px 32px;
    cursor: pointer;
    border-radius: 8px;

  }
  
  /*.sidebar.boutons.button {
    margin-left: 20px;
    margin-bottom: 30px;
    padding: 10px 32px;
    cursor: pointer;
  }*/
  .formulaire.visible{
      display: block;
  }
  .message-error {
    border: 1px solid black;
    color: white;
    background-color: brown;
    padding: 16px 32px;
    margin-bottom: 20px;
    display: none;
    flex-basis: 100%;
  }
  
  .message-success {
    border: 1px solid black;
    color: white;
    background-color: rgb(42, 165, 89);
    padding: 16px 32px;
    margin-bottom: 20px;
    display: none;
    flex-basis: 100%;  
  }
  
  .success {
    border: 4px solid rgb(81, 150, 2);
    background-color: rgba(65, 116, 8, 0.4);
  }
  
  .message-error.visible, .message-success.visible {
    display: block;
  }


.myPhotos {
    display: none;
}
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.bandeauWIP{
    flex-basis: 100%;
}
.bandeauWIP .Photo-container{
    max-width: 1000px;
    position: relative;
    margin: auto;

    
}
.bandeauWIP .Photo-container .prev, .bandeauWIP .Photo-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.bandeauWIP .Photo-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.bandeauWIP .Photo-container .prev:hover, .bandeauWIP .Photo-container .next:hover {
    background-color: rgba(0,0,0,0.8);
}
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    transform: translateX(15px);
}
  
  .active, .dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
  
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
