* { box-sizing: border-box; }
body {overflow-x: hidden; }
.content, #why {
  width: calc(100vw);
}

img.bgimage {
  width: 100vw;
}

#why {
  padding: 0 1rem;
  width: 100vw;
}

.content > h1 {
  width: 100%;
  margin: 1rem 2rem 3rem;
  text-align: center;
}

.content > p {
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0rem 2rem 3rem;
}

.panels {
  display: flex;
  flex-direction: row;
  gap: 4rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 2rem;
}
.panel {
  width: min(148px, 30%);
}
.panel .image-box {
  width: calc(100%);
  height: 200px;
  margin-bottom: 1.5rem;
  transition: 200ms linear;
}
.panel-bl .image-box { 
  background-image: url(../img/FM-product-roundals/FM-product-roundals-BL.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.panel-if .image-box { 
  background-image: url(../img/FM-product-roundals/FM-product-roundals-IF.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.panel-af .image-box { 
  background-image: url(../img/FM-product-roundals/FM-product-roundals-AF.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.panel-pf .image-box { 
  background-image: url(../img/FM-product-roundals/FM-product-roundals-PF.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.panel-tf .image-box { 
  background-image: url(../img/FM-product-roundals/FM-product-roundals-TF.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.outline .image-box {
  outline: 5px solid var(--outline);
}

.outline h3 {
  text-shadow: 0 0 5px var(--outline);
  color: white;
  text-align: center;
}

.text-box h3 {
  font-size: 1.4rem;
  font-weight: 400;
  transition: 200ms linear;
  text-align: center;
}
.text-box h3 .bold {
  font-size: 1.4rem;
  font-weight: 500;
}
.content p, .text-box p {
  font-size: 1.1rem;
  font-weight: 300;
}
.text-box p .bold {
  font-weight: 400;
}
.panel-bl .text-box h3 { color: #329bcd; }
.panel-if .text-box h3 { color: #2c3d91; }
.panel-af .text-box h3 { color: #c9317e; }
.panel-pf .text-box h3 { color: #c94f17; }
.panel-tf .text-box h3 { color: #29a337; }
.panel-bl .text-box a.button { color: #329bcd; }
.panel-if .text-box a.button { color: #2c3d91; }
.panel-af .text-box a.button { color: #c9317e; }
.panel-pf .text-box a.button { color: #c94f17; }
.panel-tf .text-box a.button { color: #29a337; }
.panel-bl .text-box a.button:hover { 
  color: #ffffff;
  background: #329bcd;
}
.panel-if .text-box a.button:hover { 
  color: #ffffff;
  background: #2c3d91;
}
.panel-af .text-box a.button:hover { 
  color: #ffffff;
  background: #c9317e;
}
.panel-pf .text-box a.button:hover { 
  color: #ffffff;
  background: #c94f17;
}
.panel-tf .text-box a.button:hover { 
  color: #ffffff;
  background: #29a337;
}

div.cta {
  display: flex;
  justify-content: center;
}
.cta a.button,
.cta a.button:visited {
  margin: 0 auto;
  color: var(--brand);
  text-transform: uppercase;
  border: 1px solid #e9e9e9;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  width: 100%;
  text-align: center;
  border-radius: 8px;
}
.cta a.button:hover {
  color: hsla(186, 100%, 40%, 1);
}

@media screen and (max-width: 900px) {
  .content h1 {
    display: block;
    margin: 1rem 6rem;
  }
  .content > p {
    display: block;
    margin: 1rem 6rem 3rem;
    
  }
  .panels {
    flex-direction: column;
    align-items: center;
    margin: 1rem 3rem;
    padding: 0 0rem;
  }
  .panel {
    width: calc(100% - 6rem);
  }
}