@charset "utf-8";

/* Nollställ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body & font */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fffaf0;
  color: #2587a8;
  overflow-x: hidden;
}

/* Grid-layout */
.box {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* Header */
.nav-header {
  background-color: #fffaf0;
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Logotyp */
.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  max-width: 80px;
  height: auto;
  border-radius: 50%;
}

/* Meny + ikoner container */
.menu-icons-row {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Menyn absolut centrerad */
.nav-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Menylänkar */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #f4a329;
  font-weight: 700;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a:focus {
  text-decoration: underline;
  color: #d18e0a;
}

/* Sociala ikoner till höger */
.social-icons {
  margin-left: auto;
  display: flex;
  gap: 15px;
}

.social-icons a svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* MAIN */
main {
  background-color: #fffaf0;
  padding: 40px 20px;
  text-align: center;
}

main h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #2587a8;
}

.welcomeimage {
  display: block;
  margin: 10px auto 20px auto;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* SIDFOT */
.sidfot {
  background-color: #fffaf0;
  padding: 20px 5%;
  color: #2587a8;
  font-weight: 400;
}

.sidfot a {
  color: #2587a8;
  text-decoration: none;
  font-weight: 700;
}

.sidfot a:hover,
.sidfot a:focus {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px