/*
   Author: 

   File Name: styles.css
 
   Created: May 1, 2015
   Last Updated: May 1, 2015



================ Font Styles =================
    font-family: 'Sofia', cursive; 
    font-family: 'Emilys Candy', cursive;
    font-family: 'Laila', serif;
*/

/* Color Scheme:

Mint Green:     #9aeca4 rgba(154, 236, 164, 1);
Medium Mint:    #74b37b rgba(116, 179,123, 1);
Yellow:         #FDDD20 rgb(253, 221, 32, 1);
Light Gray:     #b2b2b2 rgb(178, 178, 178);
Dark Gray:      #929497 rgb(146, 148, 151);
Text Gray:      #454545 rgb(69, 69, 69);
*/

/*==================== THE BASICS ====================*/
body{
    background-color:#f1f1f1;
    font-family: 'Laila', serif;   
    color: #454545;
}

img{
    /* images are there actual width (auto)
       if the larger than their column (container) width
       they are resized to 100% their column (container) 
       and centered using the margin auto rule. */
    max-width:100%;
    width: auto;
    height:auto;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /*measures the image from border edge to edge*/
    
}

br{
    display: block;
    height: 1.5em;
    clear: both;
}



h1, h2, h3, h4{
    font-weight: bold;
    font-family: 'Emilys Candy', cursive;
}

h5, h6{
    font-family: 'Laila', serif;
}   

strong{
    font-weight: bold;
    font-size: 2rem;
    color: #000;
}

blockquote, figcaption{
    font-family: 'Sofia', cursive;
    text-align: center;
}

