

*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #f5f1e3;
}

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  max-width: 948px;
      padding: 50px;
      margin: 0 -4px;
      background: #ffffff00;
      padding-left: 33px;
      margin-top: -42px;
      height: 500px;
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}



input {
  display: none;
}

label {/*
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;*/
  display: inline-block;
    margin: 0 0 -1px;
    padding: 27px 33px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    background-color: #ececec;
    border: 1px solid;
    border-radius: 8px;
    color: #00000096;
    box-shadow: inset 0px 1px 6px grey;
}


}
/*
label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label[for*='1']:before { content: '\f1cb'; }
label[for*='2']:before { content: '\f17d'; }
label[for*='3']:before { content: '\f16b'; }
label[for*='4']:before { content: '\f1a9'; }
*/
label:hover {
  color: #888;
  cursor: pointer;
}
/*
input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
} */
input:checked + label {
c    color: #eabf45;
    border: 1px solid #ddd;
    border-top: 2px solid #b7b0a8;
    border-bottom: 1px solid #ded5d500;
    background-color: #ffffff;
    font-size: 18px;
    border-radius: 10px;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

#tab11:checked ~ #content11,
#tab21:checked ~ #content21,
#tab31:checked ~ #content31,
{
  display: block;
}

@media screen and (max-width: 650px) {
  label {
    font-size: 0;
  }
  label:before {
    margin: 0;
    font-size: 18px;
  }
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}
