/*!
 * Start Bootstrap - Stylish Portfolio v5.0.0 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

@import url("https://fonts.googleapis.com/css?family=Raleway");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  /* display: inline-block; */
}

body {
  background-color: #FFFFFF;
  font-family: "Source Sans Pro", sans-serif;
}

h1 {
  margin-top: 1em;
  text-align: center;
}

.answer {
  display: block;
  height: auto;
  margin: 1em 0;
}
.answer__question {

  position: relative;
  width: 100%;
  padding: 1em 2em;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.answer__question span {
  flex-grow: 1;
  color: #212529;
  font-size: 1.5rem;
  font-weight: bold;
  font-style: inherit;
  
}
.answer__question .icon {
  
  width: 2.4em;
  transform: none;
  fill: #3498db;

}
.answer__question:after {
  
  display: block;
  font-family: "Material Icons";
  color: #ffc107;
  content: "add";
  position: absolute;
  line-height: 0%;
  font-size: 36px;
  top: 100%; 
  left: 0;
  width: 100%;
  height: 3px;
  text-align: right;
  background-color: #1d809f70;
  transition: all 1s ease;
}
.answer__radio:checked ~ .answer__question:after {
  font-family: "Material Icons";
  content: "remove";
  text-align: right;
  top: 0;
  background-color: #1d809f;
}
.answer__radio:checked ~ .answer__content {
  max-height: 400px;
}
.answer__radio:checked ~ .answer__question .icon {
  transform: rotate(45deg);
  fill: #27ae60;
}
.answer__content {
  font-size: 16px;
  border-bottom: 3px solid #1d809f70;
  max-height: 0;
  overflow: hidden;
  border-bottom-color: #212529;
  transition: max-height 1s ease;
}
.answer__content .answer__content--inner {
  padding: 1em 2em;
}
.answer__content .answer__content--inner p:not(:first-child) {
  margin: 1em 0;
}
.answer__content .answer__content--inner p:last-child {
  margin-bottom: 0;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    color: #1d809f;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}