/* html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 62.5%;
}

.h2-heading {
  font-size: 1.5rem;
  line-height: 1.2; 
  margin: 4.2rem 0 0;
  color: #32302f;
  font-weight: 600;
  font-family: 'Lato';
}

.other {
  font-family: 'Roboto'
}

body {
  background-color: #FCFCFC;
  overflow-x: hidden;
  background: #f9f8f7;
  font-family: futura-pt,"system-ui",Helvetica Neue,sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  min-height: 100%;
  position: relative;
}

.action-box {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
  margin: 3.2rem 0;
  overflow: hidden;
  padding: 3.2rem;
}

.action-box ol {
  padding-left: 1rem;
}

.action-box:before {
  background: #849F97;
  content: "";
  height: 1.5rem;
  left: 0;
  position: absolute; 
  right: 0;
  top: 0;
  box-sizing: inherit;
  -moz-border-radius: 10px 10px 0 0;
}

.main-content {
  max-width: 1200px;
  margin-left: auto; 
  margin-right: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .main-content {
    grid-row-gap: 10px;
    padding: 0 48px;
  }
}

@media (min-width: 960px) {
  .main-content {
    column-gap: calc(30px + 3vw);
    display: grid; 
    grid-template-areas: "Main Sidebar";
    grid-template-columns: minmax(0,1fr) 300px;
  }
}

@media (min-width: 1280px) {
  body {
  }
}


h3 {
  font-size: 2.1rem;
  line-height: 1.4;
  color: #849F97;
  margin: 3.2rem 0 0;
}

.main { 
  grid-area: Main;
  grid-row: 2;
}

.sidebar {
  grid-area: Sidebar;
  grid-row: 2;
} */

/* new styles */

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 62.5%;
}

.h2-heading {
  font-size: 1.5rem;
  line-height: 1.2; 
  margin: 4.2rem 0 0;
  color: #32302f;
  font-weight: 600;
  font-family: 'Lato';
}

h2 {
  color: #595959;
}

p {
  color: #4a4a4b;
}

.other {
  font-family: 'Roboto'
}

body {
  background-color: #f9f8f7;
  overflow-x: hidden;
  background: #f9f8f7;
  font-family: futura-pt,"system-ui",Helvetica Neue,sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  min-height: 100%;
  position: relative;
}

.action-box {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
  margin: 3.2rem 0;
  overflow: hidden;
  padding: 3.2rem;
}

.action-box ol {
  padding-left: 1rem;
}

.action-box:before {
  background: #849F97;
  content: "";
  height: 1.5rem;
  left: 0;
  position: absolute; 
  right: 0;
  top: 0;
  box-sizing: inherit;
  -moz-border-radius: 10px 10px 0 0;
}

.main-content {
  max-width: 1200px;
  margin-left: auto; 
  margin-right: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .main-content {
    grid-row-gap: 10px;
    padding: 0 48px;
  }
}

@media (min-width: 960px) {
  .main-content {
    column-gap: calc(30px + 3vw);
    display: grid; 
    grid-template-areas: "Main Sidebar";
    grid-template-columns: minmax(0,1fr) 300px;
  }
}

@media (min-width: 1280px) {
  body {
    /* font-size: 2.4rem; */
  }
}


h3 {
  font-size: 2.1rem;
  line-height: 1.4;
  color: #849F97;
  margin: 3.2rem 0 0;
}

.main { 
  grid-area: Main;
  grid-row: 2;
}

.sidebar {
  grid-area: Sidebar;
  grid-row: 2;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1rem 1.5rem;
  width: 24rem;
  border-radius: 0.5rem;
}

.close-button {
  float: right;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: lightgray;
}

