body {
    margin: 0;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
}

.main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-first {
    text-align: center;
    width: 100%;
    background-color: #F2ECEC;
    padding: 1rem 0;
}

.container {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between
}

.header {
    margin-top: 30px;
    margin-right: 0.2rem;
    margin-left: 0.2rem;
    text-align: center;
}

.header-text {
    font-size: 38px;
    font-family: 'Montserrat', sans-serif;
}

.header-text-red {
    color: #b41019;
}

.header-text-gray {
    color: #464646;
}

.header-subtext {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    color: #464646;
}

.gridContainer {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 500px));
    justify-content: center;
}

.card {
    position: relative;
    width: 280px;
    height: 220px;
    background-color: white;
    margin: 0 auto;
    padding: 10px;
    border-bottom-left-radius: 10px 5px;
    text-align: left;
}

.card-title {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.15rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    color: #b41019;
    text-decoration: none;
}

.card-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

.more-link {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    background: #b41019;
    padding: 0.3rem 1rem;
    color: #fff;
    border-top-left-radius: 1.5rem;
    font-size: -0.2em;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
  }

  .more-link:hover {
    background: #6e0a0f;
    cursor: pointer;
  }

  .more-link-text {
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .footer {
      width: 100%;
      background-color: #b41019;
      color: white;
  }

  .footer-content {
    float: right;
    margin: 2rem 2rem;
  }

  .footer-content *{
      margin: 1rem;
      word-break: keep-all;
  }

  .link {
      color: white;
      font-family: 'Montserrat', sans-serif;
      text-decoration: none;
  }

  .link:hover {
      text-decoration: underline;
  }