/* Brun :  #41291C */
/* Vert :  #96BF0D */

/*--------------------------------GENERAL--------------------------------*/

@font-face {
  font-family: 'Zekton';
  src: url('./Zekton.ttf');
}

html {
    position: relative;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #41291C;
}

h1 {
    margin-top: 50px;
    font-family: 'Zekton', sans-serif; 
}

h2 {
    margin-top: 40px;
    margin-bottom: 0px;
}

p {
    text-align: justify;
}

a {
    text-decoration: none;
}

/*--------------------------------ACCUEIL--------------------------------*/

#main_container {
    margin: -100px auto auto auto;
}

.project_name {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #fff;
    margin: 0px;
    transition: 0.2s;
    display: none;
    font-family: 'Zekton', sans-serif; 
}

.contact_infos {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #41291C;
    width: 95%;
    text-align: center;
    font-size: 1.2em;
    display: none;
    font-family: 'Zekton', sans-serif; 
}

.team_infos {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #fff;
    width: 95%;
    text-align: center;
    font-size: 1.2em;
    display: none;
    font-family: 'Zekton', sans-serif; 
}

.lol:hover {
  background-color: #96BF0D;
  transition: 0.2s;
}

.five_containers1 {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.five_containers2 {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}

.one_container {
    width: 470px;
    height: 470px;
    overflow: hidden;
    background-color: #96BF0D;
    position: relative;
    text-align: center;
}

.four_containers {
    display: flex;
    flex-wrap: wrap;
    width: 470px;
}

.little_containers {
    width: 235px;
    height: 235px;
    overflow: hidden;
    position: relative;
    background-color: #F3F3F3;
    opacity: 0;
}

.maps {
  background-image: url("../img/plan.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

  .contact_infos_maps {
    color: #41291C;
  }

.one_container img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .2s ease-in-out;
    transform: translateZ(0);
    transform: translate3d(0,0,0);
    perspective: 1000; backface-visibility: hidden;
    opacity: 1;
    filter:alpha(opacity=100);
    border:0;
}
.one_container:hover  img {
    transform: translateZ(0);
    transform: translate3d(0,0,0);
    perspective: 1000; backface-visibility: hidden;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 0.6;
    filter:alpha(opacity=50); 
    border:0;
}

.one_container:hover .project_name{
    display:block;
    transition: 0.2s;
}

.little_containers img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .2s ease-in-out;
    transform: translateZ(0);
    transform: translate3d(0,0,0);
    perspective: 1000; backface-visibility: hidden;
    opacity: 1;
    filter:alpha(opacity=100);
    border:0;
}
.little_containers:hover img {
    transform: translateZ(0);
    transform: translate3d(0,0,0);
    perspective: 1000; backface-visibility: hidden;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 0.6;
    filter:alpha(opacity=50); 
    border:0; 
}

.little_containers:hover .contact_infos{
    display: block;
    transition: 0.2s;
}

.little_containers:hover .team_infos{
    display: block;
    transition: 0.2s;
}


.little_pictures_avatar {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin: auto;
}

.little_pictures_contact {
    height: 150px;
    margin: 6vh auto;
    display: block;
    object-fit: cover;
}

.contact_item {
    display: block;
    height: -webkit-fill-available;
    width: auto;
}

.big_pictures {
    display: block;
    margin: auto;
    height: 100%;
    margin: auto;
    width: 100%;
    object-fit: cover;
}

/*--------------------------------PROJETS--------------------------------*/

.project_nav {
      background-color: #fff;
}

.little_logo {
  margin: 5px 5px 5px 20px;
}

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
  background-color: #41291C;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #96BF0D;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(65, 41, 28, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #96BF0D;
  font-size: 12px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  position: absolute; 
  bottom: 100px; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  transition: 0.5s;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 5px 20px;
  text-align: center;
  font-family: 'Zekton', sans-serif; 
}

.container:hover .caption-container{
    opacity: 1;
    transition: 0.2s;
}

#caption {
    text-align: center;
}

.row {
    display: flex;
    justify-content: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  /*width: 16.66%;*/
  height: 100px;
  max-width: 10%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.active,
.demo:hover {
  opacity: 1;
}

.first_picture {
  height: 90vh;
  margin: auto;
  width: 100%; /*width: auto;*/
  object-fit: contain;
}

.return_logo {
  display: block; 
  margin: auto; 
  width: 50px;
  position: absolute;
  right: 20px;
  top: 760px;
  transition: 0.2s;
}
.return_logo:hover {
  opacity: 0.5;
  transition: 0.2s;
}

.more {
    color: #fff;
    text-align: center;
    padding: 40px;
    margin-top: 0px;
    font-family: 'Zekton', sans-serif; 
}

.suggestions {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/*--------------------------------ADMINISTRATION--------------------------------*/

.admin_form {
    display: flex;
    flex-direction: column;
    margin: 20px 0px;
    width: 350px;
}

.manage_projects {
    display: flex;
    justify-content: center;
}

.add_project, .delete_project {
    width: 50%;
    margin: 0px 40px;
}

.input_admin {
    margin: 10px 0px;
    background: #f1f1f1;
    border: none;
    padding: 15px;
    border-radius: 3px;
}

.input_admin_files {
    margin: 10px;
    border: none;
    padding: 15px;
    border-radius: 3px;
}

.bouton_valider {
    background-color: #96BF0D;
    border: none;
    color: white;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 14px 20px;
    transition: 0.2s;
    width: 150px;
    border-radius: 3px;
}
.bouton_valider:hover {
    opacity: 0.8;
    transition: 0.2s;
}

.project_item {
    display: flex;
    padding: 5px 0px;
}

.item_input {
    padding-left: 10px;
    background-color: #41291C;
    border: none;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.item_input:hover {
    text-decoration: underline;
}

.warning_sentence {
    display: flex;
    margin: 20px 0px;
}

.warning_item {
    margin: auto 10px auto 0px;
}

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

footer {
    width: 100%;
    height: 30px;
    color: #fff;
}

.mentions {
	text-align: center;
	margin: 40px 0px;
	font-size: 0.7em;
    font-family: 'Zekton', sans-serif; 
}

#mentions_legales {
    color: #96BF0D;
    text-decoration: none;
}
#mentions_legales:hover {
    text-decoration: underline;
}