html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* in case navigation menu encouters browser issues */
}



img {
  max-width: 100%; /* images will scale down if need but never scale beyond their original size */
  height: auto;
}

.circleImage {
  display: flex;
  justify-content: center;
  margin-top: -20px;
} 
.circleImage figure img {
    height: 100px;
    aspect-ratio: auto;
    border: 0.11em solid #15201d;;
    border-radius: 50%;
    background-image: url(../images/raven381x303.jpg);
    background-size: 100% auto;
    background-position: center center;
    box-shadow: 0 0 1em rgba( 0, 0, 0, 0.75 );
  }

li {
  list-style: none;
}

/* ------ Start of Head of page design - Mobile Screen First - smaller image load ------  */
.hero-image,
.hero-image-contact {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/blend-of-druid-and-forrest694x168.jpg); /* Image by Stefan Keller from Pixabay  */
  height: 40vh;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the hero image */
.hero-text,
.hero-contact-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/* ------ End of Head of page design - Mobile Screen - smaller image load ------  */
/* Body section styling --- start small screen */
.home {
  margin: 3rem;
}

.main-text {
  display: flex;
  flex-wrap: wrap;
}

.main-text section h2 {
  margin-bottom: 1.2rem;
}
.socialIcon {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0 -10px;
}

/* Increase hero image size for better resolution on larger screens */

@media only screen and (min-width: 740px) {
  .hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../images/blend-of-druid-and-forrest1920x466.jpg); /* Image by Stefan Keller from Pixabay  */
    height: 60vh;
  }
  .home {
    margin: 4rem;
  }
}
/* End of Hero image styling */


@media (min-width: 932px) {
  .main-text {
    flex-wrap: nowrap;
    justify-content: center;
  }
  .main-text section {
    max-width: 50vw;
    margin-right: 4rem;
  }
}

footer p {
  margin-bottom: 0;
  line-height: 0.1em;
  text-align: center;
}
@media (max-width: 600px) {
  footer p {
    margin: 0.5rem 1rem;
    min-width: 100vw;
    line-height: 0.9rem;
  }
}

/* ---------- Contact Form Layout --------- - Start */

.required {
  color: red;
}
.mini-form-group {
  display: flex;
}

.contact-form {
  background-color: rgb(243, 237, 230);
  border: 2px double #3f3e42;
  max-width: 900px;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 4rem;
  color: rgb(46, 43, 43);
  padding: 1rem;
}
.text-center {
  margin: auto;
  text-align: center;
}

.actualForm {
  margin: auto;
  width: 90%;
  padding-top: 1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 80%;
  outline: none;
  padding: 0.7em 1em;
  border: 1px solid #0d041f;
  display: block;
  margin-top: 1em;
  margin-bottom: 1.2em;
}

.contact-form textarea {
  width: 80%;
  outline: none;
  padding: 0.7em 1em;
  border: 1px solid #0d041f;
  min-height: 4em;
  display: block;
  margin-top: 1em;
}

.contact-form input[type="submit"] {
  outline: none;
  color: #ffffff;
  padding: 0.5em 0;
  font-size: 1em;
  margin: 1em 0 0 0;
  background: #0d041f;
  transition: 0.5s all;
  border: 2px solid #0d041f;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
  -moz-transition: 0.5s all;
  width: 50%;
  cursor: pointer;
}
.contact-form input[type="submit"]:hover {
  background: #9370db;
}
.fax {
  display: none;
}

.err-msg {
  color: red;
}

.text-success {
  color: #008000;
  text-align: center;
}
@media (min-width: 515px) {
  .contact-form input[type="submit"] {
    width: 27%;
  }
  .actualForm {
    width: 100%;
  }
}

/* ------  page setup for printing  ------- */
@media print {
  nav,
  .hero-image,
  .sec3 {
    display: none;
  }
  body {
    font-family: Georgia, "Times New Roman", Times, serif;
  }
  :root {
    --base-size: 0.8em;
    --type-scale: 1.25;
  }
  img {
    max-height: 0.5in;
    margin: 0 0.25in 0.25in 0;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: var(--base-size);
  }
  article {
    /* columns: 2; */
    widows: 3; /* reduce number of sentences widowed to paragraph */
    margin-bottom: 0;
  }
}