figure{
    box-sizing:border-box;
    float:left;
    position:relative;
    width:auto;
    max-width:100%!important;
    margin:10px 20px;
    padding:10px 8px 10px;
    
    border:1px solid;
    border-color:#ccc #ccc #ccc #eee;
    
    background:#fff;
    background:-webkit-linear-gradient(top,#eee,#fff 20%,#fefefe 60%);
    background:-moz-linear-gradient(top,#eee,#fff 20%,#ddd 60%);
    background:-o-linear-gradient(top,#eee,#fff 20%,#ddd 60%);
    background:-ms-linear-gradient(top,#eee,#fff 20%,#ddd 60%);
    background:linear-gradient(top,#eee,#fff 20%,#ddd 60%);
    
    -webkit-box-shadow:4px 4px 8px -4px rgba(0,0,0,.75);
    -moz-box-shadow:4px 4px 8px -4px rgba(0,0,0,.75);
    box-shadow:4px 4px 8px -4px rgba(0,0,0,.75);
    
    -webkit-transform:rotate(-1deg);
    -moz-transform:rotate(-1deg);
    -o-transform:rotate(-1deg);
    -ms-transform:rotate(-1deg);
    transform:rotate(-1deg);
    
    -webkit-backface-visibility:hidden;
}

figure:nth-of-type(even){
    -webkit-transform:rotate(2deg);
    -moz-transform:rotate(2deg);
    -o-transform:rotate(2deg);
    -ms-transform:rotate(2deg);
    transform:rotate(2deg);
    
    -webkit-box-shadow:4px 4px 8px -4px rgba(0,0,0,.75);
    -moz-box-shadow:4px 4px 8px -4px rgba(0,0,0,.75);
    box-shadow:-4px 4px 8px -4px rgba(0,0,0,.75)
}


figcaption{
    position:relative;
    bottom:0;left:0;
    text-shadow:none;
    text-align:center;
    font-family: 'Sofia', cursive; 
    font-size:1.3em;
    color:#454f40;
    letter-spacing:.09em;
    background:0 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

figure:before{
    content:'';
    display:block;
    position:absolute;
    z-index:10;
    left:-10px;
    top:5px;
    width:100px;
    height:25px;
    background-color:rgba(222,220,198,.7);
    
    -webkit-transform:rotate(-20deg);
    -moz-transform:rotate(-20deg);
    -o-transform:rotate(-20deg);
    -ms-transform:rotate(-20deg)
}

figure:nth-of-type(even):before{
    left:340px;
    top:0;
    width:100px;
    height:25px;
    
    -webkit-transform:rotate(20deg);
    -moz-transform:rotate(20deg);
    -o-transform:rotate(20deg);
    -ms-transform:rotate(20deg)
}
figure:after{
    content:'';
    display:block;
    position:absolute;
    z-index:10;
    right:-15px;
    bottom:5px;
    width:100px;
    height:25px;
    background-color:rgba(222,220,198,.7);
    
    -webkit-transform:rotate(-20deg);
    -moz-transform:rotate(-20deg);
    -o-transform:rotate(-20deg);
    -ms-transform:rotate(-20deg)
}
figure:nth-of-type(even):after{
    left:-15px;
    bottom:5px;
    width:100px;
    height:25px;
    
    -webkit-transform:rotate(20deg);
    -moz-transform:rotate(20deg);
    -o-transform:rotate(20deg);
    -ms-transform:rotate(20deg)
}



/*-------------------- Common Classes --------------------*/
.txtCenter {text-align: center;}
.txtLeft {text-align: left;}
.txtRight{text-align: right;}
.txtIndent{margin-left: 40px;}


/*==================== CONTAINERS ====================*/

header{ 
    margin-bottom: 1.5em;
    position: fixed;
    z-index: 10;
    height: 125px;
    
/*Polka dot background */
    background-color:#9aeca4;
    background-color:#9aeca4;
    background-image: radial-gradient(white 15%, transparent 16%),
radial-gradient(white 15%, transparent 16%);
    background-size:60px 60px;
    background-position: 0 0, 30px 30px;
    
        box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
    border-top:1px solid rgba(0,0,0,0.25);
    border-bottom:1px solid rgba(0,0,0,0.25);
}



#logo a{
    text-decoration: none;
}

nav{
    text-align: right;
    padding-top: 2em;
    
}

nav a{
    font-family: 'Emilys Candy', cursive;
    font-size:2.25rem;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 20px;
    color:#fafafa;
    text-shadow: 2px 2px 5px #000;
}
    
nav a:hover{
    color:#FDDD20;
}

main{
    padding-top:100px;
}



section{
   
}


footer{
    background: #929497;
    padding: 200px 0 260px 0;
    height: 800px;
    color: #454545 ;
}

footer h1{
    margin-bottom: 0.5em ;
    color: rgb(60, 60, 60) ;
}

footer a {
    color: #FDDD20;
    text-decoration: none;
}

footer a:hover{
    border-bottom: 3px solid #FDDD20;
}

/*==================== SECTIONS ====================*/
#home{
    background:url('../imgs/cherry.jpg');
    background-repeat:  no-repeat;
    background-position:50% 0;
    background-attachment: fixed;
    background-size: cover;
    padding: 200px 0 260px 0;
    height: 200px;
    
    
}

#home article{
    text-align: center;
    color:#FDDD20;
    text-shadow: 2px 2px 5px #000;
}

#home h1{
    font-family: 'Sofia', cursive;
    font-size: 6rem;
    margin-bottom: 0.5em ;
    color:#FDDD20;
}

#home h4{
    
    font-size:
}


#home p{
    text-align: center;
    font-size: 2rem;
    line-height: 2.5em;
	text-align-last: auto;
} 

#about{ 
    background: #fff;
    height: 200px;
    padding: 150px 0 400px 0;
}

#about h1{
    margin-bottom: 0.5em;
}


#skills{
	background: #deeadf url(../imgs/grey.png)  50% 0 repeat fixed;
	height: 1400px;
	margin: 0 auto;
	overflow: hidden;
	padding: 200px 0;
}

#skills h1{
}

#skills .jobs i{
    font-size: 3rem;
    margin:10px;
    color:#74b37b;
}

#skills h2{
    border-bottom: 1px solid #454545;
    padding-bottom: 0.5em;
    text-align: center;
    margin-bottom: 0;
}

#skills .jobs p{
    margin: 10px; 
    padding:10px;
    border-bottom: dashed 1px #454545;
    text-align: left;
}

#skills .jobs p:hover{
    background: rgba(255,255,255,0.5);
}

#skills strong{
    color:#74b37b;
}

#skills p:hover strong{
    font-size: 1.125em;
}
#skills p:hover i {
    font-size: 4rem;
}

