* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
}
body {
  cursor: url(cursor1.png), pointer;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  background-image: url(Page\ 6.jpeg);
}
a:hover {
  cursor: url(cursor2.png), pointer;
}
a:link {
  text-decoration: none;
}
#back {
  background-color: #0c3d16;
  background-repeat: repeat;
  background-size: cover;
  /* position: absolute; */
  width: 100%;
  height: auto;
  background-position: center center;
}
#png {
  background-image: url(DSC01623.JPG);
  height: 180px;
  width: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
Pictures {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  margin: -30px;
  top: 2000px;
  left: 30px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}
*/ #Pictures img {
  width: 25%;
  height: 25%;
  object-fit: cover;
}

h1 {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  border: 5px solid rgb(235, 209, 179);
  padding: 10px 10px;
  background-color: rgb(231, 220, 188);
  width: 100%;

  display: inline-block;
  padding: 20px 40px;
  /* margin: 180px auto; */
}
#aboutsam {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding-top: 20px; /* You can adjust this value */
  margin-top: 0; /* Prevent unintended margins */
}

#aboutsam img {
  height: 70vh;
  object-fit: cover;
}

h2 {
  font-size: 1.9rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  padding: 1px 1px;
  background-color: hsl(56, 42%, 64%);
  height: 70vh; /* Set same height as the images */
  display: flex;
  align-items: center;
  justify-content: center;
}

#aboutsam {
  justify-content: center;
}

nav {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  position: relative;
  background: rgb(164, 202, 149);
  display: flex;
  justify-content: space-evenly;
  padding: 10px 10px;
  margin: 272px auto;
  margin-top: auto;
}

nav > div {
  color: rgb(255, 255, 255);
}

#darb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  top: 30px;
}

#darb img {
  max-height: 60vh;
}

#gif {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  top: 30px;
}
#gif img {
  max-height: 60vh;
}
@media (max-width: 768px) {
  #aboutsam {
    flex-direction: column;
    align-items: center;
  }
}
