html {
  font-family: 'Share Tech Mono', monospace;
}

body {
  background-image: url("assets/wallpaper.png");
  background-size: 102%;
  background-attachment: fixed;
  margin: 10px;
  margin-top: 0px;
}

 #title{
    display: block;
    margin: auto;
    width: auto;
    height: 114px;
    margin-bottom: 20px;
    margin-left: 240px;
}

#click {
  height: 100px;
  float: right;
  margin-top: -230px;
  margin-right: 260px;
}

#scroll {
  float: right;
  height: 100px;
  margin-top: -720px;
  margin-right: 390px;
}

#video {
    border: 2px solid #000;
    width: 300px;
    height: 225px;
    display: block;
    margin: 10px auto;
}
#video {
  border: 2px solid #444;
  border-radius: 8px;
  width: 320px;   /* adjust as needed */
  height: 240px;
  background: black;
}

button {
    display: block;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 120px;
    height: 60px;
    font-size: medium;
      color: white;
      background: #ff4d6d;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s;
    font-family: 'Share Tech Mono', monospace;
}

button:hover {
  background: #d6336c;
  transform: translateY(-3px);
  
}

#snap {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: none;
  background: rgb(30, 30, 30);
  color: white;
  font-size: 25px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s ease;
  margin-bottom: 100px;
}

#snap:hover {
  transform: scale(0.9);
}



a.h1 {
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 70px;
    text-decoration: none;
    margin-left: 300px;
    margin-top: 30px;
    color: black;
}

#camera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; 
  border: 3px solid black; 
  padding: 10px;
  width: fit-content;
  margin: 20px auto; 
  background: #b9b9b9; 
  border-radius: 12px;
  padding-left: 20px;
}

#photocard {
  display: flex;
  flex-direction: column; 
  width: 200px;
  margin: 0px;
  border: 2px solid black;
  padding: 20px;
  background-color: rgb(231, 231, 231);
  padding-bottom: 50px;
  border-radius: 5px;
  position: relative;
}


#photostrip {
  display: flex;
  flex-direction: column; 
  width: 244px;
  margin: 0px;
  background-color: rgb(159, 98, 98);
  border-radius: 5px;
  margin-left: 510px;
  transition: margin-left 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);

}

#photostrip.sticker-mode {
  margin-left: 300px;
}


.slot {
  width: 100%;
  height: 150px;
  margin-bottom: 20px;
  background-color: lightgray;
  border-radius: 5px;
}

#sticker-controls {
  float: right;
  margin-top: -700px;
  margin-right: 200px;
  align-items: center;
  text-align: center;
}

#overlay-div1, #overlay-div2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;

  button {
    width: 120px;
    height: 60px;
    background-color: #b9b9b9;
    border: 2px solid black;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-family: 'Share Tech Mono', monospace;
    font-size: medium;
  }
}

#photostrip-wrapper {
  position: relative;
  width: 244px;
  margin: 0px;
}

#overlay-layer {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 247px;
  z-index: 10;
  margin-left: 300px;
}

#overlay-layer.final-mode {
  position: absolute;
  top: 0;
  left: 500px;
  width: 100%;   /* always match parent width */
  height: 100%;  /* always match parent height */
  pointer-events: none;
  z-index: 10;
  margin: 0;     /* remove the offset */
}

#photostrip.final-mode {
  margin-left: 500px;
  margin-top: 150px;
}

#export-controls.final-mode {
  margin-top: 100px;
  position: absolute; 
  top: 0; 
  left: 100px; 
  width: 100%; 
  height: 100%; 
  z-index: 20;

  h2 {
    font-size: 30px;
    margin-left: 340px;
  }
}

#download {
    margin-bottom: -500px;
}

#double-photocard {
  position: relative;
  display: inline-block;
}

#double-photocard .card {
  width: 230px;
  height: 710px;
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0);
}

#double-photocard .original {
  transform: rotate(-20deg);
  position: absolute;
  top: 20px;
  left: 250px;
  z-index: 1;
}

#double-photocard .clone {
  transform: rotate(20deg);
  position: absolute;
  top: 50px;
  left: 550px;
  z-index: 0;
}

#download {
  margin-top: 835px;
  margin-right: 740px;
}

#retake {
  float: right;
  margin-top: 440px;
  margin-right: 605px;
}