html, body {
  margin: 0;
  font-family: 'Open Sans';
}

.container {
  overflow: hidden;
  height: 100vh;
}

.ocean-container {
  background-image: url("img/water.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: calc(100vh - 40px);
}

.title {
  text-align: center;
  margin: 20px 0 0;
  font-family: 'urbane-rounded';
  font-weight: 600;
}

#counter {
  text-align: center;
  margin: 0 0 10px 0;
  font-family: 'urbane-rounded';
  font-weight: 600;
  font-size: 3rem;
  line-height: 2.5rem;
}

#time {
  position: absolute;
  top: 0;
  right: 10px;
  font-family: 'urbane-rounded';
  color: #0014ff;
  font-weight: 500;
}

#trash-container {
  margin-top: 70px;
  height: auto;
  position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 60px;
}

.trash, .fish {
  width: 90px;
  position: absolute;
  cursor: pointer;
}

 /* The Modal (background) */
 .modal {
  display: none; /* Hidden by default */
  align-items: center;
  position: fixed; /* Stay in place */
  z-index: 15; /* 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 */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  min-width: 400px;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 4px 10px #00000042;
}

.modal-content > h2 {
  margin: 0;
  font-family: 'urbane-rounded';
  font-weight: 600;
}

#end-score {
  font-size: 3rem;
  margin: 0;
  font-family: 'urbane-rounded';
  font-weight: 600;
}

.author {
  font-style: italic;
  margin: 10px 0 0 0;
  font-size: 0.8rem;
}

.main-button {
  background: blue;
  border: none;
  border-radius: 100px;
  padding: 10px 30px;
  font-size: 1.2rem;
  color: white;
  text-transform: uppercase;
  font-family: 'urbane-rounded';
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal-content {
    min-width: 80%;
  }

  #time {
    position: absolute;
    text-align: center;
    bottom: 10px;
    top: unset;
    right: 0;
    left: 0;
    z-index: 10;
  }

  .ocean-container {
    margin-top: -60px;
    height: calc(100vh - 30px);
  }

  .trash, .fish {
    width: 70px;
  }
}

