body {
  font-family: Arial, sans-serif;
  background-color: #f3f3f3;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  padding: 30px;
  text-align: center;
}

header h1 {
  color: white;
  font-size: 32px;
  margin: 0;
}

main {
  padding: 40px;
}

a.btn {
  display: inline-block;
  width: 80px;
  line-height: 30px;
  text-align: center;
  background-color: #222;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  margin: 0 0.5rem;
}
a.btn:hover {
  background-color: greenyellow;
  color: black;
}

.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

#gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  position: relative;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.selected {
  outline: 5px solid rgba(255, 0, 0, 0.5);
}

.hidden {
  display: none;
}

.actionsContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

#generateBtn {
  background-color: deepskyblue;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

#moveBtn {
  background-color: rgb(44, 186, 16);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

#progressBarContainer {
  width: 100%;
  height: 20px;
  background-color: #ddd;
  margin-top: 10px;
}

#progressBar {
  height: 100%;
  width: 0;
  background-color: #4caf50;
}
