/* root */
:root {
  --primary: #b6895b;
  --bg: #010101;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

/* body */
body {
  font-family: "Poppins", sans-serif;
  background-color: rgba(255, 255, 255, 0.905);
  animation-name: rotate;
  animation-duration: 40s;
  min-height: 1200px;
}

@keyframes rotate {
  from {
    background-color: rgba(255, 255, 254, 0.905);
  }
  to {
    background-color: rgb(235, 179, 254);
  }
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(223, 223, 223, 0.4);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 500;
  color: #580101;
  font-style: italic;
}

.navbar .navbar-logo span {
  color: var(--primary);
  display: inline-block;
  font-size: 2rem;
  margin: 0;
}

.navbar .navbar-nav a {
  color: #580101;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 2rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.6);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#book-open {
  display: none;
}

/* hero section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url(image/bg4.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rbga(1, 1, 3) 3%,
    rgba(255, 255, 255, 0) 25%
  );
}

.hero .content {
  padding: 1.3rem 7%;
  max-width: 30rem;
  margin-top: 1rem;
  font-size: 2.5rem;
}
.hero.content h1 {
  font-size: 15em;
  color: #fff;
  text-shadow: 1px 1px 3px, rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: #c23dfbae;
}

.hero::after .content h1 {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.8;
  font-weight: 100;
  text-shadow: 2px 2px 3px rgba(1, 1, 3, 0.5);
  mix-blend-mode: difference;
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 1rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.8);
}

/* date section */
.date .row {
  display: flex;
}

.date .row {
  flex: 1 1 45rem;
}

.date .row .date-img {
  flex: 5 8 20%;
  width: 100%;
  height: 140%;
  justify-content: center;
}

.date .row .content {
  flex: 1 1 64rem;
  padding: 0 1rem;
}

.date .row .content h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.date .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.6;
}

.date,
.event,
.contact,
.location {
  padding: 10rem 7% 1.4rem;
}

.date h2,
.event h2,
.contact h2,
.location h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.date h2 span,
.event h2 span,
.contact h2 span,
.location h2 span {
  color: var(--primary);
}

/* event section */
.event h2,
.contact h2,
.location h2 {
  margin-bottom: 1rem;
}

.event p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.event .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.event .row .menu-card {
  text-align: center;
  padding-bottom: 5rem;
}

.event .row .menu-card img {
  border-radius: 500%;
  width: 30%;
}

.event .row .menu-card .menu-card-title {
  margin-top: 1.5rem auto 0.5rem;
}

/* contact section */

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #fdf9f9;
}

.contact .row .map {
  flex: 5 5 20%;
  width: 80%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
  padding: 1rem;
}

.contact .row form {
  flex: 1 1 3rem;
  padding: 0.5rem 0.5rem;
  text-align: center;
  border-radius: 1rem;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: rgba(251, 185, 70, 0.5);
  border: 3px solid #eee;
  padding: 0.5rem;
}
/* location section */

.location .row .map {
  flex: 5 8 20%;
  width: 100%;
  justify-content: center;
  border-radius: 1rem;
}

/* media queries */

/* laptop */

@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* tablet */

@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }
  #book-open {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(45, 45, 45, 0.8);
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }
  .navbar .navbar-nav a {
    color: rgb(255, 255, 255);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
}

.navbar .navbar-nav a::after {
  transform-origin: 0 0;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.2);
}

.about .row {
  flex-wrap: wrap;
}

.about .row .about-img img {
  height: 24rem;
}

.about .r .content {
  padding: 0;
}

.about .row .content h3 {
  font-size: 1.6rem;
}

.menu p {
  font-size: 1.2rem;
}

/* mobile phone */

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .navbar .navbar-nav a::after {
    transform: scaleX(0.3);
  }
}
