
section {
    width: 100%;
}
section .inner {
    max-width: 1200px;
    min-width: 1000px;
    margin: 0 auto;
	padding-left: 5%;
	box-sizing: border-box;
}

section.photo {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
section.photo.photo1 .bg {
    background-image: url(http://gonylab.speedgabia.com/elystay//main/1.jpg);
}
section.photo.photo2 .bg {
    background-image: url(http://gonylab.speedgabia.com/elystay//welcome/1.jpg);
}
section.photo .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
section.photo .bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
section.photo .heading {
    font-size: 180px;
    position: absolute;
    top: 50%;
    left: 58%;
    width: 1000px;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    opacity: 0;
    transition: 0.9s;
}
section.photo.show .heading {
    opacity: 1;
    left: 60%;
    transform: translate(-50%, -50%);
}
section.photo .heading span {
    letter-spacing: -3px;
    font-weight: bold;
}
section.photo .heading span:first-child {
    display: block;
    margin-left: 100px;
    margin-bottom: -20px;
}
section.text {
    padding: 150px 0;
}
section.text.show .inner * {
    opacity: 1;
    transform: translateY(0);
}
section.text .inner * {
    opacity: 0;
    transition: 0.7s;
    transform: translateY(30px);
}
section.text.last-text {
    padding-top: 150px;
    padding-bottom: 50px;
}
section.text h3 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 120px;
}
section.text h5 {
    font-size: 18px;
    margin-bottom: 20px;
}
section.text p {
    color: #888;
    font-size: 18px;
    margin-bottom: 60px;
    margin-left: 15px;
    line-height: 25px;
}
section.text p:last-child {
    margin-bottom: 0;
}

.intro {
    height: 150vh;
    position: relative;
    overflow: hidden;
}
.intro .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(http://gonylab7.speedgabia.com/starscape/main/0.jpg)
        no-repeat center center;
    background-size: cover;
}
.intro .bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.intro .heading {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 6000px;
    color: #fff;
    font-size: 180px;
    animation: ani 60s linear infinite;

    transition: 0.7s;
}

@keyframes ani {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-105%);
    }
}

.our-vision {
    padding-top: 450px;
    padding-bottom: 150px;
    position: relative;
}
.our-vision.show .inner * {
    transform: translateY(0);
    opacity: 1;
}
.our-vision .inner * {
    opacity: 0;
    transition: 0.7s;
    transform: translateY(30px);
}
.our-vision h1 {
    color: #ddd;
    font-size: 85px;
    margin-bottom: 10px;
}
.our-vision p {
    font-size: 23px;
    line-height: 33px;
}
.our-vision p span {
    display: block;
    margin-bottom: 45px;
}
.our-vision .video {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 562.5px;
}
.our-vision .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact {
    height: 100vh;
    position: relative;
    background: url(/images/weare/contact_bg.png) no-repeat center center;
    background-size: cover;
}
.contact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.contact .inner {
    height: 100vh;
    padding: 200px 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}
.contact .inner .items {
    opacity: 0;
    transition: 0.7s;
    transform: translateY(30px);
}
.contact.show .inner .items {
    opacity: 1;
    transform: translateY(0);
}
.contact .heading {
    color: #fff;
    font-size: 120px;
}
.contact .items {
    width: 700px;
    margin-top: 15%;
    margin-left: 100px;
}
.contact .items > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}
.contact .items .item {
    color: #fff;
    display: inline-block;
    font-size: 25px;
}
.contact .items .item span {
    display: block;
    margin-bottom: 15px;
}
.contact .items .item b {
    display: block;
    margin-left: 10px;
}

@media (max-width: 1400px) {
    section.intro .heading {
        font-size: 150px;
        width: 5500px;
    }
    section.photo .heading {
        font-size: 150px;
    }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    section.intro .heading {
        font-size: 130px;
        width: 4500px;
    }
    section.photo .heading {
        font-size: 130px;
    }
}
@media (max-width: 1000px) {
    section.intro .heading {
        font-size: 100px;
        width: 3500px;
    }
    section.photo .heading {
        font-size: 120px;
    }
}
