*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: #625a54;
  background-image: url(../images/bg.png);
  overflow-x: hidden;
}

body {
  position: relative;
}

h1 {
  font-size: min(4.4rem, 12vw);
  white-space: nowrap;
}

h2 {
  font-size: 2.5rem;
}

h1,
h2 {
  color: #5d5650;
  margin-bottom: 0rem;
  margin-top: 2.7rem;
  font-family: "Dancing Script", cursive;
}

p {
  margin-bottom: 0rem;
  width: max(85%, 300px);
}

.small {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

iframe {
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 300px;
  filter: grayscale(100%) brightness(90%) contrast(130%);
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

nav img {
  display: block;
  width: 26px;
  height: auto;
}

nav a {
  transition: transform 0.3s ease;
  filter: grayscale(50%);
}

nav a:hover {
  transform: translateY(-1px);
}

li {
  text-align: left;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: min(85%, 600px);
  padding: 2rem 5rem;
  text-align: center;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.3);
}

.flowers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.flowers-left,
.flowers-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((90% - min(60%, 600px)) / 2);
  background-repeat: repeat-y;
  background-size: 100% auto;
  pointer-events: none;
}

.flowers-left {
  left: 0;
  background-image: url("../images/flowers-left.png");
  background-position: left top;
}

.flowers-right {
  right: 0;
  background-image: url("../images/flowers-right.png");
  background-position: right top;
}

a {
  color: #625a54;
  font-weight: bold;
  transition: filter 0.3s ease;
}

a:hover {
  filter: brightness(180%);
}

a.button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  margin-top: 1rem;
  background: #6e655d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

a.button:hover {
  filter: brightness(140%);
  transform: translateY(-1px);
}
