* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 16px;
}

/* Styling for all Pages  */
body {
  background-color: #f2d1c9;
  height: 100%;
}

nav {
  height: 50px;
  width: 100%;
  background-color: purple;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  padding: 15px;
  gap: 30px;
}

.lore-nav {
  color: white;
  font-family: hatolie;
  font-size: 20px;
  font-stretch: semi-expanded;
}

nav a {
  color: white;
  text-decoration: none;
  font-family: hatolie;
  font-size: 20px;
  font-stretch: semi-expanded;
}

nav a:hover {
  text-decoration-style: solid;
  border-bottom: 2px solid #f2d1c9;
  padding-bottom: 3px;
}
nav ul li a.active {
  font-weight: bold;
}

ul li ul.dropdown li {
  display: block;
}

ul li ul.dropdown {
  width: 100%;
  position: absolute;
  z-index: 999;
  display: none;
  background: #462749;
}

ul li:hover ul.dropdown {
  display: block;
}

.headerHome {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/beautiful-wide-shot-full-moon-night-sky.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  color: white;
  font-size: 30px;
  font-family: hatolie;
  font-stretch: semi-expanded;
}

@font-face {
  font-family: hatolie;
  src: url(Hatolie.ttf);
}

@font-face {
  font-family: golding;
  src: url(../fonts/Golding\ Brittey\ -\ Regular.otf);
}

.intro {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.intro p {
  width: 830px;
  font-family: golding;
  font-stretch: semi-expanded;
  font-size: 20px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #462749;
}

h3 {
  font-family: hatolie;
  font-stretch: semi-expanded;
  font-size: 30px;
  color: #462749;
}

.haliya {
  margin-left: 100px;
  margin-top: 50px;
}

.haliya #flexbox {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  color: #462749;
}

.haliya p {
  width: 600px;
}

.haliya img {
  width: 20%;
  border-radius: 30px;
}

.chandra {
  margin-left: 100px;
  margin-top: 50px;
}

.chandra #flexbox2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  color: #462749;
}

.chandra p {
  width: 600px;
}

.chandra img {
  width: 20%;
  border-radius: 30px;
}

.kuutar {
  margin-left: 100px;
  margin-top: 50px;
}

h3 {
  font-family: hatolie;
  font-stretch: semi-expanded;
  font-size: 30px;
}
.kuutar #flexbox3 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  color: #462749;
}
.kuutar p {
  width: 600px;
}
.kuutar img {
  width: 20%;
  border-radius: 30px;
}

.khonshu {
  margin-left: 100px;
  margin-top: 50px;
}

.khonshu #flexbox4 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  padding-bottom: 50px;
  color: #462749;
}

.khonshu p {
  width: 600px;
}

.khonshu img {
  width: 20%;
  border-radius: 30px;
}

.headerChandra {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/chandraHeroImage1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.content-chandra {
  margin: 60px auto;
  max-width: 1300px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 8px 8px 25px rgba(70, 39, 73, 0.1);
  color: #462749;
}

.list-origin-chandra {
  margin-left: 40px;
}

.bold-chandra {
  font-weight: bold;
  color: #462749;
  font-size: 18px;
}

.text-img-chandra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.text-chandra {
  width: 60%;
  font-size: 16px;
  line-height: 1.6;
}

.image-chandra {
  width: 30%;
  transition: transform 0.3s ease-in-out;
  margin-right: 50px;
}

.image-chandra img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(70, 39, 73, 0.2);
}

.image-chandra:hover {
  transform: scale(1.05);
}

.kuutarTemple p {
  width: 600px;
}
.kuutarTemple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.image-khonshu {
  width: 30%;
  transition: transform 0.3s ease-in-out;
  margin-right: 50px;
}
.image-khonshu img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(70, 39, 73, 0.2);
}

.image-khonshu:hover {
  transform: scale(1.05);
}

