.masthead {
  position: relative;
  background-color: #f8f9fa;
  padding-top: 9.5rem;
  padding-bottom: 5rem;
}

.masthead .row > div:first-child {
  position: relative;
  z-index: 2;
}

/* Add text shadow to the heading and paragraph */
.masthead h1.display-1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: calc(2.5rem + 3vw);
  line-height: 1.1;
}

.masthead .lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .masthead h1.display-1 {
    font-size: 4.5rem;
  }
  
  .masthead .lead {
    font-size: 1.4rem;
  }
}

.masthead .masthead-device-mockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.masthead .masthead-device-mockup .circle {
  position: absolute;
  left: 0;
  fill: url(#circleGradient);
  width: 70%;
  display: none;
}

.masthead .masthead-device-mockup .circle .gradient-start-color {
  stop-color: #2937f0;
}

.masthead .masthead-device-mockup .circle .gradient-end-color {
  stop-color: #00c853;
}

.masthead .masthead-device-mockup .shape-1 {
  position: absolute;
  height: 1rem;
  width: 1rem;
  transform: rotate(10deg);
  fill: #2937f0;
  top: 15%;
  right: 10%;
}

.masthead .masthead-device-mockup .shape-2 {
  position: absolute;
  height: 0.75rem;
  width: 0.75rem;
  fill: #2937f0;
  bottom: 15%;
  left: 10%;
}

.masthead .masthead-device-mockup .device-wrapper {
  max-width: 10rem;
}

@media (min-width: 576px) {
  .masthead .masthead-device-mockup .circle {
    width: 70%;
    display: block;
    left: auto;
  }
  .masthead .masthead-device-mockup .device-wrapper {
    max-width: 12.5rem;
  }
}

@media (min-width: 768px) {
  .masthead .masthead-device-mockup .circle {
    width: 60%;
    left: auto;
  }
  .masthead .masthead-device-mockup .device-wrapper {
    max-width: 15rem;
  }
}

@media (min-width: 992px) {
  .masthead .masthead-device-mockup .circle {
    width: 90%;
    left: -25%;
  }
  .masthead .masthead-device-mockup .shape-1 {
    top: 5%;
    right: -15%;
  }
  .masthead .masthead-device-mockup .shape-2 {
    bottom: 10%;
    left: -10%;
  }
  .masthead .masthead-device-mockup .device-wrapper {
    max-width: 15rem;
    margin-left: auto;
  }
}

@media (min-width: 1200px) {
  .masthead .masthead-device-mockup .circle {
    width: 75%;
    left: 0;
  }
  .masthead .masthead-device-mockup .shape-2 {
    bottom: 15%;
    left: 10%;
  }
  .masthead .masthead-device-mockup .device-wrapper {
    max-width: 15rem;
  }
}

@media (min-width: 1400px) {
  .masthead .masthead-device-mockup .circle {
    width: 80%;
    left: 0;
  }
  .masthead .masthead-device-mockup .device-wrapper {
    max-width: 17rem;
  }
} 