@media only screen {

  body,
  html {
    margin: 0;
    width: 100%;
    font-family: poppins;
  }

  .sticky {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;
}

  .contactButton {
    padding: 10px 20px 10px 20px;
    border-radius: 20px;
    border: none;
    background-color: #FFFFFF;
    color: #000;
    font-size: 16px;
  }

  .contactButton:hover {
    cursor: pointer;
  }

  .closeButton {
    height: 30px;
    width: 30px;
    border-radius: 24px;
    border: none;
    background-color: white;
  }

  #popup-form {
    min-width: 400px;
    display: none;
    position: fixed;
    border: solid 1px white;
    border-radius: 24px;
    color: white;
    background-color: #0A153D;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
  }

  #formHolder {
    position: relative;
    display: block;
    min-height: 60%;
    padding: 2%;
  }

  .formfield {
    padding: 8px;
    margin-bottom: 12px;
  }

  .contactForm {
    display: flex;
    flex-direction: column;
    padding: 1em;
    margin: 0;
  }

  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @keyframes fade {
    from {
      opacity: .4
    }

    to {
      opacity: 1
    }
  }

}

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

  .hero-image {
    background: linear-gradient(rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1)), url("../images/forecost_header_screen.jpg");
    height: 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .hero-text {
    text-align: right;
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50%;
    right: 0%;
    width: 50%;
    transform: translate(0%, -50%);
    color: white;
    padding: 2em;
    text-shadow: 2px 2px black;
  }

  .hero-text>p {
    margin-block-end: 0;
    margin-block-start: 0;
  }

  .heroTitle {
    font-size: 72px;
    font-weight: bold;
    color: #F2AF0D
  }

  .heroSubtitle {
    font-size: 36px;
    color: white;
  }

  .aboutBox {
    display: flex;
    flex-direction: row;
  }

  .aboutText {
    flex-grow: 1;
    flex-basis: 60%;
    padding: 1em 3em;
    font-size: 20px;
  }

  .cardBox {
    display: flex;
    flex-direction: row;
    padding: 2em;
    background-color: #e6e6e6;
  }

  .featureBox {
    flex-grow: 1;
    flex-basis: 40%;
    padding: 1em 3em 3em 3em;
    font-size: 20px;
    text-align: center;
    background-color: #F2AF0D;
  }

  .featureTitle {
    font-size: 36px;
  }

  .feature-table {
    text-align: center;
    width: 100%;
    border: 1px solid black;
    border-spacing: 0;
  }

  .feature-table td {
    border: 1px solid black;
    padding: 8px;
  }

  .feature-card {
    flex-grow: 1;
    flex-basis: 0;
    margin: 30px;
    text-align: center;
    background-color: white;
    border-radius: 16px;
    padding: 1.5em;
  }

  .quotesBox {
    background-color: #F2AF0D;
    padding: 3em 8em 4em 8em;
    text-align: center;
    color: #FFF;
  }

  .mySlides {
    display: none
  }

  /* Slideshow container */
  .slideshow-container {
    max-width: 100%;
    position: relative;
    padding: 0 2em;
    margin: auto;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    margin-left: -2em;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(242, 173, 13, 0.8);
  }

  /* Caption text */
  .text {
    background-color: rgba(0, 0, 0, 0.8);
    color: #f2f2f2;
    font-size: 24px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0px;
    text-align: left;
  }


  .enquiryBox {
    color: #FFF;
    background-image: url("../images/tappdo_contact.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4em 8em 8em 8em;
  }

  .demoBox {
    padding: 2em 4em;
  }

  .featureDemo {
    display: flex; background-color: #F2AF0D; padding: 2em; margin-bottom: 4em;
  }

  .demoImage {
    width: 60%;
  }

  .left {
    flex-direction: row;
  }

  .right {
    flex-direction: row-reverse;
  }

  .right>div:nth-child(1) {
    padding-left: 4em;
  }

  .featureListBox {
    display: inline-block; text-align: left; align-content: center; margin: auto;
  }

  .featureList li {
    margin-top: 16px;
    margin-bottom: 16px;
  }

}

@media only screen and (max-width: 1049px) {

  .hero-image {
    background: linear-gradient(rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1)), url("../images/forecost_header_screen.jpg");
    height: 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .hero-text {
    text-align: right;
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 2em;
    right: 0%;
    color: white;
    padding: 1em;
    text-shadow: 2px 2px black;
  }

  .hero-text>p {
    margin-block-end: 0;
    margin-block-start: 0;
  }

  .heroTitle {
    font-size: 56px;
    font-weight: bold;
    color: #F2AF0D
  }

  .heroSubtitle {
    font-size: 24px;
    color: white;
  }

  .aboutBox {
    display: flex;
    flex-direction: column;
  }

  .aboutText {
    flex-grow: 1;
    flex-basis: 60%;
    padding: 1em 3em 2em 3em;
    font-size: 18px;
  }

  .featureBox {
    flex-grow: 1;
    flex-basis: 40%;
    padding: 1em 2em 2em 2em;
    font-size: 20px;
    text-align: center;
    background-color: #F2AF0D;
  }

  .featureTitle {
    font-size: 30px;
  }

  .feature-table {
    text-align: center;
    width: 100%;
    border: 1px solid black;
    border-spacing: 0;
  }

  .feature-table td {
    border: 1px solid black;
    padding: 8px;
  }

  .feature-card {
    flex-grow: 1;
    flex-basis: 0;
    margin: 20px;
    text-align: center;
    background-color: white;
    border-radius: 12px;
    padding: 1em;
  }

  .cardBox {
    display: flex;
    flex-direction: column;
    padding: 1em;
    background-color: #e6e6e6;
  }

  .quotesBox {
    background-color: #F2AF0D;
    padding: 1em 2em 1em 2em;
    text-align: center;
    color: #FFF;
  }

  .mySlides {
    display: none
  }

  /* Slideshow container */
  .slideshow-container {
    max-height: 40%;
    position: relative;
    padding: 0 0em;
    margin: auto;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 12px 8px;
    margin-top: -22px;
    color: orange;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /* Caption text */
  .text {
    background-color: rgba(0, 0, 0, 0.8);
    color: #f2f2f2;
    font-size: 16px;
    padding: 8px 24px;
    position: relative;
    bottom: 0px;
    text-align: left;
  }


  .enquiryBox {
    color: #FFF;
    background-image: url("../images/tappdo_contact.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4em 4em 4em 4em;
  }

  .demoBox {
    padding: 2em 2em;
  }

  .featureDemo {
    display: flex; background-color: #F2AF0D; padding: 1em; margin-bottom: 2em;
  }

  .demoImage {
    width: 100%;
    margin: auto;
  }

  .left {
    flex-direction: column;
  }

  .right {
    flex-direction: column;
  }


  .featureListBox {
    display: inline-block; text-align: left; align-content: center;
  }

  .featureList li {
    margin-top: 8px;
    margin-bottom: 8px;
  }


}