  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    padding: 0;
    background-color: #fcff80;
    font-family: 'Covered By Your Grace', cursive;
  }

  .flex-cont {
    width: 75vw;
    max-width: 1000px;
    min-width: 320px;
    margin: auto;
    background: #fcff80;
    padding: 5px;
    display: flexbox;
    width: 220px;
    flex-wrap: wrap;
    justify-content: right;
  }

  .flex-box {
    background-color: white;
    width: 190px;
    height: 190px;
    text-align: center;
    border-radius: 110%;
    flex-wrap: wrap;
    justify-content: right;
    margin-bottom: 30px;
    border-bottom-color: aqua;
    border-bottom-style: groove;
    border-collapse: collapse;
  }

  .cardsContainer {
    display: flex;
    flex-flow: row wrap;
    width: 1150px;
    justify-content: right;
    width: 100%;
    margin: auto;
  }

  .imgInt {
    width: 100%;
    height: 10vw;
  }

  nav {
    display: flex;
    justify-content: space-around;
  }

  .nav-1 {
    display: flex;
    justify-content: space-evenly;
    width: 18%;
  }

  #select-order {
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    margin: 4px 2px;
    font-family: 'Covered By Your Grace', cursive;
    cursor: pointer;
  }

  .nav-2 {
    display: flex;
    justify-content: space-evenly;
    width: 18%;
  }

  #select-generation {
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    margin: 4px 2px;
    font-family: 'Covered By Your Grace', cursive;
    cursor: pointer;
  }

  #statistic{
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    margin: 4px 2px;
    font-family: 'Covered By Your Grace', cursive;
    cursor: pointer;
  }
  
  #statistic:hover,
  #select-generation:hover,
  #select-order:hover {
    background-color:blue;
    color: white;
  }

  @media (max-width: 500px) {

    nav {
      display: flex;
      flex-direction: column;
    }

    .nav-1 {
      display: flex;
      justify-content: flex-start;
      flex-direction: column;
    }

    #select-order {
      width: 130px;
    }

    .nav-2 {
      display: flex;
      justify-content: flex-start;
      flex-direction: column;
    }

    #select-generation {
      width: 130px;
    }
  }

    #statistic {
      width: 130px;
    }

  
    /* START MODAL */

    /* The Modal (background) */
    .modal {
      display: none;
      /* Hidden by default */
      position: absolute;
      /* Stay in place */
      z-index: 1;
      /* Sit on top */
      left: 0;
      top: 0;
      width: 100%;
      /* Full width */
      height: 100%;
      /* Full height */
      overflow: auto;
      /* Enable scroll if needed */
      background-color: rgb(0, 0, 0);
      /* Fallback color */
      background-color: rgba(0, 0, 0, 0.4);
      /* Black w/ opacity */
    }

    .modalDialog {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 99999;
      opacity: 0;
      -webkit-transition: opacity 100ms ease-in;
      -moz-transition: opacity 100ms ease-in;
      transition: opacity 100ms ease-in;
      pointer-events: none;
    }

    .modalDialog:target {
      opacity: 2;
      pointer-events: auto;
    }

    .modalDialog>section {
      max-width: 400px;
      width: 90%;
      position: relative;
      margin: 10% auto;
      padding: 20px;
      border-radius: 50px;
      background: white;
      text-align: center;
      border-bottom-color: aqua;
      border-bottom-style: groove;
      border-collapse: collapse;
     
    }

    .close {
      font-family: Arial, Helvetica, sans-serif;
      background: red;
      color: #fff;
      line-height: 25px;
      position: absolute;
      right: -12px;
      text-align: center;
      top: -10px;
      width: 34px;
      height: 34px;
      text-decoration: none;
      font-weight: bold;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      -moz-box-shadow: 1px 1px 3px #000;
      -webkit-box-shadow: 1px 1px 3px #000;
      box-shadow: 1px 1px 3px #000;
      padding-top: 5px;
    }

    .close:hover {
      background: red;
    }
  