/* emailgenerator styles */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

svg:not(:root) {
    overflow: hidden;
}

/* header */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #868686;
    /* stays visible while scrolling; content passes underneath */
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
}

@media (max-width: 599px) {
    .site-header {
        padding-top: 10px;
        padding-bottom: 6px;
    }
    .figure-logo {
        max-height: 40px;
    }
}

.logo {
    max-width: 350px;
    margin-inline-end: 20px;
}

.logo-link {
    align-items: center;
    color: #000000;
    display: flex;
    text-decoration: none;
}

.figure-logo {
    max-width: 350px;
    max-height: 55.1px;
}

.site-title {
    font-size: 16px;
    line-height: 1.4;
    padding-left: 8px;
    font-weight: 600;
}

@media (min-width: 562px) {
    .site-title {
        font-size: 22px;
        line-height: 1.1;
    }
}

.header-menu-nav {
    display: flex;
}

.header-menu-nav p {
    margin-right: 12px;
}

.header-cta a {
    border: 2px solid black;
    padding: 8px;
    border-radius: 8px;
    background-color: antiquewhite;
    text-decoration: none;
    color: black;
    text-wrap: nowrap;
    font-size: 12px;
}

@media (min-width: 625px) {
    .header-cta a {
        font-size: 16px;   
    }
}

/* body */

body {
    max-width-ko: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 32px;
    color: #000000;
    font-family: Arial, sans-serif;
    line-height: 1.25;
}

.main {
    padding: 40px 0;
    margin: 0 auto;
    text-align: center;
}

.content-wrap {
    margin: 24px 0;
}

.main-text p,
.main-text h2 {
    max-width: 65ch;
    margin: 0 auto;
}

/* home page features */

.features {
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    max-width: 980px;
}

.feature {
    display: block;
    padding: 10px 10px 10px 34px;
    position: relative;
    text-decoration: none;
    text-align: left;
    max-width: 30%;
}

.feature svg {
    width: 24px;
    height: 24px;
    fill: gray;
    border: 1px solid #d9d9d9;
    padding: 5px;
    border-radius: 100%;
    top: 10px;
    inset-inline-start: 0;
    position: absolute;
}

.feature h2 {
    font-size: 19px;
    text-decoration: underline;
}

.feature p {
    padding-top: 3px;
    color: #231f20;
    font-size: 15px;
    font-weight: 300;
}

/* footer */

.footer-credits {
    display: flex;
    padding-top: 22px;
    padding-bottom: 22px;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* media queries */ 

@media (max-width: 996px) {
    body {
        max-width: 780px;
    }
}

@media (max-width: 767px) {
    .feature {
        flex: 0 0 50%;
    }
}

@media (max-width: 599px) {
    .main {
        padding: 20px 0;
    }

    .features {
        display: block;
        width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .header-cta {
        max-width: 100px;
    }
}

/* blocks */
.two-column-block {
    margin: 2em 0;
  }
  
  .two-column-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  .two-column-inner.image-left .image-column {
    order: 0;
  }
  .two-column-inner.image-left .text-column {
    order: 1;
  }
  
  .two-column-inner.image-right .text-column {
    order: 0;
  }
  .two-column-inner.image-right .image-column {
    order: 1;
  }
  
  .column {
    flex: 1 1 50%;
  }
  
  .subheading {
    font-weight: 600;
    color: #888;
    margin-bottom: 0.5em;
  }
  
  .body-text {
    margin-top: 1em;
  }
  