@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;900&display=swap");


html{
    font-size: 62.5%;
    
}
body{
    font: 1.6rem;
    margin: 0;
}
h1,h2,h3,h4,p, figure,ol,ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-weight: 300;
    font-size: i;
}
*{
    box-sizing: border-box;
}
a{
    text-decoration: none ;
    color: #222;
}
button, input, select, option{
    background: none;
    border: 0;
}


* {
  font-family: "Roboto";
  font-size: 1.6rem;
}

header {
  position: fixed;
  width: 100%;
  top: 0%;

  align-items: center;
  flex-direction: column;
  background-color: rgb(255, 255, 255);
  box-shadow: #646464 0px 0px 10px 0px;
  z-index: 3;
}
.mob-log {
  display: none;
}
a > img {
  max-width: 7rem;
}
.my-nav-menu {
  display: grid;
  width: fit-content;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.my-nav-menu > li > a {
  color: rgb(55, 55, 55);
  font-weight: 700;
}
.my-nav-menu {
  text-align: center;
}
.Nav_container > :first-child {
  text-align: center;
}
.Nav_li > p {
  width: 100%;
  font-weight: 700;
  color: rgb(55, 55, 55);
}
.my-nav-menu > a:hover,
.my-nav-menu>li > a:hover {
  transition: all 0.2s;
  color: rgb(182, 182, 182);
}
.sub-menu {
  visibility: hidden;
  display: flex;
  padding-top: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  position: absolute;
  left: 0%;
  top: 100%;
  flex-direction: column;
  gap: 2rem;
  text-align: start;
  opacity: 0;
  z-index: 1;
  background-color: #fff;
  width: 100%;
  border-top: thin solid rgb(28, 28, 28);
  transition: all 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

.my-nav-menu > li>a:hover + .sub-menu {
  visibility: visible;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  max-height: 20vh;
  transition-delay: 0.3s;
}
.sub-menu:hover{
  visibility: visible;
  opacity: 1;
  max-height: 20vh;
}
.sub-menu > li > a:hover,
.hidden_categorie2 > li > a:hover {
  color: rgb(182, 182, 182);
}

.herobanner {
  display: flex;
  background-size: cover;
  background-position: center;
  background-image: url(/Hitec/asset/KOUTIO/1.jpg);
  height: 95vh;
  width: 100vw;
  /*background-image: url(/asset/hrbn.jpg);*/
  background-color: #7a7a7f;
  gap: 6rem;
  flex-direction: column;
  box-shadow: black 0px 200px 500px 0px inset;
  justify-content: center;
}
.herobanner h2 {
  display: flex;
  margin-left: 10rem;
  font-size: 8rem;
  font-weight: 900;
  top: 30%;
  left: 10%;
  color: #fff;
}
.herobanner h2:first-child:after {
  position: relative;
  top: 60%;
  right: 70%;
  font-size: 1rem;
  z-index: 0;
}
.herobanner h2:nth-child(2):after {
  position: relative;
  top: 50%;
  right: 67%;
  font-size: 2rem;
  z-index: 0;
}
.herobanner h2:nth-child(3):after {
  position: relative;
  top: 50%;
  right: 65%;
  font-size: 2rem;
  z-index: 0;
}

.presentation > article > p {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 3.5rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.presentation > article,
.side_title > a > article > h2 {
  padding: 1rem 2rem 1rem 2rem;
}
section article h2 {
  margin: 2rem;
  text-align: center;
  font-size: 3.5rem;
  font-weight: 900;
}
section article p {
  margin: auto;
  text-align: center;
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 100;
  max-width: 50%;
}

.copy_list {
  border-top: #646464 2px dotted;
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 3rem;
  background-color: #2e2e2e;
  padding: 2rem;
  grid-column-end:span 3;
}
.copy_list > li {
  font: 700 1.6rem "Roboto";
}
.foot_container ul > li,
.foot_container ul > li a {
  color: #fff;
}
.foot_container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-end: 1 3;
}
.foot_container>div{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: #2e2e2e;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.med{
  display: flex;
  gap: 2rem;
  padding-left: 2rem;
}

.foot_container>div>h2{
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.footer-menu{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-menu>li{
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}
.footer-menu>li>a:hover{
  transition: 0.3s;
  color: #8d8d8d;
}

.side_title {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.side_title article {
  height: 100%;
  background-color: rgb(69, 68, 68);
  color: rgb(255, 255, 255);
  box-shadow: black 0px 100px 500px 0px inset;
}
.side_title article {
  display: flex;
  justify-content: center;
  align-items: center;
}
.side_title article h2 {
  padding: 0;
  margin: 0;
}
.side_title a:first-child article {
  background-image: url(/Hitec/asset/act.jpg);
  background-size: cover;
  background-position: center;
}
.side_title a:last-child article {
  background-image: url(/Hitec/asset/1.JPG);
  background-size: cover;
  background-position: center;
}

.side_title a article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-color: rgb(51, 48, 48);
  height: 50vh;
  color: rgb(255, 255, 255);
}
.side_title a article > h2::after {
  position: relative;
  top: 75%;
  right: 77%;
  font-size: 2rem;
  content: "";
}
.tri_element {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}
.tri_element a article {
  display: flex;
  height: 50vh;
  justify-content: start;
  align-items: end;
}
.tri_element a article h2 {
  text-align: start;
}
.tri_element > a:hover {
  transition: all 0.5s ease;
  box-shadow: inset 0.1rem 0.1rem 4rem 2.5rem rgba(64, 64, 64, 0.68);
}
.side_title > a > article:hover,
.tri_element a article:hover {
  transition: all 0.5s ease;
  box-shadow: inset 0.1rem 0.1rem 4rem 2.5rem rgba(0, 0, 0, 0.68);
}

.tri_element a:nth-child(1) {
  background-color: rgb(196, 196, 196);
  color: #fff;
  background-image: url(/Hitec/asset/incendie.jpg);
  box-shadow: black 0px 100px 500px 0px inset;
  background-position: right;
  background-size: cover;
}
.tri_element a:nth-child(2) {
  background-color: rgb(146, 146, 146);
  color: #fff;
  background-image: url(/Hitec/asset/fauxplafondsmin.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: black 0px 100px 500px 0px inset;
}
.tri_element a:nth-child(3) {
  background-color: rgb(85, 84, 84);
  color: #fff;
  background-image: url(/Hitec/asset/IntMenui.webp);
  background-position: center;
  background-size: cover;
  box-shadow: black 0px 100px 500px 0px inset;
}
@media (max-width: 913px) {
  header {
    height: 10vh;
    border-bottom: #7a7a7f solid thin;
  }
  .mob-log {
    width: 5rem;
    display: block;
    margin-top: 0.5rem;
  }
  .Nav_li > a {
    font-size: 4rem;
    font-weight: 900;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .Nav_li > p {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    font-size: 4rem;
    font-weight: 900;
  }
  .Nav_container > .Nav_li:nth-child(2) {
    margin-top: 4rem;
  }
  .nav-dis {
    transition: max-width 0.5s ease-in-out;
    position: absolute;
    opacity: 0;
    max-width: 0%;
  }
  .nav-enab {
    transition: max-width 0.5s ease-in-out;
    display: block;
    position: absolute;
    top: 100%;
    right: 0%;
    max-width: 55%;
    opacity: 1;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.819);
    color: black;
  }
  .my-nav-menu {
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    margin: 2rem;
}
.my-nav-menu > li  {
text-align:  start;
}
.my-nav-menu > li:nth-child(1) {
  display: none;
}
  .Nav_container {
    display: block;
    width: 100%;
  }
  .Nav_container > li:first-child {
    display: none;
  }
  .Nav_li {
    text-align: start;
    font-weight: 500;
    display: block;
    padding: 0;
    margin: 1rem;
    margin-bottom: 3rem;
  }
  .hidden_categorie,
  .hidden_categorie2 {
    display: block;
    position: initial;
    opacity: 1;
    padding: 0;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 2rem;
    background-color: inherit;
  }
  .hidden_categorie > li,
  .hidden_categorie2 > li {
    margin-top: 2rem;
  }
  .hidden_categorie > li > a,
  .hidden_categorie2 > li > a {
    color: #7a7a7f;
    padding: 0rem;
  }
  .herobanner {
    height: 70vh;
  }
  .herobanner h2 {
    font-size: 4rem;
    color: #fff;
    margin-left: 2rem;
  }
  .burger {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 1.6rem;
    height: 0.3rem;
    background-color: rgb(52, 52, 52);
    z-index: 2;
  }
  .burger:before {
    position: absolute;
    background-color: rgb(52, 52, 52);
    top: 200%;
    content: "";
    width: 1.6rem;
    height: 0.3rem;
  }
  .burger:after {
    position: absolute;
    background-color: rgb(52, 52, 52);
    top: -200%;
    content: "";
    width: 1.6rem;
    height: 0.3rem;
  }
  .cross {
    position: absolute;
    background-color: rgb(52, 52, 52);
    top: 50%;
    right: 5%;
    rotate: 45deg;
    content: "X";
    width: 1.6rem;
    height: 0.3rem;
  }
  .cross::before {
    position: absolute;
    background-color: rgb(52, 52, 52);
    top: 0%;
    right: 0%;
    rotate: -90deg;
    content: "";
    width: 1.6rem;
    height: 0.3rem;
  }

  .herobanner h2:first-child:after {
    position: relative;
    top: 50%;
    right: 70%;
    font-size: 2rem;
    z-index: 0;
  }
  .herobanner h2:nth-child(2):after {
    position: relative;
    top: 50%;
    right: 67%;
    font-size: 2rem;
    z-index: 0;
  }
  .herobanner h2:nth-child(3):after {
    position: relative;
    top: 50%;
    right: 65%;
    font-size: 2rem;
    z-index: 0;
  }
  .sub-menu {
    visibility: visible;
    display: contents;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-bottom: 2rem;
    position: absolute;
    left: 0%;
    top: 100%;
    flex-direction: column;
    gap: 2rem;
    text-align: start;
    opacity: 1;
    z-index: 1;
    background-color: #fff;
    width: 100%;
    border-top: thin solid rgb(28, 28, 28);
    max-height: 20vh;
    overflow: hidden;
  }
  .presentation article p {
    display: initial;
    width: 100%;
    margin: 0;
    font-size: 1.6rem;
  }
  .side_title {
    display: block;
    align-items: center;
  }

  .tri_element {
    display: block;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    background-color: gray;
  }
  .tri_element a:nth-child(1) {
    background-color: rgb(196, 196, 196);
    color: #fff;
    background-image: url(/Hitec/asset/incendie.jpg);
    box-shadow: black 0px 100px 500px 0px inset;
    background-position: right;
    background-size: cover;
  }
  .tri_element a:nth-child(2) {
    background-color: rgb(146, 146, 146);
    color: #fff;
    background-image: url(/Hitec/asset/fauxplafondsmin.jpg);
    background-position: center;
    background-size: cover;
    box-shadow: black 0px 100px 500px 0px inset;
  }
  .tri_element a:nth-child(3) {
    background-color: rgb(85, 84, 84);
    color: #fff;
    background-image: url(/Hitec/asset/IntMenui.webp);
    background-position: center;
    background-size: cover;
    box-shadow: black 0px 100px 500px 0px inset;
  }
  .copy_list {
    border-top: #646464 2px dotted;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 3rem;
    background-color: #2e2e2e;
    padding: 2rem;
    grid-column-end:span 3;
  }
  .copy_list > li {
    font: 700 1.6rem "Roboto";
  }
  .foot_container> ul > li,
  .foot_container> ul > li a {
    color: #fff;
  }
  .foot_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-end: 1 3;
  }
  .foot_container>div{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #2e2e2e;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .med{
    display: flex;
    gap: 2rem;
    padding-left: 2rem;
  }
  
  .foot_container>div>h2{
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
.footer-menu{
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
.footer-menu>li{
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
  }
.footer-menu>li>a:hover{
    transition: 0.3s;
    color: #8d8d8d;
  }
}
