body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: url("img/baai.png") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.achtergrond-element {
  position: absolute;
  z-index: 0;
}

#eiland {
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 36vw;
}

#boot {
  left: 2%;
  bottom: 2%;
  width: 18vw;
}

.scherm {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  padding: 2rem;
  border-radius: 25px;
  border: 5px solid black;
  width: 90vw;
  height: 90vh;
  box-sizing: border-box;
  position: absolute;
  z-index: 1;
  flex-direction: row;
  gap: 2rem;
}

.scherm.active {
  display: flex;
}

.content {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.elementen {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 3.5rem;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0rem;
  text-align: left;
}

p {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 1rem 1rem;
  text-align: left;
}

.uitleg-afbeelding {
  width: 65%;
  margin: 2rem 0 2rem 2rem;
  border: 2px solid black;
  border-radius: 25px;
  display: block;
}

.kaartjes {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0 0rem 2rem;
}

.kaartje {
  background: white;
  border: 4px solid black;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  width: calc(50% - 3rem);
  min-width: 250px;
  max-width: 350px;
  min-height: 250px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
}

.kaartje.geselecteerd {
  background-color: #b4f5b4;
}

.kaart-afbeelding {
  width: 100%;
  height: auto;
  border: 3px solid black;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.leerlijn-label {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.kaartje p {
  all: unset;
}

#handelingnaam {
  font-size: 1.5rem;
}

label {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  margin: 1rem 0 0 2rem;
}

input,
select {
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  width: 90%;
  max-width: 350px;
  border-radius: 12px;
  border: 2px solid #ccc;
  display: block;
  margin: 0.5rem 0 0 2rem;
}

input#clientnummer {
  appearance: textfield;
}

input#clientnummer::-webkit-outer-spin-button,
input#clientnummer::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  padding: 1rem 2rem;
  font-size: 1.75rem;
  font-weight: bold;
  background-color: #40cc57;
  color: black;
  border: 5px solid black;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 225px;
  max-width: 350px;
}

button.terug {
  background-color: #ffa500;
  color: black;
  padding: 1rem 2rem;
  font-size: 1.75rem;
  font-weight: bold;
  border: 5px solid black;
  border-radius: 25px;
  cursor: pointer;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 225px;
  max-width: 350px;
}

button.terug:hover:not(:disabled) {
  background-color: #e69500;
}

button:hover:not(:disabled) {
  background-color: #34b14b;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  color: #666;
}

.papegaai {
  height: auto;
  max-height: 550px;
  max-width: 100%;
  margin-top: -0.5rem;
}

.stempels {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: 2rem;
  margin-top: 1rem;
}

.stempels img {
  height: 100px;
}

@media (max-width: 900px) {
  .scherm {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow-y: auto;
  }

  .content,
  .elementen {
    width: 100%;
    max-width: none;
  }

  button {
    position: relative;
    margin-top: 1rem;
    right: auto;
    bottom: auto;
  }
}
