@import url('https://fonts.googleapis.com/css?family=Roboto');
html {
    width:95%;
    height:100%;
    margin: 0 auto;
    background: #34495e /*#dce7eb*/;
    font-family: 'Roboto', sans-serif;
    color: rgba (48, 69, 92, 0.8);
}

/*
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #34495e;
  color: #fff;
}
*/

.accordion {
    max-width: 430px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 20px 0;
    background: #fefffa;
    padding: 30px;
}

h1 {
    font-size: 25px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 100;
    color: yellow;  
}

h1 i{
    font-weight:bold;
}

h2 {
    font-size: 20px;
    line-height: 34px;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    background: #fefffa;
    color: darkgreen;  
    margin: 0px;
    cursor: pointer;
}

p {
    max-width: 900px;
    margin-top: 14px;
    color: rgba 48, 69, 92, 0.8);
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translate (0, 0);
    z-index:2;
}

ul {
    list-style:none;
    padding: 0;
    margin: 0;
}


ul li {
    position: relative;
    padding: 0;
    margin: 0;
    padding-bottom: 4px;
    padding-top: 18px;
    border-top: 1px dotted #dce7eb;
}

ul li:nth-of-type(1) {
    animation-delay: 1s;
}

ul li:nth-of-type(2) {
    animation-delay: 0.75s;
}

ul li:nth-of-type(3)) {
    animation-delay: 1s;
}

ul li:nth-of-type {
    padding-bottom: 0;
}

ul li i {
    position: absolute;
    transform: translate (-6px, 0);
    margin-top: 16px;
    right:0;
}

ul li i:before, 
ul li i:after {
    content: "";
    position: absolute;
    background: #ff6873;
    width: 3px;
    height: 9px;
}

ul li i:before {
   transform: translate(-2px, 0) rotate (45deg);
}
ul li i:after {
   transform: translate(2px), 0) rotate (-45deg);
}

p,
ul li i:before,
ul li i:after {
    transition: all 0.5s ease-in-out;
}

ul li input[type=checkbox]{
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

ul li input[type=checkbox]:checked ~ p{
    margin-top:0;
    max-height:0;
    opacity: 0;
    transform: translate(0, 50%);
}

ul li input[type=checkbox]:checked ~ i:before {
    transform: translate(4px, 0) rotate(45deg)};
}

ul li input[type=checkbox]:checked ~ i:after {
    transform: translate(-4px, 0) rotate(-45deg)};
}


/*


.accordion-item {
  background-color: #fff;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}
.accordion-item-header {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.accordion-item-header::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header.active::after {
  content: "\2212";
}
.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}

@media(max-width:767px) {
  html {
    font-size: 14px;
  }
}
*/