body {
    background-image: url(https://static.vecteezy.com/system/resources/previews/008/426/215/non_2x/beautiful-meteor-shower-in-the-dark-sky-background-free-vector.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
  }
  
  .button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: rgb(20, 20, 20);
      border: none;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
      cursor: pointer;
      transition-duration: 0.3s;
      overflow: hidden;
      position: absolute;
      top: 85%;
      left: 91%;
    }
    
    .svgIcon {
      width: 12px;
      transition-duration: 0.3s;
    }
    
    .svgIcon path {
      fill: white;
    }
    
    .button:hover {
      width: 140px;
      border-radius: 50px;
      transition-duration: 0.3s;
      background-color: rgb(53, 71, 64);
      align-items: center;
    }
    
    .button:hover .svgIcon {
      transition-duration: 0.3s;
      transform: translateY(-200%);
    }
    
    .button::before {
      position: absolute;
      bottom: -20px;
      content: "Back to home page";
      color: white;
      font-size: 0px;
    }
    
    .button:hover::before {
      font-size: 13px;
      opacity: 1;
      bottom: unset;
      transition-duration: 0.3s;
    }
    

.container {
    --s: 1em; 
    --g: 10px; 
    --c: #009688; 
  
    display: grid;
    grid-auto-rows: 1fr;
    gap: var(--g);
    position: absolute;
    left: 40%;
    margin: 20px;
    padding: 15px;
    width: 10%;
    background: rgba(173, 233, 168, 0.726);
    border-radius: 10px;
  }

  .container label {
    display: inline-flex;
    line-height: var(--s);
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .container input {
    height: var(--s);
    aspect-ratio: 1;
    border: calc(var(--s) / 8) solid var(--_c, #939393);
    border-radius: 50%;
    outline-offset: calc(var(--s) / 10);
    padding: calc(var(--s) / 8);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    font-size: inherit;
    margin: 0;
    transition: 0.3s;
  }
  .container input:checked {
    --_c: var(--c);
  }
  .container:not(:has(input:checked)):before {
    --_i: -1;
    opacity: 0;
  }
  .container:has(input:checked):before {
    opacity: 1;
    transform: translateY(calc(var(--_i) * (var(--s) + var(--g))));
  }
  .container:has(label:nth-child(1) input:checked):before {
    --_i: 0;
    transform: scale(1);
    top: 0;
  }
  .container:has(label:nth-child(2) input:checked):before {
    --_i: 1;
    transform: scale(1);
    top: calc(1 * (var(--s) + var(--g)));
  }
  .container:has(label:nth-child(3) input:checked):before {
    --_i: 2;
    transform: scale(1);
    top: calc(2 * (var(--s) + var(--g)));
  }
  .container:has(label:nth-child(4) input:checked):before {
    --_i: 3;
    transform: scale(1);
    top: calc(3 * (var(--s) + var(--g)));
  }
  .container:has(label:nth-child(5) input:checked):before {
    --_i: 4;
    --_x: 0.1px;
  }
  
  .container input:disabled {
    background: linear-gradient(#939393 0 0) 50%/100% 20% no-repeat content-box;
    opacity: 0.5;
    cursor: not-allowed;
  }
  @media print {
    input[type="radio"] {
      -webkit-appearance: auto;
      -moz-appearance: auto;
      appearance: auto;
      background: none;
    }
  }
  @supports not selector(:has(*)) {
    .container:before {
      display: none;
    }
    .container input:checked {
      --_c: var(--c);
      background: var(--c) content-box;
    }
  }

#none-label input:checked ~ * {
    color: #FF4444;
}

#linear-label input:checked ~ * {
    color: #4CAF50;
}

#exponential-label input:checked ~ * {
    color: #2196F3;
}


#quadratic-label input:checked ~ * {
    color: #9C27B0;
}

.table-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    max-width: 400px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

th, td {
    padding: 8px;
    text-align: center;
}

input[type="number"] {
    width: 80px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.delete-row {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#addRow, #graphBtn {
    padding: 8px 16px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#addRow {
    background: #4CAF50;
    color: white;
}

#graphBtn {
    background: #2196F3;
    color: white;
}

canvas {
    background: white;
    border-radius: 10px;
    margin: 20px;
    max-width: 800px;
    max-height: 400px;
}

canvas#scatterPlot {
    background: rgba(0, 0, 0, 0.5);
    height: 400px !important;
    width: 800px !important;
    margin: 20px auto;
}

.container {
    display: none;
}

.type_of_line {
    font-size: 250%;
    position: absolute;
    top: 85%;
    left: 11%;
    margin-bottom: 0%;
}
