@font-face{
    font-family: "Roboto";
    src: url("../font/Roboto-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face{
    font-family: "Raleway";
    src: url("../font/Raleway-Regular.ttf") format("truetype");
}

@font-face{
    font-family:'Glyphicons Halflings';
    src:url(../font/glyphicons-halflings-regular.eot);
    src:url(../font/glyphicons-halflings-regular.ttf);
}

html{
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    vertical-align: baseline;
}

body{
    padding: 0;
    text-align: center;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
    font-family: Raleway, Helvetica, Arial, sans-serif;
}

div{
    display: block;
}


.section-line{
    width:50%;
    border-bottom:1px solid;
    color: #d8d8d8; 
    position: relative;
    z-index: 1;
    left:25%;
}



/****************/
/*NAVIGATION BAR*/
/****************/

.nav {
	height: 60px;
	width: 100%;
	left: 0;
	top: 0;
	position: relative;
	z-index: 10;
    background-color: white;
    transition: 0.3s;
    border-bottom: 1px solid #d8d8d8;
	/*background: rgba(255, 255, 255, 0.96);*/
}

/*.scrolled{
  background-color: black;
  transition: 0.3s;
}*/

.nav span a {
	display: block;
	position: absolute;
	font-family: 'Roboto';
	font-size:18px;
	bottom: 15px;
	left: 10%;
	color: #000;
	letter-spacing: 1.2px;
    font-weight: bolder;
    -webkit-transition: all .3s ease-in-out;
}

.nav span a:hover {
	color: #ff1abc;
}

.nav .nav-right {
	position: absolute;
	font-family: 'Roboto';
	font-size: 12px;
	bottom:15px;
    width: 60%;
	right: 10%;
    letter-spacing: 1.2px;
    font-weight: normal;
}

.nav .nav-right div {
    padding-left:3%;
	float: right;
	list-style-type: none;
}

/*link keep the same*/
.nav a,
.nav a:link,
.anv a:visited,
.nav a:active {
	color: #000;
	text-decoration: none;
}

.nav .nav-right div a:hover {
	color: #ff1abc;
}






/**************/
/*COVER MATTER*/
/**************/

.main {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.cover-container {
    width:100%;
    height: 100vh;
    margin: 0 auto;
    background-color: white;
}

.cover-image {
    width: 100%;
    height: 100vh;
    margin:0;
    position: absolute;
    object-fit: cover;
    top:0;
    left:0;
}

#cover h1 {
    font-size: 180px;
    line-height: 0.93em;
    font-family: 'Ubuntu';
    display: block;
    text-align: center;
    position: absolute;
    width: 80%;
    height: 400px;
    margin: auto;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    padding: 0;
    z-index: 1;
    color: #fff;
    letter-spacing: -1px;
    font-weight: lighter;
}

#cover h2 {
    font-size:25px;
    line-height: 0.93em;
    font-family: 'Open Sans';
    display: block;
    text-align: center;
    position: absolute;
    width: 80%;
    height: 30px;
    margin: auto;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    padding: 0;
    z-index: 1;
    color: #fff;
    letter-spacing: -1px;
    font-weight: normal;
}

.cover-line{
    width:50%;
    border-bottom:1px solid;
    color: #d8d8d8; 
    position: absolute;
    z-index: 1;
    top:70%;
    left:25%;
}

.cover-menu-links{
    width:50%;
    height:25px;
    position: absolute; 
    top:72%;
    left:25%;
    box-sizing: content-box;
    text-align:center;
    z-index:4;
}

.cover-menu-social-links{
    width:40%;
    height:25px;
    position: absolute; 
    top:0;
    left:0;
    box-sizing: content-box;
    text-align:center;
    float:left;
}

.cover-menu-lab-links{
    width:60%;
    height:25px;
    top:0;
    left:0;
    box-sizing: content-box;
    text-align:center;
    float:right;
}

.cover-menu-social-link-item{
    float:left;
    width:auto;
    padding-right:20px;
}

.cover-menu-lab-link-item{
    float:right;
    width:auto;
    padding-left:20px;
}

#cover .cover-menu-links a img{
    height:20px;
    margin:0;
    filter: brightness(1);
    -webkit-transition: all .5s ease-in-out;  
}

#cover .cover-menu-links a img:hover{
    filter:brightness(0.6);
    -webkit-transform: scale(1.15);
}


/*Arrow Bouncing*/
.arrow-down{
    width:4%;
    height:25px;
    position: absolute; 
    top:85%;
    left:48%;
    box-sizing: content-box;
    text-align:center;
    z-index:4;
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}


