/*************
GENERAL
**************/

html, body {
    font-family: 'Telex', sans-serif;

    margin: 0;

    overflow-y:hidden;
    overflow-x:hidden;
}

@font-face {
    font-family: 'pongMedium';
    src: url('pong-webfont.eot');
    src: url('pong-webfont.eot?#iefix') format('embedded-opentype'),
         url('pong-webfont.woff2') format('woff2'),
         url('pong-webfont.woff') format('woff'),
         url('pong-webfont.ttf') format('truetype'),
         url('pong-webfont.svg#pongmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-size: 3vw;
}

p {
    font-size: 1.2vw;
}

a {
    color: black;
    text-decoration: none;
}

.small {
    font-size: 0.7em;
}


/*************
HEADER BAR
**************/

#header {
    width: 100%;
    height: 4.7vw;
    margin: 0 auto;
    border-bottom: 2px black solid;
    font-size: 4vw;
}

#animated-name {
    width: 40vw;
    float: left;
}

#header-right {
    width: 60vw;
    height: 100%;
    float: left;
    position: relative;
}

/*************
HEADER > NAVIGATION
**************/

/** create background div for the color gradiant behind the nav links */
#nav,
#nav-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    /* the gradient, woohoo */
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0)), to(rgba(50,50,50,.6)))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(50,50,50,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* W3C */

}

#nav {
    z-index: 10;
}

#nav ul {
    float: right;
    list-style: none;
    margin: 0 2vw;
    padding: 0;
}

#nav li {
    font-size: 2vw;
    display: inline-block;
    margin-right: 4vw;
    vertical-align: middle;
    cursor: pointer;
}

#nav img {
    height: 3.5vw;
    margin: -.7vw 3vw 0 0;
    display: inline-block;
    float: right;
}


/*************
ABOUT PAGE
**************/

#about-page-container {
    height: 90vh;
    margin-bottom: 10px;
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

#intro p {
    width: 500px;
}

/* left side of page */
.link {
    font-weight: bolder;
    padding: 0 .25vw;
    background-color: #eee;
    border-radius: 2px;
}

#about-left {
    clear: both;
    float: left;
    width: 20vw;
    margin-right: 10px;
}

/* right side of page */

#about-right {
    margin: 5% 0 0 2%;
    float: left;
    width: 70%;
    height: 90%;
    margin-bottom: 10px;
}

/* about page nav bar */
#about-nav ul {
    font-size: 1.2em;
    list-style-type: none;
    background-color: #efefef;
    margin-bottom: 4vh;
    padding: .2vh .5vw;
}

#about-nav li {
    display: inline;
    margin: 1vh 1vw;
    padding: 1vh 1vw;
    border-radius: 5px;
    width: 10%;
    cursor: pointer;
}

.active-link {
    background-color: #fff;
    border: 1px solid #ababab;

    -moz-box-shadow:    1px 2px 6px 3px #ababab;
    -webkit-box-shadow: 1px 2px 6px 3px #ababab;
    box-shadow:         1px 2px 6px 3px #ababab;
}

.section {
    width: 100%;
    height: 80%;
    overflow: auto;
    position: relative;
    border-top: 2px solid #ababab;
}
.hidden {
    display: none;
}

/* projects */
.project {
    padding: 1vh 1vw;
    height: 200px;
    width: 200px;

    overflow: auto;
    border: 1px solid #ababab;
    border-radius: 2px;
    margin: 5vh 2vw;
    float: left;

    cursor: pointer;
    background-color: #efefef;
}

.project-logo {
    height: 10vh;
    text-align: center;
}

.project img {
    max-width: 100%;
    max-height: 100%;

    border: 1px solid #ababab;
    border-radius: 2px;

    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.project:hover {
    -moz-box-shadow:    1px 2px 6px 3px #ababab;
    -webkit-box-shadow: 1px 2px 6px 3px #ababab;
    box-shadow:         1px 2px 6px 3px #ababab;
}

/*************
COLORS
**************/


/*************
ICONS
**************/

.icon {
    display: block;
    width: 10vw;
    margin: 2vh auto;

}


/*************
404 PAGE
**************/
#body404 {
    background: #ffffff url("../img/frogger-circuit.png") no-repeat center top;
}

.page404 {
    height: 15vh;
    text-align: center;
}

.editor-canvas-404 {
    display: block;
    margin: 0 auto;
    border-radius: 5px;

    -moz-box-shadow:    1px 2px 25px 7px black;
    -webkit-box-shadow: 1px 2px 25px 7px black;
    box-shadow: 1px 2px 25px 7px black;
}
