/*@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700&display=swap");*/
/*html {
  font-family: "Open Sans", sans-serif;
  font-size: 62.5%;
  padding: 0 25rem;
}*/

/*body {
  background-color: #fafafa;
}*/

.card-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.card {
    margin: 2rem 1em;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background-color: #fafafa;
    border: 2px solid rgba(0, 0, 0, 0.1);
    max-width: 40rem;
    min-width: 40rem;
    /*min-height: 60rem; taking this out leaves you with uneven height cards*/
    /*max-height: 60rem;*/
    height: auto;
    /*flex: 25%;*/
    /*max-width: 25%;*/
    box-shadow: 2px 4px 24px rgba(0, 0, 0, 0.15);
    font-family: 'dejavu_sanscondensed';
}

.card1 {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.card--img {
    /*background: url("images/eggsbkfast.jpg");*/
   
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 20rem;
    max-height: 20rem;
    background-position: center;
    /*height:200px;*/
}
.card--text {
  display: flex;
  flex-direction: column;
  padding: 0 2rem 2rem 2rem;
}
.card--title {
  padding-top: 3rem;
  color: #313135;
  font-weight: 700;
  font-size: 2.0rem;
}
.card--sub {
    padding-top: 2rem;
    font-weight: 500;
    /*font-size: 1.8rem;*/
    font-size: 1.6rem;
    color: #59595C;
    margin-bottom: 40px;
}

.cta {
    justify-self: flex-end;
    text-decoration: none;
    color: #f2f2f2;
    background-color: #0B6E4F;
    border-radius: 4px;
    font-size: 2.4rem;
    padding: 0.4rem 0;
    /*width: 19rem;*/
    text-align: center;
    box-shadow: 2px 4px 12px rgba(10, 88, 64, 0.2);
}

.cta:hover {
  box-shadow: 2px 4px 12px rgba(10, 88, 64, 0.35);
}