/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");

body {
  font-family: "Russo One", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  color: #333;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100lvw;
  height: 200px;
  background-image: url("/assets/revolutionary-hands-81c76a9e.png");
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

h1 {
  text-align: center;
  color: #ec0002;
  margin-bottom: 10px;
  font-size: 28px;
  text-transform: uppercase;
} 

p {
  text-align: center;
  font-size: 18px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50lvh;
}

.text-container {
  text-align: center;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ec0002;
  color: white;
  border: none;
  width: 150px;
  height: 150px;
  padding: 20px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 100%;
  transition: all 0.15s ease;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.btn:active {
  transform: translateY(4px) scale(0.96);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5), 0 1px 5px 0 rgba(0, 0, 0, 0.4);
  filter: brightness(0.8) contrast(1.2);
}

.footer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(236, 0, 2, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.footer:hover {
  background-color: rgba(236, 0, 2, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.github-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  body::before {
    height: 150px;
  }

  .btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .btn:hover {
    background-color: #ec0002; /* Remove hover on mobile */
  }

  .footer {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
  }

  .github-link {
    font-size: 12px;
  }

  .github-icon {
    width: 18px;
    height: 18px;
  }
}
