body {
    min-height: 100vh;

    background-image: linear-gradient(
        135deg,
        rgb(0, 255, 0),
        rgb(255, 0, 255)
    );



    background-repeat: no-repeat;
    background-attachment: fixed;

}
/*body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    green,
    yellow,
    violet,
    indigo,
    orange,
    red,
    blue
  
    );
  background-size: 400% 400%;
  animation: rainbow 10s ease infinite;
}*/

@keyframes rainbow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.tuff {
  float: right;
  background-color: green;
  color: white;
  padding: 10px;
  border-radius: 5px;
}
.ad-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  max-width: 200px; /* adjust as needed */
  height: auto;
  display: block;
}




/* ===== Mobile responsiveness (no desktop changes) ===== */

img {
    max-width: 100%;
    height: auto;
}

/* prevent horizontal scrolling on small screens */
body {
    overflow-x: hidden;
}

/* only apply on phones */
@media (max-width: 600px) {

    body {
        padding: 10px;
        text-align: center;
    }

    /* make the main content stack nicely */

    /* scale down big images a bit */

    /* buttons easier to tap */
    button {
        font-size: 18px;
        padding: 10px 16px;
        margin: 5px;
    }

    /* vote numbers more readable */

    /* ad stays centered and doesn't overflow */
    #ad-container {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    #ad-image {
        width: 120px;
        height: auto;
    }
}
