@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}
:root {
  --dark: #003249;
  --light: #fefefe;
  --green: #51b53f;
  --red: #b53f51;
  --blue: #3f51b5;
}
header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url(images/borobudur.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-bottom: 100px;
}
header .shape {
  width: 100%;
  height: 100%;
  background: var(--green);
  position: absolute;
  clip-path: circle(400px at left 200px);
}

nav.navigation {
  position: relative;
  width: 100%;
  height: 160px;
  background: linear-gradient(var(--dark), transparent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8%;
}
.navigation .logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navigation .logo img {
  width: 80px;
  height: 80px;
}

.navigation ul.nav-items li {
  display: inline-block;
  list-style: none;
  margin: auto 20px;
}
ul.nav-items li a.nav-item {
  text-decoration: none;
  color: #fff;
  font-weight: 300;
}
ul.nav-items li a.nav-item.active {
  color: var(--red);
  font-weight: bold;
}
ul.nav-items li a.nav-item:hover {
  color: var(--red);
  border-bottom: 4px solid var(--red);
  padding-bottom: 5px;
  transition: 0.5s;
}

.opening-text {
  width: 80%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 30px 8%;
  color: var(--light);
  background: rgba(255, 255, 255, 0);
  border-radius: 10px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}
.opening-text h2 {
  font-weight: 300;
  letter-spacing: 0.23em;
}
.opening-text h1 {
  font-size: 4.5rem;
  line-height: 1em;
}
.opening-text h1 span {
  color: var(--light);
  font-size: 6rem;
}
.opening-text p {
  width: 80%;
  margin: 20px 0;
}
.opening-text button {
  width: 150px;
  height: 50px;
  background: var(--green);
  outline: none;
  border: none;
  border-radius: 30px;
  color: var(--light);
  font-size: 1em;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.opening-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--red), transparent);
  clip-path: circle(200px at right 60px);
  z-index: -1;
}
.opening-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(30deg, var(--dark), transparent);
  clip-path: circle(200px at right 400px);
  z-index: -1;
}

@media (max-width: 768px) {
  nav.navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  nav.navigation .nav-items {
    text-align: center;
  }
  .opening-text {
    width: 90%;
  }
  .opening-text h1 {
    font-size: 3em;
    width: 100%;
  }
  .opening-text h1 span {
    font-size: 3.5rem;
  }
  .opening-text p {
    width: 100%;
  }
}