.arrow-down img{
    -webkit-transition: all .5s ease-in-out; 
}
.arrow-down img:hover{
    -webkit-transform: scale(1.2);
}






/**********/
/*PROJECTS*/
/**********/

h1 {
    font-size: 150px;
    line-height: 0.93em;
    font-family: 'Grotesk-Bold';
    display: block;
    text-align: center;
    position: absolute;
    width: 80%;
    height: 150px;
    margin: auto;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    padding: 0;
    z-index: 4;
    color: #000;
    letter-spacing: -1px;
    font-weight: normal;
}

.work-title{
    font-size: 40px;
    line-height: 45px;
    font-weight: bold;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    bottom:30%;
    left:10%;
    color: black;
    text-align:left;
}

.work-type{
    font-size: 20px;
    line-height: 45px;
    font-weight: bold;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:30%;
    left:10%;
    color: black;
    text-align:left;
}


.category-white-background{
    width:66.5%;
    height:500px;
    position:absolute;
    left:23.5%;
    top:0;
    margin-top:11%;
    background-color:white;
}


.category-intro-container{
    width:65.5%;
    height:500px;
    position:absolute;
    left:24%;
    top:0;
    margin-top:11%;
    float:left;
    background-color:white;
}

.category{
    width:19.8%;
    height:500px;
    padding-left:0.2%;
    object-fit:cover;
    float:right;
    filter:brightness(0.5);
    -webkit-transition: all .5s ease-in-out; 
    box-sizing:content-box;
}


.category:hover{
    filter:brightness(1);
    -webkit-transform: scale(1.07);
}


.text-intro-container{
    width:65.5%;
    height:100px;
    position:absolute;
    left:24%;
    top:400px;
    margin-top:11%;
    float:left;
    box-sizing:content-box;
}

.number-text-container{
    width:19.8%;
    height:100px;
    padding-left:0.2%;
    text-align:right;
    float:right;
    -webkit-transition: all .5s ease-in-out; 
    box-sizing:content-box;
}

.text-intro-text{
    font-size:17px;
    padding-top:53px;
    color:white;
    font-weight: lighter;
    margin-right:50px;
    box-sizing:content-box;
}

.number{
    font-size:70px;
    font-weight:normal;
    color:white;
    padding-top:35px;
    text-align:right;
    float:right;
    -webkit-transition: all .5s ease-in-out; 
    box-sizing:content-box;
}



.project {
    width:100%;
    height: auto;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    background-color:white;
    overflow:hidden;
}

.project .row-subtitle{
    width:80%;
    left:10%;
    font-family:"Roboto", sans-serif;
    font-weight:bold;
    padding-bottom:1em;
    padding-top:100px;
    position:relative;
    font-size:25px;
    line-height: 0.93em;
    display: block;
    text-align: center;
}

.row-projects{
    width:80%;
    left:10%;
    position:relative;
    padding:0;
    margin:0;
}

/*get rid of the left, at the same, enlarge space between sections*/
.clear-left{
    clear:left;
    padding-top:3em;
}




/*get ride of padding and margin of row and col-*/
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
   padding-right: 0;
   padding-left: 0;
}

.close{
    color:#000;
    text-shadow:none;
    opacity:1;
    position: absolute;
    right: -20px;
    top: -20px;
}

.fa-background{
    color:black;
}

body.modal-open {
    overflow: visible;
    z-index:20;
    text-align:left;
    position:absolute;
}

.modal button {
    z-index:30;
}


@media (min-width: 992px) {
  .modal-lg {
    width: 950px;
  }
}

.popup-text{
    font-weight:lighter !important;
    font-size:12px;
}

#portfolio h3{
    font-weight:bolder;
    color: #ff1abc;
}

#portfolio h5{
    color: #ff1abc;
}

#portfolio h6{
    color: #ff1abc;
}

.carousel-inner{
    text-align:center;
}

.modal-body{
    padding-right:0px;
    padding-left:0px;
}

.popup-top{
    padding-right:15px;
    padding-left:15px;
}

.carousel-control{
    margin-top:50px;
    margin-bottom:50px;
}

/*move up carousel indicators to reveal video button*/
.carousel-indicators{
    bottom:40px;
}

/*get rid of carousel prev and next dark background to reveal video button*/
.carousel-control.left{
    background-image: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 0);
}

.carousel-control.right{
    background-image: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 0);
}






/*warp text in button*/
.btn{
    white-space:normal !important;
    word-wrap:break-word;
}

#portfolio .intro_img{
	max-width:100%;
    z-index: 0;
    vertical-align: middle;
    object-fit:cover;
}

