/* === Sørger for at baggrund fylder hele siden === */
html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('GS.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #fff; /* hvid tekst udenfor bokse */
}

/* === Container === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* === Header / overskrifter === */
h1, h2, h3 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 10px;
  color: #000; /* sort overskrifter i bokse */
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

/* === Navigation === */
nav {
  text-align: center;
  margin: 20px 0;
  font-size: 1rem;
  max-width: 100%;
  overflow-x: auto;
}

nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: inherit;
  text-decoration: none;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  margin: 0 8px;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

nav a:hover {
  background: #555;
  color: #fff;
  border-color: #555;
}

/* === Mobil: layout der matcher desktop mest muligt === */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap; /* ingen linjeskift */
  }

  nav a {
    margin: 6px;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }
}

/* === Card stil til bokse (bruges i CV, Projekter osv.) === */
.card, .cv-column, .projektliste {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 20px 0;
  color: #000; /* sort tekst i bokse */
}

/* === CV layout === */
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.cv-column h2 {
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
  margin: 18px 0 12px;
}

.cv-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* === Projekter === */
.projektliste {
  text-align: center;
}

.projektliste a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.projektliste a:hover {
  color: #555;
}

/* === Kontaktformular === */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

form input, 
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

/* === Send-knap som outline ligesom menu === */
form button {
  background: transparent;
  color: #fff;
  padding: 12px;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

form button:hover {
  background: #555;
  border-color: #555;
  color: #fff;
}

