@charset "UTF-8";

/* Basic page styling */
html, body {
    height: 100%;
    margin: 0;       /* remove default margin */
    padding: 0;      /* remove default padding */
    box-sizing: border-box; /* ensures sizing is exact */
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.3;
    border: 2px solid #fff;
    border-radius: 15px;
    text-align: center;
    cursor: url("../css/completed-Images/catpaw.png") 4 4, auto;
}

h2 {
      font-family:Ortland;
      src: url('../css/Ortland.ttf');
}

/* Container styling */
.content {
    max-width: 900px;
    margin: 0 auto;
}

/* Text styling */
.textchange {
    text-transform: uppercase;
    font-size: 28px;
    margin: 20px 0;
}

/* Image styling */
.picture {
    display: block;
    margin: 20px auto;
    width: 70%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);
}

/* Button styling */
.buttonClass {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: rgb(77, 91, 215);
    color: #fff;
    text-decoration: solid;
    font-weight: bold;
    border-radius: 10px;
    transition: background 0.3s, transform 0.2s;
}

.buttonClass:hover {
    background-color: rgb(255, 255, 255);
    transform: scale(1.05);
    color: rgb(77, 91, 215);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .textchange {
        font-size: 20px;
    }
    .picture {
        width: 80%;
    }
}
.buttonClass {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: rgb(0, 0, 0); /* button background */
    color: #fff; /* text color */
    text-decoration: none;
    font-weight: bold;
    border: 3px solid #fff; /* white border */
    border-radius: 10px;
    position: relative;
    overflow: visible;
    transition: background 0.3s, transform 0.2s, color 0.3s;
}

/* Crayon / rocky textured glow */
.buttonClass::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 14px;
    background:
        radial-gradient(circle, rgba(255,255,255,0.6) 15%, transparent 16%) 0 0,
        radial-gradient(circle, rgba(255,255,255,0.6) 15%, transparent 16%) 4px 4px;
    background-size: 8px 8px; /* controls texture roughness */
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s;
}

/* Hover effect */
.buttonClass:hover {
    transform: scale(1.05);
    background-color: rgb(82, 77, 226);
    color: #fff;
}


/* Show textured glow on hover */
.buttonClass:hover::before {
    opacity: 1;
    animation: flickerTexture 1s infinite alternate;
}

/* Flickering animation for more natural look */
@keyframes flickerTexture {
    0% { transform: translate(0, 0); opacity: 0.8; }
    25% { transform: translate(1px, -1px); opacity: 0.9; }
    50% { transform: translate(-1px, 1px); opacity: 0.7; }
    75% { transform: translate(1px, 1px); opacity: 0.85; }
    100% { transform: translate(0, -1px); opacity: 0.8; }
}
body {
    background-color: #000;
    /* Crayon-style multicolor polka dots */
    background-image: 
        radial-gradient(rgba(227, 38, 195, 0.15) 20%, transparent 21%),
        radial-gradient(rgba(38, 227, 54, 0.15) 20%, transparent 21%),
        radial-gradient(rgba(0, 34, 255, 0.15) 20%, transparent 21%);
    background-size: 40px 40px, 35px 35px, 50px 50px; /* varied spacing for a natural look */
    background-position: 0 0, 10px 20px, 20px 15px; /* slight offset for randomness */
    background-repeat: repeat;
    background-attachment: fixed; /* stay fixed on scroll */
    animation: moveDots 5s linear infinite; /* slow movement for dynamic feel */
}

/* Gentle movement for a lively, playful effect */
@keyframes moveDots {
    0% { background-position: 0 0, 10px 20px, 20px 15px; }
    100% { background-position: 40px 40px, 45px 55px, 60px 50px; }
}
a {
  color: #fff;
  text-decoration: none;
  transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.2s ease;
}

/* Hover effect – smooth glow, minimal flicker */
a:hover {
  color: rgb(237, 81, 159);
  text-shadow: 0 0 8px rgba(238, 39, 175, 0.8),
               0 0 16px rgba(226, 77, 191, 0.4);
  transform: scale(1.05);
  animation: softGlow 3s ease-in-out infinite alternate;
}

@keyframes softGlow {
  0%   { text-shadow: 0 0 6px rgba(82, 77, 226, 0.6); }
  50%  { text-shadow: 0 0 10px rgba(82, 77, 226, 0.9); }
  100% { text-shadow: 0 0 6px rgba(82, 77, 226, 0.6); }
}

.drink-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* helps on small screens */
  margin-top: 20px;
}

.drink-choice {
  width: 50px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover animation */
.drink-choice:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(82, 77, 226, 0.8);
}
figcaption {
  margin-top: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}