/*body {*/
/*  margin: 0;*/
/*  min-height: 100vh;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  background: linear-gradient(*/
/*    240deg,*/
/*    #ff462d 0.13%,*/
/*    #ff422f 26.19%,*/
/*    #ff3634 52.6%,*/
/*    #ff223c 79.08%,*/
/*    #ff0c45*/
/*  );*/
/*  font-family: Arial, sans-serif;*/
  /* padding: 2rem; */
/*  position: relative;*/
/*  overflow: hidden;*/
/*}*/

.displjay {
  background: white;
  /* width: 80%; */
  min-width: 800px;
  height: 190px;
  border-radius: 10px;
  margin: 2rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0.625rem 0.625rem 0 rgba(0, 0, 0, 0.2);
  border: 23px solid #ffbf1f;
  overflow : hidden;
}

.display::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 8px dotted #ffffff;
  border-radius: 20px;
  pointer-events: none;
}

.draw-button {
  background: #ffbf1f;
  border: none;
  padding: 0.5rem 7rem;
  font-size: 1.5rem;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 0 #ffbf1f;
  transition: transform 0.1s, box-shadow 0.1s;
  margin-top: 2rem;
  box-shadow: 0.625rem 0.625rem 0 rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2132;
}
.title {
  max-width: 24.8rem;
  position: relative;
  z-index: 2132;
}
.main_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2323;
  /* overflow: hidden; */
  margin:30px 0px;
}
.draw-button:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ffbf1f;
}

.footer {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1rem;
  position: absolute;
  bottom: 0px;
  font-size: 11px;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 11px;
}

.footer a:hover {
  text-decoration: underline;
}
/* Sidebar */
.sidebar {
  width: 350px;
  background: #e20035; /* Red sidebar */
  color: white;
  height: 100vh;
  position: fixed;
  right: -370px; /* Initially hidden */
  top: 0;
  transition: right 0.3s ease-in-out;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 4234;
}
.sidebar-content {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sidebar h2 {
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  height: 200px;
  border: none;
  padding: 20px;
  margin-top: 5px;
  border-radius: 2px;
  resize: none;
  box-shadow: 0.625rem 0.625rem 0 rgba(0, 0, 0, 0.2);
  background-color: #e8e8e8;
}


/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-left: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e8e8e8;
  transition: 0.4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #666;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #e20035;
}

/* Save and Discard Buttons */
.save-btn,
.discard-btn {
  width: 100%;
  padding: 10px;
  border: none;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.save-btn {
  background: #ffc72c;
  color: black;
}

.draw-button.setting {
  background-color: #e85f3a !important;
}
.draw-button.discard {
  background-color: #e85f3a !important;
  width: 100%;
  padding: 10px;
  font-size: 1.25rem;
}
.toggle-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: none;
}
#sunburstMain{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    height: 150%;
}
#sunburst{
    position: relative;
    height: 100%;
    pointer-events: none;
    animation: spin 10s linear infinite;
    display: none;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.display {
  background: white;
  min-width: 800px;
  height: 190px;
  border-radius: 10px;
  margin: 2rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0.625rem 0.625rem 0 rgba(0, 0, 0, 0.2);
  border: 23px solid #ffbf1f;
  overflow: hidden;
}

#names {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  text-align: center;
}

#names .name-box {
  font-size: 50px;
  padding: 5px 10px;
  margin: 5px 0;
  font-weight: bold;
  color: #000;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}


@media(max-width:500px)
{
  .display{
    min-width: 100%;
    height: 110px;
    border:15px solid #ffbf1f;
  }
  .title{
    width: 70%;
  }
  #names .name-box{
    font-size: 31px;
  }
  #sunburst{
    top: -21%;
  }
  .draw-button.front{
      padding: 5px 10px !important;
      font-size: 20px;
      margin-top: 0px !important;
  }
}
