header{
  padding-bottom: 7%;
}


.navtop {
  background-color: var(--dark-blue);
  padding: 5px;
  font-family: "Ruda", sans-serif;
  position: fixed;
  width: 100%;
  overflow: auto;
  z-index: 1;
}


.navtop a {
  text-decoration: none;
}

.navtop {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.navtop #navlogo {
  display: flex;
  align-items:center;
  justify-content: flex-start;
}

.navtop #navicon {
  width: 5em;
  height: 5em;
}

#navlogo a {
  color: white;
}

.active {
  font-size: 1.5em;
  font-weight: 900;
  color: #fff;
}

.navtop #hamburguer {
  display:none;
}

.navtop #hamburguerIcon {
  opacity: 0;
  position: absolute;
}

.navtop label {
  cursor: pointer;
  position: relative;
  display: block;
  height: 10%;
  width: 40%;
  top: -5px;
}

.navtop label span {
  position: absolute;
  display: none;
  height: 0.28em;
  width: 1.8em;
  border-radius: 2em;
  background: #fff;
  transition: 0.25s ease-in-out;
}

.navtop label span:nth-child(1) {
  top: 0;
}

.navtop label span:nth-child(2) {
  top: 8px;
}

.navtop label span:nth-child(3) {
  top: 16px;
}

.navtop #hamburguerIcon:checked + label span:nth-child(1) {
  transform: rotate(-45deg);
  top: 8px;
}

.navtop #hamburguerIcon:checked + label span:nth-child(2) {
  opacity: 0;
}

.navtop #hamburguerIcon:checked + label span:nth-child(3) {
  transform: rotate(45deg);
  top: 8px;
}

.navtop #navlinks {
  display: inline;
  justify-content: space-around;
  width: 50%;
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.links li {
  display:  inline;
  padding: 0.5em 0em;
}

.links li a {
  font-weight: normal;
  font-size: 1em;
  color: white;
  cursor: pointer;
  transition: 0.25s;
}

.links li a:hover {
  color: var(--light-pink);
}

#contact-link {
  background-color: var(--light-pink);
  border-radius: 10px;
  padding: 0.5em;
  transition: 0.25s;
}

#contact-link:hover {
  background-color: #FFF;
}

@media screen and (max-width: 760px){
  header{
    padding-bottom: 30%;
  }

  .navtop label span{
    display: block;
  }

  .links li {
    display: list-item;
  }

  .navtop #navlinks {
    display: none;
    width: 100%;
  }

  .links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  .navtop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
  }

  .navtop #navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #contact-link:hover {
    background-color: var(--dark-blue);
  }

  .navtop #hamburguer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
    height: 5em;
    width: 5em;
  }

  #contact-link {
    background-color: var(--dark-blue);
  }
}

