/* Grundinställningar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: url('img/mohaa.jpg') no-repeat center center fixed;
  background-size: cover;
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 1);
  }
}

@keyframes boxGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(139,0,0,0.8);
  }
    50% {
    box-shadow: 0 0 25px rgba(139,0,0,1); 
  } 
}

/* Den stora centrerade boxen */
.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  animation: boxGlow 2s infinite;
}

/* Rubriker med WWII-liknande typsnitt och glöd */
h1, h2, h3, h4 {
  font-family: 'UnifrakturCook', cursive;
  margin-bottom: 10px;
  animation: textGlow 2s infinite;
  color: rgb(255, 0, 0);
}

h1 {
  font-size: 6rem;
  
}

h2 {
  font-size: 2.5rem;
  
}

h3 {
  font-size: 2rem;

}

/* Flexcontainer för de mindre boxarna */
.flex-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  gap: 10px;
  margin-top: 20px;
}

/* Standardstilar för flexboxarna med glöd */
.flex-box {
  padding: 15px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  animation: boxGlow 2s infinite;
}

/* Hover-effekt för flexboxarna */
.flex-box:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Den sista boxen med lite annorlunda opacitet */
.bottom-box {
  background: rgba(0, 0, 0, 0.7);
}

.bottom-box:hover {
  background: rgba(0, 0, 0, 0.5);
}
