
/* ===== RESET ===== */

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

  * {
    margin: 0;
  }

  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }

  input, button, textarea, select {
    font: inherit;
  }



/* ===== COMMON ===== */

a:link, a:visited, a:active, a:hover {
  color: blue;  
  text-decoration: underline;
}

ul { list-style: disc; padding: 0 0 .5em 1.5em;   }
ol { list-style: decimal; padding: 0 0 .5em 1.5em;   }
li { padding: .5em .5em 0 0;   }

hr {
  border: none;       /* removes default border/inset styling */
  height: 1px;
  background-color: #ccc;
  margin: 1.2em 0;       /* optional spacing */
}

button {
  padding: 10px 14px;
  background-color: #f8770f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.btn {
  padding: 10px 14px;
  background-color: #f8770f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  display: inline-block;
  text-decoration: none;
  color: #fff;
}


/* ===== COLORS ===== */

body, html {
  color: 000;
  background-color: rgb(254, 189, 11);
}

header { background-color: #000; }

main { background-color: #fff; }

footer {
  background-color: rgb(254, 189, 11);
  border-top: 5px solid rgb(254, 124, 10);
}

div#hero { background-color: #eee; }
div#download { background-color: #eee;}

figcaption { background-color: #eee; }

/* ===== MOBILE FIRST! (up to 1199px)  ===== */

  body, html {
    height: 100%;
    font-optical-sizing: auto;
  }

  body {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
  }

  nav { display: none; }

  header {   }
  header .row {
    display: flex;
    justify-content: space-between;
    align-items: center;   
  }

          header .row img {
            border: 10px solid transparent;
            width: 140px;
          }

          header .row button { margin: 0 1em 0 0; }

          header a.btn {
            text-decoration: none;
            color: #fff;
            margin-right: 1em;
          }

  div#hero {  }
  div#hero .row {
      display: flex;
      justify-content: center;
    }

          div#hero .row img { width: 100%; max-width: 400px; margin-top: 0; }

  div#download { padding:0 0 3em 0; line-height: 1; }
  div#download h2 { text-align: center; padding: 1.5em 0 1em 0; }

  div#download .items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center; 
  }       

  div#download .items img { width: 200px; max-width: 200px; } 

  main { padding-bottom: 1em; }

  footer {
    padding: 1em 1em 5em 1em;
  }


  .article-box-with-image {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* margin-bottom: 2em; */
    /* background-color: pink; */
  }

            .lined { border-top: 1px solid #ccc; }

            .article-img img {
              width: 100%;
            }

            .lined .article-img img {
              border-left: 1px solid #ccc;
              border-right: 1px solid #ccc;
              border-bottom: 1px solid #ccc;
            }

            article { padding: 3em 1.3em 2.5em 1.5em; }
            .article-box-with-image article { padding: 1.5em 1.3em 2.5em 1.5em; }

            h2 { margin-bottom: .5em; }
            p { margin-bottom: 1em; }

  blockquote {      
    float: right;
    width: 50%;
    padding: 0 1em .8em 1em; 
    font-size: 120%;
    font-style: oblique;
    font-weight: bold;
    line-height: 1.2;
  }

          blockquote p { padding: 0 0 .5em 0; margin: 0;  }

  figcaption { padding: 1em 1.5em; }

  b.tag {
    background-color: #02A4D3;
    padding: 3px 7px 1px 7px;
    margin-bottom: 10px;
    display: inline-block;
  }

.tile-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centers tiles horizontally in the row */
  align-items: center;
  gap: 16px;
}

.tile {
  flex: 1 1 100px;
  min-width: 100px;
  padding: 24px;
  display: flex;
  justify-content: center;   /* centers the icon inside each tile */
  align-items: center;
  box-sizing: border-box;
}

.icon-svg {
  width: 50px;
  height: 50px;
  transition: width 0.2s ease, height 0.2s ease;
}

footer .icon-svg path { fill: rgb(254, 124, 10);; }

/* ===== DESKTOP STYLES (1200px and up) ===== */
/* These styles override mobile styles for larger screens */

@media (min-width: 1200px) {

  div.row { 
    width: 1200px;
    margin: 0 auto;
  }

  header button { margin-right: 0; }

  header .row img { width: 250px; border: 10px solid transparent;  }  

  div#hero .row img { margin-top: 2em; }

  div#download .items  {
    flex-direction: row;
    gap: 5rem;
  }       

  .article-box-with-image {
    gap: 30px;
    margin-bottom: 1em;
    flex-direction: row;
  }

        .article-img {
          flex-shrink: 0;
          width: 35%;
        }

        article { padding: 1.5em 0 2.5 0; }

        h2 { font-size: 200%; }

        blockquote { width: 40%; padding: 0 0 .8em 1.5em; font-size: 140%; }            

        figcaption { padding: .5em 1em; }


        /*  BLOG SPECIFIC */

        .article-box-with-image article {
          margin-top: 3.5em;
        }

        .article-box-with-image .article-img {
          margin-top: 5em;
        }




          footer .tile {
    flex: 1 1 0;
  }

  .icon-svg {
    width: 80px;
    height: 80px;
  }

}





