/* 
Don't want to use sass and simply modify the stylesheet in the old css fashion? 
Just customize your theme here.
================================================== */

/* Custom CSS */
.col-sm-8 {
  padding: 0 !important;
}
/*amazon smaller block*/

.amazon-block-sm {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff9900;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.amazon-block {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ff9900;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.amazon-block::before {
  content: "As an Amazon Associate, I earn from qualifying purchases. ";
  display: block;
  font-size: 8px;
  color: white;
  margin-bottom: 5px;
  opacity: 0.8;
}

.amazon-block:hover {
  background-color: #d68a00;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  text-decoration: none;
}

.amazon-block:active {
  transform: scale(1) translateY(0);
}

/* Keyframes for pulsing animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .amazon-block {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .amazon-block {
    padding: 10px 20px;
    font-size: 14px;
  }
}
