/* poetsen-one-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Poetsen One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poetsen-one-v3-latin-regular.woff2') format('woff2');
}

body {
  margin: 0;
  background-color: #fef6f2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poetsen One';
}

header {
  background-color: #46638b;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.logo {
  width: 400px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../img/background.svg);
  background-size: cover;
  padding: 2rem;
}

.joke-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  background-color: #46638b;
  color: #fef6f2;
  padding: 2rem;
  border-radius: 2rem;
  min-width: 400px;
  min-height: 250px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.joke-content {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.joke-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.joke-box p {
  margin: 0;
  font-size: 1.5rem;
}

.joke-number {
  font-size: 0.9rem;
}

.controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.controls button{
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.arrow {
  position: relative;
width: 50px;
height: 50px;
border: none;
background: none;
padding: 0;
cursor: pointer;
overflow: visible;
}

.arrow-bg {
  position: absolute;
  background-color: #f0836d;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
}

.arrow-icon {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  color: #46638b;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.arrow::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: 80%;
  transform: scale(0.8);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.arrow:hover::after {
  transform: scale(1);
  opacity: 1;
}

.left::after {
  background-image: url(../img/alien_1.svg);
}

.right::after {
  background-image: url(../img/alien_2.svg);
}

.dice {
  background: none;
  border: none;
  padding: 0;
}

.dice-icon {
  width: 50px;
  height: 50px;
}

.controls button:hover {
  transform: scale(1.1);
}

footer {
  background-color: #46638b;
  padding: 1rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  width: 200px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.kontakt {
  color: #6fbab5;
}

.impressum {
  color: #f8ac1f;
}

.datenschutz {
  color: #f0836d;
}