
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}


::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}


hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}


fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}


textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* GENERAL STYLES */

html {
  font-size: 1rem;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  color: #e2e3ed;
  text-align: left;
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  color: #e2e3ed;
  text-decoration: none;
}

.mission h1, h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.875em;
  font-weight: 500;
}

.form-description h2, .faq h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.125em;
  font-weight: 500;
  margin: 20px 0;
}

p {
  font-size: 0.875em;
  line-height: 1.285;
}

img {
  width: 100%;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

.content-wrapper {
  width: 90%;
  margin: 50px 0;
}

/* HEADER STYLES */
header {
  background: #202322;
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

header .content-wrapper {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  align-items: center;
}

header figure {
  margin: 4%;
}

header .header-divider {
  background: transparent;
  height: 1px;
  width: 100%;
  margin: 10px 0 20px 0;
}

header nav {
  width: 60%;
  font-size: 1.125em;
  font-weight: bold;
  text-transform: uppercase;
}

header nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin-left: 5%;
}

header nav ul li {
  font-size: 1.126em;
}

header nav ul li a {
  color: #e2e3e2;
}

header .img {
  width: 100%;
}

footer p {
  margin: 0;
}

footer .content-wrapper {
  width: 55%;
}

footer .contact {
  margin-bottom: 50px;
  text-align: center;
}

footer.social-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

footer .social-icons p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  color: rgb(29, 82, 29);
}

footer .copyright {
  margin: 20px 0;
}

/* END HEADER STYLES */

/* MAIN STYLES */

.hero-area {
  background: url(../img/unplugged-retreat.jpg);
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  justify-content: center;
}

.hero-area h1 {
  font-size: 36px;
  font-weight: 500;
  line-height: 43px;
}

/* ASIDE  */

aside {
  background: #527158;
  display: flex;
  justify-content: center;

}

.form-description .sub-form {
  display: flex;
  width: -webkit-fill-available;
  flex-flow: column;

}

main .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0px 18px;
  width: 90%;
  align-items: baseline;
}

.contact-section .content-wrapper {
  justify-content: left;
}

/* FEATURES  */

.features {
  background: url("../img/unplugged-retreat-features.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  margin: 0;
}

.features h2 {
  margin-bottom: 60px;
}

.features article {
  width: 63%;
  margin: 30px 0;
}

.features .features-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: row wrap;
}

.features-item-descr {
  text-align: center;
}

.features article {
  width: 55%;
  margin: 25px 0;
  text-align: center;
}

.features p {
  text-align: center;
  margin: 0;
}

.features i {
  font-size: 3.75em;
  margin-bottom: 40px;
  color: #ccaa8e;

}

.reviews {
  background: #2a423a;
  display: flex;
  justify-content: center;
}

.reviews h2 {
  margin-bottom: 40px;
  line-height: 1;
}

.reviews h3 {
  width: 55%;
  margin: 25px 0;
}

footer {
  background: #202322;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .content-wrapper {
  width: 100%;
  margin: 50px 0;
}