#skills .awards{
   margin-top: 3em;
}

/*-------------------- Skills Chart Classes --------------------*/

.bargraph {
	list-style: none;
	}
            
ul.bargraph li {
	height: 25px;
	color: white;
	text-align: left;
	font-style: italic;
	font-weight:bolder;
    padding:5px 10px;
    border-radius: 10px;
    margin-bottom: 0.5em;
	}

.web{
    background: #F16625;
  
}
.psd{
    background: #1F2967;

}
.fl{
    background:#D63434;
  
}
.wp{
    background:#21759B ;
  
}
.pr{
    background: #A874C6;

}
.js{
    background:#EB9C3D ;
;
}
.max{
    background:#0D7F7F ;

}
.ae{
    background: #CC9FEE;
 
}
.id{
    background: #EF51C5;
}

.ai{
    background: #EFBD2D;
}


/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
	opacity:0;  /* make things invisible upon start */
	-webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
	-moz-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;

	-webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;

	-webkit-animation-duration:1s;
	-moz-animation-duration:1s;
	animation-duration:1s;
}

.one.fade-in {
-webkit-animation-delay: 0.5s;
-moz-animation-delay: 0.5s;
animation-delay: 0.5s;
}

.two.fade-in  {
-webkit-animation-delay: 1.0s;
-moz-animation-delay:1.0s;
animation-delay: 1.0s;
}

.three.fade-in {
-webkit-animation-delay: 1.5s;
-moz-animation-delay: 1.5s;
animation-delay: 1.5s;
}

.four.fade-in  {
-webkit-animation-delay: 2s;
-moz-animation-delay: 2s;
animation-delay: 2s;
}

.five.fade-in {
-webkit-animation-delay: 2.5s;
-moz-animation-delay: 2.5s;
animation-delay: 2.5s;
}

.six.fade-in  {
-webkit-animation-delay: 3s;
-moz-animation-delay: 3s;
animation-delay: 3s;
}

.seven.fade-in  {
-webkit-animation-delay: 3.5s;
-moz-animation-delay: 3.5s;
animation-delay: 3.5s;
}

.eight.fade-in  {
-webkit-animation-delay: 4s;
-moz-animation-delay: 4s;
animation-delay: 4s;
}

.nine.fade-in  {
-webkit-animation-delay: 4.5s;
-moz-animation-delay: 4.5s;
animation-delay: 4.5s;
}

.ten.fade-in {
-webkit-animation-delay: 5s;
-moz-animation-delay: 5s;
animation-delay: 5s;
}

/*-------------------- Awards List --------------------*/
#skills .ca-menu{
    padding:0; 
    margin: 20px auto;
}

#skills .ca-menu li{
    overflow: hidden;
    position: relative;
    margin-right: 4px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
    text-align: center;
    padding: 10px;
}

#skills .ca-menu li a{
    display: block;
    color:#454545;
    position: relative;
    height: 300px;
    text-decoration: none;
}

#skills .ca-menu i{
    font-size: 10rem;
    color: #333;
    text-shadow: 0px 0px 1px #333;
    line-height: 150px;
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0px;
    top:0;
    text-align: center;
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}
#skills .ca-content{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 50%;
}
#skills .ca-main{
    opacity: 0.8;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
    margin-bottom: 0;
    
}
#skills .ca-sub{
    font-family: 'Laila', serif;
    text-align:center;
    font-size: 14px;
    color: #666;
    opacity: 0.8;
    position: absolute;
    bottom: 10%;
    width: 100%; 
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    margin:0 0 1.5em;
}
#skills .ca-menu li:hover{
    background-color: #929497;
}
#skills .ca-menu li:hover i{
    color: #FDDD20;
    -webkit-animation: moveFromBottom 300ms ease;
    -moz-animation: moveFromBottom 300ms ease;
    -ms-animation: moveFromBottom 300ms ease;
}
#skills .ca-menu li:hover .ca-main{
    color: #FDDD20;
    -webkit-animation: smallToBig 300ms ease;
    -moz-animation: smallToBig 300ms ease;
    -ms-animation: smallToBig 300ms ease;
}
#skills .ca-menu li:hover .ca-sub{
    color: #000;
    background-color: #FDDD20;
    -webkit-animation: moveFromBottom 500ms ease;
    -moz-animation: moveFromBottom 500ms ease;
    -ms-animation: moveFromBottom 500ms ease;
}
@-webkit-keyframes smallToBig{
    from {
        -webkit-transform: scale(0.1);
    }
    to {
        -webkit-transform: scale(1);
    }
}
@-moz-keyframes smallToBig{
    from {
        -moz-transform: scale(0.1);
    }
    to {
        -moz-transform: scale(1);
    }
}
@-ms-keyframes smallToBig{
    from {
        -ms-transform: scale(0.1);
    }
    to {
        -ms-transform: scale(1);
    }
}

