
@media (prefers-color-scheme: light) {
  .list {
    height: 110px;
    display: inline-block;
    width: 800px;
    margin: auto;
    margin-left: 80px;
    margin-top: 20px;
    padding: 25px;
    color: #FFF;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    /* background: url("../img/widget-light.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite; */
    background-color: #006eff;
  }

  /* .list :hover {
    color: #a5c1ff;
  } */

  .list h2 {
    text-align: left;
    display: inline-block;
    margin: 0;
    margin-top: 8px;
    font-size: 20px;
  }

  .list h3 {
    margin: auto;
    font-size: 15px;
    color: #cfe0ff;
  }

  .list span {
    font-weight: bold;
  }

  .listbtn button {
    float: right;
    display: fixed;
    width: auto;
    padding: 15px;
    margin-right: 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #ffffff;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .listbtn button:hover {
    transform: scale(0.9);
    font-weight: 600;
    /* font-size: 18px; */
    color: #006eff;
    background-color: #ffffff;
    cursor: pointer;
  }

  .overviewbtn button {
    float: right;
    display: fixed;
    width: auto;
    padding: 15px;
    margin-right: 10px;
    color: #000000;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #000000;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .overviewbtn button:hover {
    transform: scale(0.9);
    font-weight: 600;
    /* font-size: 18px; */
    color: #ffffff;
    background-color: #000000;
    cursor: pointer;
  }

  .overview {
    height: 110px;
    display: inline-3lock;
    width: 100%;
    margin: auto;
    margin-left: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    background: url("../img/pattern-list.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite;
    color: #006eff;
    background-color: rgb(245, 250, 255);
  }

  /* .overview :hover {
    color: #a5bdff;
  } */

  .overview h2 {
    text-align: left;
    display: inline-block;
    margin: 0;
    margin: auto;
    margin-top: 8px;
    font-size: 35px;
  }

  .overview h3 {
    margin: 8px;
    display: inline-block;
    font-size: 15px;
    color: #001836;
  }

  .overview span {
    font-weight: bold;
  }
}

@media (prefers-color-scheme: dark) {
  .list {
    height: 110px;
    display: inline-block;
    width: 800px;
    margin: auto;
    margin-left: 80px;
    margin-top: 20px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    /* background: url("../img/widget-dark.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite; */
    background-color: #8FBFFF;
    color: #000e4b;
  }

  /* .list :hover {
    color: #a5bdff;
  } */

  .list h2 {
    text-align: left;
    display: inline-block;
    margin: auto;
    margin-top: 8px;
    font-size: 20px;
  }

  .list h3 {
    margin: auto;
    font-size: 15px;
    color: #000622;
  }

  .list span {
    font-weight: bold;
  }

  .listbtn button {
    float: right;
    display: fixed;
    width: auto;
    margin-right: 10px;
    padding: 15px;
    color: #000e4b;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #000e4b;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .listbtn button:hover {
    transform: scale(0.9);
    font-weight: 600;
    /* font-size: 18px; */
    color: #ffffff;
    background-color: #000e4b;
    cursor: pointer;
  }

  .overview {
    height: 110px;
    display: inline-3lock;
    width: 100%;
    margin: auto;
    margin-left: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    background: url("../img/pattern-dark.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite;
    background-color: #000000;
    color: #8FBFFF;
  }

  .overviewbtn button {
    float: right;
    display: fixed;
    width: auto;
    margin-right: 10px;
    padding: 15px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #ffffff;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .overviewbtn button:hover {
    transform: scale(0.9);
    font-weight: 600;
    /* font-size: 18px; */
    color: #000000;
    background-color: #ffffff;
    cursor: pointer;
  }

  /* .overview :hover {
    color: #a5bdff;
  } */

  .overview h2 {
    text-align: left;
    display: inline-block;
    margin: 0;
    margin: auto;
    margin-top: 8px;
    font-size: 35px;
  }

  .overview h3 {
    margin: 8px;
    display: inline-block;
    font-size: 15px;
    color: #dfedff;
  }

  .overview span {
    font-weight: bold;
  }
}

@media (max-width: 500px) {

  .grid-container-list {
    display: grid;
    margin: auto;
    gap: 5px;
    min-width: 200px;
    grid-template-columns: auto;
    padding: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .list {
    height: auto;
    display: inline-block;
    min-width: 280px;
    width: auto;
    max-width: 300px;
    margin: auto;
    margin-left: auto;
    margin-top: 20px;
    padding: 25px;
    color: #FFF;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    background: url("../img/pattern-mobile.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite;
    background-color: #ff9900;
  }

  /* .list :hover {
    color: #ffd8a5;
  } */

  .list h2 {
    text-align: left;
    display: inline-block;
    margin: 0;
    margin-top: 8px;
    font-size: 18px;
  }

  .list h3 {
    margin: 0px;
    /* display: inline-block; */
    font-size: 10px;
    color: #ffeecf;
  }

  .list span {
    font-weight: bold;
  }

  .listbtn button {
    float: right;
    width: auto;
    height: auto;
    padding: auto;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #ffffff;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .listbtn button:hover {
    transform: scale(0.9);
    /* font-size: 18px; */
    color: #ff9900;
    background-color: #ffffff;
    cursor: pointer;
    border: 4px solid #ffffff;
  }

    .overview {
    height: auto;
    width: 100%;
    margin: auto;
    margin-left: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 25px;
    color: #ff9900;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-right: auto;
    /* background: url("../img/pattern-light.png") center repeat;
    background-size: contain;
    -webkit-animation: backgroundScroll 60s linear infinite;
    animation: backgroundScroll 60s linear infinite; */
    background: #ffffff;
  }

  /* .overview :hover {
    color: #a5bdff;
  } */

  .overview h2 {
    text-align: center;
    margin: auto;
    margin-top: 8px;
    font-size: 22px;
    margin-bottom: 20px;
  }

  .overview h3 {
    display: flow-root;
    text-align: center;
    margin: auto;
    font-size: 12px;
    color: #000000;
  }

  .overview span {
    font-weight: bold;
  }

  .overviewbtn button {
    float: left;
    margin-top: 15px;
    width: auto;
    height: auto;
    padding: 10px;
    color: #000000;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    border: 4px solid #000000;
    background-color: #ffffff00;
    cursor: pointer;
  }

  .overviewbtn button:hover {
    border: none;
    transform: scale(0.9);
    /* font-size: 18px; */
    color: #ffffff;
    background-color: #000000;
    cursor: pointer;
    border: 4px solid #000000;
  }
}