*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --col-gap-full: 8rem;
  --col-gap-tablet: 4rem;
  --max-width: 1530px;
  --page-width: calc(100% - 4rem);
}

.meetings-bkgd-100 {
  background: #121212;
}

.meetings-bkgd-200 {
  background: #21272f;
}

.meetings-min-height {
  min-height: 100vh;
}

.meetings-coming-soon {
  color: var(--clr-text-100);
}

.save-the-date-container {
  padding-bottom: 1rem;
}

.save-the-date-container__heading {
  color: var(--clr-main);
  font-size: 1rem;
  font-weight: 300;
}

.save-the-date-container__text {
  color: var(--clr-text-200);
  font-weight: 300;
  text-wrap: balance;
  padding-bottom: 0.5rem;
}

.meetings-bbq-header {
  color: var(--clr-main);
  font-size: 1.2rem;
  font-weight: 300;
}

.meetings-bbq-grid {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
}

.meetings-bbq-important-text {
  color: var(--clr-accent-one) !important;
}

.meetings-section-container {
  width: var(--page-width);
  max-width: var(--max-width);
  margin: 0 auto;
}

.next-meeting-title {
  color: var(--clr-main);
  font-weight: 300;
  font-size: 1.4rem;
  padding-bottom: 0.3em;
}

.meetings-section-grid {
  padding: 2rem 1.5rem 11rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}

.meetings-meeting-details {
  background: #232323;
  padding: 1em 1.5em 2em 2em;
  height: fit-content;
  max-width: 590px;
  width: 100%;
  clip-path: polygon(100% 0, 100% 75%, 85% 100%, 0 100%, 0 0);
}

.meeting-email-link {
  color: var(--clr-main);
}

.meeting-email-link:hover {
  text-decoration: underline;
}

.general-meeting-info {
  place-self: start;
  margin-top: 40px;
  margin-top: 15px;
  width: fit-content;
}

.general-meeting-info > p {
  color: var(--clr-text-200);
  font-weight: 400;
  margin-bottom: 0.7em;
  max-width: 50ch;
}

@media (max-width: 1000px) {
  .meetings-section-container {
    width: calc(100% - 2rem);
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .meetings-section-grid {
    grid-template-columns: 410px 1fr;
  }
}

@media (max-width: 750px) {
  .meetings-section-grid {
    grid-template-columns: 1fr;
  }

  .general-meeting-info {
    padding: 2em 2em 2em 2em;
    place-self: start;
    width: 100%;
    margin-top: 0;
  }

  .general-meeting-info > p {
    max-width: 100%;
  }

  .meetings-meeting-details {
    max-width: 100%;
    min-width: 100%;
    clip-path: none;
  }
}

.meetings-grid-area {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 1em;
  padding-right: 3rem;
}

.additional-info-header {
  padding-top: 1em;
  padding-bottom: 0.5em;
}

.additional-info-container {
  grid-column: 2/3;
  padding-right: 3rem;
}

.meetings-grid-area + .meetings-grid-area {
  margin-top: 0.6em;
}

.meetings-meeting-details h2 {
  color: var(--clr-text-300);
  font-size: 1rem;
  font-weight: 400;
}

.meetings-meeting-details__text {
  font-size: 1rem;
  color: var(--clr-text-100);
  font-weight: 300;
}

.meetings-meeting-details p + p {
  margin-top: 0.6em;
}

.meetings-images-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 28px 224px;

  /* FOR HOLIDAY MEETING ONLY */
  grid-template-rows: 500px 28px 224px;

  margin: 0rem 2rem;
}

.meetings-img-one--container,
.meetings-img-two--container {
  position: relative;
}

.meetings-img-one--container {
  place-self: end center;
}

.meetings-img-two--container {
  place-self: end start;
  grid-column: 2/3;
  grid-row: 2/3;
}

.meetings-img-one {
  width: auto;
  height: 400px;
  animation: fade-background-image-full 5s 0.5s ease both;
  /* animation: fade-background-image-full 5s 17s ease both; */
}