#portfolio .hover-state{
    position: absolute;
    top: 10%; /* absolute position must have top and left!!!*/
    left: 10%;
    height: 80%;
    width: 80%;
    opacity: 0;
    background-color: #ffffff;
    -webkit-transition: all .3s ease-in-out;
    text-overflow: break-word;
}

#portfolio button:hover .hover-state{
    opacity: 0.9;
}

.project-title{
    text-align:left;
    font-size: 16px;
    line-height: 20px;
    font-weight: bolder;
    padding:8%;
    color:#000;
}

.project-description{
    text-align:left;
    font-size: 12px;
    line-height: 15px;
    padding:8%;
    padding-top:0;  
    font-weight: normal;
    color:#ff1abc;
}

.callout-link{
    position:absolute;
    bottom:8%;
    text-align:left;
    font-size: 14px;
    line-height: 17px;
    padding:8%; 
    padding-top:0;
    color:#000;
}

/*bouncing left right arrow*/
.arrow{
    width:14px;
}

@-moz-keyframes bounceLR {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -moz-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -moz-transform: translateX(15px);
    transform: translateX(15px);
  }
}
@-webkit-keyframes bounceLR {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
  }
}
@keyframes bounceLR {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -moz-transform: translateX(30px);
    -ms-transform: translateX(30px);
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -moz-transform: translateX(15px);
    -ms-transform: translateX(15px);
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
  }
}

.bounce-left-right {
  -moz-animation: bounceLR 2s infinite;
  -webkit-animation: bounceLR 2s infinite;
  animation: bounceLR 2s infinite;
}

.right-arrow img{
    -webkit-transition: all .5s ease-in-out; 
}









/*publication and about section*/
.pubabout-cover-container{
    width:100%;
    height:500px;
    position: relative;
    padding-top:11%;
    padding-bottom:11%;
    overflow:hidden;
    box-sizing:content-box;
}

.pub-cover-container {
    width:100%;
    height: 500px;
    object-fit:cover;
    margin:0;
}

.pub-title{
    font-size: 40px;
    line-height: 45px;
    font-weight: bold;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:26%;
    right:10%;
    color: black;
    text-align:right;
}


/*photo moving banner*/
.photobanner{
    width:200%;
    position:absolute;
    top:37%;
    left:0;
    font-size:0;
}

.photobanner img{
    width:6.6%;
    margin-right:0.54285714%;
    padding:0px;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.photobanner img:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    cursor: pointer;
 
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
    box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}


/*keyframe animations*/
.first {
    -webkit-animation: bannermove 30s linear infinite;
       -moz-animation: bannermove 30s linear infinite;
        -ms-animation: bannermove 30s linear infinite;
         -o-animation: bannermove 30s linear infinite;
            animation: bannermove 30s linear infinite;
}
 
@keyframes "bannermove" {
 0% {
    margin-left: 0px;
 }
 100% {
    margin-left: -100%;
 }
 
}
 
@-moz-keyframes bannermove {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -100%;
 }
 
}
 
@-webkit-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -100%;
 }
 
}
 
@-ms-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -100%;
 }
 
}
 
@-o-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -100%;
 }
 
}




.about-cover-container1 {
    width:40%;
    height: 500px;
    float:left;
    background-repeat:no-repeat;
    object-fit:cover;
}

.about-cover-container2 {
    width:60%;
    height: 500px;
    overflow:hidden;
    object-fit:cover;
}

.about-title{
    font-size: 40px;
    line-height: 45px;
    font-weight: bold;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:30%;
    left:35%;
    color: black;
}


.about-subtitle{
    font-size: 25px;
    line-height: 30px;
    font-weight: normal;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:41%;
    left:35%;
    color: black;
    text-align:left;
}

.about-description{
    font-size: 17px;
    line-height: 22px;
    font-weight: lighter;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:60%;
    left:35%;
    color: black;
    text-align:left;
}

.arrow-about-size{
    width:3%;
    position:absolute;
    right:11%;
    bottom:26.5%;
}








/*upper main cover and title container and style*/
.oneproject-front-container {
    width:100%;
    height: 600px;
    position: relative;
    background-color: white;
}

.oneproject-front-image {
    width: 100%;
    height: 600px;
    margin:0;
    position: absolute;
    object-fit: cover;
    top:0;
    left:0;
}

.oneproject-type{
    font-size: 13px;
    line-height: 25px;
    font-weight: normal;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:60%;
    left:8%;
}

.oneproject-title{
    font-size: 53px;
    line-height: 25px;
    font-weight: bolder;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:70%;
    left:8%;
}

