/* https://davidboothe.com/2024/12/how-to-create-modern-buttons-using-only-css/ */

/* <button class="btn default">...</button> */

a.btn {
  text-decoration: none;
}

.btn {
  cursor: pointer;
  font-size: 16px;
  padding: 8px 16px;
}

@media (max-width: 768px) {
  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.btn.default {
  background-color: #7b8f9f;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  /*display: inline-block;*/
}

.btn.default:hover {
  background-color: #9eb6ca;
  /*transform: translateY(-3px);*/
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn.default:active {
  transform: translateY(2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn.outline {
  background-color: transparent;
  border: 2px solid #4CAFff;
  color: #4CAFff;
  transition: all 0.3s ease;
}

.btn.outline:hover {
  background-color: #4CAFff;
  color: white;
}

.btn.ghost {
  background-color: transparent;
  color: #4CAFff;
  border: none;
  font-weight: bold;
}

.btn.ghost:hover {
  background-color: rgba(76, 175, 255, 0.1);
}

.btn.animate {
  background-color: #4CAFff;
  position: relative;
  overflow: hidden;
}

.btn.animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: skewX(-45deg);
  transition: all 0.5s ease;
}

.btn.animate:hover::before {
  left: 100%;
}

