/*

336699 lt blue
FFCC66 pale yellow
FFFFFF white
000000 black
003366 dk blue

*/
html,body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 15px;
}

body{
    background: white;
}

body.innerlvl2, body.hover-lock{
    background: #FFCC66;
}

a{
   color: #2222DD;
   text-decoration: none;
   font-weight: normal;
}

a:hover{
   color: #0000FF;
   text-decoration: none;
}

h1{
    font-size: 2em;
    margin: 5px 0 10px 0;
    color: #336699;
}

h3{
    font-size: 1.4em;
    margin: 5px 0 10px 0;
    clear: both;
    color: #003366;         
}

p{
    font-size: 1em;
    margin: 6px 0 12px 0;
    color: #336699;
    line-height: 1.4em; 
}

.its-reponsive{
    background: url(../images/responsive.png) no-repeat;
    width: 97px;
    height: 92px;
    position: fixed;
    right: 5px;
    top: 50%;
    z-index: 44;
    display: none;
}


#header{
    color: #003366;
    width: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    position: fixed; 
    background: transparent; /* #FFCC66; */
    height: 170px;
    z-index: 99;
}

#header.header-shadow{
    background: #FFCC66;
    -webkit-box-shadow: 1px 2px 15px rgba(50, 50, 50, 0.7);
    -moz-box-shadow:    1px 2px 15px rgba(50, 50, 50, 0.7);
    box-shadow:         1px 2px 15px rgba(50, 50, 50, 0.7);  
}

#header .content{
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#header.header-shadow .logo{

}

#header .logo{
    float: left;
    padding: 20px 0 0 20px;
    display: block;
    width: 40%;  
    color: black; 
    height: 150px;
    overflow: hidden;
    background-image: url(../images/its_lennys_fault_logo.png);
    background-repeat: no-repeat;
    background-position: 20px 170px;
    cursor: pointer;
}
#header .logo h1{
    font-size: 3em; 
    color: black;
    margin-bottom: 0px;
    padding-bottom: 0px;
    display: none;
}

#header .logo h3{
    margin-top: 0px;
    padding-top: 0px;
    display: none;    
}

#footer{
    text-align: center;
    padding: 20px;
    letter-spacing: 0.1em;
}

.scrotum{
    cursor: pointer;
}

body.innerlvl2 #header .scrotum{
    position: relative;
    float: right;
    width: 46%;
    height: 50px;
    min-width: 250px;
    margin: 95px 0 10px 0;
}

body.innerlvl2 #header .scrotum .ball{
    width: 10%;
    padding-bottom: 10%;
}
body.innerlvl2 #header .scrotum .ball h3{
    left: -20%;
    width: 140%;
}

#header .taint{
    float: right;
    width: 15px;
    height: 50px;
}

body.innerlvl2 #viewport{
    position: relative;
    margin: 0 auto;
    width: 100%;
}

#pageWrap{
    max-width: 960px;
    width: 100%;
    margin: 170px auto 0px auto;
    background: white;
    min-height: 500px;
    border-radius: 20px;
    z-index: 111;
    
    -webkit-box-shadow: -1px -2px 15px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    -1px -2px 15px rgba(50, 50, 50, 0.3);
    box-shadow:         -1px -2px 15px rgba(50, 50, 50, 0.3);    
}

#pageWrap .content-left{
    width: 70%;
    float: left;
    min-height: 600px;
    border-right: 4px solid #FFCC66; /* 336699 003366 FFCC66; */
}

#pageWrap .content-left.content-wide{
    width: auto;
    float: none;
    clear: both;
    border: none;
}

#pageWrap .content-left .content{
    padding: 10px 20px 20px 20px;
}

#pageWrap .content-right{
    width: 29%;
    min-width: 200px;
    float: right;
}

#pageWrap .content-right .content{
    padding: 20px;
}


.homelvl1{
}

.home-logo{
    position: fixed;
    width: 100%;
    margin: 0;
    top: 50px;
    padding: 0;
    text-align: center;
    z-index: 2;
}

.home-logo img{
    display: inline;
}

.homelvl1 #viewport{
    z-index: 111;
}

#viewport.locked-viewport{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ball{
    position: absolute;
    width: 14%;
    height: 0px;
    padding: 0 0 14% 0;
    border-radius: 100%;
    background: #336699;
    background-repeat: no-repeat;
    background-size: 80% 80%;
    background-position: center center;
    border: 2px solid #003366;
    top: 0px;
    text-decoration: none;
    z-index: 99;
    cursor: pointer;

     -webkit-transition: background-color 200ms ease, border-color 200ms ease;
     -moz-transition: background-color 200ms ease, border-color 200ms ease;
     -o-transition: background-color 200ms ease, border-color 200ms ease;
     -ms-transition: background-color 200ms ease, border-color 200ms ease;
     transition: background-color 200ms ease, border-color 200ms ease;
}

