@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap");
* {
  font-family: "Nunito", sans-serif;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  text-transform: capitalize;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background: fffafb;
  box-sizing: border-box;
}
header {
  position: absolute;
  top: 0;
  z-index: 10;
  margin: 10px 50px;
}
section#accomodation,
section#schedule {
  padding: 10px 20px;
}
.white-text {
  color: #fffafb;
}
.text-center {
  text-align: center;
}
.menu-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}
.navbar a {
  margin: 0 10px;
  font-size: 20px;
  text-decoration: none;
  color: #fffafb;
  text-transform: uppercase;
}
.home-page {
  position: relative;
  height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.home-page .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("Rings.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.5);
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 15px;
  margin: 10px 0;
}
p {
  font-size: 20px;
  margin: 10px 0;
}
span {
  font-size: 15px;
  margin: 5px 0;
}
.accommodation-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 20px;
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid black;
  width: 20%;
  padding: 12px;
  border-radius: 13px;
  margin: 5px 10px;
}
a.select-property {
  background: #dbc283;
  width: 50%;
  padding: 8px;
  color: #fffafb;
  font-size: 15px;
  border: 1px solid #fffafb;
  border-radius: 15px;
  text-align: center;
}
.white-wedding {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wedding-card {
  width: 75%;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 15px 0;
}
@media screen and (max-width: 768px) {
  .home-page {
    height: 500px;
  }
  header {
    margin: 0;
  }
  h2 {
    font-size: 25px;
  }
  p {
    font-size: 15px;
  }
  .navbar a {
    font-size: 16px;
  }
  .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    align-items: center;
  }
  .accommodation-container {
    flex-wrap: wrap;
  }
  section#accomodation,
  section#schedule {
    padding: 5px 10px;
  }
  .wedding-card {
    width: 100%;
  }
}
