/* CSS Document */

.toskbakgrunn {
  background:
    radial-gradient(circle at 90% 30%, rgba(130, 55, 22, 0.22), transparent 5%),
    radial-gradient(circle at 35% 95%, rgba(110, 32, 28, 0.20), transparent 12%),
    #121212;
}

.social-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-box {
  flex: 1 1 calc(25% - 15px);

  background: #1b1b1b;
  border: 1px solid #2a2a2a;

  color: #fff;
  text-decoration: none;

  min-height: 180px;
  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  border-radius: 14px;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-box:hover {
  background: #222;
  border-color: #444;

  transform: translateY(-4px);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.35);
}

.social-box i {
  font-size: 42px;
  margin-bottom: 15px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.social-box:hover i {
  transform: scale(1.1);
}

/* Brand-farger */
.facebook i {
  color: #1877f2;
}

.instagram i {
  color: #e4405f;
}

.strava i {
  color: #fc4c02;
}

.social-box span {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/* Mobil */
@media (max-width: 768px) {

  .social-boxes {
    gap: 10px;
  }

  .social-box {
    flex: 1 1 calc(50% - 5px);
    min-height: 140px;
    padding: 20px 10px;
  }

  .social-box i {
    font-size: 32px;
  }

  .social-box span {
    font-size: 15px;
  }

}

.social-box,
.social-box:link,
.social-box:visited,
.social-box:hover,
.social-box:active,
.social-box * {
  text-decoration: none !important;
}