* {
  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.5rem, 2.5rem);
  text-align: center;
  align-items: center;
  letter-spacing: 3px;
}

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

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;
}

/*itThumbnails{
  display: flex;
  height: 150px;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 5px;
  margin-bottom: 5px;
  overflow: auto;
  resize: vertical;
  border-bottom: 5px solid darkgray;
}*/

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

/*ullSizeImg {
  margin-top: 5px;
  max-height: 60vh;
  overflow: auto;
}*/

/*ullSizeImg img{
  object-fit: scale-down;
}*/

#kitScans{
  flex: 1;
}

/*-----------------------------------------------------------------------------------*/
/* Code below was generated by Zencoder                                              */
/*-----------------------------------------------------------------------------------*/

#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 {
  /*background-color: aqua;*/
  display: flex;
  /*flex-grow: 1;*/
  align-items: center;
  justify-content: center;
  /*max-width: 200%;*/
  /*height: 600px;  /* Set a fixed height */
  overflow: auto;
}

#selectedImageDiv img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#zoomPnl {
  margin-left: 15px;
  margin-bottom: 5px;
}
