:root {
  --bg-color: #10503a;
  --text-color: #181818;
  --surface-color: #f9f2e3;
  --text-contrast-color: #f9f2e3;
  --gold-color: #8e7015;
  --content-max-width: 1000px;
  /* --bg-color: #2b4c1d; */
  /* Paper color */
  /* --bg-color: #445c3a; */
  /* --text-color: #181818;
  --surface-color: #fbf8f2;
  --text-contrast-color: #fbf8f2; */
  --section-padding-x: 32px;
  --section-padding-y: 48px;
}

@media screen and (min-width: 568px) {
  :root {
    --section-padding-x: 48px;
    --section-padding-y: 48px;
  }
}

p {
  max-width: 40ch;
  text-wrap: pretty;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* body {
  background: linear-gradient(
    90deg,
    #273421 1px,
    #273421 2px,
    var(--bg-color) 3px
  );
  background-size: 5px 5px;
} */

/* body {
  background-image: url("http://www.transparenttextures.com/patterns/textured-paper.png");
  background-color: var(--bg-color);
}

body {
  background: url(https://grainy-gradients.vercel.app/noise.svg);
  background-color: var(--bg-color);
  backdrop-filter: blur(1px) brightness(50%);
} */

.hero {
  --hero-height: 75vh;
  /* padding-top: 10vh; */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 10vh 10vh;
  place-items: center;
  margin-bottom: 10vh;
}

.hero > div {
  background: url("images/desktop-banner-25.jpg") no-repeat center center/cover;
  filter: blur(4px) brightness(0.85);
  width: 100%;
  height: var(--hero-height);
  grid-row: 1 / 3;
  grid-column: 1;
}

.hero > img {
  width: 100%;
  max-width: 1200px;
  height: var(--hero-height);
  object-fit: cover;
  object-position: top;
  grid-row: 1 / 3;
  grid-column: 1;
  z-index: 2;
  /* border: 8px solid var(--surface-color); */
}

@media screen and (min-width: 768px) {
  .hero {
    --hero-height: 85vh;
  }
}

header {
  background-color: var(--surface-color);
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
  width: fit-content;
  padding: 12px 32px;
  text-align: center;
  grid-row: 2 / 4;
  grid-column: 1;
  z-index: 3;
}

h1 {
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 60px;
  margin: 0;
}

header > p {
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  margin: 0;
}

@media screen and (min-width: 568px) {
  h1 {
    font-size: 60px;
  }
  header > p {
    font-size: 40px;
  }

  h2 {
    font-size: 48px;
  }
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 120px;
  }
  header > p {
    font-size: 70px;
  }

  h2 {
    font-size: 48px;
  }
}

.card {
  background-color: var(--surface-color);
  padding: 60px 60px;
  clip-path: path(
    "M42.2894 45.1407C107.709 -43.5927 703.139 21.8474 738.621 45.1407C774.102 68.4339 812.91 619.69 738.621 703.987C664.331 788.284 88.8592 747.244 42.2894 703.987C-4.28043 660.729 -23.1302 133.874 42.2894 45.1407Z"
  );
  max-width: 50%;
}

h2 {
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  margin: 0;
}

.card > p {
  font-size: 20px;
}

.venue-section {
  position: relative;
  background-color: var(--surface-color);
}

.venue-section a,
a:visited {
  color: #b76a56;
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  place-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: var(--content-max-width);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.image-frame {
  border: 7px solid white;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) {
  .image-frame {
    border-width: 10px;
  }
}

.flower-image-1 {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
}

@media screen and (min-width: 768px) {
  .flower-image-1 {
    top: 2vw;
    left: 4vw;
    right: unset;
    width: 100px;
  }
}

.green-section {
  color: var(--text-contrast-color);
  max-width: var(--content-max-width);
  min-height: 300px;
  margin: 0 auto;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.times {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px 50px;
  margin: 40px 0;
}

@media screen and (min-width: 768px) {
  .times {
    flex-direction: row;
  }
}

.time-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toastmaster-section {
  background-color: var(--surface-color);
  padding: var(--section-padding-y) var(--section-padding-x);
  position: relative;
}

.toastmaster-wrapper {
  margin: 0 auto;
  max-width: var(--content-max-width);
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.portrait-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  margin-top: 30px;
}

.portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
}

.image-portrait {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold-color);
}

@media screen and (min-width: 568px) {
  .image-portrait {
    width: 180px;
    height: 180px;
    border-width: 4px;
  }
}

.placeholder-circle {
  background: linear-gradient(to top in lch, #7c9a98, var(--surface-color));
  /* background-color: #a5c1b7; */
}

.flex-wrap-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.phone-number {
  white-space: nowrap;
}

.flower-image-2 {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
}

@media screen and (min-width: 768px) {
  .flower-image-2 {
    bottom: 2vw;
    top: unset;
    right: 4vw;
    left: unset;
    width: 100px;
  }
}

.osa-section {
  background-color: var(--surface-color);
  display: grid;
  place-items: center;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.osa-section > div {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
}

.osa-section form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-input-wrapper {
  display: grid;
  gap: 12px;
}

input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.flex-space {
  display: flex;
  justify-content: space-between;
  align-items: center;

  & > p {
    margin: 0;
  }
}

.secondary-text {
  color: #555;
  font-size: 14px;
  font-style: italic;
}

.big-footer-text {
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  color: var(--text-contrast-color);
  text-align: center;
  padding: var(--section-padding-y) var(--section-padding-x);
  text-wrap: pretty;
  margin: 0 auto;
}

/* CSS */
.button-30 {
  --button-color: var(--gold-color);
  --button-shadow-color: #5d470f;
  align-items: center;
  appearance: none;
  background-color: var(--button-color);
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    var(--button-shadow-color) 0 -3px 0 inset;
  box-sizing: border-box;
  color: white;
  height: 48px;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.button-30:focus {
  box-shadow: var(--button-shadow-color) 0 0 0 1.5px inset,
    rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    var(--button-shadow-color) 0 -3px 0 inset;
}

.button-30:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    var(--button-shadow-color) 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-30:active {
  box-shadow: var(--button-shadow-color) 0 3px 7px inset;
  transform: translateY(2px);
}

.password-container {
  background-color: var(--surface-color);
  display: grid;
  place-items: center;
  gap: 16px;
  padding: var(--section-padding-y) var(--section-padding-x);
}
