/* Home Page */

.home {   
  .articles {
    color: rgba(86, 38, 12, 1);
    padding: 2rem;
    background: #F6BE2D;
    border: 2px solid black;
    padding-left: 4rem;

    article {
      max-width: 80%;
      padding: 2rem auto;
  
      h3 {
        text-transform: uppercase;
        font-size: 1.25rem;
        margin: 0.25rem 0;
      }
    }
  }
}

.home-banner {
  width: 100%;
  background: #f8efe0;

  button, .button {
    display: block;
    width: fit-content;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 60rem) {
  .home-banner {
    img {
      max-width: 100%;
      max-height: 10rem;
    }
  }

  .home-banner-content,
  .home-banner-bg {
    display: block;
  }

  .home-banner-content {
    width: 100%;
    padding: 2rem 5rem 2rem 2rem;
    box-sizing: border-box;
  }

  .home-banner-bg {
    width: 100%;
    min-height: 15rem;
    background-image: url("../images/daca-protest-columbus-circle.jpg");
    mask-image: linear-gradient(to left, #f8efe0, rgba(255,255,255,0));

  }
}

@media screen and (min-width: 60rem) {
  .home-banner {
    height: 20rem;

    img {
      width: 30rem;
    }
  }

  .home-banner-content,
  .home-banner-bg {
    display: inline-block;
  }

  .home-banner-content {
    width: auto;
    max-width: 50%;
    padding: 2rem 5rem 2rem 2rem;
    box-sizing: border-box;
  }

  .home-banner-bg {
    height: 100%;
    width: 45%;
    float: right;
    background-image: url("../images/daca-protest-columbus-circle.jpg");
    mask-image: linear-gradient(to left, #f8efe0, rgba(255,255,255,0));
  }
}

.home-about {
  background: #FCF8F2;
  padding: 2rem 1rem;

  .cards {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 100%;
    text-align: center;
    margin: 1rem;

    .image {
      width: 10rem;
      height: 10rem;
      margin: 0 auto;
      background-image: url("../images/daca-protest-columbus-circle.jpg");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }

    .card-title {
      color: rgba(95, 88, 73, 1);
      text-transform: uppercase;
      text-align: center;
      margin: 0.5rem;
      font-size: 1.5rem;
    }
  }

  .about {
    color: rgba(95, 88, 73, 1);
    font-size: 1.5rem;
    margin: 1rem;
    text-align: center;
  }
}

@media screen and (min-width: 40rem) {
  .home-about {
    .card {
      width: auto;
    }
  }
}

@media screen and (min-width: 54rem) {
  .home-about {
    padding: 2rem;

    .card {
      .image {
        width: 12.5rem;
        height: 12.5rem;
      }
    }
  }
}

@media screen and (min-width: 67.5rem) {
  .home-about {
    .card {
      margin: 1rem 2rem;

      .image {
        width: 15rem;
        height: 15rem;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
      }
    }

    .about {
      margin: 2rem;
    }
  }
}
