body,
html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #CCCCFF;
}

.content-wrapper {
  max-height: 0;
  width: 80%;
  margin: 0 auto;
  max-width: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease-out; /* Add smooth transition */
}

.content-wrapper.active {
  max-height: 200px; /* Needs to be a value larger than the content's natural height */
}

.hanken {
  font-family: "Hanken Grotesk", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

#canvas {
  display: block;
  width: 100vw;
  background-color: #CCCCFF;
  z-index: 1;
  position: absolute;
}

#canvas-help, #canvas-themes {
  display: none;
  width: 100vw;
  background-color: #CCCCFF;
  z-index: 2;
  position: absolute;
  /* top: 80% */
}


.full-viewport-height {
  height: 100vh; /* Fallback */
}

@supports (height: 100dvh) {
  .full-viewport-height {
    height: 100dvh;
  }
}

.btns {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  text-align: center;
  display: none;
}

.btns a {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  background-color: #ffffff55;
  color: black;
  text-decoration: none;
  border-radius: 20px;
  font-family: "Hanken Grotesk", sans-serif !important;
  font-size: 12px;
}

h1 {
  font-family: "Hanken Grotesk", sans-serif !important;
  /* font-optical-sizing: auto; */
  font-weight: 600;
  font-size: 2em;
  color: #fff;
  text-shadow: #00000056 -1px 1px 2px;
  margin: 1 4em ;
  border-radius: 100px;
  background-color: #6600CC;
  display: inline-block;
  padding: 0.2em 1em;
}

.concours {
  position: absolute;
  top: 0 ;
  left: 0 ;
  right: 0 ;
  bottom: 0 ;
  z-index: 5;
  background-color: #CCCCFF;
  padding: 10px;
  font-family: "Hanken Grotesk", sans-serif !important;
  text-align: center;
  display: none;
  overflow: scroll;
}

.concours input[type="text"] {
  width: 80%;
  max-width: 400px;
  border-radius: 50px;
  font-size: 24px;
  padding: 15px 5px;
  text-align: center;
  border: none;
  box-shadow: #6600CC22 1px 1px 5px 0px;
  margin: 10px 0px;
}

input::placeholder {
  font-family: "Hanken Grotesk", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #9966FF;
}

.concours input[type="submit"], a.btn{
  font-size: 22px;
  padding: 20px 15px;
  border-radius: 40px;
  cursor: pointer;
  background-color: #6600CC;
  color: white;
  border: none;
  width: 60%;
  max-width: 400px;
  box-shadow: #6600CC22 1px 1px 5px 0px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
}

a.btn {
  margin-top: 10px;
}

.concours p {
  font-size: 12px;
  text-align: center;
  margin: 10px 0 20px 0;
  color: red;
  text-decoration: underline;
}

.content-wrapper p {
  font-size: 12px;
  text-align: center;
  margin: 10px 20px 20px 20px;
  color: #000;
  text-decoration: none;

}

p.lots {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.concours img {
  width: 35%;
  max-width: 200px;
  margin: 10px 0;
}

img.lot {
  width: 80%;
  /* width: 200px; */
  max-width: 400px;
  margin: 10px auto;
  background-color: white;
  padding: 1em;
  box-sizing: border-box;
  display: block;
  margin: 1 3em ;
  border-radius: 10px;
}

:root {
  --animate-duration: 400ms;
  --animate-delay: 300ms;
}

#nav-dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
  align-items: flex-end;
  justify-content: center;
}

#nav-dialog.visible {
  display: flex;
}

#nav-dialog-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 36px;
  text-align: center;
  font-family: "Hanken Grotesk", sans-serif;
}

#nav-dialog-msg {
  font-size: 16px;
  color: #333;
  margin: 0 0 20px;
}

#nav-dialog-open {
  display: block;
  background-color: #6600CC;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 16px;
  font-size: 18px;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 12px;
}

#nav-dialog-cancel {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #666;
  font-size: 16px;
  font-family: "Hanken Grotesk", sans-serif;
  padding: 10px;
  cursor: pointer;
}

.cubic-bezier {
  /* animation-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550) ; */
  /* animation-timing-function: cubic-bezier(.35,-0.29,.35,1.49) ; */
  animation-timing-function: cubic-bezier(.22,-0.14,.37,1.4);
}
