* {
  margin:0;
  padding:0;
  box-sizing: border-box;
}

main {
  width: 100% !important;
  overflow-x: hidden !important;
}

h1,h2,h3,h4,h4,h5,h6 {
  font-family: 'Grad' !important;
  font-weight: 400 !important;
}

p {
  font-family: 'apercuregular' !important;
}

u {
  text-decoration: none;
  position: relative;
}

u::after {
  mask-image: url('../img/underline.svg');
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  left:0;
  bottom: 0;
  width:100%;
  height:5px;
  mask-size: 100% auto;
  background-color: #def799;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  padding: 1rem;
  z-index: 100;
}

header #logo {
  position: fixed;
  top: 1rem;
  left: 1rem;
  display:block;
  z-index: 10;
  transform: translateY(-100%);
  opacity:0;
  transition: all 0.5s ease-in-out;
}

header #logo.active {
  transform: translateY(0%);
  opacity: 1;
}

header #logo img {
  width: auto;
  height:2rem;
  fill: #cbf64e;
}

header #mc-menu-trigger {
  float: right;
  color:#fff;
  background-color: #7b67f5;
  border-radius: 10rem;
  width:3rem;
  height: 3rem;
  border:0;
  display: grid;
  align-items: center;
  justify-content: center;
}

header #mc-menu-trigger svg {
  fill:#fff;
}

header #menu {
  position: fixed;
  width:100%;
  top:0;
  right:0;
  background-color: #7b67f5;
  padding: 1rem;
  transition: all 0.5s ease-in-out;
}

header #menu nav {
  padding:0;
}

header #menu button {
  border:0;
  background:none;
  width:3rem;
  height:1.5rem;
  text-align: center;
}

header #menu button svg{
  fill:#fff;
  line-height:2rem;
}

header #menu ul {
  list-style: none;
  margin-bottom: 0;
}

header #menu ul li a {
  color:#fff;
  font-family: 'apercuregular', sans-serif !important;
  line-height: 2rem;
  height: 2rem;
}

@media screen and (max-width: 768px) {

  header #menu {
    height:100vh;
    display:grid;
    align-items: center;
    transform: translateX(100%);
  }

  header #menu.active {
    transform: translateX(0%);
  }

  header #menu ul {
    display: flex;
    flex-direction: column;
    grid-row-gap: 1.5rem;
    justify-content: end;
    text-align: center;
    width:100%;
  }

  header #menu ul li a {
    font-size: 1.75rem;
  }

  header #mc-menu-close {
    position:fixed;
    top: 1rem;
    right: 1rem;
  }

}

@media screen and (min-width: 768px) {

  header #menu {
    display: flex;
    justify-content: end;
    grid-column-gap: 2rem;
    align-items: center;  
    transform: translateY(-100%);
  }

  header #menu.active {
    transform: translateY(0%);
  }

  header #menu ul {
    display: flex;
    grid-column-gap: 1.5rem;
    justify-content: end;
  }

  

}

@media screen and (min-width: 1200px) {
  
  .container {
    width: 1200px !important;
  }
}
