:root {
  --button-gradient: linear-gradient(80deg,  #f60440 50%, transparent 50% 60%, transparent 60% 70%, transparent 70% 80%, transparent 80% 100%),
  linear-gradient(100deg, #f60440 40%, #cb2153   50% 60%, transparent 60% 70%, transparent 70% 80%, transparent 80% 100%),
  linear-gradient(65deg,  #f60440 40%, #cb2153   40% 50%, #ae2651   60% 70%, transparent 70% 80%, transparent 80% 100%),
  linear-gradient(110deg, #f60440 40%, #cb2153   40% 50%, #ae2651   50% 60%, #93294f   70% 80%, transparent 80% 100%),
  linear-gradient(60deg,  #f60440 40%, #cb2153   40% 50%, #ae2651   50% 60%, #93294f   60% 70%, #ae2651   80% 100%);
}

html {
  font-family: 'Open sans', arial, sans-serif;
}
main {
  max-width: 70ch;
  padding: 1em 1em;
  margin: auto;
  line-height: 1.75;
  font-size: 1.125em;
}

header {
  display: flex;
  justify-content: space-between;
  padding: .5rem;
  gap: 1em;
}

header a {
  flex-shrink: 0;
}

header img {
  height: 3rem;
}

h1 {
  font-size: 1.25em;
  line-height: 1.4;
  margin: 1.5em 0 1em;
}

p {
  margin-bottom: 2em;
  color: #1d1d1d;
  font-family: sans-serif;
}

a, a:visited {
  color: #93294f;
}

img { 
  max-width: 100%;
}

.logo-large {
  display: none;
}

@media (min-width: 600px) {
  .logo-large {
    display: initial;
  }
  .logo-compact {
    display: none;
  }
}

.digid {
  gap: .5em;
}

.error {
  padding: 1em .5em;
  border-left: 4px solid #E02146;
  background: #ffdde3;
  color: black;
  padding: .5em .5em .5em 1em;
}

.error p {
  margin: 0;
}

.error p + p {
  margin-top: 1em;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 1.125em;
  padding: .5em;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border-radius: .5em;
  transition: background-size .2s ease;
  margin-bottom: 20px;
}

.button.secondary {
  border: .15rem #363e6a solid;
  color: #363e6a;
}

.button.primary {
  color: white;
  text-indent: 2.5em;
  background: var(--button-gradient);
  background-size: 100%, 100%, 100%, 100%, 100%;
  background-position: left .5em center, top left;
}

.button.digid {
  color: white;
  text-indent: 2.5em;
  background: top left url('../img/digid.svg') no-repeat, var(--button-gradient);
  background-size: 2em, 100%, 100%, 100%, 100%, 100%;
  background-position: left .5em center, top left;
}

.button:hover {
  text-decoration: underline;
}

.button.digid:hover {
  background-size: 2em, 105%, 105%, 105%, 105%, 105%;
}

.button.primary:hover {
  background-size: 105%, 105%, 105%, 105%, 105%;
}

#yivi-web-form {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

table th {
  font-weight: bold;
}

table th, td {
  padding: .25em;
}