@-webkit-keyframes moveFromBottom {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0%);
    }
}
@-moz-keyframes moveFromBottom {
    from {
        -moz-transform: translateY(100%);
    }
    to {
        -moz-transform: translateY(0%);
    }
}
@-ms-keyframes moveFromBottom {
    from {
        -ms-transform: translateY(100%);
    }
    to {
        -ms-transform: translateY(0%);
    }
}





#works{ 
    background:#fff;
    height: 300px;
    padding: 200px 0 400px 0;
}

#works .ca-menu{
    padding:0;
    margin:40px auto;
}
#works .ca-menu li{
    
    height: 300px;
    overflow: hidden;
    position: relative;
    float:left;
    background: #fff;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-right: 4px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

#works .ca-menu li.edu{
    background: rgba(103, 158, 203, 0.5);
}

#works .ca-menu li.write{
    background: rgba(88, 153, 37, 0.5);
}

#works .ca-menu li.design{
    background: rgba(238, 206, 61, 0.5);
}

#works .ca-menu li.edu:hover {
    background: #679ecb;
}

#works .ca-menu li.write:hover {
    background: #589925;
}

#works .ca-menu li.design:hover {
    background: #eece3d;
}


#works .ca-menu li a{
    text-align: left;
    width: 100%;
    height: 100%;
    display: block;
    color: rgba(255, 255, 255,0.8);
    position: relative;
}
#works .ca-menu i{
    font-size: 10rem;
    line-height: 150px;
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0px;
    top: 0px;
    text-align: center;
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}

#works .ca-content{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 50%;
}
#works .ca-main{
    font-size: 30px;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
#works  .ca-sub{
    font-family: 'Laila', serif;
    text-align:center;
    font-size: 14px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
#works .ca-menu li:hover{
    z-index:999;
    -webkit-transform: scale(1.1);  
    -moz-transform: scale(1.1);  
    -ms-transform: scale(1.1);   
    -o-transform: scale(1.1);   
    transform: scale(1.1);  
}

#works .ca-menu li:hover a{
    color: rgba(255, 255, 255,1);
}
#works .ca-menu li:hover i{
    font-size: 90px;
}
#works .ca-menu li:hover .ca-main{
    -webkit-animation: smallToBig 300ms ease;
    -moz-animation: smallToBig 300ms ease;
    -ms-animation: smallToBig 300ms ease;
}
#works .ca-menu li:hover .ca-sub{
    -webkit-animation: moveFromBottom 500ms ease;
    -moz-animation: moveFromBottom 500ms ease;
    -ms-animation: moveFromBottom 500ms ease;
}
@-webkit-keyframes smallToBig{
    from {
        -webkit-transform: scale(0.1);
    }
    to {
        -webkit-transform: scale(1);
    }
}
@-moz-keyframes smallToBig{
    from {
        -moz-transform: scale(0.1);
    }
    to {
        -moz-transform: scale(1);
    }
}
@-ms-keyframes smallToBig{
    from {
        -ms-transform: scale(0.1);
    }
    to {
        -ms-transform: scale(1);
    }
}

@-webkit-keyframes moveFromBottom {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0%);
    }
}
@-moz-keyframes moveFromBottom {
    from {
        -moz-transform: translateY(100%);
    }
    to {
        -moz-transform: translateY(0%);
    }
}
@-ms-keyframes moveFromBottom {
    from {
        -ms-transform: translateY(100%);
    }
    to {
        -ms-transform: translateY(0%);
        }
}


