* {
    margin: 0 
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-align: center;
}
hero-image {
    background-image:"rosesbg.jpg";
}
body {
    background-color: black
}
h1 {
    background-color: maroon;
    margin: -8px;
    padding: 10px;
    font-size: 50px;
}
dialog {
    position: fixed;
    top: 5vh;
    max-width: 100vw;
    max-height: 90vh;
    margin: 0 auto;

}
dialog img{
    width: 100%;
}
figcaption {
  width: 100%;
  text-align: center;
  font-size: 0.833rem;
  color: white;
  background-color: maroon;
}
#gallery{
  padding: 0.482rem;
  display: grid;
  gap: 0.482rem;
}

#gallery img, header img{
  width: 100%;
}

#gallery img{
  max-width: 400px;
  object-fit: cover;
  aspect-ratio: 16/9;
}

header img{
  width: 100%;
}

#gallery figcaption, dialog figcaption{
  /* updated this for final */ 
  position: relative;
  transform: translateY(-0.382rem);
  background: maroon;
  height:
}

dialog{
  /* position: fixed;
  top: 5vh; */
  max-width: 90vw;
  max-height: 90vh;
  /* margin: 0 auto; */
}

dialog::backdrop{
  background: rgb(16 16 16 /0.8);
}

dialog img{
  width: 100%;
  max-height: 83vh;
}

footer{
  width: 100vw;
  background-color: maroon;
  color: rgb(240 240 240 / 0.95);
}

@media screen and (min-width: 400px) {
  #gallery{
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 800px) {
  #gallery{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1200px) {
  #gallery{
    grid-template-columns: repeat(4, 1fr);
  }
}