.ball img{
    width: 80%;
    max-width: 512px;
    margin: 10% auto 0 auto;
}

.ball h3{
    position: absolute;
    top: 100%;
    width: 100%;
    color: #003366;
    font-weight: normal;
    text-align: center;
    display: block;
    overflow:visible;
    padding: 0;    
}

body.homelvl1 .ball h3{
    font-size: 1.8em;
}
body.innerlvl2 .ball h3{
    font-size: 0.8em;
}
.ball:hover,.ball.hover, .ball.hover-lock{
    border-color: #336699;
    background-color: #FFCC66;
    color: #336699;
}

body.homelvl1 .scrotum{
    position: relative;
    width: 90%;
    height: 50px;
    margin: 0 auto;
    max-width: 1200px;
}
/*
5 ball layout
width: 17%
.b1{left: 1%;}
.b2{left: 21%;}
.b3{left: 41%;}
.b4{left: 61%;}
.b5{left: 81%;}
*/
.b1{left: 0; z-index: 40; background-image: url(../images/icons/blog.svg);}
.b2{left: 17%; z-index: 50; background-image: url(../images/icons/about.svg);}
.b3{left: 34%; z-index: 60; background-image: url(../images/icons/projects.svg);}
.b4{left: 51%; z-index: 70; background-image: url(../images/icons/portfolio.svg);}
.b5{left: 68%; z-index: 80; background-image: url(../images/icons/resume.svg);}
.b6{left: 85%; z-index: 90; background-image: url(../images/icons/contact.svg);}


.banner-wrap{
    width: 100%;
    max-width: 632px;    
    margin: 0 0 35px 0;
    position: relative;    
    z-index: 10;
    clear: both;
    padding: 10px 0 0 0;
}

.skill-list{
    list-style: none;
    padding: 0;
    float: none;
    clear: both;
}

.skill-list li{
    list-style: none;
    padding: 2px 4px 2px 4px;
    font-size: 0.8em;
    background: #DDDDDD;
    border: 1px solid #888888;
    border-left: 10px solid #444444;
    border-radius: 3px;
    color: #003366;
    margin: 5px 10px 5px 0;
    cursor: pointer;
    width: 75%;
}

.content-right .skill-list{
    margin-bottom: 25px;
}

.banner-wrap .skill-list li{
    width: 97px;
    float: left;
    margin: 5px 10px 5px 0;
    cursor: pointer;
}

.skill-list li:hover{
    background: #aaaaaa;
    color: white;
/*    border-color: #FFCC66;*/
}
.skill-list li.frontend{
    border-left: 10px solid #ee6666;
}
.skill-list li.backend{
    border-left: 10px solid #88ee88;
}
.skill-list li.frameworks{
    border-left: 10px solid #88eeee;
}
.skill-list li.data{
    border-left: 10px solid #eeee66;
}
.skill-list li.server{
    border-left: 10px solid #ee66ee;
}
.skill-list li.consulting{
    border-left: 10px solid #8888ee;
}

body.projects #pageWrap .content-left .content{
    padding-right: 5px;
}

.project-item{
    position: relative;
    width: 280px;
    height: auto;
    max-width: 280px;
    border-radius: 10px;
    background:#003366;
    padding: 0;    
    margin: 0 27px 15px 0;
    position: relative;
    z-index: 10;
    float: left;
    overflow: hidden;
    border: 2px solid #003366;
    display: block;
    text-decoration: none;
    -webkit-box-shadow: 1px 2px 15px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    1px 2px 15px rgba(50, 50, 50, 0.3);
    box-shadow:         1px 2px 15px rgba(50, 50, 50, 0.3);    
    transition: box-shadow 500ms ease, margin 500ms ease;
}

.project-item:hover{
    -webkit-box-shadow: 5px 8px 15px rgba(50, 50, 50, 0.7);
    -moz-box-shadow:    5px 8px 15px rgba(50, 50, 50, 0.7);
    box-shadow:         5px 8px 15px rgba(50, 50, 50, 0.7);          
}

.project-item>img{
    border-radius: 5px;
    width: 100%;
    max-width: 280px;
}

body.projects .project-item p.hovered{
    display: block;
}

body.projects .project-item p{
    padding-left: 10px;
    padding-right: 5%;    
    width: 95%;
    text-align: left;
    line-height: 1em;
}

body.projects .project-item p em{
    color: yellow;
    display: block;
    font-size: 0.6em;
    font-weight: normal;
}

.project-item p img{
    display: inline-block;
}

body.portfolio .content-left .content{
    max-width: 632px;
    margin: 0 auto;
}

