.page-template-page-about {
    background: #0f0f0f;
    color: #FFFFFF;
}

.page-template-page-about p {
    font-size: 1.7rem;
    line-height: 1.5;
    text-align: justify;
}


.page-template-page-news-php #main-content {
    width: 100%;
}


.page-template-page-about-php .about-text {
    position: absolute;
    z-index: 3;
    top: 45%;
    left: 0;
    right: 0;
}

.page-template-page-about-php .gradient-overlay {
    position: absolute;
    bottom: 0;
    z-index: 1;    
    width: 100%;
    height: 60vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.about-hero-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.about-hero {
    width: 100%;
    height: 100vh;
    background:linear-gradient(0deg,rgba(0,0,0,0.2),rgba(0,0,0,0.2)),url(/wp-content/uploads/2019/01/rocket-science-vfx-studio-photo-wide.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-size: 100%; */
    background-position: 50% 50%;
    transition: all 20s ease;
}

.about-studio-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;  
}

.rsvfx-awards {
    width: 50%;
}

.about-studio-text-block h2 {
    text-transform: uppercase;
}

.about-studio-text-block .orange-divider {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 25px;
}

.heading-border-bottom{
   width: 350px;
   height: 3px;
   background: #C3932C;
   margin: 40px auto;
}

.about-people {
    height: auto;
    padding-bottom: 50px;
}

.about-people-container .orange-divider {
    width: 125px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 25px;
}

.about-studio-text h2 {
    text-align: center;
}

.about-studio-text h3 {
    font-weight: 700;
}

.about-studio-text-p {
    font-size: 21px;
    /* letter-spacing: 2px; */
    line-height: 30px;
    text-align: justify;
}


.about-people-text-p {
    width: 90%;
    margin: 0 auto;
    font-size: 21px;
    /* letter-spacing: 2px; */
    line-height: 30px;
    text-align: center;
}


.about-studio-text {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.people-container {
    margin: 30px auto 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    gap: 30px;
}

.founders-container {
    margin: 50px auto 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.founders-container .person-container {
    margin: 0 20px 32px 20px;
}

.person-container {
    width: calc(25% - 23px);
    height: 512px;
}

.person {
    text-align: center;
    position: relative;
    line-height: 0;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.person img {
    height: 100%;
}


.about-people {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.about-people h2 {
    text-align: center;
    text-transform: uppercase;
}




.person-photo {
    display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	height: 100%;

}

.popup-content .person-photo {
	max-width: 30%;
	width: 500px;
}



.person-name-card {
    display: flex;
    flex-direction: column;
    background-color: #C3932C;
    font-size: 20px;
    color: white;
    position: absolute;
    bottom: -30px;
    line-height: 1.5;
    left: 0;
    right: 0;
    transition: all 0.25s ease-in-out;
}

.person:hover .person-name-card {
    bottom: 0;
}

.person-name { 
    text-align: center;
    padding-top: 7px;
  }

.person-title {
    padding-bottom: 7px;
}

.person-popup {
    position: fixed;
    margin: auto;
    z-index: 9999;
    background-color: #0f0f0f;
    padding: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
    top: 50%;
	left: 50%;
    width: 1300px;
	max-width: 80%;
	min-width: 320px;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(0.7);
	-moz-transform: translateX(-50%) translateY(-50%) scale(0.7);
	-ms-transform: translateX(-50%) translateY(-50%) scale(0.7);
    transform: translateX(-50%) translateY(-50%) scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
    transition: all 0.3s;
    
}

.person-popup.md-show {
    visibility: visible;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
	-moz-transform: translateX(-50%) translateY(-50%) scale(1);
	-ms-transform: translateX(-50%) translateY(-50%) scale(1);
    transform: translateX(-50%) translateY(-50%) scale(1);
	opacity: 1;
}


.person-popup .popup-content {
    display: flex;
	max-height: 90vh;
    height: 470px;
}

.person-popup img {
    max-width: 500px;
    max-height: 640px;
    margin-right: 25px;
	width: 100%;
}

.page-template-page-about .white-overlay {
    background: rgba(255, 255, 255, 0.95);

    position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.page-template-page-about .white-overlay.md-show {
    opacity: 1;
	visibility: visible;
}

.popup-person-name-title {
    font-size: 23px;
    font-weight: 700;
}

.person-popup-close {
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 9999;
}


.person-popup-info {
    overflow-y: auto;
	padding-right: 15px;
	max-height: 70vh;
    max-width: 70%;
    height: 440px;
    padding: 25px 25px 25px 0;
}

.person-popup-info p {
    font-size: 21px;
}




/* Smaller than laptop */
@media only screen and (max-width: 1690px) {
    .about-studio-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .person-container {
        width: calc(33% - 20px);
        height: 600px;
    }
    
}

@media only screen and (max-width: 1450px) {

    .person-container {
        height: 500px;
    }
    
}


/* Even Smaller laptop */
@media only screen and (max-width: 1150px) {

    .person-container {
        width: calc(50% - 20px);
        height: 512px;
    }

    .founders-container {
        justify-content: space-between;
    }

    .founders-container .person-container {
        margin: 0 0 32px 0;
    }
    
}

/* Tablet */
@media only screen and (max-width: 980px) {

    .about-hero-container {
        height: 400px;
    }

    .page-template-page-about-php .about-text {
        top: 35%;
    }
    
    .about-text .heading {
        font-size: 35px;
        letter-spacing: 10px;
        
    }

    .rsvfx-awards {
        width: 100%;
    }

    .person-popup {
        flex-direction: column;
        height: 95%;
        width: 90%;
    }

    .person-photo {
        margin-bottom: 30px;
        text-align: center;
        
    }

    .person-popup .popup-content {
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
    }

    .person-popup-info {
        overflow-y: visible;
        height: auto;
        max-width: 100%;
    }

    .popup-content .person-photo {
        margin: 0 auto;
        max-width: 50%;
    }

    .popup-person-name-title {
        display: block;
        text-align: center;
    }


}

@media only screen and (max-width: 650px) {

    .person-container {
        width: 100%;
        height: 512px;
    }

    .founders-container .person-container {
        margin: 0 0 32px 0;
    }

}


@media only screen and (max-width: 630px) {


    .about-hero {
        height: 400px;

    }

    .page-template-page-about-php .about-text {
        top: 30%;
    }



}