:root {
  
  background-image: url('gifs-and-images/cloudbackground.jpg');
  color: #ffffff;
   background-repeat: repeat;
   background-size: 225px;
  max-width: 1200px;
   margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

* {
 box-sizing: border-box;
 display: flex;
  justify-content: center;
   align-items: center;
   flex-direction: row;
}

a:visited {
  color: white; 
}

a:link {
  color: white;
  text-decoration: none; /* Removes the default underline */
}

.grow-link {
  display: inline-block;          /* Crucial: Allows the link to scale */
  font-size: 33px;
  transition: transform 0.3s ease; 
}

.grow-link:hover {
  /* Scales the link up to 1.2 times its original size (20% bigger) */
  transform: scale(1.2); 
}

body {
 display: flex;
 flex-direction: column;
}

.header {
 background-image: url('gifs-and-images/cyberheader.jpeg');
 background-size: 1920px;
 border-radius: 16px;
  background-repeat: no-repeat;
  min-height: 200px;
  min-width: 1500px;
  margin-bottom: 20px;
  color: white;
  font-family: 'abduction2002', sans-serif;
  font-size: 100px;
  text-shadow: 2px 2px 4px rgba(0, 0, 3, 3);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 3);
  display: flex;
  justify-content: center;
   align-items: center;
}

@font-face {
  font-family: 'kiwisoda';
  src: url('fonts/KiwiSoda.ttf') format('truetype');
}

@font-face {
  font-family: 'romanantique';
  src: url('fonts/RomanAntique.ttf') format('truetype');
}

@font-face {
  font-family: 'abduction2002';
  src: url('fonts/abduction2002.ttf') format('opentype');
}

@font-face {
  font-family: 'rexlia';
  src: url('fonts/Rexlia Rg.otf') format('opentype');
}


:root {
  --gap: 2rem;
  --duration: 15s;
}

/* Hides horizontal scrollbars */
.marquee-container {
  overflow: hidden;
  width: 1920px;
  background: #84ABC2;
  color: #fff;
  padding: 1rem 0;
}

/* Holds both tracks side by side */
.marquee-content {
  display: flex;
  gap: var(--gap);
  width: max-content;
}

/* The moving track element */
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: var(--gap);
  justify-content: space-around;
  min-width: 100%;
  animation: scroll var(--duration) linear infinite;
}

/* Optional: Pauses the marquee on hover */
.marquee-content:hover .marquee-track {
  animation-play-state: paused;
}

/* The loop animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* Moves the track left by its full width plus the gap */
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* Styling for the items inside */
.marquee-track span {
  font-family: 'rexlia';
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: 5px;
}

.container {
   display: flex;
  justify-content: center;
   align-items: center;
   max-width: 1160px;
}


main{
  display: flex;
 background-color: #84ABC2;
 width: 1160px;
 border-radius: 16px;
 padding: 1em;
}

#Announcements {
  display: flex;
  flex-direction: column;
  width: 800px;
  background-color: #B8CDD9;
  border-radius: 16px;
   text-align: center
}

#Announcements h2 {
   font-family: 'abduction2002', sans-serif;
}

#aboutme h2 {
   font-family: 'abduction2002', sans-serif;
}

#aboutme {
   display: flex;
  flex-direction: column;
  width: 800px;
  background-color: #B8CDD9;
  border-radius: 16px;
   text-align: center
}

#footer {
   background-color: #84ABC2;
  border-radius: 16px;
   width: 1400px;
   margin: 20px;
     font-family: 'kiwisoda', sans-serif;
     text-size: 25px;
}

p {
   font-family: 'rexlia', sans-serif;
   font-size: 17px;
}

nav {
 display: block;
}

.nav-side {
  display: flex;
 background-color: #84ABC2;
 padding: 30px;
 margin: 20px;
  border-radius: 16px;
  font-family: 'kiwisoda', sans-serif;
  font-size: 33px;
  width: 100%;
}

   .Smaller-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
    align-items: center;
}

.footer {
  background-color: #84ABC2;
  border-radius: 16px;
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .nav-side {
    flex-direction: column;
    display: block;
  }
}