.our-team {
    background: #000;
    text-align: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.our-team img {
    width: 100%;
    height: auto;
    transition: all 0.55s ease 0s;
}

.our-team:hover img {
    opacity: 0.5;
}

.our-team .team-content {
    padding: 5px 10px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: rotate(45deg) translate(-50%, -50%);
    transform-origin: 0 0;
    transition: all 0.55s ease 0s;
}

.our-team:hover .team-content {
    opacity: 1;
}

.our-team .team-content:before,
.our-team .team-content:after {
    content: "";
    width: 400px;
    height: 2px;
    background: #cc3533;
    position: absolute;
    top: 0;
    left: 10px;
    transform: translateX(100%);
    transition: all 0.55s ease 0s;
}

.our-team .team-content:after {
    top: auto;
    left: auto;
    bottom: 0;
    right: 10px;
    transform: translateX(-100%);
}

.our-team:hover .team-content:before,
.our-team:hover .team-content:after {
    transform: translate(0, 0);
    transition-delay: 0.15s;
}

.our-team .title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.our-team .title:before,
.our-team .title:after {
    content: "";
    width: 2px;
    height: 300px;
    background: #cc3533;
    position: absolute;
    top: 10px;
    right: 0;
    transform: translateY(100%);
    transition: all 0.55s ease 0s;
}

.our-team .title:after {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 0;
    transform: translateY(-100%);
}

.our-team:hover .title:before,
.our-team:hover .title:after {
    transform: translate(0, 0);
}

.our-team .post {
    display: block;
    padding: 5px 10px;
    background: #cc3533;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
}

@media only screen and (max-width: 990px) {
    .our-team {
        margin-bottom: 30px;
    }
}

@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600&subset=latin-ext");
* {
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    html,
    body {
        font-size: 12px;
    }
}

.button {
    text-decoration: none;
    font-size: .875rem;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 1.5rem;
    background-color: #fff;
    color: #9191E9;
    padding: 1rem 2rem;
}

.popup {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: hiden;
    -webkit-transition: .64s ease-in-out;
    transition: .64s ease-in-out;
}

.popup-inner {
    position: relative;
    bottom: -100vw;
    right: -100vh;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    max-width: 800px;
    max-height: 600px;
    /* width: 60%;
    height: 60%; */
    background-color: #fff;
    -webkit-transform: rotate(32deg);
    transform: rotate(32deg);
    -webkit-transition: .64s ease-in-out;
    transition: .64s ease-in-out;
}

.popup__photo {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    align-items: flex-end;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.popup__photo img {
    width: 100%;
    height: 100%;
}

.popup__text {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    width: 60%;
    height: 100%;
    padding: 4rem;
    padding-top: 0rem;
}

.popup__text h1 {
    font-size: 1.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #cc3532;
}

.popup__text h6 {
    margin-bottom: 2rem;
}

.popup__text p {
    font-size: .875rem;
    color: #686868;
    line-height: 1.5;
}

.popup:target {
    visibility: visible;
    opacity: 1;
}

.popup:target .popup-inner {
    bottom: 0;
    right: 0;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    width: 95%;
    height: auto;
}

.popup__close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: .875rem;
    font-weight: 300;
    border-radius: 100%;
    background-color: #0A0A0A;
    z-index: 4;
    color: #fff;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}