:root {
  --purple: #6f42c1;
  --indigo: rgb(75, 0, 130);
  --grey: rgb(84, 84, 84);
  --darkgrey: rgb(33, 37, 41);
  --lightgrey: rgba(0, 0, 0, 0.03);
}

html,
body {
  font-size: 18px;
  font-family: "Raleway", sans-serif !important;
  line-height: 1.5;
  padding-bottom: 200px;
  color: var(--grey);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-weight: normal;
  color: var(--darkgrey);
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.78rem;
  margin: 12px 0;
}

h2 {
  font-size: 1.33rem;
  margin: 10px 0;
}

h3 {
  font-size: 1.2rem;
  margin: 5px 0;
}

h4 {
  font-size: 1.06rem;
}

.small-font {
  font-size: 0.8em;
}

/* ---------------- link ---------------- */
a {
  text-decoration: none;
  color: var(--darkgrey);
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover i {
  color: var(--indigo);
}

/* ---------------- cards ---------------- */
.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.view {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.view::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out 0.12s;
}

/* Hover auf gesamte Card */
.card:hover .view::after {
  opacity: 0;
}

.view img {
  display: block;
  width: 100%;
  height: auto;
}

/* Farbverläufe */
.col:nth-of-type(1) .card>.view::after {
  background-image: linear-gradient(135deg, #0100ec, #fb36f4);
}

.col:nth-of-type(2) .card>.view::after {
  background-image: linear-gradient(135deg, #2bdce3, #42ffdb);
}

.col:nth-of-type(3) .card>.view::after {
  background-image: linear-gradient(135deg, #ffab1d, #f8501c);
}

.col:nth-of-type(4) .card>.view::after {
  background-image: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.card-footer .social-icons a:hover i {
  color: var(--indigo);
}

.m-ap {
  margin-bottom: 70px;
}