:root {
  --color-2: #333;
  --color-3: #007bc6;
  --color: white;
  --color-4: #ffa40e;
}

h1, h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Lora, sans-serif;
  font-size: 3.5em;
  font-weight: 700;
  line-height: 1.2em;
}

h3 {
  color: var(--color-2);
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Lora, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2em;
}

h4 {
  color: var(--color-3);
  margin-top: 0;
  margin-bottom: 15px;
  font-family: Lora, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1em;
}

.dry-eye-hero {
  background-image: linear-gradient(69deg, #000000b0 12%, #fff0 64%), url('../images/woman-on-hike.jpg');
  background-position: 0 0, 0%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  justify-content: flex-start;
  align-items: flex-end;
  height: 90vh;
  padding: 5%;
  display: flex;
}

.hero-div {
  border: 2px none var(--color-3);
  max-width: 45%;
  padding: 35px 35px 35px 0;
}

.h2-white {
  color: var(--color);
}

.hero-text {
  color: var(--color);
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.5em;
}

.body {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.85em;
}

.button {
  background-color: var(--color-3);
  color: #fff;
  margin-top: 20px;
  padding: 15px 30px;
  line-height: 1em;
}

.button:hover {
  background-color: var(--color-4);
  color: var(--color-2);
}

.what-is-section {
  background-color: var(--color-2);
  background-image: linear-gradient(316deg, #000000bf 8%, #fff0 77%);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 75vh;
  padding: 7%;
  display: flex;
  position: relative;
}

.what-is-image-div {
  z-index: 1;
  width: 52%;
  position: absolute;
  inset: 65px 7% 65px auto;
}

.what-is-text-block {
  z-index: 2;
  background-color: #fff;
  width: 48%;
  padding: 4%;
  position: relative;
  box-shadow: 6px 10px 9px 4px #00000026;
}

.image-cover {
  object-fit: cover;
  object-position: 50% 0%;
  width: 100%;
  height: 100%;
}

.image-cover.right {
  object-position: 100% 50%;
}

.causes-section {
  background-color: #007bc600;
  justify-content: flex-end;
  align-items: center;
  padding: 3% 5%;
  display: flex;
  position: relative;
}

.causes-div {
  z-index: 4;
  background-color: var(--color);
  width: 65%;
  padding: 40px 0 40px 40px;
  position: relative;
}

.causes-image {
  z-index: 1;
  width: 45%;
  position: absolute;
  inset: 0% auto 0% 0%;
}

.tech-section {
  background-color: var(--color-2);
  background-image: linear-gradient(308deg, #000000bd, #fff0 82%);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding: 5%;
  display: flex;
  position: relative;
}

.tech-content {
  z-index: 4;
  background-color: var(--color);
  width: 60%;
  padding: 4%;
  position: relative;
  box-shadow: 6px 8px 5px 3px #0003;
}

.tech-image {
  z-index: 2;
  width: 55%;
  position: absolute;
  top: 30px;
  bottom: 30px;
  right: 30px;
  overflow: hidden;
}

.treatment-section {
  background-color: var(--color);
  background-image: url('../images/woman-at-ophthalmologist.jpg');
  background-position: 100% 20%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: flex-end;
  align-items: center;
  min-height: auto;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-right: 3%;
  display: flex;
  position: relative;
}

.treatment-wrapper {
  background-color: var(--color);
  width: 55%;
  padding: 40px;
}

.medication-section {
  padding-top: 5%;
  padding-bottom: 5%;
}

.medication-wrapper {
  flex-flow: column;
  width: 80%;
  min-height: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.top-div {
  justify-content: space-between;
  display: flex;
}

.top-div.btm {
  margin-top: 50px;
}

.content-div {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 45%;
  padding: 10px 0;
  display: flex;
}

.image-div {
  width: 48%;
  min-height: 350px;
  position: relative;
}

.plan-section {
  background-color: var(--color-2);
  background-image: linear-gradient(319deg, #000c, #fff0 91%);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 75vh;
  padding: 7%;
  display: flex;
  position: relative;
}

.plan-image {
  z-index: 1;
  width: 55%;
  position: absolute;
  top: 30px;
  bottom: 30px;
  right: 30px;
}

.plan-content {
  z-index: 4;
  background-color: var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  padding: 4%;
  display: flex;
  position: relative;
}

.relief-section {
  background-image: url('../images/couple-on-bench.jpg');
  background-position: 0 10%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: flex-start;
  align-items: center;
  min-height: 65vh;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 7%;
  display: flex;
}

.relief-wrapper {
  background-color: var(--color);
  width: 40%;
  max-width: 600px;
  padding: 4%;
}

.promo-div {
  z-index: 10;
  background-color: var(--color-3);
  border-radius: 50%;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 175px;
  height: 175px;
  padding: 20px;
  display: flex;
  position: absolute;
  inset: 5% auto auto -5%;
  transform: rotate(-10deg);
}

.promo-text {
  color: var(--color);
  text-align: center;
  font-size: 15px;
  line-height: 1.3em;
}

.promo-text.bold {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4em;
}

section h2, section h3, section h4 {
  text-transform: unset;
}

@media screen and (max-width: 991px) {
  h3 {
    margin-bottom: 10px;
    font-size: 2em;
  }

  h4 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .dry-eye-hero {
    background-position: 0 0, 50%;
    height: 650px;
  }

  .hero-div {
    max-width: 55%;
  }

  .h2-white {
    font-size: 3em;
  }

  .hero-text {
    font-size: 20px;
  }

  .what-is-section {
    padding: 5%;
  }

  .what-is-image-div {
    width: 50%;
  }

  .what-is-text-block {
    width: 55%;
    padding: 3%;
  }

  .image-cover {
    object-position: 75% 0%;
  }

  .image-cover.right {
    object-position: 50% 50%;
  }

  .causes-section {
    padding-left: 4%;
    padding-right: 4%;
  }

  .causes-div {
    padding-top: 35px;
    padding-bottom: 35px;
    padding-left: 35px;
  }

  .causes-image {
    width: 50%;
  }

  .tech-content {
    padding: 3%;
  }

  .treatment-section {
    background-position: 35% 0;
    padding-right: 0%;
  }

  .treatment-wrapper {
    width: 70%;
    padding: 35px;
  }

  .medication-wrapper {
    width: 90%;
  }

  .image-div {
    width: 50%;
  }

  .plan-section {
    padding: 5%;
  }

  .plan-content {
    width: 55%;
    padding: 3%;
  }

  .relief-section {
    background-position: 0 0;
    min-height: 55vh;
    padding-top: 4%;
    padding-bottom: 4%;
    padding-left: 5%;
  }

  .relief-wrapper {
    width: 50%;
    max-width: 750px;
    padding: 4%;
  }

  .promo-div {
    width: 165px;
    height: 165px;
    padding: 20px;
    top: 1%;
    left: -10%;
  }

  .promo-text {
    font-size: 13px;
  }

  .promo-text.bold {
    font-size: 15px;
    line-height: 1.3em;
  }
}

@media screen and (max-width: 767px) {
  h3 {
    font-size: 1.65em;
  }

  .dry-eye-hero {
    background-position: 0 0, 0%;
    height: 425px;
  }

  .hero-div {
    max-width: 70%;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-right: 30px;
  }

  .h2-white {
    margin-bottom: 15px;
    font-size: 2em;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.65em;
  }

  .body {
    font-size: 15px;
    line-height: 1.75em;
  }

  .button {
    margin-top: 12px;
  }

  .what-is-section {
    flex-flow: column;
    min-height: 65vh;
    padding: 3% 3% 3% 4%;
  }

  .what-is-image-div {
    top: 0;
    bottom: 0;
    right: 0%;
  }

  .what-is-text-block {
    width: 65%;
    padding: 4%;
  }

  .causes-section {
    padding: 2% 3% 2% 2%;
  }

  .causes-div {
    width: 70%;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
  }

  .causes-image {
    width: 95%;
  }

  .tech-section {
    min-height: 75vh;
  }

  .tech-content {
    width: 80%;
    padding: 4%;
  }

  .tech-image {
    width: 70%;
    right: 1px;
  }

  .treatment-section {
    padding-top: 0%;
    padding-bottom: 0%;
  }

  .treatment-wrapper {
    width: 100%;
    padding: 40px;
  }

  .medication-wrapper {
    width: 85%;
  }

  .top-div {
    flex-flow: column;
  }

  .top-div.btm {
    margin-top: 30px;
  }

  .content-div {
    width: 100%;
  }

  .image-div {
    width: 100%;
    min-height: 300px;
    margin-bottom: 15px;
  }

  .image-div._2 {
    margin-top: 15px;
  }

  .plan-section {
    min-height: 65vh;
  }

  .plan-image {
    width: 65%;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .plan-content {
    width: 65%;
    padding: 5%;
  }

  .relief-section {
    min-height: 40vh;
    padding-left: 3%;
  }

  .relief-wrapper {
    width: 55%;
    padding: 5%;
  }

  .promo-div {
    width: 165px;
    height: 165px;
    top: -1%;
    left: -6%;
  }
}

@media screen and (max-width: 479px) {
  h4 {
    font-size: 19px;
  }

  .dry-eye-hero {
    background-image: linear-gradient(13deg, #000000b0 12%, #fff0 64%), url('../images/woman-on-hike.jpg');
    background-position: 0 0, 65%;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    height: 550px;
  }

  .hero-div {
    max-width: 100%;
    padding-bottom: 0;
    padding-right: 0;
  }

  .h2-white {
    margin-bottom: 10px;
    font-size: 1.75em;
    line-height: 1.1em;
  }

  .hero-text {
    margin-bottom: 5px;
    line-height: 1.4em;
  }

  .button {
    margin-top: 10px;
  }

  .what-is-section {
    padding: 6%;
  }

  .what-is-image-div {
    width: 100%;
    position: static;
  }

  .what-is-text-block {
    width: 100%;
    padding: 6%;
  }

  .causes-section {
    padding: 0%;
  }

  .causes-div {
    width: 100%;
    padding: 35px 25px;
  }

  .tech-content {
    width: 100%;
    padding: 6%;
  }

  .tech-image {
    width: 100%;
    min-height: auto;
    position: static;
  }

  .treatment-wrapper {
    padding: 30px 25px;
  }

  .medication-section {
    padding-top: 12%;
  }

  .image-div {
    min-height: 200px;
  }

  .plan-section {
    padding: 0%;
  }

  .plan-content {
    width: 100%;
    padding: 8%;
  }

  .relief-section {
    background-position: 90%;
    justify-content: center;
    align-items: flex-end;
    min-height: 45vh;
    padding-top: 5%;
    padding-bottom: 10%;
    padding-left: 0%;
  }

  .relief-wrapper {
    width: 90%;
    max-width: none;
    padding: 5%;
  }

  .promo-div {
    width: 150px;
    height: 150px;
    padding: 14px;
    top: -10%;
    left: -6%;
  }
}