.meetings-img-two {
  width: auto;
  height: 350px;
  animation: fade-background-image-full 5s 1.5s ease both;
  /* animation: fade-background-image-full 5s 17s ease both; */
}

.meetings-img-one,
.meetings-img-two {
  box-shadow: 3px 6px 10px 0 rgba(18, 18, 18, 0.3);
}

.meetings-img-one--container::before {
  content: "";
  position: absolute;
  display: block;
  top: calc(100% - 30px);
  left: 105%;
  height: 35%;
  width: 1px;
  /* background: var(--clr-main); */
  /* FOR HOLIDAY ONLY */
  background: var(--clr-accent-one);
  opacity: 0.7;
}

.meetings-img-one--container::after {
  content: "";
  position: absolute;
  display: block;
  top: calc(100% + 40px);
  left: calc(100% - 30px);
  height: 1px;
  width: 190%;
  /* background: var(--clr-main); */
  /* FOR HOLIDAY ONLY */
  background: var(--clr-accent-one);
  opacity: 0.7;
}

.meetings-img-two--container::after {
  content: "";
  position: absolute;
  display: block;
  top: calc(100% + 60px);
  right: calc(100% + 100px);
  height: 1px;
  width: 60%;
  /* background: var(--clr-main); */
  /* FOR HOLIDAY ONLY */
  background: var(--clr-accent-one);
  opacity: 0.7;
}

@media screen and (max-width: 1200px) {
  .meetings-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 28px 224px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 480px 28px 224px;
  }

  .meetings-img-one {
    width: auto;
    height: 350px;
  }

  .meetings-img-two {
    width: auto;
    height: 300px;
  }

  .meetings-img-one--container::after {
    width: 130%;
  }

  .meetings-img-two--container::after {
    top: calc(100% + 50px);
    right: calc(100% + 15px);
  }
}

@media screen and (max-width: 1000px) {
  .meetings-img-one--container::after {
    width: 130%;
  }

  .meetings-img-two--container::after {
    right: calc(100% - 20px);
    width: 60%;
  }
}

@media screen and (max-width: 900px) {
  .meetings-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 28px 160px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 400px 28px 160px;
  }

  .meetings-img-one {
    width: auto;
    height: 300px;
  }

  .meetings-img-two {
    width: auto;
    height: 250px;
  }

  .meetings-img-one--container::after {
    width: 130%;
  }

  .meetings-img-two--container::after {
    top: calc(100% + 35px);
    right: calc(100% + 15px);
  }
}

@media screen and (max-width: 730px) {
  .meetings-section-grid {
    padding: 2rem 1.5rem 9rem 2rem;
  }

  .meetings-img-one--container::before {
    height: 45%;
  }

  .meetings-img-one {
    width: auto;
    height: 290px;
  }

  .meetings-img-two {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 600px) {
  .meetings-img-one--container::before {
    height: 55%;
  }

  .meetings-img-two--container {
    place-self: end;
  }

  .meetings-img-two {
    width: auto;
    height: 150px;
  }
}

@media screen and (max-width: 500px) {
  .meetings-section-grid {
    padding: 2rem 1.5rem 4rem 2rem;
  }

  .meetings-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 90px 20px 100px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 400px 20px 100px;
  }

  .meetings-img-one--container::before {
    height: 55%;
  }

  .meetings-img-two--container::after {
    top: calc(100% + 5px);
    right: calc(100% + 15px);
  }

  .meetings-img-two {
    width: auto;
    height: 150px;
  }
}

