html {
  scroll-behavior: smooth;
}

body {
  background-color: #D4B26C;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

}

header {
  background-color: #BC840B;
  margin-top: -5px;
  
}

nav {
    font-size: 20px;
    font-family:cursive;
    text-align: right;
    text-align: top;
    padding-right: 15px;
    padding-top: 10px;
    margin: 5px;
    background-color: #BC840B;
    background-size:cover
}

/* ul {
  text-align: left;
  text-align: top;
  /* padding-left: 15px;
  padding-top: 10px;
  margin: 5px; */
  /* background-color: #BC840B;
  background-size:cover
} */

a:hover {
  color: aliceblue;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin-top: -5px;
  margin-bottom: -25px;
  background-color: #BC840B;
}

h1 {
  padding-left: 18px;
  margin-top: 55px;
  font-size: 75px;
  text-align: center;
  font-family: "FleurDeLeah";

  animation: fadeInDown 0.9s ease-in forwards;
  animation-delay: 0.4s;
}

main img {
    width: 60%;
    max-width: 600px;
    height: auto;
    margin-left: 80px;
    margin-right: auto;
    margin-bottom: 50px;
    margin-top: 50px;
    align-self: left;
    border-radius: 10%;
}

.main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

h3 {
  background-color: #BC840B;
  font-size: 80px;
  color: #BC840B;
  margin-bottom: 20px;
  margin-top: 10px;
}

#gallery {
  padding: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}

#gallery img {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  display: block;
}

#gallery .img4076{
  object-position: 40% 76%;
}

#gallery .img4060 {
  object-position: 40% 60%;
}

figcaption {
  size: 20px;
  margin: 8px;
}


/* modal styles */


/* dialog {
  position: fixed;
  top: 40px;
  max-width: 600px;
  max-height: 3000px;
  margin: 0 auto;
} */

/* 
dialog img {
  max-width: 400px;
  max-height: 50vh;
} */

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

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


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

#gallery figure {
   overflow: hidden;
   cursor: pointer;
   /* 1 guess what this does... */
 }

#gallery img {
   transition: transform 0.5s;
 }

#gallery figure:hover img {
   transform: scale(1.2);

 }


 @keyframes fadein {
   0% {
     opacity: 0;
   }

   100% {
     opacity: 1;
     background-color: rgb(0 0 0 /0.5);
   }

 }

 @keyframes fadeInDown {
  0% {
      opacity: 0;
      transform: translateY(2.44rem);
    }
  
    100% {
      opacity: 1;
      transform: translateY(0);
    }
 }