body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:20px ;
    background: linear-gradient(135deg, #212121 40%, #383838 100%);
    color: #ddd;
    height: calc(100vh - 40px);
    gap: 30px;
    margin: 0;
  }
  
  .main {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
  
  .controls {
    width: 30%;
    padding: 20px;
    background-color: #282828;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    margin-right: 20px;
  }
  
  .controls h1 {
    font-size: 1.8rem;
    color: #bb84ff;
    margin-bottom: 20px;
  }
  
  .control-group {
    margin-bottom: 20px;
  }
  
  .control-group label {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 10px;
    display: block;
  }
  
  .control-group select,
  .control-group input[type="range"] {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #333;
    color: #bb84ff;

    font-size: 1rem;
    margin-top: 5px;
  }

  .control-group input[type="range"]{
    width: calc(100% - 20px);
  }
  
 
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #00E676;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }
  
  input[type="range"]:hover::-webkit-slider-thumb {
    background-color: #00C853;
  }
  
  .preview-container {
    flex: 1;
    background-color: #333;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }
  
  .flex-container {
    display: flex;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .flex-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    color: black;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flex-item:hover {
    transform: scale(1.03);
    background-color: #E0E0E0;
  }
  
  .code-output {
    width: 100%;
    background-color: #1E1E1E;
    margin-top: 20px;
    border-radius: 8px;
    color: #E0E0E0;
    font-family: monospace;
    display: flex;
    justify-content: center;
  }
  
  pre {
    white-space: pre-wrap;
    word-break: break-word;
    background-color: transparent;
    margin: 0;
  }
  
  code {
    color: #bb84ff;

  }
  