@media screen and (max-width: 650px) {
  .meetings-section-grid {
    padding: 0rem 0rem 14rem 0rem;
  }

  .meetings-meeting-details {
    padding: 1em 2.4em 2em 2em;
  }

  .meetings-section-container {
    width: calc(100% - 0rem);
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .meetings-section-container h1 {
    color: var(--clr-main);
    font-weight: 300;
    font-size: 1.2rem;
    padding-bottom: 0.5em;
  }

  .meetings-meeting-details h2 {
    /* font-size: .9rem; */
    font-size: 1rem;
  }

  .meetings-meeting-details p {
    /* font-size: 0.9rem; */
    font-size: 1rem;
  }

  .meetings-meeting-details p + p {
    margin-top: 0.6em;
  }

  .meetings-grid-area {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 1em;
  }

  .general-meeting-info {
    padding: 1em 2em 1em 2em;
  }

  .general-meeting-info p {
    font-size: 0.9rem;
  }

  .meetings-images-container {
    grid-template-rows: 90px 50px 30px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 400px 50px 30px;
  }

  .meetings-img-one--container::after,
  .meetings-img-one--container::before,
  .meetings-img-two--container::after {
    display: none;
  }

  .additional-info-container {
    grid-column: 2/3;
  }

  .additional-info-header {
    padding-bottom: 0em;
  }
}

@media screen and (max-width: 500px) {
  .meetings-images-container {
    grid-template-rows: 70px 20px 50px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 300px 20px 50px;
  }

  .meetings-img-one--container::before {
    height: 50%;
    top: calc(100% - 15px);
  }

  .meetings-img-two--container::after {
    top: calc(100% + 0px);
    right: calc(100% + 5px);
    width: 30%;
  }

  .meetings-img-one {
    width: 90%;
    height: auto;
  }

  .meetings-img-two {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 450px) {
  .meetings-grid-area {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .meetings-bbq-grid {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1rem;
  }
}

@media screen and (max-width: 400px) {
  .meetings-meeting-details {
    padding: 1em 1.4em 2em 1em;
  }

  .general-meeting-info {
    padding: 1em 1em 1em 1em;
  }

  .meetings-images-container {
    margin: 0rem 1rem;
  }
}

@media screen and (max-width: 350px) {
  .meetings-section-grid {
    padding: 0rem 0rem 10rem 0rem;
  }

  .meetings-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px 10px 30px;
    /* FOR HOLIDAY MEETING ONLY */
    grid-template-rows: 275px 10px 30px;
  }
}

@media screen and (max-width: 300px) {
  .meetings-section-grid {
    padding: 0rem 0rem 8rem 0rem;
  }
}

@media screen and (max-width: 230px) {
  .meetings-section-grid {
    padding: 0rem 0rem 5rem 0rem;
  }
}

/* Meetings Holiday Party */
.holiday-meetings-bkgd-100 {
  background: #21272f;
  /* position: relative; */
}

.holiday-relative {
  position: relative;
}
.holiday-hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 2rem;
}

@media (max-width: 1000px) {
  .holiday-hero-grid-wrapper {
    padding: 2rem 1.7rem 2rem 2rem;
    gap: 3rem;
  }
}

.holiday-hero-left-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.holiday-img-hero-container {
  width: 100%;
  position: relative;
  display: inline-block;
  border-radius: 3px;
  animation: fade-image-in 8s 10s ease-in both;
}

@keyframes fade-image-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}
.holiday-img-hero-container--overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 98%;
  background: #21272f;
  z-index: 1;
  mix-blend-mode: overlay;
  opacity: 0.5;
  border-radius: 3px;
}

.holiday-img-hero {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
  border-radius: 3px;
}

.holiday-img-hero-container:before {
  content: "";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 50%;
  height: 90%;
  background: rgb(142 167 200);
  background: linear-gradient(
    135deg,
    rgb(142, 167, 200) 0%,
    rgba(142, 167, 200, 0) 40%
  );
  z-index: 0;
  border-radius: 3px;
  animation: move-before-left 2.5s 14s ease-in-out both;
}

@keyframes move-before-left {
  from {
    opacity: 0;
    top: 0px;
    left: 0px;
  }
  to {
    opacity: 0.3;
    top: -16px;
    left: -16px;
  }
}

@keyframes move-before-right {
  from {
    opacity: 0;
    bottom: 0px;
    right: 0px;
  }
  to {
    opacity: 0.3;
    bottom: -10px;
    right: -16px;
  }
}

