/**
 * Copyright 2014 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.get-involved .card__container {
  background: $color-yellow;

  &:after, &:before {
    background: $color-yellow;
  }
}

.get-involved .card__title {
  color: $color-orange;
}

.get-involved .card__logo {
  width: 125px;
  height: 125px;
  left: calc(50% - 44px);
  top: calc(50% - 30px);
  background: url(../images/icon-get-involved.svg) top left no-repeat;
  background-size: contain;
}

.get-involved.card--expanded {
  .card__logo {
    top: 85px;
    width: 125px;
    height: 125px;
    left: calc(50% - 54px);
  }
}

.get-involved .card__content-wrapper {
  padding: 16px 16px 30px 16px;
  border-top: 136px solid $color-yellow;

  h1 {
    @include typo-base();
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: $color-orange;
    margin-bottom: 16px;
    padding-top: 20px;
  }

  a {
    color: $color-orange;
  }
}

@media (min-width: 475px) {
  .get-involved .card__logo {
    width: 185px;
    height: 185px;
    left: calc(50% - 64px);
    top: calc(50% - 49px);
  }
}

@media (min-width: 600px) {
  .get-involved {
    float: right;
    margin-bottom: 4px;
  }

  .get-involved .card__container {
    margin: 0 0 0 2px;
  }

  .get-involved.card--expanded .card__container {
    margin: 0;
  }
}

@media (min-width: 800px) {
  .get-involved {
    float: left;
    width: 25%;
  }

  .get-involved .card__container {
    margin: 0 0 0 4px;
  }
}

@media (min-width: 900px) {

  .get-involved .card__content-wrapper {
    border-top: 136px solid $color-orange;
  }
}
