@import '/css/style.css';
@import '/css/fonts.css';
@import '/css/animations.css';
@import '/css/dark.css';

/*** MISC  ***/

.project-header .project-header-copy {
	bottom:260px;
}
.project-header .project-header-copy ul {
	padding-bottom:60px;
}

.project-header .project-header-copy ul li{
	list-style-type:none;
	display:inline;
	display:block;
	text-align:left;
}

.stats {
    display:table;
}

.stats .l, .stats .r {
	opacity:0;
	float:left;
	transform: translate(0,200px);
	-webkit-transform: translate(0,200px);
	-moz-transform: translate(0,200px);	
    -webkit-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -moz-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);    
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;
}
.stats .l {
	margin-right:50px;
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    animation-delay: 1.2s;
}
.stats .r {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.index a:link,
.index a:visited {
    opacity:1; 
}
.index a:hover {	
    opacity:.7;
}
  
.project-dark {
	text-align:left;
    background:#f4f4f4;
    color:#333;
}
  
.project-dark a:link,
.project-dark a:visited {
	border-bottom:2px solid #333;
}
.stats a:link,
.stats a:visited {
	border-bottom:none;
}

.project-dark p {
	color:#333;
}
.project-dark .date {
	color:#333;
	border-bottom-color:#333;
}

.project-dark a:link, .project-dark a:visited {
    color:#333;
}

/*** PROJECTS MENU  ***/

.projects-menu {
	height:180px;
	overflow:hidden;
	width:120%;
	margin:0 0 40px 0;   
}
.projects-menu ul {
    -webkit-animation: menu 20s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
    -moz-animation: menu 20s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
    animation: menu 20s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
}
/* .projects-menu ul:hover {
	 -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;  
}*/ 
.projects-menu ul li {
	padding:20px 0 20px 10px;
}

@-webkit-keyframes menu { 
    0% {
         transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
    }
    5%, 20%{ /* impossible */
         transform: translate(0,-20px);
        -webkit-transform: translate(0,-20px);
        -moz-transform: translate(0,-20px);
    }
    25%, 45%{ /* snapfish */
         transform: translate(0,-215px);
        -webkit-transform: translate(0,-215px);
        -moz-transform: translate(0,-215px);
    }
    50%, 70%{ /* samsung */
         transform: translate(0,-420px);
        -webkit-transform: translate(0,-420px);
        -moz-transform: translate(0,-420px);
    }
    75%, 95%{ /* xbox */
         transform: translate(0,-620px);
        -webkit-transform: translate(0,-620px);
        -moz-transform: translate(0,-620px);
    }
    100% {
	     transform: translate(0,-800px);
        -webkit-transform: translate(0,-800px);
        -moz-transform: translate(0,-800px);
    }
}

/*** BACKGROUND IMAGES ***/

.carousel li {
	-webkit-transition: all 1s ease-in-out; /*reverses the blur*/
    -moz-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
.carousel li.blurred {
	-webkit-transition: all 1s ease-in-out; /*blurs on scroll*/
    -moz-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
	-webkit-filter: blur(50px); 
    filter: blur(50px);
}
.carousel li {
	cursor:help;
	list-style-type:none;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    z-index: 0;
    -webkit-animation: bgfade 20s ease-in-out infinite;
    -moz-animation: bgfade 20s ease-in-out infinite;
    animation: bgfade 20s ease-in-out infinite;
    opacity:0;
}
.carousel li:nth-child(1) { 
    background-image: url('/projects/img/impossible/impossible_cards_1.jpg');
}
.carousel li:nth-child(2) { 
    background-image: url('/projects/img/snapfish/wide/snapfish_1.png');
    -webkit-animation-delay: 5s;
    -moz-animation-delay: 5s;
    animation-delay: 5s;
}
.carousel li:nth-child(3) { 
    background-image: url('/projects/img/samsung/samsung_index.jpg');
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    animation-delay: 10s;
}
.carousel li:nth-child(4) {
    background-image: url('/projects/img/xbox/lifestyle/xbox_tv_mockup_1.jpg');
    -webkit-animation-delay: 15s;
    -moz-animation-delay: 15s;
    animation-delay: 15s;
}

@-webkit-keyframes bgfade { 
    0% { opacity: 0; animation-timing-function: ease-in;  transform: scale(1.0);
        -webkit-transform: scale(1.0); }
    10% { opacity: 1; animation-timing-function: ease-out;   transform: scale(1.05);
        -webkit-transform: scale(1.05); }
    20% { opacity: 1;   transform: scale(1.05);
        -webkit-transform: scale(1.05);}
    25% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
    100% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
}
@-moz-keyframes bgfade { 
    0% { opacity: 0; animation-timing-function: ease-in;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
    10% { opacity: 1; animation-timing-function: ease-out;  transform: scale(1.05);
        -webkit-transform: scale(1.05); }
    20% { opacity: 1;   transform: scale(1.05);
        -webkit-transform: scale(1.05);}
    25% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
    100% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
}
@keyframes bgfade { 
    0% { opacity: 0; animation-timing-function: ease-in; transform: scale(1.0);
        -webkit-transform: scale(1.0); }
    10% { opacity: 1; animation-timing-function: ease-out;   transform: scale(1.2);
        -webkit-transform: scale(1.05);}
    20% { opacity: 1;  transform: scale(1.05);
        -webkit-transform: scale(1.05); }
    25% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
    100% { opacity: 0;  transform: scale(1.0);
        -webkit-transform: scale(1.0);}
}

/*** BG OVERLAYS ***/
 
.carousel-overlay li {
	list-style-type:none;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index:2;
    opacity:0;
    -webkit-animation: bg-overlay 20s ease-in-out infinite;
    -moz-animation: bg-overlay 20s ease-in-out infinite;
    animation: bg-overlay 20s ease-in-out infinite;
}

.carousel-overlay li:nth-child(1) { /* impossible */
    background: -o-linear-gradient(left, #5122A8  0%, #EF603C  0%, #F53E5A  25%, #C63183  50%, #8D2E9C 75%);
	background: -moz-linear-gradient(left, #5122A8  0%, #EF603C  0%, #F53E5A  25%, #C63183  50%, #8D2E9C 75%);
	background: -webkit-linear-gradient(left, #5122A8  0%, #EF603C  0%, #F53E5A  25%, #C63183  50%, #8D2E9C  75%);
	background: linear-gradient(-135deg, #5122A8  0%, #EF603C  0%, #F53E5A  25%, #C63183  50%, #8D2E9C 75%);
}
.carousel-overlay li:nth-child(2) { /* snapfish */
	background: -o-linear-gradient(left, #b8e8b4  0%, #159cae 70%);
	background: -moz-linear-gradient(left, #b8e8b4  0%, #159cae 70%);
	background: -webkit-linear-gradient(left, #b8e8b4  0%, #159cae 70%);
	background: linear-gradient(-135deg, #b8e8b4  0%, #159cae 70%); 
    -webkit-animation-delay: 5s;
    -moz-animation-delay: 5s;
    animation-delay: 5s;
}
.carousel-overlay li:nth-child(3) { /* samsung */
    background: -o-linear-gradient(left, #bf9746  0%, #a36e41 50%, #403a35 100%);
	background: -moz-linear-gradient(left, #bf9746  0%, #a36e41 50%, #403a35 100%);
	background: -webkit-linear-gradient(left, #bf9746  0%, #a36e41 50%, #403a35 100%);
	background: linear-gradient(-135deg, #bf9746  0%, #a36e41 50%, #403a35 100%);
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    animation-delay: 10s;
}
.carousel-overlay li:nth-child(4) { /* xbox */
	background: -o-linear-gradient(left, #b8e8b4  0%, #3bcd2f 50%, #07bd72 100%);
	background: -moz-linear-gradient(left, #b8e8b4  0%, #3bcd2f 50%, #07bd72 100%);
	background: -webkit-linear-gradient(left, #b8e8b4  0%, #3bcd2f 50%, #07bd72 100%);
	background: linear-gradient(-135deg, #b8e8b4  0%, #3bcd2f 50%, #07bd72 100%);
    -webkit-animation-delay: 15s;
    -moz-animation-delay: 15s;
    animation-delay: 15s;
}

@-webkit-keyframes bg-overlay { 
    0%  { opacity:0;}
    10% { opacity:.9;}
    20% { opacity:.9;}
    25% { opacity:0;}
    100%{ opacity:0;}
}
@-moz-keyframes bg-overlay { 
    0%  { opacity:0;}
    10% { opacity:.9;}
    20% { opacity:.9;}
    25% { opacity:0;}
    100%{ opacity:0;}
}
@keyframes bgfade-overlay { 
    0%  { opacity:0;}
    10% { opacity:.9;}
    20% { opacity:.9;}
    25% { opacity:0;}
    100%{ opacity:0;}
}