@import url("general.css");

.menu {
  display: flex;
  justify-content: end;
}

.menu a {
  display: flex;
  justify-content: center;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
  font-size: 2em;
  color: white;
  position: absolute;
  top: 0.2em;
  margin-left: 2vh;
  z-index: 100;
}
.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-9px, -6px);
}

/*tablette*/

@media screen and (min-width: 768px) and (max-width: 980px) {
  .menu {
    justify-content: space-between;
  }
}

/* cllulaire*/

@media screen and (min-width: 380px) and (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }
  .menu {
    display: none;
  }
  .navbar {
    display: block;
    position: relative;
  }
  /* classe utiliser dans le js pour ouvrr le menu*/
  .active {
    display: flex;
    flex-direction: column;
  }
  .copyright {
    max-width: 80%;
    top: 10px;
    left: 10px;
    font-size: x-small;
    font-weight: bold;
  }
  footer {
    font-size: 0.5em;
    padding: 1rem;
    position: relative;
  }
  .social-icons li {
    position: relative;
    right: 10px;
    display: inline-flex;
    margin: 0px 10px 10px 0px;
    font-size: xx-small;
    list-style-type: none;
  }

  footer .social-icons {
    flex-direction: column;
    padding: 10px;
  }

  .social-icon a {
    display: block;
    color: #fff;
    padding: 8px;
  }
  main {
    min-height: calc(100vh - 120px);
  }
}
