@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600&display=swap");

/* reset CSS */

* {
  font-family: Epilogue;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
}

/* navbar */

nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
  background: #7d7a6d;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0 0 2.5px 2.5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  justify-content: space-between;
  padding: 2rem 4rem;
}

nav ul a {
  color: white;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-style: italic;
}

/* background-images of sections */

.section-1 {
  display: grid;
  place-items: center;
  width: 100%;
  background: linear-gradient(0deg, #00000088 60%, #ffffff44 100%),
    url("../img/waterfall.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  height: 90vh;
}

.section-1 div {
  color: white;
  text-align: center;
  display: grid;
  gap: 1.5rem;
  place-items: center;
  font-size: 1.5rem;
}

.section-1 div p {
  font-size: 1.2rem;
  width: 70%;
  line-height: 2rem;
}

.section-1 div button {
  padding: 0.75rem 1.5rem;
  background-color: #0d71be;
  box-shadow: 0 5px 0 #034679;
  color: white;
  border: none;
  border-radius: 1rem;
}

.section-1 div button:active {
  box-shadow: none;
  transform: translateY(5px);
}

.section-2 {
  display: grid;
  align-items: center;
  width: 100%;
  background: linear-gradient(0deg, #00000088 60%, #ffffff44 100%),
    url("../img/bridge.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  height: 100vh;
}

.section-2 div {
  display: grid;
  gap: 2rem;
  color: white;
  padding: 4rem;
}

.section-2 h2 {
  font-size: 2.3rem;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  width: max-content;
}

.section-2 p {
  font-size: 1.5rem;
  width: 50%;
  line-height: 2rem;
}

.section-3{
  padding: 1rem;
  margin: 2rem 0;
}

.section-3 > div{
  text-align: center;
  display: grid;
  gap: 1rem;
  line-height: 2rem;
}


@media only screen and (max-width: 900px) {
  .nav-main {
    display: none;
  }

  .section-2 div {
    padding: 2rem;
  }

  .section-2 p {
    width: 90%;
  }

  nav ul {
    padding: 2rem;
  }
}

@media only screen and (min-width: 900px) {
  .nav-mobile {
    display: none;
  }
}

/* scroll bar */

::-webkit-scrollbar {
  background-color: black;
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: white;
}
