/* General */
html {
  font-family: 'Nunito', sans-serif;
}
.wrapper {
  max-width:1000px;
  margin:0 auto;
  text-align: center;
}
img {
  max-width:100%;
}
/* Header */
header {
  background:#64c6cb;
  padding: 30px 0;
  position: relative;
}
header img {
  width: 130px;
}
menu {
  margin-top: 0;
  text-align: center;
  translate:-45px 0 0 ;
  margin-bottom: 0;
}
menu > li:nth-of-type(1) {
  position: relative;
  overflow: hidden;
}
menu > li:nth-of-type(1):hover {
  overflow:visible;
}
.sous-menu {
  position: absolute;
  left: 50%;
  translate:-50%;
  padding:0;
  margin:0;
  background-color:#64c6cb;
  padding:15px;
  transition:.3s all ease-in-out;
  height: 0;
}
menu > li:nth-of-type(1):hover .sous-menu {
  height:160px;
}
.sous-menu li {
  display: block;
  margin-right: 0;
  margin-bottom: 10px;
  white-space: nowrap;
  transition:.3s all ease-in-out .3s;
  opacity:0;
}
menu > li:nth-of-type(1):hover .sous-menu li {
  opacity:1;
}
.sous-menu li:last-child {
  margin-bottom: 0;
}
li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 30px;
}
header a {
  text-transform: uppercase;
  text-decoration: none;
  color:#fff;
  font-size: 13px;
}

/* Cones */
.cone:nth-of-type(3n + 2) {
  margin:0 30px;
}
.cone {
  display: inline-block;
  vertical-align: top;
  width:calc(calc(100% / 3) - 20px);
  color:#7a7a7a;
  margin-bottom: 30px;
}
h2 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 0;
}
p {
  font-size: 13px;
  margin-top: 0;
}

/* Button */
.button {
  position: fixed;
  background:#64c6cb;
  color:#fff;
  font-weight: 400;
  bottom:20px;
  left:50%;
  translate:-50% 0 0;
  padding:15px 0;
  width: 300px;
  text-align: center;
  border-radius:30px;
  box-shadow:0 0 15px rgba(0,0,0,0.5);
  text-decoration: none;
  transition:.3s all ease-in-out;
}
.button:hover {
  box-shadow:0 0 20px rgba(0,0,0,0.7);
  background:#4a9296;
}

@media screen and (max-width:640px) {
  .cone {
    display: block;
    width:100%;
  }
  header {
    padding: 20px 0;
  }
  header img {
    width: 91px;
  }
  .cone:nth-of-type(3n + 2) {
    margin:0;
  }
  .wrapper {
    padding:0 50px;
  }
  li:not(.logo) {
    display: none;
  }
  menu {
    translate:0 0 0;
  }
  .button {
    width: 95%;
  }
  .burger-menu {
    width: 22px;
    height: 16px;
    position: absolute;
    top: 50%;
    left:25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    translate:0 -50%;
    cursor:pointer;
    z-index:1;
  }
  .burger-menu div {
    height: 2px;
    background:#fff;
    box-shadow:0 1px 1px rgba(0,0,0,0.25);
  }
  [alt="Cones"] {
    margin: 30px 0;
  }
}