* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 8%;
  box-shadow: 0 5px 10px #587ae8;
  position: fixed;
  width: 100%;
  height: 110px;
  top: 0;
  z-index: 1;
  background-color: black;
}

nav {
  display: flex;
  align-items: center;
}

.logo {
  width: 150px;
  height: 150px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 10px;
}
.nav-links a:hover{
  color: rgb(231, 218, 218);
  font-size: 20px;
  transition: all 0.4s ease;
}
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}


@media screen and (max-width: 1000px) {
  header{
    padding: 0px 4%;
  }
  nav{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    position: fixed;
    right: 0px;
    height: 80vh;
    top: 110px;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 20px;
    align-content: flex-start;
    width: 60%;
    transform: translateX(-200%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    margin-top: 50px;
    opacity: 0;
    width: 100%;
  }
  .nav-links #name{
    padding: 0px 10px;
    color: #587ae8;
    font-weight: 600;
    font-size: 25px;
  }
  .nav-links li a{
    color: black;
  }
  .nav-links a:active{
    color: #587ae8;
  }

  .hamburger {
    display: block;
    justify-self: flex-end;
  }

  .nav-active {
    transform: translateX(-67%);
  }

  .nav-links li {
    opacity: 1;
    transition: opacity 0.5s ease-in;
  }
  .logo{
    justify-self: flex-start;
  }
}

@media screen and (min-width: 1000px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    width: auto;
  }

  .nav-links li {
    margin: 0 10px;
  }
}
@media screen and (max-width: 450px){
  .nav-links li a{
    font-size: 14px;
  }
}


/* Background Image */
.background {
    margin-top: 90px;
}

.background img {
    width: 100%;
}

/* Section */
form {
    padding: 100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
    background-color: white;
}

form h1 {
    text-align: center;
}

form .two {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 0.5rem;
    width: 70%;
}

form #code_input #code {
    width: 100%;
}

form #number_input #number {
    width: 100%;
}

form .two .input {
    width: 100%;
}

form .input {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
    width: 70%;
}

form .input label {
    font-size: 18px;
}

form .input .tags {
    height: 40px;
}

input[type=file] {
    font-size: 20px;
    cursor: pointer;
    color: red;
}

form .button {
    width: 100px;
    height: 40px;
    border-radius: 10px;
    font-size: 18px;
    background: black;
    color: white;
}

form .button:hover {
    cursor: pointer;
}


/* Footer */
footer {
    width: 100%;
    height: 250px;
    background-color: black;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    color: white;
    align-content: center;
    justify-items: center;
}

footer .lines {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}

footer .lines hr {
    width: 150px;
}

footer h1 {
    font-size: 35px;
}

footer p {
    font-size: 30px;
}

footer p span {
    color: wheat;
}


@media screen and (max-width: 600px) {
    form {
        padding: 50px;
    }

    form .two {
        width: 80%;
    }

    form .input {
        width: 80%;
    }

    footer h1 {
        font-size: 25px;
    }

    footer p {
        font-size: 20px;
    }

    footer .lines hr {
        width: 100px;
    }
}

@media screen and (max-width: 400px) {
    form {
        padding: 30px;
    }

    form .two {
        width: 95%;
    }

    form .input {
        width: 95%;
    }

    footer h1 {
        font-size: 20px;
    }

    footer p {
        font-size: 15px;
    }

    footer .lines hr {
        width: 80px;
        height: 2px;
    }
}