.banner{
    position: relative;
    width: 100%;
    max-width: 616px;
    border-radius: 10px;
    background:#003366;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 10;
    clear: both;
    overflow: hidden;
    border: 2px solid #003366;
    display: block;
    text-decoration: none;
    -webkit-box-shadow: 1px 2px 15px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    1px 2px 15px rgba(50, 50, 50, 0.3);
    box-shadow:         1px 2px 15px rgba(50, 50, 50, 0.3);    
    transition: box-shadow 500ms ease, margin 500ms ease;
}

.banner:hover{
    -webkit-box-shadow: 5px 8px 15px rgba(50, 50, 50, 0.7);
    -moz-box-shadow:    5px 8px 15px rgba(50, 50, 50, 0.7);
    box-shadow:         5px 8px 15px rgba(50, 50, 50, 0.7);          
}

.banner img{
    width: 100%;
    max-width: 632px;
    opacity: 1;
    border-radius: 5px;
}


.banner p, .project-item p{
    position: absolute;
    top: -20px;
    right: 0px;
    bottom: -20px;
    left: 0px;
    padding-top: 9%;
    width: 100%;
    background: rgba(0,0,0,0.7);
    text-align: center;
    display: none;
    color: white;
    font-size: 1.5em;
    line-height: 1.2em;
}
.banner p small, .project-item p small{
    font-size: 0.7em;
    color: #ededef;
}

.portfolio-popup {
  position: relative;
  background: #FFFFFF;
  padding: 30px;
  width: auto;
  max-width: 640px;
  min-height: 480px;
  margin: 0 auto;
  border-radius: 20px;
}

.portfolio-popup img{
   border-radius: 10px;
   width: 100%;
   max-width: 640px;
}

.portfolio-popup p{
   padding-right: 30px;
}

.form-wrap{
    margin: 20px 0 0 0;
}

.form-wrap .text-wrap{
    width: 100%;
    border-radius: 5px;
    border: 2px solid #336699;
    background: #EEEEEE;
    padding: 5px;
    margin: 10px 0 20px 0;
    max-width: 600px;
}

.form-wrap .text-wrap-smaller{
    max-width: 400px;
}

.form-wrap .text-wrap input{
    width: 100%;
    background: #EEEEEE;
    border: none;
    color: #003366;
    font-size: 1.2em;
}
.form-wrap .textarea-wrap{
    width: 100%;
    border-radius: 5px;
    border: 2px solid #336699;
    background: #EEEEEE;
    padding: 5px;
    margin: 10px 0 20px 0;
    max-width: 600px;
}

.form-wrap .textarea-wrap textarea{
    width: 100%;
    background: #EEEEEE;
    border: none;
    color: #003366;
    font-size: 1.2em;
    height: 200px;
    resize:none;
    max-height: 200px;
}

.form-wrap .stickysweet{
    display: none;
}

.form-wrap .submit-wrap{
    margin: 5px 0 0 0;
    padding: 0;
}

.form-wrap .submit-wrap input{
    border: 2px solid #336699;
    background: #FFCC66;
    color: #003366;
    padding: 5px 10px 5px 10px;
    margin: 0;
    border-radius: 5px;
    font-size: 1.4em;
    font-weight: bold;
    cursor: pointer;
}

.form-wrap .submit-wrap input:hover{
    border-color: #FFCC66;
    background: #003366;
    color: #FFCC66;
}

.no-link{cursor: default;}
.sub-link{cursor: pointer;}

.speechy{
    position: absolute;
    top: -190%;
    left: 0px;
    width: 290%;
    height: 80px;
}

.speechy p{
    position: absolute;
    left: 11%;
    top: 27%;
    width: 75%;
    height: 50%;
    font-size: 10px;
    line-height: 11px;
    text-align: center;
    color: black;
}

.speechy img{
    width: 100%;
}


.icon{
    background: url("../images/social-icons.png?v=1") no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}
.icon-ilf{
    background-position: 0 0px;
}
.icon-g{
    background-position: -16px 0px;
}
.icon-git{
    background-position: -32px 0px;
}
.icon-so{
    background-position: -48px 0px;
}
.icon-tw{
    background-position: -64px 0px;
}
.icon-li{
    background-position: -80px 0px;
}
.icon-ig{
    background-position: -96px 0px;
}


/** MEDIA QUERIES **/

@media only screen and (max-width: 3000px) {
    .its-reponsive{
        display: block;
    }
}

@media only screen and (max-width: 1240px) {
    .its-reponsive{
        display: none;
    }
}

@media only screen and (max-height: 430px) {
    .home-logo{
        margin: 0px;
        top: 5px;
    }
    .home-logo img{
        width: 140px;
    }
}

