* {
  font-size: 1.1rem;
}

:root {
    --color-black: #0d0d0d;
    --color-white: #ffffff;
    --color-terquoise: #7EFCFA;
    --color-gray-dark: #222222;
    --color-purple: #854B99;
}

body {
  background-color: var(--color-black);
  background-image: repeating-linear-gradient(
    135deg,
    var(--color-white), 
    var(--color-purple) 1px,
    var(--color-black) 2px,
    var(--color-black) 4px
  );
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

#background {
  color: var(--color-white);
  border: double;
  width: 70vw;
  height: 100%;
  background-color: var(--color-gray-dark);
  margin: 5vh auto;
}


/* AI Assisted For Clock */

#site-clock {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    padding: .5rem .75rem;
    font: 600 0.95rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color: #f8fafc;                 
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148, 163, 184, .25); 
  }

#issue1 {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--lime);
  color: var(--black);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 10px black;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 25px;
}

#header {
  width: 100%;
  height: 15vh;
  background-color: var(--color-black);
  border-bottom: double;
  border-top: double;
  text-shadow: 2px 2px 4px white;
}

a {
  color: green;
  margin: auto;
  text-align: center;
  display: block;
}
.newsh {
  font-size: 3em;
  text-align: center;
  margin-top: 1vh;;
}

.newsp {
  font-family: monospace;
  font-size: 1.0em;
  text-align: center;
  margin-top: -1vh;
  margin-bottom: 2vh;
}

.articleh {
  font-size: 2em;
  text-align: center;
  margin-top: 2vh;
  margin-bottom: 1vh;
  color:  var(--color-terquoise);
  text-shadow: 2px 2px 4px gold, 0 0 10px gold;
  font-weight: 600;
  animation: wave 10s infinite;

}

.articleuh {
  font-size: 1.2em;
  text-align: center;
  margin-top: 4vh;
  margin-bottom: 6vh;
  color: pink;
  font-weight: 400;
  text-shadow: 4px 4px 4px #000000;
}

.articlep {
   margin: 0 0 12px;   
  line-height: 1.7;
  font-size: 1.05rem;   
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  text-shadow: 3px 3px 1px black;
}

#firstart {
  border-top: double;
  border-bottom: double;
  border-color: teal;
  margin-top: 2vh;
  padding-bottom: 2vh;
}
/* */
#secondart {
  border-top: double;
  border-bottom: double;
  border-color: orange;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

#thirdart {
  border-top: double;
  border-bottom: double;
  border-color: purple;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

#fourthart {
  border-top: double;
  border-bottom: double;
  border-color: yellow;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

#fithart {
  border-top: double;
  border-bottom: double;
  border-color: pink;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

#sixthart {
  border-top: double;
  border-bottom: double;
  border-color: lightblue;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

#sevenethart {
  border-top: double;
  border-bottom: double;
  border-color: lightgreen;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

.skelly {
  border: solid;
  margin: auto;
  display: block;

}


@keyframes wave {
  0% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}


@media (max-width: 600px) {
  #background {
    width: 95vw;
    height: auto; 
  }

  #header {
    height: auto;
    padding: 2vh 1vw;
  }

  .newsh {
    font-size: 2em;
  }

  .newsp {
    font-size: 1.1em;
    padding: 0 10px;
  }

  .articlep {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
  }

  .skelly {
    width: 150px;
    height: auto;
  }
}


@media (min-width: 601px) and (max-width: 1024px) {
  #background {
    width: 85vw;
  }

  .newsh {
    font-size: 2.5em;
  }

  .articlep {
    font-size: 1.05em;
  }
}

/* Ai Assisted Clock Media */
 @media (prefers-reduced-motion: no-preference) {
    #site-clock { animation: glow 3s ease-in-out infinite alternate; }
    @keyframes glow {
      from { box-shadow: inset 0 -1px 0 rgba(148,163,184,.2), 0 0 0 rgba(59,130,246,0); }
      to   { box-shadow: inset 0 -1px 0 rgba(148,163,184,.2), 0 0 10px rgba(59,130,246,.15); }
    }
  }

   @media (max-width: 420px) {
    #site-clock { font-size: .9rem; }
    .clock-sep { display: none; }
  }