.oneproject-description{
    font-size: 17px;
    line-height: 25px;
    font-weight: normal;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: absolute;
    top:77%;
    left:8%;
}


/*the main content container and style, float: left, and for sidebar it's right*/
.oneproject-content-container {
    width:72%;
    height: auto;
    background-color: white;
    float:left;
    overflow:hidden;
}

.oneproject-content-text-container {
    width:80%;
    background-color: white;
    left:10%;
    padding-top:100px;
    position: relative;
}

/*video responsive style*/
.video-responsive{
    position:relative;
    overflow:hidden;
    padding-bottom:56.25%;
    height:0;
}

.video-responsive iframe{
    left:0;
    top:0;
    width:100%;
    height:100%;
    position:absolute;
}

.content-text{
    font-size: 13px;
    line-height: 25px;
    font-weight: lighter;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: relative;
    text-align: left;
    padding-top: 30px;
}


/*side bar container and style, float: right, and for main contnet it's left*/
.oneproject-sidebar-container {
    width:28%;
    height: auto;
    background-color: white;
    float:right;
    overflow:hidden;
}

.oneproject-sidebar-text-container {
    width:80%;
    background-color: white;
    left:10%;
    padding-top:100px;
    position: relative;
}

.sidebar-title{
    font-size: 16px;
    line-height: 50px;
    font-weight: bold;
    font-family: "Ubuntu", "Open Sans", "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: relative;
    text-align:left;
    padding-top:17px;
}

.sidebar-text{
    font-size: 13px;
    line-height: 25px;
    font-weight: lighter;
    font-family: "Ubuntu", "Open Sans", "Roboto", Raleway, Helvetica, Arial, sans-serif;
    position: relative;
    text-align:left;
}

.sidebar-line{
    border-bottom:1px solid;
    padding-bottom:30px; 
    color: #d8d8d8; 
}








/* Contact Section */
#contact {
    width:100%;
    height:80vh;
    margin-top:10vh;
    background-color: black;
}
#contact h2 {
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    padding-top:6.5%;
    color: white;

}
#contact h3 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: lighter;
    color: #fff;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    padding-bottom:2vh;
}

.form-container{
    width:50%;
    position:absolute;
    left:25%;
}

input{
    padding:0;
    text-align:middle;
}

#contact .text-danger {
    color: #ff1abc;
    text-align: left;
    font-family: "Roboto", Raleway, Helvetica, Arial, sans-serif;
    font-weight:lighter;
}
label {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    float: left;
}
#contact .form-control {
    display: block;
    width: 100%;
    font-size: 14px;
    padding:6px 12px;
    line-height: 1.42857143;
    color: #2c3e50;
    background-color: rgba(255,255,255,0.8);
    background-image: none;
    border: 0;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    box-sizing: border-box; /*to keep the box same width no matter how many padding*/
}
#contact .form-control:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: transparent;
    box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #2c3e50;
}
.form-control:-moz-placeholder {
color: #2c3e50;
}
.form-control::-moz-placeholder {
color: #2c3e50;
}
.form-control:-ms-input-placeholder {
color: #2c3e50;
}
#contact .social {
    margin-top: 60px;
}
#contact .social ul li {
    display: inline-block;
    margin: 0 20px;
}
#contact .social i.fa {
    font-size: 30px;
    padding: 4px 5px;
    color: #fff;
    transition: all 0.5s;
}
#contact .social i.fa:hover {
    color: #121d1f;
}
#contact .btn {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    padding: 10px 20px;
    color: #fff;
    margin-top: 15px;
}
#contact .btn:hover, #contact .btn:focus {
    background-color: #ff1abc;
    border: 1px solid #ff1abc;
}
.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: none;
}






/* footer Section */
.footer{
    width:100%;
    height:60px;
    background-color:white;
    position:relative;
}


.footer-menu-social-links{
    width:40%;
    height:25px;
    position: absolute; 
    top:17.5px;
    left:10%;
    box-sizing: content-box;
    text-align:center;
    float:left;
}

.cover-menu-social-link-item{
    float:left;
    width:auto;
    padding-right:20px;
}

#footer .cover-menu-social-link-item a img{
    height:20px;
    margin:0;
    filter: brightness(0.6);
    -webkit-transition: all .5s ease-in-out;  
}

#footer .cover-menu-social-link-item a img:hover{
    filter:brightness(0);
    -webkit-transform: scale(1.15);
}

.copyright{
    font-size:13px;
    top:19.5px; 
    right:10%;
    position:absolute;
    float:right;
    color:gray;
}






#portfolio .btn{
    padding:0;
}

