:root {
  --leftshift: 1vw;
  --topshift: 0.5vw;
  --h1size: 14pt;
  --labelsize: 12pt;
  --buttonsize: 0.5em;
  --test:0vw;
}

body {
  display: flex;
  background-color: rgb(154, 158, 195);
  justify-content: center;
}

h1 {
  font-family: unbounded;
  color: navy;
  font-size: var(--h1size);
}

input,
label,
h1,
p,
select,
a {
  margin-left: var(--leftshift);
}

label,
a {
  font-family: unbounded;
  color: navy;
  font-size: var(--labelsize);
}

input[type="button"] {
  aspect-ratio: 1;
  height: 2vw;
  align-self: flex-end;
  font-family: unbounded;
  color: navy;
  font-size: var(--buttonsize);
  border-radius: 0.5vw;
  border-style: solid;
  filter: drop-shadow(0px 8px 4px #0000002e);
}

#maincontainer {
  flex-direction: column;
  width: 80vw;
  justify-self: center;
}

.questioncontainer {
  width: 100%;
  background-color: rgb(255, 255, 255);

  padding-bottom: 1vw;
  padding-top: var(--topshift);
  border-radius: 0.5vw;
  margin-top: 1vw;
  filter: drop-shadow(0px 4px 8px #00000068);
}

.question,
.subquestion {
  margin-right: 1vw;
}

#författarecontents {
  width: 95%;
}
.författare,
.categorycontainer {
  display: grid;
  grid-template-columns: 3fr 3fr 3fr 1fr;
  grid-template-rows: 1;
  padding-top: 1vw;
}
.författare section,
.question section {
  display: flex;
  flex-direction: column;
  grid-column-start: 1 3;
}
.författare > input {
  grid-column-start: 4;
}

.författare section > input,
.question input[type="text"],
.question input[type="number"],
.subquestion input {
  width: 90%;
  height: 2vw;
  border-radius: 0.5vw;
  border-style: none;
  box-shadow: inset 0 0 6px #00000068;
}

.questiongroup {
  width: 100%;
  display: flex;
}

.författare {
  display: grid;
  grid-template-columns: 5fr 5fr 5fr 1fr;
  grid-template-rows: 1;
  padding-top: 1vw;
}
