body {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-family: 'Lucida Sans', sans-serif;
}

#container {
  display: flex;
  width: 100%;
  height: 96vh;
}

#color-list {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  width: calc(100% - 100px);
}

.color-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0px 0px 4px 0px #000000;
  display: inline-block;
}

#lake {
  width: 100%;
  height: calc(100vh - 35px);
  overflow: hidden;
}

#statistic-container {
  width: calc(100% - 100px);
  height: 65vh;
  flex-direction: column;
  background-color: #fefefe;
  padding: 10px 50px;
}

#step-container {
  width: calc(100% - 100px);
  height: 100vh;
  flex-direction: column;
  background-color: #fefefe;
  padding: 10px 50px;

  div {
    display: flex;

  }

  #steps-buttons {
    width: 20%;
    flex-direction: column;

    button {
      border-radius: 5px;
    }

    svg {
      width: 35px;
      margin-left: 40%;
    }
  }

  #steps-container {
    width: 79%;
    margin-left: 1%;
    flex-direction: column;
  }

  #individual {
    width: 100%;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 30px;
    margin-bottom: 15px;
  }

  #selection {
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 30px;

    button {
      width: 30%;
    }
  }

  #rouletteCanvas {
    display: block;
    margin: 20px auto;
  }

  .groupDiv {
    display: flex;
    flex-direction: row;
    margin: 10px;
    flex-wrap: wrap;
    width: 70px;
    justify-content: space-between;
    align-items: stretch;
    align-content: flex-start;
  }

  .patern::after {
    content: "";
    border: 2px solid;
    position: relative;
    top: 30px;
    height: 10px;
    left: 14px;
    width: 16px;
    border-top: none;
    border-right: none;
  }

  .patern.invert::after {
    border: 2px solid;
    border-top: none;
    border-left: none;
    left: -15px;
    width: 95px;
  }

  .child {
    margin-top: 30px;
  }

  .line {
    position: relative;
    border: 1px solid;
    top: 40px;
    left: -37px;
    height: 10px;
  }

  .child:before {
    content: "";
    width: 30px;
    height: 7px;
    border: 2px solid;
    position: relative;
    top: -10px;
    left: 14px;
    border-right: none;
    border-bottom: none;
  }

  .child.invert:before {
    content: "";
    width: 30px;
    height: 7px;
    border: 2px solid;
    position: relative;
    top: -10px;
    left: -14px;
    border-left: none;
    border-bottom: none;
  }

  #itens {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

.fitness_box {
  padding: 10px;
  border-radius: 5px;
  margin: 5px;
  color: white;
}

.color-group>div:first-child::after {
  content: "";
  width: 10px;
  border: 1px solid;
  height: 0px;
  position: relative;
  top: 15px;
  left: 30px;
}

.color-group>div:first-child {
  margin-right: 12px;
}

.color-group {
  width: 72px;
  margin: 10px;
}

.disabled {
  cursor: no-drop;
  background-color: #156b23 !important;
  filter: blur(0.7px);
}

#restart {
  margin-top: 35px;
  width: 50%;
  display: flex;
  justify-content: center;
  margin-left: 25%;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: radial-gradient(ellipse at center, #19882c 1%, #025310 100%);
  height: 35px;
}

.cor {
  display: block;
  background-color: rgb(107, 145, 190);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-left: 10px;
}

.run {

  background-color: transparent;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0px;

  & svg {
    margin-right: 5px;
  }
}


.title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  height: 50px;
  max-height: 50px;
}

.info {
  margin-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;

  height: 15px;
  max-height: 15px;
}

.icon_modal {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.statistic_title {
  font-size: 14px;
  margin: 10px 0;
  display: flex;
  align-items: center;

  & b {
    margin-left: 10px;
  }

  & .color-circle {
    margin-left: 10px;
  }
}

.statistic_info#color {
  display: flex;
  align-items: center;

}

.info {
  width: 15px;
}

.more_info {
  & h4 {
    margin: 8px;
    font-size: 14px;
    text-align: center;
  }

  & p {
    border-bottom: none;
    margin: 0;
    padding: 10px;
    font-weight: 400;
  }

  display: none;
  position: relative;
  z-index: 99;
  background: #f3f3f3;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 0px 4px 0px #d1d1d1;
  width: 300px;
  min-width: 300px;
  top: 35px;
  left: 100px;
  font-size: 13px;
  text-align: justify;
  cursor: default;
  color: black;
  flex-direction: column;
}

.modal_show {
  display: flex !important;
}

.modal {
  display: none;
  /* Inicialmente escondido */
  position: fixed;
  z-index: 99;
  /* Fica sobre o conteúdo da página */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000000;
  background-color: #000000ab;
  /* Cor de fundo com transparência */
  align-items: center;
  justify-content: center;
}

.modal-content {
  z-index: 99;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0px 0px 4px 0px #383838;
  width: 80%;
  max-width: 400px;
  height: calc(100% - 40px);
  min-height: calc(100% - 40px);
  position: absolute;
  top: 0;
  right: 0;
}

.help {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 10px;
  cursor: pointer;
  padding: 5px 0;

  border-bottom: 1px solid #aaa;
  margin: 0;
  padding-bottom: 5px;
}

.help_item {
  display: none;
  padding: 10px 0;

}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.config-item {
  margin-bottom: 15px;
}

label {
  font-size: 16px;
}

.labeltitle {
  display: flex;
  margin: 5px 0;
}

.criteria {
  display: flex;
  align-items: center;
  margin: 10px 0px;
  height: 30px;

}

input[type="number"] {
  width: 100px;
  border: 1px solid #f4f4f4;
  border-radius: 4px;
  margin: 0;
  margin-left: 5px;
  padding: 5px;
  outline: 0;
  text-align: inherit;
  font: inherit;
  box-shadow: unquote('0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)');
  color: currentColor;
  border-color: #e2e8f0;

  &::placeholder {
    color: #a0aec0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

input[type="color"] {
  border-radius: 4px;
  margin: 0;
  margin-left: 5px;
  padding: 0;
  outline: 0;
  text-align: inherit;
  font: inherit;
  color: currentColor;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

input[type="range"] {
  width: 100%;
}

button {
  padding: 10px 20px;
  background-color: #19882c;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 35px;
}

button:hover {
  background-color: #156b23;
}

#bird {
  position: absolute;
  top: -115px;
  left: -115px;
  font-size: 40px;
  transition: transform 1s ease-out;
  z-index: 99999;
  width: 115px;
}

div#generation_current {
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 50px;
  top: 35px;
  position: absolute;
  background: white;
  box-shadow: 0 0px 10px #00000038;
  z-index: 9;
  right: 2px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  align-items: center;
  justify-content: center;

  span {
    font-size: 10px;
    text-align: center;
  }

  p {
    font-size: 20px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
  }
}
.flags{
  display: flex;
    flex-direction: row;
    align-items: center;
}
.flag-button {
  background: none;
    border: none;
    cursor: pointer;
    margin: 0 7px;
    padding: 0;
}
.flag-button:hover{
  background: none;
}
.flag-button img {
  width: 25px;
  height: 15px;
}