*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
--primary-color: #8c00ff87;
--dark-primary-color: #55009b;
--secondary-color: #00c31a;
--dark-secondary-color: #007910;
--tertiary-color: #0b4689;
--bg-color: #000000;
--text-color: #fff;
}
body{
display: flex;
align-items: center;
justify-content: center;
/* flex-direction: column; */
height: 100vh;
background: var(--bg-color);
color: var(--text-color);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
font-family: Arial, sans-serif;
text-align: center;
/* overflow: hidden; */
}




main {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    width: 100%;
    height: 100%;
    z-index: 1;
}

#menu {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    background: var(--primary-color);
    color: white;
    font-size: 24px;
    border: none;
    z-index: 2;
    border-radius: 5px;
}

.left{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    padding: 50px 10px;
    gap: 30px;
    width: 75vw;
    position: relative;
    /* background: var(--secondary-color); */
    /* height: 100%; */
    padding-top: 50px;
    transition: width 0.3s ease-in-out;
}

.right {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 25vw;
    padding: 10px;
    background: rgba(0, 136, 255, 0.384);
    /* height: 100vh; */
    transition: width 0.3s ease-in-out;
    border-top-left-radius: 10px; 
    border-bottom-left-radius: 10px; 
    box-shadow: -5px 0px 0px rgb(29, 37, 53);
}

.hidden {
    width: 0;
    overflow: hidden;
    position: relative;
}

h2{
    font-size: 30px;
    font-family: "Dancing Script", cursive;
}

.container{
    background: var(--primary-color);
    padding: 0;
    border: 2px solid white;
}

.shape-container {
    position: relative;
    width: 400px;
    height: 400px;
    background-color: lightblue;
    overflow: visible;
    clip-path: path("M 50,50 L 250,50 L 150,250 Z");
    background-position: center;
    background-size: cover;
    /* filter: drop-shadow(5px 5px 5px white) */
}

.point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
}
.point:first-child{
    background: var(--secondary-color);
}

.point:hover {
    border: 1px solid blue;
}
.point-label {
    display: none;
    position: absolute;
    font-size: 12px;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    pointer-events: none;
    /* z-index: 1; */
}