.popup2 {
  width: 300px;
  background-color: white;
  border-radius: 8px;
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  visibility: hidden;
  transition: transform 0.4s, top 0.4s;
  z-index: 999;
  padding: 20px;
}
.open-popup2 {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.feedback-box {
  font-family: golding;
  margin-top: 50px;
  padding: 20px;
  border: 2px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: #e086d3;
  border-radius: 10px;
  box-shadow: 6px 6px 20px 5px rgba (35, 30, 128, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-question {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feedback-box button {
  padding: 15px 15px;
  background-color: #462749;
  margin-left: 5px;
  color: #f2d1c9;
  border-radius: 15%;
  font-family: golding;
  cursor: pointer;
}

.headerKuutar {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/kuutarHeader.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}
.maiden-prayer {
  width: 270px;
  font-style: italic;
}

.headerKhonshu {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/khonshu\ header.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.headerHaliya {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/HaliyaCover.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.image-haliya {
}
.legends {
  padding-bottom: 30px;
}

.bakunawa-button {
  background-color: #462749;
  color: antiquewhite;
  padding: 10px;
  border-radius: 10px;
  transition-duration: 0.4s;
}

.bakunawa-button:hover {
  background-color: #e086d3;
  color: #462749;
}

.headerBakunawa {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/bbakunawa.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.references ul li a {
  color: #e086d3;
  cursor: pointer;
}

.myths {
  margin-top: 50px;
}

.end {
  margin-top: 30px;
}
.poll {
  position: absolute;
  top: 800px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: #e086d3;
  border-radius: 10px;
  box-shadow: 6px 6px 20px 5px rgba (35, 30, 128, 0.05);
}

.poll .question {
  padding: 20px;
  color: #462749;
  font-size: 18px;
  border-bottom: 1px solid #462749;
  font-family: golding;
}

.poll .answers {
  padding: 20px 20px 10px;
}

.poll .answers .answer {
  position: relative;
  width: 100%;
  height: 40px;
  padding: 0px 10px;
  line-height: 40px;
  color: #462749;
  margin-bottom: 10px;
  border: 1px solid #462749;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.poll .answers .answer.selected {
  border: 2px solid #f2d1c9;
}

.poll .answers .answer span.percentage-value {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 40px;
  transform: translateY(-50%);
  color: #462749;
  font-size: 15px;
}

.poll .answers .answer span.percentage-bar {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0%;
  height: 100%;
  background: #f2d1c9;
  z-index: -1;
  transition: width 300ms ease-in-out;
}

.submitButton {
  margin-top: 27%;
  margin-left: 46%;
  padding-bottom: 50px;
}

.submitButton button {
  padding: 15px 15px;
  background-color: #462749;
  color: #f2d1c9;
  border-radius: 15%;
  font-family: golding;
  cursor: pointer;
}

.popup {
  width: 300px;
  height: 350px;
  background-color: white;
  border-radius: 8px;
  position: absolute;
  top: 0;
  /* top: 115%; */
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  visibility: hidden;
  transition: transform 0.4s, top 0.4s;
}

.open-popup {
  visibility: visible;
  top: 115%;
  transform: translate(-50%, -50%) scale(1);
}

.popup img {
  width: 150px;
  margin-top: -15%;
  padding: 20px;
}

.popup h2 {
  color: #462749;
  font-family: hatolie;
  font-size: 30px;
}
.popup p {
  color: #462749;
  font-family: golding;
  font-size: 14px;
  padding: 15px 10px;
}

.popup button {
  padding: 10px;
  background-color: #e086d3;
  border: 0;
  outline: none;
  border-radius: 10px;
  color: #462749;
  font-size: 30px;
  font-family: golding;
  cursor: pointer;
}

.header-comp {
  height: 500px;
  background-color: antiquewhite;
  background-image: url(../images/Phasesmoon.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.comparison-section {
  max-width: 1600px;
  height: 500px;
  border-radius: 15px;
  font-family: hatolie;
  text-align: center;
}

.comparison-table {
  width: 100%;
  height: 90%;
  border: 1px;
  margin-top: 20px;
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #462749;
  padding: 15px;
  text-align: center;
  color: #462749;
  background-color: #fff0f8;
}

.comparison-table th {
  background-color: #e086d3;
  font-weight: bold;
}

.comparison-table tr:nth-child(even) td {
  background-color: #fce6f3;
}

.fun-facts {
  margin: 50px auto;
  padding: 30px;
  /* background-color: #f2d1c9; */
  border-radius: 15px;
  max-width: 1200px;
  font-family: hatolie;

  text-align: center;
}

.fun-facts h4 {
  color: #462749;
  font-size: larger;
  margin-bottom: 30px;
}

.facts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.fact-box {
  background-color: #e086d3;
  color: #462749;
  padding: 20px;
  border-radius: 10px;
  width: 260px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}
