html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 100;
  padding: 100;
}

header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;  /* Adjust this value to create some space below the header */
}

#header-gif {
  width: 100%;
  max-width: 400px;  /* Or whatever maximum width you prefer */
  height: 200px;
  display: block;
  margin: auto;
}

canvas {
  padding: 0;
  margin: auto;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#text-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#container {
  position: relative;  /* Make sure this is set to relative */
  width: 100%;
  height: 100%;
}

#loading-overlay {
  position: absolute;  /* Change this to absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.capture-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinning-wheel {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

#text-div {
    margin-bottom: 20px; /* Adjust as needed */
    text-align: left;
    height: auto;
    position: relative;
    z-index: 10;
    /* ... other styles ... */
}

#p5-div {
    margin-top: 50px;
    width: 400px;  
    height: 400px;  
    position: relative;
    /* ... */
}

#token-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

#token-form label,
#token-form input,
#token-form button {
    margin-bottom: 5px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
