* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
}

main {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
main .navbar {
  height: 60px;
  width: 100%;
  background: linear-gradient(to right, yellow, #ff5e00, rgb(0, 251, 255));
  z-index: 10;
  text-align: center;
  font-size: 20px;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
main .section1 {
  height: 1090vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, yellow, #ff5e00, rgb(0, 251, 255));
  overflow: hidden;
  gap: 10px;
}
main .section1 section {
  position: relative;
  height: 100%;
  flex-grow: 1;
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
main .section1 section .bottom {
  position: absolute;
  left: 0;
  bottom: -100px;
  width: 100%;
  height: 100px;
  background: #39aacc;
  transition: all 0.7s ease;
  border-radius: 0 0 20px 20px;
  padding: 10px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
main .section1 section .bottom h1 {
  font-size: 28px;
  color: #bb5e28;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
main .section1 section .bottom p {
  font-size: 18px;
  color: #f0f0f0;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
main .section1 section:hover {
  flex-grow: 3;
  border-radius: 20px;
}
main .section1 section:hover .bottom {
  bottom: 0;
  background: linear-gradient(to right, rgba(18, 18, 18, 0.3882352941), rgba(33, 37, 33, 0.168627451));
  border-radius: 20px 20px 0 0;
}
main .section1 section:nth-child(1) {
  background-image: url("./assets/panda1.jpeg");
}
main .section1 section:nth-child(2) {
  background-image: url("./assets/panda2.jpeg");
}
main .section1 section:nth-child(3) {
  background-image: url("./assets/panda3.jpeg");
}
main .section1 section:nth-child(4) {
  background-image: url("./assets/panda4.jpeg");
}
main .section1 section:nth-child(5) {
  background-image: url("./assets/panda5.jpeg");
}

@media (max-width: 768px) {
  main .section1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    overflow-x: auto;
    overflow-y: auto;
    gap: 20px;
    padding: 10px;
  }
  main .section1 section {
    width: 100%;
    height: 200px;
    flex-grow: 1;
    border-radius: 10px;
  }
  main .section1 section .bottom {
    height: 50px;
    border-radius: 0 0 10px 10px;
  }
  main .section1 section .bottom h1 {
    font-size: 18px;
  }
  main .section1 section .bottom p {
    font-size: 14px;
  }
  main .section1 section:hover {
    transform: scale(1.1);
    flex-grow: 2;
  }
}/*# sourceMappingURL=style.css.map */