@charset "UTF-8";
/* CSS Document */
@font-face {
    font-family: 'Aurora';
    src: url("Aurora.otf");
}
body {
    background-color: #170A19;
    color:#99D8D0;
    font-family: "Aurora";
    text-align: center;
}
h1 {
    background-color: #99D8D0;
    color: black;
    text-align: center;
}
h2 {
    background-color: #E4F2F0;
    color: black;
    text-align: center;
}
footer {
    background-color: #99D8D0;
    color: #170A19;
    margin-left: 175px;
    text-align: center;
    font-size:medium;
    border-radius: 10px;
  }
  @media screen and (max-width: 500px)
   { .footer {display: flex;}
   .footer {margin-top: 10px;}
   .footer {margin-bottom: 20px;}
  }
.sidenav {
    height: 100%;
    width: 175px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #99D8D0;
    overflow-x: hidden;
    padding-top: 20px;
  }
  
  .sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color:#70416D;
    display: block;
  }
  
  .sidenav a:hover {
    color: #E4F2F0;
  }
  
  .main {
    margin-left: 175px; /* Same as the width of the sidenav */
    font-size: large; /* Increased text to enable scrolling */
    padding: 0px 10px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }
 .imagegrid {
  --gap:16px;
  --num-cols: 4;
  --row-height: 300px;

  box-sizing: border-box;
  padding: var(--gap);

  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-auto-rows: var(--row-height);
  gap:var(--gap);
 }
 .imagegrid > img {
  width: 100%;
  height: 100%;
  object-fit:scale-down;
 }

 @media screen and (max-width: 1024px) {
  .imagegrid {
    --num-cols: 2;
    --row-height: 200px;
  }
 }
 img {
  width: auto ;
  max-width: 100% ;
  height: auto ;
}
@media screen and (max-width:1024px)
{ .container {font-size: 18px;}
}
p{
  color:#E4F2F0;
}

/* Container hides the images waiting outside the frame */
.slideshow-container {
  width: 800px;
  height: 400px;
  overflow: hidden; /* Prevents scrollbars */
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Wrapper holds all 4 images horizontally (4 x 100% = 400% width) */
.slideshow-wrapper {
  display: flex;
  width: 400%; 
  height: 100%;
  animation: slideAnimation 16s infinite; /* 4 seconds per slide */
}

/* Individual slide boundaries */
.slide {
  width: 25%; /* 100% / 4 slides */
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents image distortion */
}

/* Timeline calculation for a 4-slide loop */
@keyframes slideAnimation {
  0%, 20% { transform: translateX(0); }          /* Slide 1 stays */
  25%, 45% { transform: translateX(-25%); }      /* Slide 2 stays */
  50%, 70% { transform: translateX(-50%); }      /* Slide 3 stays */
  75%, 95% { transform: translateX(-75%); }      /* Slide 4 stays */
  100% { transform: translateX(0); }             /* Smooth snap back to start */
}