.holiday-img-hero-container:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 90%;
  background: rgb(142 167 200);
  background: linear-gradient(
    -45deg,
    rgb(142, 167, 200) 0%,
    rgba(142, 167, 200, 0) 40%
  );
  z-index: 0;
  border-radius: 3px;
  animation: move-before-right 2.5s 14s ease-in-out both;
}

.holiday-hero-left-text {
  width: 100%;
  font-family: "Dancing Script", cursive;
  color: #b7bdc5;
  font-size: 28px;
  font-size: clamp(16px, 2vw + 5px, 32px);
  font-weight: 700;
}

.holiday-hero-right-container {
  display: flex;
  justify-content: center;
}

.holiday-invite-container {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  max-width: 550px;
}

.holiday-invite-card-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 1;
}

.holiday-invite-card-image-overlay--left,
.holiday-invite-card-image-overlay--right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: #21272f;
  z-index: 1;
}

.holiday-invite-card-image-overlay--left {
  left: 0;
  animation: open-left 1s ease-in-out 3.5s forwards;
}

@keyframes open-left {
  from {
    width: 50%;
  }
  to {
    width: 0%;
  }
}

.holiday-invite-card-image-overlay--right {
  right: 0;
  animation: open-left 1s ease-in-out 3.5s forwards;
}

.holiday-invite-card-image-overlay {
  position: absolute;
  inset: 0;
  background-color: #21272f;
  mix-blend-mode: hard-light;
}

.holiday-invite-card-text-wrapper {
  position: relative;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1.7rem;
}

.holiday-card-header {
  font-family: "Dancing Script", cursive;
  z-index: 2;
  transform: translateY(300%);
  animation: move-text-up 1.5s ease-in-out 2s forwards;
}

@keyframes move-text-up {
  0% {
    transform: translateY(300%);
  }
  35% {
    transform: translateY(300%);
  }
  43% {
    transform: translateY(320%);
  }
  100% {
    transform: translateY(0%);
  }
}

.holiday-card-header--top-text {
  display: block;
  color: #b7bdc5;
  font-size: 16px;
  font-weight: 400;
}

.holiday-card-header--bottom-text {
  display: block;
  padding-top: 0.5rem;
  color: #8ea7c8;
  font-size: 40px;
}

.holiday-party-date-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  color: #b7bdc5;
  font-size: 20px;
  opacity: 0;
  animation: fade-in 2s ease-in-out 4.5s forwards;
}

.holiday-party-date-container--mobile {
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.holiday-party-date--day {
  transform: translateX(-200%);
  animation: move-left 2s ease 4.5s both;
}

@keyframes move-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}

.holiday-party-date--time {
  transform: translateX(-200%);
  animation: move-right 2s ease 4.5s both;
}

@keyframes move-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

.holiday-party-date-inner-grid {
  position: relative;
  display: grid;
  grid-template-rows: 32px 24px;
  padding: 0 1.5rem;
}

.holiday-party-date-inner-grid:before,
.holiday-party-date-inner-grid:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  background: #8ea7c8;
  height: 65%;
  opacity: 0.5;
}

.holiday-party-date-inner-grid:before {
  left: 0;
}

.holiday-party-date-inner-grid:after {
  right: 0;
}

.holiday-party-date-inner-grid--number {
  font-size: 32px;
  /* line-height: 32px; */
}

.holiday-card-info--header {
  padding-bottom: 0.2rem;
  color: #8ea7c8;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 1;
  animation: text-clip 2s 5.6s cubic-bezier(0.5, 0, 0.1, 1) both;
}

@keyframes text-clip {
  from {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  }
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes text-clip-bottom {
  from {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  }
  to {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.barb-text,
.holiday-card-info--paragraph {
  color: #b7bdc5;
  font-size: 1rem;
  animation: fade-up 2s 6.2s ease both;
}

.barb-text {
  padding-top: 0.3rem;
  animation: fade-up 2s 8.4s ease both;
}
/* div */
#first-phrase,
#second-phrase,
#third-phrase,
#fourth-phrase {
  display: inline-block;
  min-width: max-content;
  overflow: hidden;
  white-space: nowrap;
}

#first-phrase {
  /* padding-left: 1rem; */
  animation: showup 2s 10s both;
}

#third-phrase {
  /* padding-left: 1rem; */
  animation: showup 2s 13s both;
}

