:root {
  --white: white;
  --black: black;
  --steel-blue: #40748e;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.div-block {
  width: 90%;
  margin-top: .5em;
  margin-bottom: .5em;
}

.navbar {
  background-color: var(--white);
  flex-direction: column;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0% 0% auto;
}

.herosection {
  background-image: linear-gradient(#00000091, #00000091), url('../images/FMInvestImage-2-copy.png');
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  margin-top: 2%;
  display: flex;
}

.heroheading {
  color: var(--white);
  text-align: center;
  font-family: Oswald, sans-serif;
  font-size: 4.5em;
  font-weight: 500;
  line-height: 1em;
}

.heroheading.contact {
  color: var(--black);
  text-align: left;
  font-size: 3.5em;
}

.body {
  font-family: Oswald, sans-serif;
}

.herotext {
  width: 75%;
  color: var(--white);
  text-align: center;
  margin-top: 2em;
  font-family: Montserrat, sans-serif;
  font-size: 1.35em;
  line-height: 25px;
}

.herotext.bottom {
  width: 100%;
  margin-top: 0;
  font-size: 1.15em;
}

.herotext.contact {
  width: auto;
  color: var(--black);
  text-align: left;
}

.herotext.contact.number {
  margin-top: .5em;
}

.herotitle {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.herosubtitle {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  margin-bottom: 4em;
  display: flex;
}

.container {
  margin-bottom: 0%;
}

.grid {
  grid-column-gap: 94px;
  grid-template-rows: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.contactsection {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 75vh;
  display: flex;
}

.number {
  color: var(--black);
  margin-top: .5em;
  font-family: Montserrat, sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.colorblock {
  background-color: #40748e;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 55px;
  display: flex;
}

.div-block-2 {
  border: 15px solid var(--steel-blue);
  width: 550px;
}

.image {
  width: 100%;
  display: block;
}

.container-3 {
  position: absolute;
  inset: auto 0% 0%;
}

.footertext {
  color: #fff;
  text-align: center;
  letter-spacing: .01em;
  width: auto;
  height: auto;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.2em;
}

@media screen and (min-width: 1920px) {
  .div-block {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .heroheading {
    font-size: 5em;
  }

  .herotext {
    font-size: 1.45em;
  }

  .div-block-2 {
    width: 600px;
  }

  .image {
    display: inline-block;
  }
}

@media screen and (max-width: 991px) {
  .herosection {
    background-image: linear-gradient(#0000008c, #0000008c), url('../images/FMInvestImage-2-copy.png');
    background-size: auto, cover;
    justify-content: flex-end;
    height: 65vh;
  }

  .heroheading {
    font-size: 4em;
  }

  .heroheading.contact {
    font-size: 3em;
  }

  .herotext {
    font-size: 1.25em;
  }

  .herotext.bottom {
    font-size: 1em;
  }

  .container {
    margin-bottom: 12%;
  }

  .grid {
    grid-column-gap: 28px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    width: auto;
  }

  .contactsection {
    height: 65vh;
  }

  .container-2 {
    flex-direction: column;
    align-items: center;
    display: flex;
  }

  .div-block-2 {
    width: 400px;
  }

  .container-3 {
    position: relative;
  }
}

@media screen and (max-width: 767px) {
  .herosection {
    margin-top: 7%;
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  .heroheading {
    font-size: 3.5em;
    line-height: 50px;
  }

  .herotext {
    font-size: 1.15em;
  }

  .herotext.bottom {
    font-size: .75em;
  }

  .container {
    margin-bottom: 12%;
  }

  .grid {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    width: auto;
  }

  .div-block-2 {
    border-width: 10px;
  }
}

@media screen and (max-width: 479px) {
  .heroheading {
    font-size: 3.25em;
  }

  .herotext {
    width: 85%;
    margin-top: 1.5em;
    font-size: 1em;
  }

  .herotext.contact {
    margin-top: 2em;
  }

  .herosubtitle {
    margin-bottom: 2em;
  }

  .container {
    margin-bottom: 12%;
  }

  .grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .container-2 {
    padding-left: 2em;
    padding-right: 2em;
  }

  .div-block-2 {
    border-width: 5px;
    width: 300px;
  }

  .link-block {
    width: 125px;
  }
}

#w-node-_32d4a5a2-1613-493c-0434-4f4d63a2b7ab-c372f375 {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-_3da6a208-7493-4719-a570-9e2abea7767c-c372f375 {
  grid-area: span 1 / span 1 / span 1 / span 1;
  place-self: center start;
}

@media screen and (max-width: 991px) {
  #w-node-_3da6a208-7493-4719-a570-9e2abea7767c-c372f375 {
    justify-self: center;
  }
}

@media screen and (max-width: 767px) {
  #w-node-_3da6a208-7493-4719-a570-9e2abea7767c-c372f375 {
    justify-self: center;
  }
}


