header {
  background-color: #003844;
  color: white;
  height: 65px;
  width: 96vw;
  padding: 10px 2vw;
  display: flex;
  justify-content: space-between;
  position: fixed;
  z-index: 1000;
  top: 0;
}


header>img {
  height: 70%;
  width: auto;
  align-self: center;
  margin: 0 0 0 1vw;
}

/*BURGER*/
.menuburger {
  padding: 10px 20px 0px 0px;
}

.ligneburger {
  position: relative;
  width: 40px;
  height: 4px;
  margin: 10px 0;
  background-color: white;
}

.ligneburger1inactive { animation: apparitionLigne1 1s backwards;}
.ligneburger2inactive { animation: apparitionLigne2 1s backwards;}
.ligneburger3inactive { animation: apparitionLigne3 1s backwards;}
.ligneburger1active { animation: apparitionLigne1 1s forwards;}
.ligneburger2active { animation: apparitionLigne2 1s forwards;}
.ligneburger3active { animation: apparitionLigne3 1s forwards;}

@keyframes apparitionLigne1 {
  0% {   rotate: 0deg; top: 0;}
  50% {  rotate: 0deg; top: 14px;}
  100% { rotate: 45deg;top: 14px;}
}

@keyframes apparitionLigne2 {
  0% { opacity: 100%;}
  100% {opacity: 0%;}
}

@keyframes apparitionLigne3 {
  0% {   rotate: 0deg; opacity: 100%; bottom: 0;}
  50% {  rotate: 0deg; opacity: 100%; bottom: 14px;}
  100% { rotate: -45deg; opacity: 100%; bottom: 14px;}
}

/* Element par défaut (petit écran) du menu */

nav {
  position: absolute;
  z-index: 10;
  left: 0;
  display:none;
  top: 95px;
  transition: 0.5s;
  background-color: #003844;
  width: 100%;
  height: 100vh;
  text-align: center;
}

.navactive {
  display:block;
  top: 65px;
  transition: 0.5s;
}

li {
  margin: 1vh 0 0vh 0;
}

li a {
  text-decoration: none;
  color: white;
}

.menu-deroulant {
  margin: 3vh 0 0 0;
}

.lienseul, .menu-deroulant>a {
  font-weight: 700;
  font-size: 1.5rem;
}

.lienseul:hover{
  background-color: rgba(255, 255, 255, 0.299);
  transition: 0.1s;
}

.sous-menu > li:hover a {
  background-color: rgba(255, 255, 255, 0.299);
  transition: 0.1s;
}

.demandedemo > button {
  background-color: red;
  padding: 13px;
  color: white;
  border: 0px;
  border-radius: 10px;
  margin: 5vh 3vw 0vh 3vw;
  width: 13rem;
}

.demandedemo > button:hover {
  background-color: rgb(197, 17, 17);
  cursor: pointer;
}

.socialmedias {
  display: inline-block;
  justify-content:space-between;
  width: 24px;
  margin-right: 1vw;
  margin-top: 2vh;
  align-items: center;
}

.socialmedias a{
  text-decoration: none;
  color: white;
}

.socialmedias a:hover{
  text-decoration: none;
  color: rgba(255, 255, 255, 0.299);
}


/*POUR LES MENUS DEROULANTS PC*/
@media (min-width: 1250px) {

  .menuburger {
    display: none;
  }

  .lienseul, .menu-deroulant>a {
    font-weight: 400;
    font-size: 1rem;
  }
  .menu-deroulant {
    margin: 0;
  }

  .lienseul, .menu-deroulant > a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  li {
    margin: 0;
  }

  nav {
    width: 75%;
    height: 100%;
    position: static;
    top: 0;
    display:block;
  }

  nav > ul {
    display: flex;
    text-align: center;
    height: 65px;
  }

  nav ul {
    list-style-type: none;
  }

  nav > ul > li {
    position: relative;
    height: 100%;
    flex: 1;
  }

  nav > ul > li:hover > a{
    color: #96bcc5;
    border-bottom: 2px solid red;
  }

  li a {
    padding-bottom: 5px;
    transition: 0.1s;
  }

  nav svg {
    width: 20px;
  }

  .socialmedias {
    display: flex;
    margin-top: 0vh;
    align-items: center;
  }
  .demandedemo {
    display: flex;
    align-items: center;
  }
  .demandedemo>button {
    margin: 0vh 3vw 0vh 3vw;
  }

  .sous-menu {
    margin-top: 65px;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    width: 200%;
    border-radius: 2px;
    background-color: #003844;
  }

  .menu-deroulant:hover > .sous-menu {
    animation: apparitionSousMenu 1s forwards;
  }

  @keyframes apparitionSousMenu {
    0% {   border: 1px #000000;}
    30% {  border: 1px #000000;}
    100% { border: 1px #000000; max-height: 50em; }
  }

  .sous-menu > li:hover a {
    background-color: rgba(255, 255, 255, 0.299);
    transition: 0.1s;
  }

  .sous-menu > li > a {
    align-items: center;
    display: flex;
    height: 50px;
    padding-left: 20px;
  }

  .sous-menu > li:hover > a {
    color: white;
  }
}


/* SUPER BIG SCREENS */

@media (min-width: 1920px) {
  nav {
    width: 60%;
  }
}