#design{
    background: rgba(238, 206, 61, 0.5) url(../imgs/grey.png)  50% 0 repeat fixed;
	height: 800px;
	margin: 0 auto;
	padding: 200px 0 400px;
	color: #333333;
}


#design nav{
    text-align: left;
    padding:10px 0;
    border-bottom: solid 2px #74b37b;
    
}

#design nav a{
    font-family: 'Laila', serif;
    font-size:2rem;
    text-transform: capitalize;
    text-decoration: none;
    margin-right: 20px;
    color:#74b37b;
    text-shadow: none;
    padding: 10px;
}
    
#design nav a:hover{
    color:#fff;
    background: #74b37b;
}

#design nav a.current{
    color:#fff;
    background: #74b37b;
}

#design #gallery{
    position: relative;
}


#design #gallery section{
    position: absolute;
    top: 1.5em;
    left:0;
    display: none;
}

#design #gallery section:first-child{
    display:block;
    left: 0;
}

#design #gallery a{
    text-decoration: none;
    background: none;
    padding: 0;
    display: block;
    opacity: 0.65;
}




#design figure{
    box-sizing:border-box;
    float:none;
    position:relative;
    width:auto;
    max-width:100%!important;
    margin:0;
    padding:0;
    
    border:none;
    background:transparent;
    
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
    
    -webkit-transform:none;
    -moz-transform:none;
    -o-transform:none;
    -ms-transform:none;
    transform:none;
}

#design figure:nth-of-type(even){
     -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
    
    -webkit-transform:none;
    -moz-transform:none;
    -o-transform:none;
    -ms-transform:none;
    transform:none;
}

#design img{
    border:1px solid;
    border-color:#ccc #ccc #ccc #eee;
    padding: 5px;
    background:#fff;
}

#design figcaption{
    position:relative;
    bottom:0;left:0;
    text-shadow:none;
    text-align:center;
    font-family: 'Laila', serif; 
    font-size: 1.5rem;
    color:#454f40;
    letter-spacing:.09em;
    background-color: transparent;
    margin-bottom: 1.5em;
}

#design figure:before, #design figure:nth-of-type(even):before, #design figure:after, #design figure:nth-of-type(even):after{
    content:'';
    background-color:transparent;
    
    -webkit-transform:none;
    -moz-transform:none;
    -o-transform:none;
    -ms-transform:none;
    transform:none;
}

/*form */
.contact-form {
    color: #454545;
}

.contact-form form {
	margin: 0 0;
}

.control-group {
	margin-bottom: 1.5em ;
}

.control-group label {
}

.control-group input[type="text"] {
	height: 30px;
    border-radius: 5px;
    border: none;
	background: rgba(255,255,255,0.5);
	outline: none;
	padding: 5px 10px;
    width: 100%;
    font-size: 1.8rem;
    box-sizing: border-box;
}

.control-group input[type="text"]:focus, .control-group textarea:focus{
    background: rgba(255,255,255,1);
}


.control-group textarea{
    border: none;
    font-size: 1.8rem;
    height: 200px;
    width: 100%;
    padding: 5px 10px;  ;
    box-sizing: border-box;
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
}


.control-group input[type="submit"] {
	width: 100%;
	padding: 10px;
	outline: none;
	text-align: center;
    border:none;
	color: #ffffff;
	border-radius: 5px;
	background: #74b37b;
    font-size: 1.8rem;

}

.control-group input[type="submit"]:hover {
	cursor: pointer;
	background: #FDDD20;
    color: #454545;
}

.no-margin {
	margin: 0px; 
}

.contact-form label.error, div#errors {
	margin-bottom: 3px;
	background: #e06262;
	padding: 5px;
	color: #fff;
	font-family: 'Open Sans', 'sans-serif';    
}

div#errors{
    display:none;
}

.contact-form #msg_submitting{
    display:none;
    text-align: center;
}

.contact-form #msg_submitted{
    display:none;
    text-align: center;
}


#social{
    font-size: 5rem;
    margin: 1.5em 0;
}

#social a{
    color:rgba(0,0,0,0.25);
    margin-left: 25px;
}

#social a:hover{
    border: none;
    color:rgba(0,0,0,0.8);
}