@keyframes showup {
  0% {
    transform: translateX(120px);
    opacity: 0;
  }
  50% {
    transform: translateX(120px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* second div */
#second-phrase {
  animation: reveal 1.8s 11.3s both;
}

/* span */
#inner-second {
  margin-left: -200px;
  animation: slideIn 1.8s 11.3s both;
}

/* second div */
#fourth-phrase {
  width: 0px;
  width: fit-content;
  animation: reveal 1.8s 14.5s both;
}

/* span */
#inner-fourth {
  margin-left: -200px;
  animation: slideIn 1.8s 14.5s both;
  width: fit-content;
}

@keyframes reveal {
  0% {
    opacity: 0;
    width: 0px;
  }
  100% {
    opacity: 1;
    min-width: 175px;
  }
}

@keyframes slideIn {
  0% {
    margin-left: -200px;
  }
  100% {
    margin-left: 0px;
  }
}

@media (max-width: 900px) {
  .holiday-hero-grid-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem 1.7rem 2rem 2rem;
    gap: 7rem;
  }

  .holiday-hero-left-container {
    order: 2;
  }

  .holiday-hero-right-container {
    order: 1;
  }

  .holiday-invite-container {
    max-width: 100%;
  }
}

@media (max-width: 650px) {
  .holiday-hero-grid-wrapper {
    padding: 2rem 2rem 2rem 2rem;
    gap: 5rem;
  }

  .holiday-img-hero-container {
    width: calc(100% - 2rem);
  }

  #first-phrase,
  #third-phrase {
    padding-left: 1rem;
  }
}

@media (max-width: 550px) {
  .holiday-hero-grid-wrapper {
    gap: 4rem;
  }

  .holiday-invite-card-text-wrapper {
    padding: 1.5rem 1.5rem;
    gap: 1.3rem;
  }

  .holiday-card-header--bottom-text {
    font-size: 32px;
  }

  .holiday-party-date-inner-grid {
    padding: 0 1rem;
  }

  .holiday-party-date-inner-grid--number {
    font-size: 24px;
  }

  .holiday-party-date-container {
    color: #b7bdc5;
    font-size: 16px;
  }

  .holiday-card-info--header {
    padding-bottom: 0.1rem;
    font-size: 16px;
  }

  .barb-text,
  .holiday-card-info--paragraph {
    font-size: 0.875rem;
  }
}

@media (max-width: 500px) {
  .holiday-hero-left-container {
    gap: 1rem;
  }

  .holiday-img-hero-container {
    width: 100%;
  }

  .holiday-img-hero-container:before,
  .holiday-img-hero-container:after {
    display: none;
  }

  .holiday-hero-left-text {
    font-size: 14px;
    font-weight: 400;
  }

  #first-phrase,
  #third-phrase {
    padding-left: 0rem;
  }
}

@media (max-width: 400px) {
  .holiday-hero-grid-wrapper {
    padding: 1rem 1.5rem 2rem 1rem;
  }

  .holiday-party-date-inner-grid {
    padding: 0 1rem;
  }
}

@media (max-width: 350px) {
  .holiday-party-date-inner-grid {
    padding: 0 0.7rem;
  }
}

@media (max-width: 325px) {
  .holiday-party-date-container {
    display: none;
  }

  .holiday-party-date-container--mobile {
    display: block;
    color: #b7bdc5;
    font-size: 20px;
    animation: fade-up 2s 4.5s ease both;
  }

  .holiday-party-date-container--mobile p + p {
    padding-top: 0.2rem;
  }
}

.church-background-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #21272f;
  mix-blend-mode: overlay;
  /* animation: fade-background-image 10s 2s ease both; */
}

.church-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color-dodge;
  opacity: 0.1;
  animation: fade-background-image 5s 17s ease both;
}

@keyframes fade-background-image {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}

@keyframes fade-background-image-full {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 1500px) {
  .church-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
  }
}