@media only screen and (max-height: 300px) {
    .home-logo{
        opacity: 0.4;
    }
}

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

    #pageWrap{
        border-radius: 0px;
        padding-top: 140px;
        margin-top: 200px;
    }

    #pageWrap .content-left{
        clear: both;
        float: none;
        width: 100%;
        border: none;        
    }
    #pageWrap .content-right{
        clear: both;
        float: none;
        width: 100%;
        border-top: 4px solid #FFCC66;
    }    
    body.innerlvl2 #header .scrotum{
        float: none;
        clear: both;
        width: 635px;    
        margin: 20px auto;
    } 
      
    #header .logo{
        float: none;
        clear: both;
        width: 100%;
        text-align: center;
        margin: -190px auto 0 auto;
        width: 645px;
        position: relative;
        padding: 0 0 20px 0;      
        background-position-x: 0px;
    }


    #header .taint{
        display: none;
    }      
    #header{
        height: 300px;     
    }
    #header .content{
        background: white;
        margin-top: 180px;
        height: 100px;
        padding-top: 20px;
    }
    body.homelvl1 .scrotum{
        font-size: 0.9em;        
    }    

    .content-right .skill-list li{
        width: 100px;
        float: left;
    }
    
    .mfp-iframe-scaler{
        padding-top: 0px;
        height: 500px;
    }
    .mfp-container{
        height: auto;
    }
   .portfolio-popup{
      border-radius: 0;
   }    
   
   .project-item{
        width: 29%;
    }
    .speechy p{
        font-size: 16px;
        line-height: 17px;
        top: 40%;
    }
}

@media only screen and (max-width: 750px) {
    body{
        font-size: 13px;
    }    
    #header{
        height: 233px;
    }
    #header .content{
        margin-top: 130px;
        padding-top: 5px;
    }
    
    #header .logo{
        margin: -134px 0 0 3%;
        padding: 0;
        background-size: 40%;
    }
    
    body.innerlvl2 #header .scrotum{
        font-size: 1em;
        width: 70%;
        margin-top: 0px;
    }
    body.homelvl1 .scrotum{
        font-size: 0.7em;
    }
    #pageWrap{
        padding-top: 40px;
    } 
   .project-item{
        margin: 0 2% 2% 0;
    }      
    .speechy{
        top: -300%;
        left: -10%;
        width: 420%; 
    }    
    .speechy p{
        font-size: 14px;
        line-height: 15px;
        
        top: 48%;
    }

}
@media only screen and (max-width: 565px) {
    .speechy{
        top: -280%;
        left: -10%;
        width: 420%; 
        margin-top: 20%;
    }    
    .speechy p{
        font-size: 13px;
        line-height: 14px;
        
        top: 31%;
    }
}
@media only screen and (max-width: 500px) {
    body{
        font-size: 12px;
    }   
    #pageWrap{
        padding-top: 20px;
    }        
    #header{
        height: 200px;
    }
    #header .content{
        margin-top: 130px;
        padding-top: 1px;
        height: 70px;
    }
    
    #header .logo{
        margin: -130px 0 0 3%;
        padding: 0;
        background-size: 40%;
    }   
    
    
    body.innerlvl2 #header .scrotum{
        font-size: 0.8em;
        margin-top: -10px;
    }    
    body.homelvl1 .scrotum{
        font-size: 0.7em;
    }
    body.homelvl1 .ball{
        width: 19%;
        padding-bottom: 19%;
    }    
    .home-logo{
        background: white;
        margin-top: 0px;
        padding-top: 10px;
        width: 100%;
        top: 0px;
        z-index: 99;
    }
    .home-logo img{
        width: 45%;
    }

    .home-logo-shadow{
        background: #FFFFFF;
        -webkit-box-shadow: 1px 2px 15px rgba(50, 50, 50, 0.3);
        -moz-box-shadow:    1px 2px 15px rgba(50, 50, 50, 0.3);
        box-shadow:         1px 2px 15px rgba(50, 50, 50, 0.3);  
    }    
    
    body.homelvl1 .b1{
        margin-top: 36%;
        left: 40%;
    }

    body.homelvl1 .b2{
        margin-top: 71%;
        left: 40%;
    }
    body.homelvl1 .b3{
        margin-top: 106%;
        left: 40%;
    }
    body.homelvl1 .b4{
        margin-top: 141%;
        left: 40%;
    }
    body.homelvl1 .b5{
        margin-top: 176%;
        left: 40%;
    }
    body.homelvl1 .b6{
        margin-top: 211%;
        left: 40%;
    }    
    body.homelvl1 #viewport.locked-viewport{
        overflow: visible;
        position: relative;
        height: auto;
    }     
    
   .project-item{
        width: 95%;
        margin: 0 0 4% 0;
    }  
    
    .speechy{
        top: -370%;
        left: -10%;
        width: 490%; 
    }    
    .speechy p{
        font-size: 12px;
        line-height: 13px;
        
        top: 25%;
    }                      
}
