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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

h1, h2,
h3, h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

body {
  margin: 0px;
  padding: 0px;
}

:root {
  color: #333;
  overflow-x: hidden;
  font-family: "Roboto", "Segoe UI", Tahoma, "Geneva", Verdana, sans-serif;
  font-weight: 300;
}
textarea,
input.text,
input[type="text"],
input[type="email"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

body {
  background-color: #f2f0ee;
}
hr {
  margin: 0px;
  margin-top: 2rem;
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

@keyframes hero-heading {
  from {
    scale: 0;
  }
  to {
    scale: 1;
  }
}
.px-15 {
  padding-inline: 1.5rem;
}

.hero {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("assets/CalgarySkyline.jpg");
  background-size: cover;
  background-position: center;
  color: #f5f5f5;
}
.nav {
  width: 100vw;
  height: 60px;
  background-color: rgba(255, 255, 255, 4%);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.nav ul {
  margin: 0px;
  padding: 0px;
  display: flex;
  line-height: 53px;
  list-style: none;
  justify-content: center;
  gap: 10%;
}
.nav ul li a {
  font-size: 1rem;
  color: #f5f5f5;
  font-weight: 100;
  text-decoration: none;
  border-bottom: 1px white solid;
  padding: 4px;
  font-weight: 300;
  transition: all ease-out 0.15s;
}
.nav ui li:hover {
  opacity: 0.5;
}
.nav ul li a:hover {
  opacity: 0.7;
  font-size: 1.15rem;
  text-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all ease-out 0.15s;
}
.hero-message {
  text-align: center;
  line-height: 5.5rem;
  max-width: 53.125rem;
  margin: auto;
}
.hero-message h1 {
  margin: 0px;
  padding: 0px;
  font-size: 3.5rem;
  font-family: "Abril Fatface";
  font-weight: lighter;
  letter-spacing: 7px;
  animation-name: hero-heading;
  animation-duration: 1.75s;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hero-message p {
  font-size: 1.125rem;
  max-width: 53.125rem;
  margin: auto;
  line-height: 1.75rem;
  padding-inline: 10px;
}
.hero-message .stream-button {
  color: #f5f5f5;
  text-decoration: none;
  padding: 13px;
  font-size: 1.2rem;
  border: #f5f5f5 solid 1px;
  border-radius: 6px;
  background-color: transparent;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: all ease 0.2s;
}
.hero-message .stream-button:hover {
  opacity: 1;
  color: #222;
  background-color: #f5f5f5;
  transform: translateY(0px);
  transition: all ease 0.2s;
}
.hero a {
  height: 35px;
  width: 45px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  transition: all ease-out 0.25s;
}
.hero a:hover {
  opacity: 0.5;
  scale: 1.075;
  transform: translateY(10px);
  transition: all ease-out 0.25s;
}

.container {
  max-width: 53.125rem;
  margin-inline: auto;
}

.about h2 {
  text-align: center;
  font-weight: 300;
  padding-top: 1.5rem;
  margin: 0rem;
}
.about p {
  margin: 0;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.about-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;
  padding-inline: 1.5rem;
}
.about-intro img {
  align-self: center;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  max-width: 40%;
}
.about-intro p {
  margin: 0px;
  max-width: 58%;
}
.about-intro p span {
  display: block;
  text-align: center;
  font-size: 1.17em;
  margin-bottom: 0.25rem;
}
.about .what-we-are-about h3 {
  text-align: center;
  margin-top: 1.5rem;
}
.about .what-we-are-about p {
  margin-top: 0.5rem;
}
.about details:first-of-type {
  margin-top: 1rem;
}
.about details {
  cursor: pointer;
  padding-block: 0.75rem;
  margin-inline: 1rem;
  border-top: 1px dashed #333;
}
.about details:last-of-type {
  border-bottom: 1px dashed #333;
}
.about details p {
  margin: 0px;
  margin-left: 1rem;
}
.about .statement-of-faith h3 {
  margin-top: 1.5rem;
  text-align: center;
}
.about .statement-of-faith p {
  margin-top: 0.5rem;
}

.events h2 {
  font-weight: 300;
  text-align: center;
  padding-top: 1.5rem;
  margin: 0rem;
}
.events p {
  margin-top: 0.25rem;
}
.event-card {
  max-width: 100%;
  margin-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.event-card img {
  max-width: 45%;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.event-card-text {
  max-width: 45%;
  padding-top: 0.3rem;
  padding-left: 10px;
}
.event-card-text:nth-child(1) {
  padding-left: 0px;
  padding-right: 10px;
}
.event-card-text p,
h3 {
  margin: 0px;
  font-weight: 300;
}
.event-card-text h3 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #333;
}
.event-card-text p {
  margin: 0px;
  padding-top: 0.4rem;
}
.event-schedule {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 2rem;
}
.default-schedule h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.default-schedule p {
  margin: 0;
  text-align: center;
}
.quick-updates h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact h2 {
  font-weight: 300;
  text-align: center;
  padding-top: 1.5rem;
  margin: 0rem;
}
.contact h3 {
  font-size: 1.25rem;
  font-weight: 300;
  text-align: center;
  margin-top: 1rem;
}
.contact p {
  margin-top: 0.25rem;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2rem;
}
.contact form {
  width: 320px;
}
.other-contact-groups {
  width: 320px;
  padding-bottom: 2rem;
}
.contact form input {
  display: block;
  width: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid black;
  background-color: #f2f0ee;
  margin-top: 0.5rem;
  padding: 0.25rem;
}
.contact form textarea {
  display: block;
  width: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid black;
  resize: none;
  margin-top: 0.5rem;
  padding: 0.25rem;
  background-color: #f2f0ee;
}
.contact button {
  display: block;
  outline: none;
  margin-inline: auto;
  margin-block: 1rem;
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: transparent;
  color: #333;
  border: 1px solid black;
  border-radius: 5px;
  font-weight: 300;
  cursor: pointer;
}
.contact button:hover {
  border-width: 2px;
  font-weight: 400;
}
.contact button:active {
  background-color: #333;
  color: white;
}
.contact-group:first-of-type {
  margin-top: 0.5rem;
}
.contact-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.25rem;
}
.contact-group a {
  text-decoration: none;
}
.contact-group a:hover {
  text-decoration: underline;
}
.contact-group a p {
  margin-top: -6px !important;
  text-align: left !important;
}

.stream h2 {
  font-weight: 300;
  text-align: center;
  padding-top: 1.5rem;
  margin: 0rem;
}
.stream p {
  margin-top: 0.25rem;
}
.stream .stream-container iframe {
  display: block;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  margin-inline: auto;
}

/* Tablet Breakpoint */
@media only screen and (max-width: 768px) {
  .nav ul {
    gap: 10%;
  }
  .hero-message h1 {
    font-size: 3.375rem;
  }
  .stream .stream-container iframe {
    width: 90%;
    height: 400px;
  }
}
/* Large Phones Breakpoint */
@media only screen and (max-width: 435px) {
  .nav ul {
    gap: 8%;
  }
  .hero-message h1 {
    font-size: 2.25rem;
    line-height: 2rem;
  }
  .hero-message p {
    font-size: 0.975rem;
    line-height: 1.4rem;
    margin-top: 0.25rem;
  }
  .nav ul li a {
    font-size: 1rem;
  }
  .hero a {
    height: 35px;
    width: 45px;
  }
  .stream .stream-container iframe {
    height: 200px;
  }
}
/* Small Phones Breakpoint */
@media only screen and (max-width: 320px) {
  .nav ul {
    gap: 5%;
  }
  .hero-message h1 {
    font-size: 2rem;
    line-height: 1.8rem;
  }
  .hero a {
    height: 30px;
    width: 40px;
  }
  .hero-message p {
    font-size: 0.975rem;
    line-height: 1.4rem;
    margin-top: 0.25rem;
  }
  .contact form {
    padding-inline: 1rem;
  }
  .other-contact-groups {
    padding-inline: 1rem;
    padding-bottom: 2rem;
  }
}

/* Event Card Breakpoint */
@media only screen and (max-width: 699px) {
  .about-intro img {
    max-width: 100%;
  }
  .about-intro p {
    max-width: 100%;
    margin-top: 0.5rem;
  }
  .event-card img {
    max-width: 90%;
  }
  .event-card-text {
    max-width: 90%;
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    padding: 0px;
  }
  .event-card-text h3 {
    text-align: center;
  }
  .flex-reverse {
    flex-direction: column-reverse;
    align-content: center;
  }
  .quick-updates h3 {
    margin-top: 1rem !important;
  }
}