#sliders{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    gap: 2px;
    border-radius: 5px;
    overflow: auto;
    height: 80vh;
    border: 2px solid white;
}
.slider-container {
    margin: 10px 0;
}
.slider-container label {
    display: inline-block;
    width: 80px;
    text-align: right;
}
.slider-value {
    display: inline-block;
    width: 40px;
    text-align: center;
}
.hidden {
    display: none;
}
.controls {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.container-controls{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.action{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn{
    all: unset;
    padding: 8px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 5px;
}


button:disabled {
    background-color: var(--dark-secondary-color);
    color: var(--text-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:hover{
    background: var(--dark-secondary-color);
}

.card {
    width: 70%;
    margin: 0 auto;
    background-color: #161523;
    border-radius: 8px;
    z-index: 1;
    padding: 10px;
    box-shadow: 0px 10px 10px rgb(12, 11, 14);
    transition: 0.3s;
  }

  
  
  .card:hover {
    transform: translateY(-2px);
  }
  
  .top {
    display: flex;
    align-items: center;
    padding-left: 10px;
  }
  
  .circle {
    padding: 0 4px;
  }
  
  .circle2 {
    display: inline-block;
    align-items: center;
    width: 10px;
    height: 10px;
    padding: 1px;
    border-radius: 5px;
  }
  
  .red {
    background-color: #ff605c;
  }
  
  .yellow {
    background-color: #ffbd44;
  }
  
  .green {
    background-color: #00ca4e;
  }
  
  .header {
    margin: 5px;
    margin-top: 5px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #title2 {
    color: white;
    padding: 5px 10px;
    font-size: 15px;
    background-color: rgb(42, 41, 53);
    border-radius: 10px;
  }
  
  .code-container {
    text-align: center;
  }
  #code {
    width: 100%;
    height: 80px;
    resize: none;
    background-color: rgb(42, 41, 53);
    border-radius: 5px;
    border: none;
    color: white;
    padding: 10px;
    font-family: "Fira Code", monospace;
  }

  #code:focus {
    outline: none !important;
  }
  
  
  .step {
    display: none;
    font-size: 18px;
    color: white;
  }
  
  .active {
    display: block;
  }
  
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #100222;
    overflow: hidden;
}

.background span {
    width: 20vmin;
    height: 20vmin;
    border-radius: 20vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 45;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #583C87;
    top: 71%;
    left: 44%;
    animation-duration: 29s;
    animation-delay: -14s;
    transform-origin: 21vw 8vh;
    box-shadow: -40vmin 0 5.443513654632364vmin currentColor;
}
.background span:nth-child(1) {
    color: #E45A84;
    top: 29%;
    left: 51%;
    animation-duration: 52s;
    animation-delay: -13s;
    transform-origin: -1vw 23vh;
    box-shadow: -40vmin 0 5.193601334127651vmin currentColor;
}
.background span:nth-child(2) {
    color: #583C87;
    top: 91%;
    left: 8%;
    animation-duration: 30s;
    animation-delay: -45s;
    transform-origin: -10vw 15vh;
    box-shadow: 40vmin 0 5.147340852489403vmin currentColor;
}
.background span:nth-child(3) {
    color: #583C87;
    top: 94%;
    left: 87%;
    animation-duration: 32s;
    animation-delay: -41s;
    transform-origin: 18vw -1vh;
    box-shadow: 40vmin 0 5.601406720140458vmin currentColor;
}
.background span:nth-child(4) {
    color: #FFACAC;
    top: 25%;
    left: 4%;
    animation-duration: 6s;
    animation-delay: -1s;
    transform-origin: -7vw -6vh;
    box-shadow: -40vmin 0 5.464492851447693vmin currentColor;
}
.background span:nth-child(5) {
    color: #FFACAC;
    top: 17%;
    left: 24%;
    animation-duration: 35s;
    animation-delay: -20s;
    transform-origin: -17vw -11vh;
    box-shadow: 40vmin 0 5.777357401171725vmin currentColor;
}
.background span:nth-child(6) {
    color: #E45A84;
    top: 65%;
    left: 88%;
    animation-duration: 33s;
    animation-delay: -8s;
    transform-origin: -8vw 14vh;
    box-shadow: -40vmin 0 5.754219929956461vmin currentColor;
}
.background span:nth-child(7) {
    color: #FFACAC;
    top: 80%;
    left: 5%;
    animation-duration: 21s;
    animation-delay: -46s;
    transform-origin: 24vw -20vh;
    box-shadow: 40vmin 0 5.571568071282783vmin currentColor;
}
.background span:nth-child(8) {
    color: #E45A84;
    top: 43%;
    left: 56%;
    animation-duration: 12s;
    animation-delay: -24s;
    transform-origin: 13vw -1vh;
    box-shadow: 40vmin 0 5.052093836193998vmin currentColor;
}
.background span:nth-child(9) {
    color: #FFACAC;
    top: 79%;
    left: 33%;
    animation-duration: 41s;
    animation-delay: -38s;
    transform-origin: 3vw 17vh;
    box-shadow: 40vmin 0 5.560269930308422vmin currentColor;
}
.background span:nth-child(10) {
    color: #FFACAC;
    top: 16%;
    left: 56%;
    animation-duration: 14s;
    animation-delay: -41s;
    transform-origin: 0vw -21vh;
    box-shadow: -40vmin 0 5.854271855143918vmin currentColor;
}
.background span:nth-child(11) {
    color: #FFACAC;
    top: 62%;
    left: 24%;
    animation-duration: 36s;
    animation-delay: -20s;
    transform-origin: 23vw 2vh;
    box-shadow: -40vmin 0 5.298667935078962vmin currentColor;
}
.background span:nth-child(12) {
    color: #E45A84;
    top: 11%;
    left: 73%;
    animation-duration: 19s;
    animation-delay: -10s;
    transform-origin: 19vw 16vh;
    box-shadow: 40vmin 0 5.0823305963681165vmin currentColor;
}
.background span:nth-child(13) {
    color: #FFACAC;
    top: 36%;
    left: 99%;
    animation-duration: 24s;
    animation-delay: -29s;
    transform-origin: 22vw 24vh;
    box-shadow: 40vmin 0 5.386605914552243vmin currentColor;
}
.background span:nth-child(14) {
    color: #E45A84;
    top: 23%;
    left: 94%;
    animation-duration: 13s;
    animation-delay: -9s;
    transform-origin: -2vw -5vh;
    box-shadow: -40vmin 0 5.146446134603223vmin currentColor;
}
.background span:nth-child(15) {
    color: #E45A84;
    top: 2%;
    left: 97%;
    animation-duration: 23s;
    animation-delay: -30s;
    transform-origin: 13vw -7vh;
    box-shadow: -40vmin 0 5.000146615786025vmin currentColor;
}
.background span:nth-child(16) {
    color: #FFACAC;
    top: 30%;
    left: 77%;
    animation-duration: 17s;
    animation-delay: -45s;
    transform-origin: -9vw 8vh;
    box-shadow: 40vmin 0 5.513712102851559vmin currentColor;
}
.background span:nth-child(17) {
    color: #583C87;
    top: 8%;
    left: 64%;
    animation-duration: 54s;
    animation-delay: -1s;
    transform-origin: 1vw 17vh;
    box-shadow: -40vmin 0 5.676018476217655vmin currentColor;
}
.background span:nth-child(18) {
    color: #583C87;
    top: 92%;
    left: 21%;
    animation-duration: 32s;
    animation-delay: -19s;
    transform-origin: -15vw -4vh;
    box-shadow: -40vmin 0 5.858315894301844vmin currentColor;
}
.background span:nth-child(19) {
    color: #FFACAC;
    top: 65%;
    left: 79%;
    animation-duration: 35s;
    animation-delay: -23s;
    transform-origin: 16vw 16vh;
    box-shadow: 40vmin 0 5.979635465592194vmin currentColor;
}


  @keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}



#notice_text {
    padding: 10px 20px;
    background-color: #ff2f2f;
    /* background-color: #f4ab36; */
    /* background-color: #35cd88; */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #notificationContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #ff2f2f;
    /* background-color: #f4ab36; */
    /* background-color: #35cd88; */
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
  }
  
  .notification .message {
    font-size: 14px;
    flex: 1;
  }
  
  .notification .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  
  .notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    animation: progress 5s linear;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  @keyframes progress {
    from {
      width: 100%;
    }
    to {
      width: 0;
    }
  }  
  
  html.modal-active,
  body.modal-active {
    overflow: hidden;
    z-index: 3
  }
  
  #modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 3;
    color: #222222;
  }
  
  
  
  #modal-container.two {
    transform: scale(1);
  }
  #modal-container.two .modal-background {
    background: rgba(0, 0, 0, 0);
    animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.two .modal-background .modal {
    opacity: 0;
    animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.two + .content {
    animation: scaleBack 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.two.out {
    animation: quickScaleDown 0.85s linear forwards;
  }
  #modal-container.two.out .modal-background {
    animation: fadeOut 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.two.out .modal-background .modal {
    animation: scaleDown 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.two.out + .content {
    animation: scaleForward 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  
  
  
  #modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
    padding: 10px;
  }
  #modal-container .modal-background .modal {
    background: #211f23;
    /* width: 226px; */
    /* height: 162px; */
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    font-weight: 300;
    position: relative;
    padding: 20px;
    gap: 15px;
  }
  
  #modal-container .modal-background .modal .close{
    all: unset;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    top: 10px;
    right: 10px;
    padding: 2px;
    background: rgb(255, 25, 25);
    color: white;
  }
  
  #modal-container .modal-background .modal textarea{
    padding: 5px;
    font-size: 16px;
    width: 500px;
    height: 200px;
    border-radius: 10px;
  }
  #modal-container .modal-background .modal h2 {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 15px;
    color: #f9f9f9;
  }
  #modal-container .modal-background .modal p {
    font-size: 18px;
    line-height: 22px;
    color: rgb(249 249 249 / 50%);
  }
  
  
  
  
  @keyframes fadeIn {
    0% {
      background: rgba(0, 0, 0, 0);
    }
    100% {
      background: rgba(0, 0, 0, 0.7);
    }
  }
  @keyframes fadeOut {
    0% {
      background: rgba(0, 0, 0, 0.7);
    }
    100% {
      background: rgba(0, 0, 0, 0);
    }
  }
  @keyframes scaleUp {
    0% {
      transform: scale(0.8) translateY(1000px);
      opacity: 0;
    }
    100% {
      transform: scale(1) translateY(0px);
      opacity: 1;
    }
  }
  @keyframes scaleDown {
    0% {
      transform: scale(1) translateY(0px);
      opacity: 1;
    }
    100% {
      transform: scale(0.8) translateY(1000px);
      opacity: 0;
    }
  }
  @keyframes scaleBack {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0.85);
    }
  }
  @keyframes scaleForward {
    0% {
      transform: scale(0.85);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes quickScaleDown {
    0% {
      transform: scale(1);
    }
    99.9% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  

  .modal-container{
    z-index: 4;
  }
  

  @media (max-width: 1100px){
    .card{
        width: 90%;
    }
  }

  @media (max-width: 800px){
    main{
        flex-direction: column;
    }
    .left{
        width: 100vw;
        /* height: 60%; */
    }

    .container{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 98%;
    }
    .right{
        width: 100vw;
        /* height: 40%; */
    }
    #menu{
        display: none;
    }
  }