footer .social {
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer .social-icons a {
  background-color: #527158;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

footer .social-icons p {
  background-color: #527158;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer p {
  margin: 0;
}

footer .copyright {
  text-align: center;
}
/* ABOUT PAGE  */

.mission {
  background-color: #527158;
  display: flex;
  justify-content: center;
}

.contact-section {
  background-color: #2a423a;
  display: flex;
  justify-content: center;
  margin: 0;
}

.contact-content p {
  margin: 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.copyright p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.map-container {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;

}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* END ABOUT PAGE  */


/* FAQ PAGE  */

.faq {
  background: #527158;
  display: flex;
  justify-content: center;
  text-align: left;
}

.faq h2 {
  margin: 40px 0;
  line-height: 40px;
  font-size: x-large;
}

faq .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: row wrap;
  margin: 50px 0 0 0;
  width: 100%;
}

.faq-content {
  margin-bottom: 50px;
}

.faq-content h4 {
  line-height: 39px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */


.hidden,
[hidden] {
  display: none !important;
}


.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}


.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}



.invisible {
  visibility: hidden;
}


.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* TABLET STYLES SECTION  */

@media screen and (min-width: 768px) {
  .content-wrapper {
    max-width: 640px;
    margin: 100px 0;
  }

  main .content-wrapper {
    width: 100%;
  }

  h2 {
    font-size: 2.25em;
    line-height: 1.333;
  }

  h3 {
    font-size: 1.5em;
    line-height: 1.25;
  }

  .header {
    padding: 0;
  }

  header .content-wrapper {
    justify-content: space-between;
    width: 100%;
    flex-flow: nowrap;
}


  header figure {
    width: 90%;
  }

  header nav { 
    width: 100%;
  }

  header nav ul {
    display: flex;
    gap: 30px;
    width: 90%;
  }


  /* HERO AREA  */

  .hero-area {
    min-height: 600px;
  }

  .hero-area h1 {
    font-size: 3em;
    line-height: 1;
    margin: 0;
  }

  /* ASIDE  */

  aside .content-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 50px 0;
    align-content: flex-start;
  }

  aside .content-wrapper .form-description,
  aside .content-wrapper .form {
    width: 34%;
    margin: 0;
  }

  .form-description .sub-form {
    width: 34%;
  }

  /* FEATURES  */

  .features h2 {
    margin-bottom: 20px;
    width: 95%;
    text-align: center;
  }

  .features article {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column wrap;
    width: 49%;
    flex-basis: 50%;
  }

  .form {
    width: 40%;
  }

  .features-item {
  }

  .features .features-item-descr {
    width: 60%;
  }

  /* REVIEWS  */

  .reviews article {
    display: flex;
    justify-content: space-between;
  }

  .reviews h2 {
    width: 95%;
  }

  .reviews article figure,
  .reviews article div {
    width: 46%;
  }

  .reviews h3 {
    width: 90%;
  }

  .reviews-text {
    width: 90%;
  }

  .header img {
    height: auto;
    width: 100%;
  }

  img {
    width: 50%;
    height: auto;
  }

  /* FOOTER   */

   footer .content-wrapper {
    display: flex;
    width: 100%;
    gap: 171px;
    justify-content: space-between;
    align-items: start;
  }

  footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  footer .contact (
    margin-bottom: 0;
  )

  footer h4 {
    font-size: 1.5em;
    margin-bottom: 40px;
  }

  footer p {
    line-height: 1.285;
  }

  footer .copyright {
    width: 100%;
  }

  /* ---------  ABOUT PAGE --------- */

  .mission-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 20px;
  }

  .mission-content p {
    width: 45%;
  }

  .contact-section .content-wrapper h2 {
    width: 98%;
  }

  .contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 98%;
  }

  .map-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
  
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* ---------  FAQ PAGE --------- */

  .faq .content-wrapper {
    display: flex;
    justify-content: space-between;
    width: 70%;
    flex-basis: 1;
  }

  .faq {
    display: flex;
    justify-content: center;
  }

  .faq-content {
    width: 45%;
    margin: 0;
    padding-bottom: 30px;
  }

  .content-wrapper {
    /* code  */
  }

  .faq h2 {
    width: 100%;
  }

  .faq h4,
  .faq p {
    font-size: 0.875em;
    line-height: 19.75px;
  }


/* DESKTOP STYLES SECTION  */

@media only screen and (min-width: 1200px) {

  .content-wrapper {
    max-width: 960px;
  }

  header {
    padding: 15px 0;
  }


  h2 {
    font-size: 2.25;
  }


  h3,
  h4 {
    font-size: 40px;
  }


  p {
    font-size: 1.125em;
    line-height: 1.333;
  }


  /* HERO  */
  .hero-area h1 {
    width: 80%;
    font-size: 60px;
  }

  header nav ul li a:hover {
    color: #ffa100f2;
  }

  /* ASIDE  */

  aside .content-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin: 30px 0;
  }

  aside .content-wrapper .form-description,
  aside .content-wrapper .form {
    width: 23%;
  }

  .form-description p {
    font-size: 1.125em;
  }

  /* FEATURES  */

  .features h2 {
    width: 100%;
    font-size: 36px;
  }

  .features article {
    flex-basis: 33%;
  }

  .features i {
    /* color: #ffa100f2;   */
  }

  /* REVIEWS  */

  .reviews article div {
    width: 42%;
  }

  footer h4 {
    font-size: 1.875em;
  }

  .footer-contact {
    width: 60%;
  }

  footer .content-wrapper {
    justify-content: space-between;
    padding-top: 30px;
  }

  footer .social-icons a {
    /* color: yellow; */
  }

  /* -- DESKTOP ABOUT PAGE -- */
  /* -- DESKTOP ABOUT PAGE -- */

  
  .mission h2,
  .contact-section .content-wrapper h2 {
    width: 95%;
    font-size: 3em;
  }

  .contact-content h4 {
    font-size: 1.875em;
  }

  .map-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
  
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  /* -- END DESKTOP ABOUT PAGE -- */

  /* -- DESKTOP FAQ PAGE -- */

  .faq h2 {
    width: 100%;
    font-size: 3em;
  }

  .faq h4 {
    font-size: 1.125em;
    line-height: 1;
  }

  .form-description .sub-form {
    width: 23%;
  }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }


  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

 
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
