.career {
  margin: 150px auto 60px;
}

/* main */

.main {
  width: 100%;
  position: relative;
  padding: 60px 0 80px;
}

.main__text {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

/* about */

.about {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.05);
  position: relative;
}

.about__container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.about__item {
  padding: 40px 10px 0;
  width: 33%;
  min-width: 300px;
}

.about__img {
  display: block;
  margin: 20px auto;
  width: 100px;
  height: auto;
}

.about__text {
  text-align: center;
}

/* vacancies */

.vacancies {
  padding-top: 40px;
  padding-bottom: 40px;
}

.vacancies__contact {
  text-align: center;
}

/* card */

.card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 15px 20px -5px rgba(0, 0, 0, 0.25);
  margin: 40px 0;
}

.card__container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.card__item {
  width: 25%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}

.card__item--4cols {
  width: 33.33%;
}

.card__item:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

.card__header {
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  margin: 10px 0;
}

.card__list {
  padding: 0 10px;
  margin: 0;
}

.card__list-item {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 10px 0;
}

.card__list-item img {
  width: 15px;
  height: auto;
  margin-right: 20px;
}

.card__list-item span {
  font-size: 12px;
  text-transform: uppercase;
}

.vacancies__cards {
  margin: 40px 0;
}

/* Accordion styles */
.accordion {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  overflow: hidden;
}
.accordion input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.accordion label {
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  line-height: 3;
  cursor: pointer;

  text-align: center;
  background-color: #c5ae55;
  color: #fff;

  text-transform: uppercase;
}

.accordion label h3 {
  margin: 0;
  font-size: 16px;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.35s;
  -o-transition: max-height 0.35s;
  transition: max-height 0.35s;
}

.accordion__content p {
  margin: 1em;
}
/* :checked */
.accordion input:checked ~ .accordion__content {
  max-height: 100%;
}
/* Icon */
.accordion label::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all 0.35s;
  -o-transition: all 0.35s;
  transition: all 0.35s;
}
.accordion input[type="checkbox"] + label::after {
  content: "+";
}
.accordion input[type="radio"] + label::after {
  content: "\25BC";
}
.accordion input[type="checkbox"]:checked + label::after {
  transform: rotate(315deg);
}
.accordion input[type="radio"]:checked + label::after {
  transform: rotateX(180deg);
}

/*
 CSS for the main interaction
*/
.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

/*
 Styling
*/

.tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 18px;
}

.tabset > label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 22px;
  height: 2px;
  background: rgba(0, 0, 0, 0.5);
}

.tabset > label:hover,
.tabset > input:focus + label {
  color: #c5ae55;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
  background: #c5ae55;
}

.tabset > input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panel {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}

@media screen and (max-width: 934px) {
  .card__item {
    width: 50%;
  }
}

@media screen and (max-width: 560px) {
  .card__item {
    width: 100%;
  }
}
