
.card {
    border: 1px solid #ddd;
}

.popup-trigger {
  display: block;
  width: 100%;
  right: 2rem;
  /* margin: 3em auto; */
  text-align: center;
  color: #FFF;
  font-size: 16px;
  padding: 10px;
  text-decoration:none;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0;
  background: #658847;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.07);
  transition:300ms all;
}

.popup-trigger:hover {
    background: #78382e;
    color: #ffffff;
}

.popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 1000;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  transition:500ms all;
  overflow: auto;
}

.popup.is-visible {
  opacity: 1;
  visibility: visible;
 transition:1s all;
}

.popup-container {
  transform:translateY(-50%);
  transition:500ms all;
  position: relative;
  width: 80%;
  margin: 2em auto;
  top: 3%;
  padding: 2rem;
  background: #FFF;
  border-radius: .25em .25em .4em .4em;
  /* text-align: center; */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.is-visible .popup-container {
  transform:translateY(0);
  transition:500ms all;
}

.popup-container .popup-close {
  position: absolute;
  top: 8px;
  font-size:0;
  right: 8px;
  width: 30px;
  height: 30px;
}


.popup-container .popup-close::before,
.popup-container .popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}

.popup-container .popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}

.popup-container .popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}


.popup-container .popup-close:hover:before,
.popup-container .popup-close:hover:after {
  background-color:#35a785;
  transition:300ms all;
}

.people h5{
  font-size: 18px;
  font-family: 'Lato';
  background-color: #658847;
  display: inline-block;
  padding: 5px 15px;
  color: #fff;
  border-radius: 10px !important;
}
.people h2{
  font-size: 36px;
  font-family: 'Lato';
}

.next-pre{
  background-color: #78382e;
  width: 100px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 5px;
  display: inline-block;
}
.next-pre:hover{
  background-color: #658847;
  transition:300ms all;
}
.next-pre:hover a{
  color: #fff;
  transition:300ms all;
}
.next-pre a{
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition:300ms all;
  padding: 10px 30px;
}

.alone h2{border-bottom: 1px solid #ddd;padding-bottom: 15px;}

@media only screen and (max-width: 991px) {
  .popup-container {
    width: 100%;
    padding: 20px;
  }
}