.close-button:hover {
  background-color: darkgray;
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

/* .header {
  background-color: #152231;
} */

.header {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

.header-item {
  float: left;
  border-right:1px solid #bbb;
}

.header-item:last-child {
  border-right: none;
}

.header-item a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.header-item a:hover:not(.active) {
  background-color: #111;
}

.active {
  background-color: #04AA6D;
}

.main-section {
  max-width: 800px;
  margin: 0 auto;
  background-color: #f9f8f7;
}

.item-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.item-block {
  display: flex;
  margin: 5px;
  padding: 2px;
  width: 285px;
  height: 55px;
  background-color: #E6E8E9; 
  border-width: 2px;
  border-style: solid;
  border-color: #96A6A6;
}

.item-content {
  margin: auto 0px;
  margin-left: 10px;
}

.item-image {
  width: 55px;
  height: 55px;
}

.item-title {
  font-size: 12px;
  color: black;
  font-weight: 600;
}

.item-description {
  font-size: 10px;
  color: black;
  /* white-space: nowrap; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis */
}




@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");


.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  /* padding: 20px 50px; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 100vw;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  padding-left: 0px;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

ul {color: #4a4a4b;}

.article-card {
  margin: 10px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: auto 400px;
  grid-template-areas: "card-main card-image";
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .article-card {
    margin: 10px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: 400px;
    grid-template-areas: 
    "card-main"
    "card-image";
    text-decoration: none;
    justify-content: center;
  }
  .card-image {
    margin-top:10px;
    width: 100%;
  }
  .card-description {
    margin-top: 10px;
  }
}




.article-card:hover {
  cursor: pointer;
}

.card-main {
  grid-area: card-main;
  padding-right: 35px;
}

.card-description {
  font-size: 16px;
  color: black;
}

.card-header {
  font-weight: 700;
  color: black;
  font-family: lato;
  font-size: 24px;
}

.card-bottom {
  display: flex;
}

.card-image {
  grid-area: card-image;
}

.card-image img{
  height: 200px;
  width: 400px;
}

.article-header {
  font-size: 48px;
  color: black;
  text-align: center;
  padding: 20px;
}

.article-contents {
  box-shadow: 0 0 7px 0 #0003;
  max-width: 250px;
  padding: 10px;
  border-radius: 8px;
}

.article-divider {
  border-color: rgba(10, 10, 10, 0.128);
  margin: 20px;
}

/* for the tables */

.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  /* min-width: 400px; */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

.article-author {
  font-weight: 500;
  font-size: 18px;
}

.article-published {
  font-size: 14px;
}

.article-written {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.written-image {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

.article-edited {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.article-info {
  text-align: left;
}
.edit-image {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

.categories {
  display: flex;
}

.tag {
  background-color: rgb(239, 242, 251);
  border-radius: 8px;
  font-size: 14px;
  margin: 4px 8px 4px 0px;
  padding: 4px;
}





@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;600&display=swap');


.card{
  height: 150px;
  width: 100%;
  max-width: 375px;
  margin: 10px;
  perspective: 0px;

  .cover {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    &:before{
      content: '';
      position: absolute;
      border: 5px solid rgba(255,255,255,.5);
      box-shadow: 0 0 12px rgba(0,0,0,.3); 
      top:20px;
      left:20px;
      right:20px;
      bottom:20px;
      z-index: 2;
    }

    &.item-a{
      /* background-image: url('./assets/article-image-1.png'); */
      background-color: rgb(14, 14, 130);
    }
    &.item-b{
      /* background-image: url('./assets/article-image-3.png'); */
      background-color: rgb(14, 14, 130);
    }
    &.item-c{
      /* background-image: url('./assets/article-image-8.png'); */
      background-color: rgb(14, 14, 130);
    }
    h1{
      font-weight: 600;
      position: absolute;
      bottom: 25px;
      left: 50px;
      color: white;
      z-index:3;
      font-size: 1em;
    }
    .price{
      font-weight: 200;
      position: absolute;
      top: 40px;
      right: 50px;
      color: white;
      z-index:4;
      font-size: .8em;
    }
  }
}

.calculators {
  display: flex; 
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.infographic {
  width: 100%;
  margin-top: 10px;
}

.styled-table {
  overflow-x:auto;
  max-width:300px;
}

table {
  /* table-layout:fixed; */
  width:100%;
}

.section {
  overflow: auto;
} 

