
/* General styling and typography */


body {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 20px;
  background-color: #f7f7f7;
  transition: background-color 0.3s;
}

h1.title {
	max-width: 800px;
	margin: 0 auto;
}

/* Dark mode support for iOS and macOS */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #333;
    color: #f7f7f7;
  }
}

/* Form styling */
form {
  max-width: 800px;
  margin: 0 auto;
}

fieldset {
  border: none;
  padding: 20px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  margin-right: 10px;
}
.toplable {
	display: block;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

input[type="radio"] {
  display: inline-block;
  width: auto;
  margin-right: 5px;
  vertical-align: middle;
  cursor: pointer;
}

input[type="radio"] + label {
  cursor: pointer;
}

button[type="submit"] {
  background-color: #333;
  color: #f7f7f7;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #555;
}

/* Responsive design */
@media (max-width: 767px) {
  body {
    padding: 10px;
  }
  
  input[type="text"],
  input[type="number"],
  textarea {
    font-size: 14px;
  }
  
  button[type="submit"] {
    font-size: 14px;
  }
}
