* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100dvh;
  max-height: 100dvh;
  font-family: Arial, sans-serif;
  background-color: #ca4a4f;
  margin: 0; /* Remove any margin that may affect position */
  padding: 0; /* Remove any padding */
  overflow: hidden;
  color: white;
}

header {
  width: 100%;
  height: 10dvh;
  padding: 10px;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

#lang-toggle {
  margin-left: auto;
}

#logo {
  height: 8dvh;
}

main {
  height: 85dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin: 0; /* Remove any margin that may affect position */
  padding: 0; /* Remove any padding */
}

#form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  text-align: center;
  height: 90%;
  z-index: 5;
}

.customization {
  width: 100%;
  justify-items: center;
}

#submit-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

#lang-toggle {
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
}

@media (max-width: 600px) {
  #lang-toggle {
    font-size: 14px;
  }

  #submit-button {
    font-size: 14px;
  }

  #form-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
#prev-button,
#next-button {
  background-color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.1), -1px 0px 5px rgba(0, 0, 0, 0.1),
    0px 5px 10px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}
#column-buttons button {
  z-index: 1;
  border: 2px solid transparent;
  border-radius: 30px;
  width: 23vw;
}
#column-buttons button.active {
  border: 2px solid black;
}
#column-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
@keyframes fadeIn {
  from {
    opacity: 0; /* Start hidden */
  }
  to {
    opacity: 1; /* End visible */
  }
}

.step {
  display: none; /* Initially hidden */
  flex-direction: column;
  position: relative;
  background-size: contain;
  background-position: center;
  overflow: hidden;
  height: 20dvh;
}

.step.active {
  display: flex; /* Make it flex when active */
  animation: fadeIn 0.5s; /* Slide in animation */
}

#step-1 {
  background-size: contain;
  background-repeat: no-repeat;
  flex-direction: column;
  justify-content: flex-start;
  height: 100px;
  animation: none;
}
.columns {
  display: none;
  background-size: contain;
  background-repeat: no-repeat;
  flex-direction: column;
  justify-content: flex-start;
  height: 20dvh;
  width: 100vw;
}
.columns.active {
  display: block;
}
#step-4-img img {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -15%;
  animation: fadeIn 0.5s ease-out forwards; /* Add this line */
}

#please-wait-header {
  text-align: center;
}

#step-2,
#step-3,
#step-4 {
  background: none;
}
#step-4 {
  margin-top: 20px;
  height: 8dvh;
}

.minimal-input {
  border: none;
  background: transparent;
  color: transparent;
  caret-color: black;
  outline: none;
  font-size: 17px;
  width: 300px;
  margin-top: 10px;
  margin-left: 15px;
  height: 30px;
  line-height: 25px;
}

button {
  background-color: white;
  border: none;
  padding: 8px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.1), -1px 0px 5px rgba(0, 0, 0, 0.1),
    0px 5px 10px rgba(0, 0, 0, 0.2);
  color: black;
}

button.active {
  border: 2px solid black;
}

#nav-buttons {
  display: flex;
  gap: 50px;
}

#nav-buttons button {
  background-color: white;
  width: 60px;
  height: 60px;
  font-weight: bold;
}

#weight-buttons {
  justify-content: space-between;
  width: 100%;
}
#weight-buttons button {
  border: 2px solid transparent;
  border-radius: 30px;
  width: 40vw;
  margin: 6px 40px;
}

#weight-normal.active,
#weight-bold.active {
  border: 2px solid black;
}

#weight-bold {
  font-weight: bolder;
}
#weight-normal {
  font-weight: normal;
}

#color-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

#color-buttons button {
  width: 60px;
  height: 60px;
  border: none;
  padding: 0;
  box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.1), -1px 0px 5px rgba(0, 0, 0, 0.1),
    0px 5px 10px rgba(0, 0, 0, 0.2);
}

#submit-button {
  background-color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 70px;
}

h3 {
  font-size: 6.5dvh;
  margin-bottom: 10px;
  color: white;
  text-align: left;
  height: 21dvh;
  font-weight: bold;
  width: 100%;
}
h4 {
  font-size: 4.5dvh;
  margin-bottom: 10px;
  color: white;
  text-align: left;
  height: 21dvh;
  font-weight: bold;
  width: 100%;
}
#weight-selection-header {
  width: 100%;
  line-height: normal;
  line-height: 0.9;
}
#text-input-header {
  display: none;
}
#header-texts {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Aligns items at the top */
  width: 100%;
}

#weight-normal-container {
  display: flex;
  justify-content: flex-start; /* Aligns Normal button to the left */
}

#weight-bold-container {
  display: flex;
  justify-content: flex-end; /* Aligns Bold button to the right */
  margin-top: auto; /* Pushes the Bold button down to the end */
}
#can-scenery {
  position: fixed;
  bottom: 0;
  width: 100vw;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  z-index: 0;
  margin-bottom: -50px;
}
#can-scenery.hidden {
  opacity: 0;
}
#can.hidden {
  opacity: 0;
}
#can {
  width: 100vw;
  position: fixed;
  bottom: 0;
  z-index: 0;
  transition: transform 0.5s ease-in-out;
}
#back-button {
  display: block;
  box-shadow: none;
  border: none;
  background-color: transparent;
  color: white;
  font-size: 16px;
}
#back-button.hidden {
  display: none;
}
#step-5 {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 40dvh;

  width: 90%;
}
#response-message {
  font-size: 25px;
  color: white;
  text-align: center;
}
@media (min-width: 726px) {
  #can-scenery {
    display: none;
  }
  #step-4-img img {
    width: 30vw;
  }
  #step-4 {
    height: 15dvh;
  }
  .columns {
    width: 30vw;
  }
  #can {
    display: none;
  }
}
.grecaptcha-badge {
  visibility: hidden !important;
}
#captcha-info {
  display: none;
  color: white;
  font-size: 10px;
  text-shadow: 0vw 0dvh 0.5vw black;
  margin-top: 10dvh;
}
#captcha-info a {
  color: white;
  text-decoration: none;
}
#captcha-info.active {
  display: block;
}
