html {
  touch-action: manipulation;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: none;
}

.topmenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #4ecdc4, #4a90e2);
  padding: 10px;
}

.logo img {
  height: 40px;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-right: 10px;
  display: inline;
}

.menu a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #fff;
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.menu a:hover {
  background-color: #135579;
  color: #fff;
}

.burgermenu {
  display: none;
}

.burger {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin-bottom: 5px;
}

.spil-container {
  height: calc(100vh - 20px); /* Juster højden for at inkludere padding */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f5f5f5;
  padding: 10px; /* Tilføj padding på 10px */
  overflow: auto;
}

.kort {
  position: relative;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(#78d8e8, #78d8e8);*/
  background: linear-gradient(135deg, #ffcc33, #ff6699);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.baggrund-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.baggrund-tekst {
  font-size: 5em;
  color: rgba(255, 255, 255, 0.2); /* Juster gennemsigtighed og farve efter behov */
  text-align: center;
  text-transform: uppercase;
}

.kort-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.kort-indhold {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#udsagn {
  font-size: 32px;
  margin-top: 20px;
}

#lyd-knap {
  display: none;
  margin-top: 10px;
}

#link {
  font-size: 16px;
  text-decoration: underline;
  color: #135579;
  margin-top: 10px;
  display: inline-block;
  padding: 3px 8px;
  font-weight: normal;
}

#link:hover {
  color: #f8f8f8;
  background-color: rgb(255 255 255 / 20%);
}

#start-knap {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  background-color: #FF4081;
  transition: background-color 0.3s;
  font-weight: 600;
  font-size: 18px;
  z-index: 9999;
}

#start-knap:hover {
  background-color: #F50057;
}

#lyd-knap {
  display: none;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
}

#lyd-knap svg {
  fill: #fff; /* Ændr farven efter behov */
}

#udsagn:not(:empty) + #lyd-knap {
  display: inline-block;
}

/* Gradient Animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
