@import 'https://apps.datev.de/assets/datev/fonts/1.2.0/fonts.css';

body {
  margin: 0;
}

.content {
  max-width: 64rem;
  margin: 0 auto;
}

.content > p {
  margin: 0 0 1rem;
  padding: 0 0.5rem;
}

.link-container {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.link-card {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.link-card dacks-card {
  display: block;
  height: 100%;
}

.link-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentcolor;
  opacity: 0.9;
  transform: translateY(-50%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M12.05 10 7 3.971 8.136 3 14 10l-5.864 7L7 16.029z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.link-card:hover dacks-card,
.link-card:focus-visible dacks-card {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.1));
}

.link-card h2 {
  margin: 0 2.5rem 0.5rem 0.5rem;
  font-family: 'Compatil DATEV W01 Regular', 'Noto Serif', 'Palatino Linotype', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #418499;
}

.link-card p {
  margin: 0 2.5rem 0 0.5rem;
  padding-top: 0.5rem;
}

.help-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
}

.footer-links a {
  padding: 0.5rem 0.75rem;
  color: inherit;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .link-card {
    width: 50%;
  }
}

@media (max-width: 639px) {
  .link-card p {
    display: none;
  }
}
