/* html_style */
body {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgb(255, 255, 255)),
    url(../img/olivier.png);
  /* background-repeat: no-repeat; */
  background-repeat: repeat-y;
  background-size: cover;
  background-attachment: fixed, local;
  height: 100%;
}

.web_title {
  font: bold;
  font-size: 25px;
  text-decoration: none;
}

.web_title:hover {
  transform: scale(1.01);
}

.web_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2em;
  background-color: #556B2F;
  transition: opacity 300ms, transform 300ms;
  opacity: 1;
  transform: scale(0);
  transform-origin: center;
}

.web_title:hover::after,
.web_title:focus::after {
  transform: scale(1);
}

/* text-decoration: underline; */

.page_title {
  border: 1px white solid;
  width: 8%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(15px);
  min-width: 90px;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

.backgroundc_olive {
  background:
    linear-gradient(to left, #556B2F, #808000);
}

/* nav_barre */
.orga_nav {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.picture_nav {
  height: 120px !important;
  width: 120px !important;
}

.text_align_cent {
  text-align: center;
}

.border_white {
  border: 1px solid white;
  width: 100px;
}

.active_li_white {
  border: 1px solid white;
}

.active_a_white {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.25);
  text-decoration: underline;
}

.inactive_a_white {
  color: rgba(255, 255, 255, 0.5) !important;
}

.inactive_a_white:hover {
  text-decoration: underline;
}

#top_nav {
  display: flex;
  justify-content: space-around;
}

.nav_position {
  margin-top: 150px;
  margin-left: 15px;
}

.three_right_buttons {
  width: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav_card_link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 30%;
}

.nav_card_twit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 30%;
}

.nav_card_gitH {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 30%;
}

.nav_redirec_contact {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 38%;
}

.nav_redirec_contact:hover img {
  border: 1px solid white;
  transform: scale(1.05);
}


/* body_part */

.card_presentation {
  height: 100%;
  width: 100%;
  border: 1px solid black;
  text-align: center;
}

.card_presentation:hover {
  border: 1px solid white;
}

.card_presentation:hover img {
  transform: scale(1.01);
}

.container {
  transform: translateY(5%);
  display: grid;
  grid-template-columns: repeat (2, 1fr);
  grid-gap: 50px;
  grid-auto-rows: minmax(200px, auto);

}

#testOne {
  grid-column: 2;
  grid-row: 1/2;
}

#testTwo {
  grid-column: 1;
  grid-row: 1;
}

#testThree {
  grid-column: 2;
  grid-row: 3/2;
}

#testFour {
  grid-column: 1;
  grid-row: 2;
}


.img_card_pres {
  background: linear-gradient(to top, rgb(8, 8, 8, .6), rgb(246, 241, 241, .2));
}

.card_index img {
  height: 200px;
  width: 200px;
}

.card_rea img {
  height: 200px;
  width: 200px;
}

.img_card_rea {
  background: linear-gradient(to top, rgb(8, 8, 8, .6), rgb(246, 241, 241, .2));
}


.img_card_vei {
  background: linear-gradient(to top, rgb(8, 8, 8, .6), rgb(246, 241, 241, .2));
}

.img_card_cont {
  background: linear-gradient(to top, rgb(8, 8, 8, .6), rgb(246, 241, 241, .2));
}

.card_index {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.background_collapse {
  background-color: #556B2F;
}

#nav_target {
  position: fixed;
}

#nav_target:hover {
  transform: scale(1.02);
}

#presentation {
  margin: 0 auto;
  width: 70%;
  max-height: 600px;
  /* transform: translateY(620px); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

#presentation h1 {
  color: black;
}

#presentation article {
  width: 80%;
  height: 80%;
  /* margin-bottom: 200px; */
  background-color: #556B2F;
  padding: 50px;
  border-radius: 5px;
}

#link_pres {
  color: black;
}

#link_pres:hover {
  font-size: large;
  color: white;
  text-decoration: underline;
}

#link_pres:hover::after {
  content: ' GO!';
}

.space-one {
  height: 600px;
}

.space-two {
  height: 200px;
}

/* @media screen and (max-width: 1400px) {} */

@media screen and (max-width: 1000px) {
  .container {
    display: flex;
    flex-direction: column;
    max-width: 400px !important;
    transform: translateX(50px);
  }

  .web_title {
    display: none;
  }

  .nav_position {
    margin-top: 0px;
    border: 1px solid black;
    border-radius: 5px;
  }

  #presentation {
    width: 100%;
    /* transform: translateX(50px); */
  }

  #presentation article {
    max-height: 1200px;
    width: 100% !important;
    padding: 50px;
  }

  h1 {
    align-self: end;
  }
}

@media screen and (max-width: 600px) {
  .container {
    max-width: 200px !important;
    transform: translateX(100%);
    margin: 0 !important;
  }

  #img-nav {
    width: 100px;
  }

  #presentation article {
    width: 100% !important;
    padding: 120px;
  }
}

@media screen and (max-width: 450px) {
  .container {
    transform: translateX(125px);
  }

  #presentation article {
    max-height: none;
    width: 100% !important;
    padding: 20px;
  }

  h1 {
    font-size: 3.2rem !important;
  }
}

/* test */
/* fin test */