.modal {
  display: none;
  position: absolute;
  /* Hidden by default */
  /* position: fixed; */
  /* 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 */
  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
  bottom: 0;
  background-color: #fefefe;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}

/* The Close Button */
.close {
  color: red;
  font-size: 35px;
  font-weight: bold;
  line-height: 30px;
}

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

.modal-header {
  height: 50px;
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header__choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;

  position: relative;
}

.modal-header__choice p {
  font-size: 30px;
  cursor: pointer;
}

.modal-header__choice button {
  width: 100px;
  height: 30px;
  background-color: #2d3436;
  color: white;
  font-size: 20px;
  border-radius: 4px;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}


/* statistics */

.item-container {
  padding: 10px;
  margin-top: 10px;

  font-size: 18px;
  background-color: #00b894;
  color: white;
  border-radius: 5px;
}

.item-container p {
  line-height: 20px;
}

.hide {
  display: none;
}

.show {
  display: block;
}