@charset "UTF-8";
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", sans-serif;
  background: linear-gradient(to bottom, #0F0F0F, #5DD62C, #337418);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #202020;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 70%;
  margin: auto;
  background: #202020;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    margin: 0 10px;
    padding: 0 10px;
  }
}

.progress-bar {
  background: #ffffff;
  height: 3vh;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.fill {
  background: #5DD62C;
  width: 0%;
  height: 100%;
  transition: width 0.5s ease-in-out;
  border-radius: 8px;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  box-sizing: border-box;
  background: #0F0F0F;
  color: white;
  padding: 10px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.feed {
  max-width: 500px;
  margin: 20px auto;
  background-color: #0F0F0F;
  border-radius: 12px;
  padding: 0;
  min-height: 100vh;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .feed {
    max-width: 100%;
    margin: 0 10px;
    padding: 0 10px;
  }
}

.post-container {
  border-radius: 8px;
  padding: 15px;
  margin: 20px auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: 70%;
  background-color: #0F0F0F;
  align-items: center;
  color: #F8F8F8;
}
@media (max-width: 767px) {
  .post-container {
    width: 90%;
  }
}

.post-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: #202020;
  color: #F8F8F8;
}

.post-img-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  text-align: left;
}
.post-img-container .post-header-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

span {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
}

.post-img {
  width: 100%;
  align-self: center;
}

.post-content-txt {
  color: #F8F8F8;
  text-align: left;
  font-family: "Comic Sans MS", sans-serif;
  margin: 1vh;
}

.post-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 5vh;
}
.post-actions button {
  flex: 1;
  background: #202020;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  cursor: pointer;
}
.post-actions button:hover {
  background: #5DD62C;
}

.comments {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 3px;
  background-color: rgba(0, 0, 0, 0.05);
}
.comments .comment-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  background-color: #ffffff;
}
.comments .comment-line .comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.comments .comment-line .text-bubble {
  border-radius: 18px;
  padding: 8px 12px;
  max-width: 100%;
  color: #0F0F0F;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: baseline;
}
@media (min-width: 768px) {
  .comments .comment-line .text-bubble .feed {
    max-width: 500px;
  }
}
.comments .comment-line .text-bubble .comment-sender {
  font-size: 0.9rem;
  margin-bottom: 2px;
  font-family: "Comic Sans MS", sans-serif;
  font-weight: bold;
}
.comments .comment-line .text-bubble .comment-txt {
  font-weight: normal;
  color: #0F0F0F;
}

@media (max-width: 767px) {
  .comment-line {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-bubble {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-bubble .comment-sender {
    margin-bottom: 0.5vh;
    font-size: 14px;
  }
  .text-bubble .comment-txt {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .post-container {
    padding: 10px;
  }
}
.image-container {
  text-align: center;
  margin-bottom: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scenario {
  font-size: 20px;
  margin-bottom: 2rem;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

button {
  padding: 15px 25px;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  background-color: #5DD62C;
  color: #F8F8F8;
  font-weight: bold;
  transition: 0.3s ease;
  width: 100%; /* Knapperne fylder hele bredden på mobilen */
}
button:hover {
  opacity: 0.8;
  transform: scale(1.05); /* Knapperne vokser lidt ved hover */
  background-color: #ff1100;
}
button:active {
  transform: scale(0.95); /* Knappen skrumper lidt når man klikker på den */
  animation: clickEffect 0.2s; /* Animering ved klik */
}
button.correct {
  background-color: #32CD32; /* Grøn, når valget er korrekt */
  box-shadow: 0 0 15px 5px rgba(50, 205, 50, 0.5); /* Grønt skær omkring knappen */
  animation: pulseGreen 0.8s infinite; /* Pulsereffekt for succes */
}
button.incorrect {
  background-color: #ff1100; /* Rød, når valget er forkert */
  box-shadow: 0 0 15px 5px rgba(255, 69, 0, 0.7); /* Rødt skær omkring knappen */
  animation: shake 0.5s; /* Rystelseffekt for forkert valg */
}

@keyframes clickEffect {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* Hoppende effekt, 5px op */
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes pulseGreen {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
.popup {
  position: fixed;
  background-color: #0F0F0F;
  color: #F8F8F8;
  border: 0.5px solid #5DD62C;
  border-width: 1vh;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  width: 90%;
  max-width: 340px;
  font-family: "Comic Sans MS", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #F8F8F8;
  display: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease-in-out;
}

.popup .sender {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 4px;
  font-size: 15px;
  color: #5DD62C;
}

.avatar {
  width: 32px; /* Størrelse på avatar-ikonet */
  height: 32px;
  border-radius: 50%;
  margin-right: 10px; /* Plads til venstre for afsenderens navn */
  -o-object-fit: cover;
     object-fit: cover;
}

.popup .message {
  font-family: "Comic Sans MS", sans-serif;
  font-size: 14px;
  color: #F8F8F8;
}

#popup-image-container {
  text-align: center;
  margin-bottom: 1rem;
}
#popup-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .popup.show {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: none;
    display: block;
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .popup.show {
    top: 10px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    display: block;
    opacity: 1;
  }
  #popup-image-container {
    display: none;
  }
}
.popup .choices {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.popup button {
  background-color: #5DD62C;
  color: #0F0F0F;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 14px;
  font-family: "Comic Sans MS", sans-serif;
  border: none;
  transition: background-color 0.2s ease;
}
.popup button:hover {
  background-color: #ff1100;
  opacity: 0.8;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  display: block;
  opacity: 1;
}

#choices button {
  margin: 5px;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

footer {
  width: 100%;
  margin: 0;
  padding: 1rem;
  background-color: #222;
  color: white;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}/*# sourceMappingURL=style.css.map */