* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.main-container {
  padding: 30px;
}

/* HEADING */

.heading {
  text-align: center;
}

.heading__title {
  font-weight: 800;
  font-family: "Arial"; /* "Helvetica Neue" */
}

.heading__credits {
	font-family: "Arial";
  margin: 10px 0px;
  color: #888888;
  font-size: 12px;
  transition: all 0.5s;
}

.heading__link {
  text-decoration: none;
}

.heading__credits .heading__link {
  color: inherit;
}

/* CARDS */

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card__fpt {
  margin: 10px;
  padding: 20px;
  width: 180px;
  max-height: 140px;
  display: grid;
  grid-template-rows: 20px 50px 1fr 50px;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.01);
}

.card__link,
.card__exit,
.card__icon {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.card__link::after {
  position: absolute;
  top: 15px;
  left: 0;
  content: "";
  width: 0%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.5s;
}

.card__link:hover::after {
  width: 100%;
}
/*
.card__exit {
  grid-row: 1/2;
  justify-self: end;
}

.card__icon {
  grid-row: 1/2;
  font-size: 15px;
}*/

.card__title {
	font-family: "Arial";
  grid-row: 1/4;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.card__apply {
  grid-row: 4/4;
  align-self: center;
}

.card__apply a{
	font-family: "Arial";
  text-decoration: none;
  font-size: 14px !important;
}

.card__apply a:hover{
  text-decoration: none;
  color: white;
}

.card__link {
	font-size: 10px !important;
}

/* CARD BACKGROUNDS */

.card-1 {
  background: radial-gradient(#4265BD, #20315C);
}

.card-2 {
  background: radial-gradient(#F1CD6A, #DBA514);
}

.card-3 {
  background: radial-gradient(#76b2fe, #b69efe);
}

.card-4 {
  background: radial-gradient(#60efbc, #58d5c9);
}

.card-5 {
  background: radial-gradient(#f588d8, #c0a3e5);
}

/* RESPONSIVE */

@media (max-width: 2600px) {
  .cards {
    justify-content: center;
  }
}
