/* Resetowanie styli dla elementów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Style dla całej strony */
  body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
  }
  
  
  /* Styl dla tytułu kalkulatora */
  .calculator-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Styl dla formularza */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
  }
  
  .form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .form-group .checkbox-label {
    font-weight: normal;
    margin-top: 8px;
    font-family:"fst-italic";
  }

   input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid currentColor;
    outline-offset: max(2px, 0.15em);
    filter: invert(100%) hue-rotate(18deg) brightness(1.7);
    accent-color: #ffc451;
  }
  
  
  
  /* Styl dla przycisku obliczania */
  .button-container {
    text-align: center;
    margin-top: 20px;
  }
  
  .button-container button[type=submit] {
    background: #ffc451;
    border: 0;
    padding: 10px 24px;
    color: #151515;
    transition: 0.4s;
    border-radius: 4px;
  }
  
  /* Styl dla kontenera wyników */
  #result-container {
    font-family: "Raleway", sans-serif;
    margin-top: 20px;
    font-weight: bold;
    font-size: 25px;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .result-container h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
  }
  .result-container p {
    margin-bottom: 10px;
    font-weight: bold;
    
  }

  #rangeValue {
    position: relative;
    display: block;
    text-align: center;
    font-size: 6em;
    color: #999;
    font-weight: 400;
  }

  #range2Value {
    position: relative;
    display: block;
    text-align: center;
    font-size: 6em;
    color: #999;
    font-weight: 400;
  }

  #opis {
    font-weight: bold;
    font-family: "Raleway", sans-serif;
    font-size: small;
  }


  .range {
    width: 400px;
    height: 15px;
    -webkit-appearance: none;
    background: orange;
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fda400;
    cursor: pointer;
    border: 4px solid #333;
  }
  
  .range2 {
    width: 400px;
    height: 15px;
    -webkit-appearance: none;
    background: yellowgreen;
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
  }
  .range2::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00fd0a;
    cursor: pointer;
    border: 4px solid #333;
    box-shadow: -407px 0 0 400px #00fd0a;
  }