*, *:after, *:before {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  line-height: 1.35em;
  min-height: 100vh;
  margin: 10px;
  background: rgb(255, 255, 255);
  overflow-y: scroll; /* stops the content from scrollbar jitter */
}

.date {
        color: #e9483f;
        font-weight: bold;
      }

.pageWrapper {
  max-width: 1024px;
  width: 100%; /* IMPORTANT for flex full width! */
  max-width: 960px;
  margin: 2rem auto;               /* Centrerar på sidan med avstånd från toppen */
  padding: 2rem;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); /* Själva skuggan */
  border-radius: 3rem;           /* Mjuka hörn (valfritt) */
}

header {
  display: flex;
  align-items: center;     /* Vertikal centrering av innehållet */
  gap: 1.5rem;
  padding: 1rem 2rem;
  flex-wrap: wrap;         /* Gör så att det bryts snyggt på små skärmar */
}

.logo a {
  font-size: 2rem;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  color: #111;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #e9483f;
  color: white;
}

.responsiveCal {
position: relative; padding-bottom: 75%; height: 0; overflow: hidden;
}

.responsiveCal iframe { 
position: absolute; top:0; left: 0; width: 100%; height: 100%;
}

img {
  border-radius: 3rem;
  padding: 20px;
}

.container {
   display: flex;
    justify-content: center; space-around; center;
    /* Options: flex-start, center, flex-end, space-between, space-around */
    align-items: center; baseline;
    /* Options: flex-start, center, flex-end, baseline, stretch */
}

video {
  border-radius: 3rem;
  padding: 20px;
}
