@import 'global.css';


body {
  background-color: #fff;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
#gradient-wapper{
  flex: 1 1 auto;
}
#mmk {
  --bg-light: #FAFAFF;
  --text-med: #5A5C73;
  --text-dark: #1D2145;
  --purple-bright: #3C448F;
  color: var(--text-med);
  font-family: 'Moriston', arial, sans-serif;
  flex: 1 1 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--text-dark);
}

h2 {
  font-size: 1.75em;
}
a, a:visited, a:link {
 color: #53ccc5;
}

img {
  object-fit: contain;
  margin: auto;
  display: inline-block;
}

.content-wrapper {
  max-width: 100rem;
  margin: auto;
}

.grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 clamp(2rem, 4vw, 4rem);
  font-size: clamp(1rem, 1vw, 1.15rem);
  overflow: hidden;
}

.column {
  flex: 1 1 50%;
}

.column-small {
  flex: 1 1 30%;
  box-sizing: border-box;
  max-width: 24rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.subtitle {
  font-size: 1.25rem;
  max-width: 30em;
  line-height: 1.75em;
}

@media screen and (max-width: 50em) {
  .grid {
    justify-content: center;
  }

  .column {
    max-width: 26em;
    min-width: 70vw;
  }

  .column-small {
    min-width: 70vw;
  }

}

@media screen and (min-width: 50em) {
  .column {
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .column~.column {
    padding-right: 0;
    padding-left: 1rem;
  }

  .column-small {
    margin-left: 2em;
    margin-right: 0em;
  }
}

/* Intro */
#intro {
  background-color: var(--text-dark);
  background-image: url('/images/p-images/mmk/hero-bg-pattern.svg');
  background-position: right top;
  background-size: 50vw;
  background-repeat: repeat-y;
  color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
}

.intro-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 3em;
  box-sizing: border-box;
  max-width: 100vw;
  font-size: clamp(1rem, 1vw, 1.25rem);
}

#intro-logo {
  width: 18em;
  /* 314/16 = ~20 */
}

.intro-title {
  flex: 1 0 50%;
  padding: 3em 0;
}
.intro-title li {
  font-size: 1.25em;
  margin-bottom: 1em;
}

.intro-title h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: .5em;
  margin-bottom: 1em;
  color: #ffffff;
}

#intro ul {
  list-style: none;
  padding-left: 0;
}

#img-hero {
  flex: 1 0 50%;
  flex: 1 1 40%;
  max-height: 40rem;
  margin: 3rem 0 2rem 0;
}

#img-hero img {
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 50em) {
  #intro {
    background-size: 80vw;
  }

  .intro-title {
    text-align: center;
  }
  .intro-title h1 {
    font-size: 1.75rem;
  }
  #img-hero {
    margin-top: 0;
    max-height: 36rem;
    max-width: 100%;
  }
}

/* AboutMMK *********** */
#AboutMMK {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#companyLogo {
  max-width: 236px;
  display: inline-block;
  margin: auto;
}

#customerImg {
  display: inline-block;
  max-width: 235px;
  margin-left: auto;
  margin-right: auto;
}

#AboutMMK .company,
.customers {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#AboutMMK h3 {
  margin-bottom: 0.25em;
  color: var(--text-dark);
}

#AboutMMK .section-title {
  color: var(--text-dark);
}

#AboutMMK .subtitle {
  margin-top: 0;
}

@media screen and (min-width: 50em) {
  #AboutMMK {
    margin-top: 4em;
    margin-bottom: 4em;
  }
  #AboutMMK .customers {
    padding-top: 1rem;
    padding-bottom: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin: auto;
    max-width: 33rem;
  }

  .customers h3 {
    order: -1;
    text-align: center;
  }

  #AboutMMK .company {
    text-align: center;
    min-width: auto;
    align-self: flex-start;
  }

  #companyLogo {
    max-width: 280px;
    margin: 4em auto 3em;
  }

  #AboutMMK .company .subtitle {
    margin: 0 auto;
    /* text-align: left; */
  }

  #AboutMMK h2 {
    /* text-align: left; */
  }

}
