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

html { 
  background: url(space.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: darkorange;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
}

/*dy {
  margin: 0px 10px;
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
}*/

@font-face {
  font-family: "StarWarsHollowFont";
  src: url("Starjhol.ttf") format("truetype");
}

@font-face {
  font-family: "StarWarsSolidFont";
  src: url("Starjedi.ttf") format("truetype");
}

header {
  font-family: "StarWarsHollowFont";
  font-size: clamp(0.3rem, 0.5vw + 0.8rem, 3rem);
  text-align: center;
  align-items: center;
  letter-spacing: 3px;
}

header h1 {
  line-height: 120%;
  margin-bottom: clamp(0.3rem, 0.3vw, 2.5rem);
  padding-left: 65px;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hamburger {
  position: absolute;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: darkorange;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#navMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  padding-top: 70px;
}

.under-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-family: "StarWarsHollowFont";
  font-size: clamp(2rem, 5vw, 5rem);
  color: darkorange;
  letter-spacing: 3px;
  text-align: center;
}

#navMenu.active {
  transform: translateX(0);
}

#navMenu a {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid darkorange;
}


#navMenu.active {
  max-height: 500px;
}

#navMenu a {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid darkorange;
}


nav {
  font-family: "StarWarsSolidFont";
  letter-spacing: 1px;
}

nav a:hover{
  color: darkgray;
}

nav a {
  font-size: clamp(1rem, 0.6vw + 0.1rem, 2.5rem);
  color: darkorange;
  text-align: center;
  padding: 7px 15px;
  text-decoration: none;
}

hr {
  color: darkgray;
}

#contentDiv{
  font-family: "StarWarsSolidFont";
  margin: 1rem;
  letter-spacing: 3px;
}

#kitMakersDiv {
  margin: 5px 0px;
  display: flex;
  flex-wrap: wrap;
}

#kitMakersDiv a {
    padding: 3px 8px;
}

.kitsByScale{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-bottom: 15px;
}

#kitThumbnails img{
  object-fit: scale-down;
  cursor: pointer;
}

#kitScans{
  flex: 1;
}

#kitThumbnails {
  display: flex;
  height: 150px;
  max-height: 200px;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  padding: 5px;
  margin-bottom: 5px;
  overflow: auto;
  resize: vertical;
  border-bottom: 5px solid darkgray;
}

#selectedImageDiv {
  display: none;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: auto;
}

#selectedImage {
  background: transparent;
  width: 100%;
  height: 100%;
  animation: blurFadeIn 0.75s ease-in-out;
  object-fit: contain;
  }

#zoomPnl button {
  width: 50px;
  height: 20px;
  margin: 3px 10px 7px;
}

@keyframes blurFadeIn {
  0% {
    filter: blur(10px);
    opacity: 0.5;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}
