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

html, body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  color: white;
  overflow: hidden;
}

/* Video och fallback */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background-image: url('../video/vecteezy_bokeh-lights-on-road-traffic_2021556.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Innehållsbox */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 4rem 2rem 2rem;
  min-height: 100vh;
}

/* Rubrik överst */
.headline {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  text-align: center;
}

/* Horisontell blocklayout */
.link-row {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Varje kolumnblock */
.link-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
}

/* Rubriker i block */
.link-block h2 {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

/* Länkar */
.link-block a {
  color: white;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 0.25rem;
}

/* Textstycke under rubrik */
.link-block p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* RESPONSIVT */

@media (min-width: 320px) {
  .headline { font-size: 1.3rem; }
}

@media (min-width: 480px) {
  .headline { font-size: 1.5rem; }
}

@media (min-width: 768px) {
  .headline { font-size: 1.7rem; }
}

@media (min-width: 992px) {
  .headline { font-size: 2rem; }
}

@media (min-width: 1200px) {
  .headline { font-size: 2.2rem; }
}
