@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: 200px;
    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: 210px; /* Same as the width of the sidenav */
    font-size: large; /* Increased text to enable scrolling */
    padding: 10px 10px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }
 .imagegrid {
  --gap:50px;
  --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;
}

* {
margin: 0;
padding: 0;
list-style: none;
}

body {
  font-family: "Aurora",
  sans-serif;
  line-height: 1.6;
  background: #170A19;
  overflow: hidden;
}

section {
  width: 68rem;
  height: 40rem;
  background: #99D8D0
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%,
  -50%);)
}

li {
  width: 7rem;
  height: 10rem;
  position: absolute;
  top: 70%;
  left:60%;
  transform: translate(-40%,
   -30%);
   border-radius: 1.5rem;
   font-size: 0.5rem;
   box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, 0.5);
   transition: all 1s ease-in-out;
}


li:nth-child(1), li:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0);
  width: 100%;
  height: 100%;
  border-radius: 0;
}

li:nth-child(1) {
  box-shadow: none;
}

li:nth-child(2) {
  left:75%;
}

li:nth-child(3) {
  left: calc(75% + 8.5rem);
}

li .details {
  position: absolute;
  top: 50%
  color: white;
  font-size: 0.5rem;
  display: none;
}

li:nth-child(2) .details {
  display: inline-block;
  font-size: 0.9rem;
  left: 5rem;
  animation: identifier 1s ease forwards;
}

@keyframes identifier {
  from {
      opacity: 0;
      filter: blur(30px);
      transform: scale(0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform:scale(1);
  }
}


li:nth-child(2) .details h1 {
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 800;
}

li:nth-child(2) .details p {
  width: 25rem;
  font-size: 0.8rem;
}

li:nth-child(2) .details button {
  padding: 0.7rem 1.2rem;
  border: 0;
  margin-top: 1.5rem;
  cursor: pointer;
}

.controls {
  position: absolute;
  bottom: -6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
}

.controls button {
  border: 0;
  width: 2.4rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 300ms ease;
}

.controls button:hover {
  background: #70416D
}