:root {
  --main-color: #6ca7cf;
}

header .container {
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 8;
  background-color: var(--main-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

header .container h1 {
  color: white;
  font-size: 3em;
  font-weight: 800;
  margin-left: 100px;
  z-index: 90;
}


header .container h1 a,
header .container h1 a:visited {
  color: white;
}


header nav {
  width: 50%;
  max-width: 960px;
  margin-right: 100px;
  display: block;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0px;
  list-style: none;
}

header nav ul li a,
header nav ul li a:visited {
  color: white;
  font-size: 1em;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0);
  transition: 0.5s;
}
header nav ul li a:hover {
  color: white;
  text-decoration-color: rgb(255, 255, 255);
  transition: 1s;
}

header .login {
  display: block;
}

header .login a,
header .login a:visited {
  display: block;
  text-decoration: none;
  background-color: white;
  color: black;
  padding: 10px;
  border-radius: 15px;
}
header .login a:hover {
  color: var(--main-color);
}

label {
  display: none;
}
/*HAMB*/

@media screen and (max-width: 900px) {
  header .container {
    height: 50px;
    padding-bottom: 10px;
    position: fixed;
    flex-direction: column;
  }

  header .container h1 {
    font-size: 2em;
    margin-left: 0;
    width: 90%;
    text-align: left;
  }

  header nav {
    width: 80%;
    margin: auto;
    display: none;
  }

  label {
    display: block;
  }

  label .menu {
    position: absolute;
    right: -50px;
    top: -50px;
    z-index: 7;
    width: 100px;
    height: 100px;
    background: var(--main-color);
    border-radius: 50% 50% 50% 50%;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }

  label .hamburger {
    position: absolute;
    top: 70px;
    left: 15px;
    width: 25px;
    height: 2px;
    background: white;
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }

  label .hamburger:after,
  label .hamburger:before {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: white;
  }

  label .hamburger:before {
    top: -10px;
  }

  label .hamburger:after {
    bottom: -10px;
  }

  label input {
    display: none;
  }

  label input:checked + .menu {
    box-shadow: 0 0 0 100vh var(--main-color);
    border-radius: 0;
  }

  label input:checked + .menu .hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  label input:checked + .menu .hamburger:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    bottom: 0;
  }

  label input:checked + .menu .hamburger:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
  }

 

  label ul {
    z-index: 8;
    position: absolute;
    -webkit-transform: translate(-50%, 20%);
    transform: translate(-50%, 20%);
    opacity: 0;
    -webkit-transition: 0.25s 0s ease-in-out;
    transition: 0.25s 0s ease-in-out;
    display: none;
    list-style: none;
  }

  label input:checked + .menu + ul {
    opacity: 1;
    display: block;
  }

  label ul li {
    font-size: 1.5em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: solid 1px white;
    color: white;
  }
  label ul li a,
  label ul li a:visited {
    color: white;
  }
  label ul li:last-child {
    margin-top: 4em;
    border-bottom: none;
  }
}
