/**
 * @file
 * Section Styles
 */
/* ===== INTRO SECTION ===== */
.intro-section {
  position: relative;
  padding: 2.5rem 0;
  background-color: #dedede;
  box-shadow: inset 0 0 15px 3px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 768px) {
  .intro-section {
    padding: 1rem 0;
  }
}

/* Background Leaves */
.with-leaves::before,
.with-leaves::after {
  content: "";
  position: absolute;
  bottom: -10px;
  z-index: 1;
  width: 18vw;
  height: 15vw;
  background-repeat: no-repeat;
  background-size: contain;
}

.with-leaves::before {
  left: 0;
  background-image: url("../../images/intro-section-bg-leaves-left.png");
}

.with-leaves::after {
  right: 0;
  background-image: url("../../images/intro-section-bg-leaves-right.png");
}

/* Content */
.intro-container {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 1rem;
}

@media only screen and (max-width: 768px) {
  .intro-container {
    display: block;
    padding: 2rem 1rem;
  }
}

.intro-container .intro-text {
  width: 60%;
}

.intro-container .intro-thumbnail {
  width: 40%;
}

.intro-container .intro-text h2 {
  margin: 0 0 2rem 0;
}

@media only screen and (max-width: 600px) {
  .intro-container .intro-text h2 {
    font-size: 36px;
    line-height: 2.25rem;
  }
}

.intro-container .intro-text p,
.intro-container .intro-text ul,
.intro-container .intro-text ol {
  font-family: "Lora", "Times New Roman", Times, serif;
}

@media only screen and (max-width: 768px) {
  .intro-container .intro-text,
  .intro-container .intro-thumbnail {
    width: 100%;
  }
}

.intro-container .intro-text {
  padding: 0 3rem 0 0;
}

.intro-container .intro-thumbnail {
  padding: 0 1rem 0 3rem;
}

@media only screen and (max-width: 768px) {
  .intro-container .intro-text,
  .intro-container .intro-thumbnail {
    padding: 0;
  }
}

.intro-container .intro-thumbnail img {
  border: 8px solid #69951c;
}

@media only screen and (max-width: 768px) {
  .intro-container .intro-thumbnail img {
    width: 97%;
  }
}

.intro-container .intro-thumbnail .image-caption {
  position: relative;
  z-index: 5;
  bottom: 40px;
  padding: 0.5rem 1.5rem;
  width: 92%;
  font-size: 13px;
  color: #ffffff;
}

.intro-container .intro-thumbnail .image-caption::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #69951c;
  opacity: 0.65;
}

@media only screen and (max-width: 1024px) {
  .intro-container .intro-thumbnail .image-caption::after {
    bottom: 15px;
    width: 98%;
  }
}

@media only screen and (max-width: 768px) {
  .intro-container .intro-thumbnail .image-caption::after {
    bottom: 0;
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .intro-container .intro-thumbnail .image-caption::after {
    width: 96%;
  }
}

.intro-container .intro-thumbnail .image-caption .caption-text {
  position: relative;
  z-index: 3;
}

@media only screen and (max-width: 1024px) {
  .intro-container .intro-thumbnail .image-caption .caption-text {
    bottom: 4px;
  }
}

@media only screen and (max-width: 768px) {
  .intro-container .intro-thumbnail .image-caption .caption-text {
    bottom: 0;
  }
}
