@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700);

.card {
  padding: 1em;
  color: #333;
  background: #fff;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.25);
  box-shadow: 0 0 10px rgba(0,0,0,.25);
}

.card h2:first-child,
.card p:first-child {
  margin-top: 0;
}
.wrapper {
  margin: auto;
  width: 90%;
  max-width: 1200px;
}

h1 {
  text-align: center;
}
.half {
  float: left;
  width: 100%;
  padding: 0 1em;
}
/* Acordeon styles */
.tab {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  color: #fff;
  overflow: hidden;
}
input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
label {
  position: relative;
  display: block;
  padding: 1em 1em 1em 1em;
  background: #ae1f26;
  font-weight: bold;
  line-height: 2;
  cursor: pointer;
}
.blue label {
  background: #ae1f26;
}
.tab-content {
  max-height: 0;
  overflow-y: visible;
  overflow-x: hidden;
  background: #4f4f4f;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}
.blue .tab-content {
  background: #4f4f4f;
}
.tab-content p {
  margin: 1em;
}
/* :checked */
input:checked ~ .tab-content {
  max-height: 120em;
}
/* Icon */
label::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
input[type=checkbox] + label::after {
  content: "+";
}
input[type=radio] + label::after {
  content: "\25BC";
}
input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}
input[type=radio]:checked + label::after {
  transform: rotateX(180deg);
}
