:root {
  --colorHex1:#c54c82; /*darkPink*/
  --colorHex2:#ec729c; /*pink*/
  --colorHex3:#f4aeba; /*lightPink*/
  --colorHex4:#fdfdcb; /*fdfdcb*/

  --lightBlack:#333333;

  --logo-fonts: "Imperial Script", cursive;
  --title-fonts: "Parkinsans", sans-serif;
}

.imperial-script-regular {
  font-family: "Imperial Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.parkinsans-title {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

html, * {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  color:var(--lightBlack);
  font-family: var(--title-fonts);
}

h1 {
  text-align: center;
}

section {
  /*min-height:100vh;*/
  padding: 20px;
  background-size: cover;
}

section#nothing {
  display:flex;
  justify-content: center;
  align-items: center;
}

section#nothing h1 {
  font-family: var(--title-fonts);
  font-size: 3em;
  padding: 0.2em; 
}

section#nothing h1 span {
  color: #fff;
  background-color: #333;
  margin-right: 50px;
  padding: 0 0.3em;
}

section#nothing h1 span:first-of-type,
section#nothing h1 span:last-of-type {
  margin-right:0px;
  margin-left:50px;
}

section#events {
  display:flex;
  flex-direction:row;
  max-width:100%;
}

div.event {
  padding:20px;
  border:1px solid var(--lightBlack);
  flex-shrink: 0;
  flex-grow: 1;
  background-size: cover;
}

div.event h1, 
div.event h2 {
  font-family: var(--title-fonts);
  display: inline-block;
  font-size: 3em;
  padding: 0.2em;
  color: #fff;
}

div.event h2 {
  font-size: 1.5em;
}

div#night-party {
  /*background-image:url('https://images.unsplash.com/photo-1566737236500-c8ac43014a67');*/
}

div#night-party h1 {
  background-color: #dd1da1;
}

div#wedding-ceremony {
  /*background-image:url('https://images.unsplash.com/photo-1680490958064-14ed3acf3498');*/
}

div#wedding-ceremony h1 {
  background-color: #f38911;
}

div#villa-brunch {
  /*background-image:url('https://images.unsplash.com/photo-1520869578617-557561d7b114');*/
}

div#villa-brunch h1 {
  background-color: #4d361e;
}

/*HEADER*/
header {
  width:100%;
  background:var(--colorHex1);
}

.navbar {
  position: relative;
  width:80%;
  display:flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.logo {
  font-family:var(--logo-fonts);
}

.logo img {
  width:100%;
}

.menu {
  list-style: none;
}

.menu li {
  position: relative;
  float:left;
}

.menu li a {
  font-size:1.2rem;
  color:var(--colorHex3);
  display:block;
  text-decoration: none;
  padding:1rem 1.5rem;
}

.menu li a:hover {
  color: var(--colorHex4);
}

.submenu {
  position: absolute;
  left:0;
  background: #101d23;
  display:none;
  transition: all .3s ease-in-out;
}

.submenu-wrapper:hover .submenu,
.submenu-wrapper:focus-within .submenu{
  display: initial;
}

.submenu li{
  width:100%;
  border-top:.1rem solid #222f37;
  list-style: none;
}

.toggle-btn {
  display: none; /* Initially hide the toggle button */
  z-index:1000;
}

.icon {
  position: relative;
  width: 1.5rem;
  height: .8rem;
  cursor: pointer;
  z-index:100;
}

.icon::before {
  top: 0;
  right:0;
  content: '';
  position: absolute;
  width: 2rem;
  height: .2rem;
  background-color: #d6e0f9;
  transition: all 0.3s ease-in-out;
}

.icon::after {
  bottom: 0;
  right:0;
  content: '';
  position: absolute;
  width: 1.5rem;
  height: .2rem;
  background-color: #d6e0f9;
  transition: transform 0.3s ease-in-out;
}

/* Rotate the before and after lines to create the close icon effect */
.icon.active::before {
  width:1.5rem;
  transform: rotate(-45deg) translate(-0.21rem, 0.21rem);
}

.icon.active::after {
  transform: rotate(45deg) translate(-0.21rem, -0.21rem);
}


@media (max-width: 991px){
  .toggle-btn{
      display: block;
  }

  .menu{
      width:100%;
      position:absolute;
      top:100%;
      left:0;
      background: #101d23;
      border-top: .1rem solid #222f37;
      display:none;
  }

  .menu.active{
      display:initial
  }

  .menu li{
      width:100%;
      border-top: .1rem solid #222f37;
  }

  .submenu{
      position: relative;
      width:100%;
  }

  .submenu li{
      background: #222f37;
      border-top: .1rem solid #101d23;
  }

  .submenu li a{
      padding-left:2rem;
  }
}