header {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    /*background-color: #0081C9;*/
    color: #fff;
    border-radius: 10px;
    background-image: url("../images/background_header.jpg");
    background-size: cover;
  }

  .header-content {
    display: flex;
    align-items: center;
  }

  .header-content h1 {
    margin: 0;
  }

  .header-content nav {
    margin-left: 20px;
  }


  .header-content nav ul {
    display: flex;
  }

  .header-content nav ul li {
    margin-right: 10px;
  }

  .header-content nav ul li a {
    color: #fff;
    text-decoration: none;
  }

  .header-img {
    text-align: center;
  }

  .header-img img {
    width: 156px;
    border-radius: 5px;
    margin-top: 20px;
  }

  .header-img h2 {
    font-size: 22px;
    margin-top: 5px;
  }

  footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-content p {
    margin: 0;
  }

  .footer-content nav ul {
    display: flex;
  }

  .footer-content nav ul li {
    margin-right: 10px;
  }

  .footer-content nav ul li a {
    color: #fff;
    text-decoration: none;
  }

  table {
    border-collapse: collapse;
    width: 100%;
  }

  th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
  }

  th {
    background-color: #333;
    color: #fff;
  }

  tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  td#Line{
    background-color:  rgba(24, 23, 34, 0.877);
    border-radius: 20px;
    width: 210px;
    font-size: 80px;
    color: white;
  }
  tbody#data{
    font-weight: bold;
    font-size: 60px;
    height: 800px;
  }
  h1#Title{
    font-size: 5em;
    border-radius: 20px;
  }
  .btn-container {
    display: flex;
    align-items: flex-start;
    height: 1000px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
  }
  
  .btn {
    display: inline-block;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    margin: 20px;
  }

  td#result {
    color: blue;
  }
  p.sub-item {
    font-size: 20px;
    margin: 6px;
  }
  td.rate{
    text-align: right;
  }
  h.tools{
    font-size: 20px;
  }
  .ket{
    color: black;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  h#i1{
    background-color: lawngreen;
    padding: 2px;
    border-radius: 10px;
  }
  h#i2{
    background-color: #ffe733;
    padding: 2px;
    border-radius: 10px;
  }
  h#i3{
    background-color: #ffaa1c;
    padding: 2px;
    border-radius: 10px;
  }
  h#i4{
    background-color: #ff8c01;
    padding: 2px;
    border-radius: 10px;
  }
  h#i5{
    background-color: #ed2938;
    padding: 2px;
    border-radius: 10px;
  }
  .RightHeader {
    display: flex;
    align-items: center;
    column-gap: 30px;
  }
  form {
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    width: 500px;
    padding: 10px;
  }
  
  select {
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
  }
  
  input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  input[type="submit"]:hover {
    background-color: #0062cc;
  }
  
  
  .form_input {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .target_prog{
    font-size: 20px;
    margin: 0px;
  }

  #rateHeader{
    font-size: 30px;
  }
  #subrateHeader{
    font-size: 20px;
    margin: 0;
  }
  #subtargetHeader{
    font-size: 18px;
    margin: 0;
  }
  .subrate{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
  }

  main{
    flex: 1;
    padding: 20px;
  }

  .gride{
    display: flex;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    }

  .control{
      display: flex;
      flex-direction: row-reverse;
      flex-wrap: nowrap;
      align-content: stretch;
      justify-content: flex-end;
  }
