body {
  background: #fff;
  color: #383a3c;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.25;
  font-family: "Raleway", Calibri, Arial, sans-serif;
}

a,
button {
  outline: none;
}

a {
  color: #566473;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #34495e;
}

section {
  padding: 1em;
  text-align: center;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.large-header {
  width: 100%;
  height: 100%;
  position: relative;
  background: #333;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

#large-header {
  background-image: url("bg.jpg");
}

.credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #f9f1e9;
  font-size: 14px;
  cursor: pointer;
}

.tooltip {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  display: none;
  font-size: 12px;
}

.credit:hover + .tooltip {
  display: block;
}

.main-title {
  position: absolute;
  margin: 0;
  padding: 0;
  color: #f9f1e9;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  font-size: 4.2em;
  letter-spacing: 0.1em;
}

.sub-title {
  position: absolute;
  margin: 0;
  padding: 0;
  color: #f9f1e9;
  text-align: center;
  top: 65%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  font-size: 2.2em;
  letter-spacing: 0.1em;
  display: flex;
  gap: 10px; /* Adjust spacing between buttons as needed */
  justify-content: center;
}

.main-title .thin {
  font-weight: 200;
}

.sub-title .thin {
  font-weight: 200;
}

@media only screen and (max-width: 768px) {
  .main-title {
    top: 30%; /* Move the main heading to 30% from the top */
    font-size: 3em;
    -webkit-transform: translate3d(-50%, -30%, 0);
    transform: translate3d(-50%, -30%, 0); /* Adjust transformation to account for new top position */
  }
  .sub-title {
    top: 50%; /* Move buttons below the heading */
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Add space between buttons */
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0); /* Remove vertical centering */
    padding-top: 20px; /* Add padding to create space from heading */
  }
  .semi-transparent-button {
    max-width: 200px; /* Adjust button width for smaller screens */
    font-size: 1em; /* Adjust font size for smaller screens */
  }
}

.semi-transparent-button {
  display: inline-block;
  box-sizing: border-box;
  padding: 8px;
  width: auto; /* Allow buttons to adjust to content */
  background: #fff; /* fallback color for old browsers */
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
}
.semi-transparent-button:hover,
.semi-transparent-button:focus,
.semi-transparent-button:active {
  background: #fff;
  color: #000;
  transition: all 0.5s ease-in;
}
.semi-transparent:focus {
  outline: none;
}
.with-border {
  border: 1px solid #fff;
}
#canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}