header {
  position: sticky;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  z-index: 1000;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: 0 auto;
}

.logo {
  max-height: 80px;
  padding: 10px;
  width: auto;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
}

.logo-desktop {
  display: flex;
  align-items: center;
}

.logo-desktop a img {
  transition: transform 0.3s ease-out;
}

.logo-desktop a img:hover {
  transform: scale(1.03);
}

.nav-links-container {
  display: flex;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0 auto;
}

.nav-links li {
  margin: 0;
}

.nav-button {
  display: flex;
  align-items: center;
  height: 35px;
  width: auto;
  padding: 0;
  margin-right: 15px;
}

/* Header background images for different sections */
#home {
  background: url("../img/header/home.png");
  background-size: cover;
  background-position: center center;
}

#texturepack {
  background: url("../img/header/texturepack.png");
  background-size: cover;
  background-position: center center;
}

#server {
  background: url("../img/header/server.png");
  background-size: cover;
  background-position: center center;
}

#store {
  background: url("../img/header/store.png");
  background-size: cover;
  background-position: center center;
}

#wip {
  background: url("../img/header/wip.png");
  background-size: cover;
  background-position: center center;
}

/* Media query for mobile */
@media (max-width: 768px) {

  #home-nav {
    display: block;
  }

  header {
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    margin: 0 auto;
  }

  nav {
    display: block;
    width: 95%;
  }
  
  .logo {
        padding: 10px 0;
        width: 90%;
        margin: 0 auto;
  }

  .nav-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links-container li {
    display: flex;
    justify-self: center;
    align-items: center;
    width: 100%;
  }

  .nav-links {
    display: flex;
    justify-self: center;
  }

  .nav-button {
    padding: 5px;
    height: auto;
    max-width: 100%;
  }
}
