@font-face {
    font-family:"arrow";
    src: url("icomoon.ttf");
}

.portfoliobar {
    position: -webkit-sticky;
    position: sticky;
    display: block; /*Need this in order for sticky to work */
    top: 0px;
    margin: 0rem 0 0prem 0;
    padding: 0 0 0pt 0;
    width: 100% !important;
    height: 41px;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 99999;
    border-bottom: 1px solid #dedede;
    -webkit-backdrop-filter: blur(16px);
}

.portfoliobar ul{
    padding: 0;
    margin: 0;
    text-align: left;
}

.portfoliobar li{
    float: left;
    display: inline-block;
    height: 41px;
    margin: 0;
    padding: 0;
    width: 50%;
    text-align: center;
    font-weight: 200;
    line-height: 41px;
    font-weight: 400;
}

.portfoliobar li a:hover  {
    color: rgba(0,0,0,0.6);
}

/* GRID STARTS HERE */

.hero-box {
    display: block;
    width: 90%;
    max-width: 1000px;
    margin: 1rem auto 0 auto;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.contentbox1 h2 {
    margin-top: 100px;
    color: white;
    font-size: 36pt;
    margin-bottom: 15px;
}

.longbox {
    display:inline-block;
    height: 300px;
    width: 100%;
    background-color: rgba(107, 174, 190, 1);

    color: black;
    font-weight:200;

    transition: background-color .2s;
    -webkit-transition: background-color .2s;

    text-shadow: 0 0 0px black;
}

.longbox:hover {
    cursor: pointer;
    background-color: #6baebe;
}

#apple:hover > #apple-logo {
    /*-webkit-transform: translate(-250%, -50%);
    -moz-transform: translate(-250%, -50%);
    -webkit-transition: -webkit-transform .25s ease-in-out;
    -moz-transition:-moz-transform .25s ease-in-out;*/
}

#apple:hover > #apple-description {
    /*opacity: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;*/
}

.longbox h2 {
    margin-top: 100px;
    font-size: 36pt;
    margin-bottom: 15px;
}

.contentbox1 {
    display: inline-block;
    height: 300px;
    width: 50%;
    background-color: rgba(3, 167, 34, 0.56);
    color: white;
    background-repeat: no-repeat;

    transition: background-color .2s;
    -webkit-transition: background-color .2s;
    vertical-align: top;
}

.contentbox1:hover {
    background-color: rgba(0, 141, 35, 0.78);
    cursor: pointer;
}


.contentbox3 p{
    font-size: 16pt;   
}

.contentbox3 {
    display:inline-block;
    height: 300px;
    width: 50%;
    background-color:  rgba(45, 97, 148, 1);
    color: white;
    font-weight:200; 
    transition: background-color .2s;
    -webkit-transition: background-color .2s;
    background-repeat: no-repeat;

}

.contentbox3:hover {
    cursor: pointer;

    background-color: rgb(5, 79, 126);;
}

.contentbox3 h2 {
    margin-top: 100px;
    font-weight: 200;
    font-size: 36pt;
    margin-bottom: 15px;
}

#apple {
    background-color: rgba(171,175,180,1);
    background-image: url("../images-2/iOS8-wallpaper.jpg");
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity .2s;
    -webkit-transition: opacity .2s;
    -webkit-transition: background-size 0.2s ease-in;
    -moz-transition: background-size 0.2s ease-in-out;
    transition: background-size 0.2s ease-in-out;
    opacity: 1;
}

#apple:hover {
    opacity: 1;
    cursor: pointer !important;
    background-size: 130%;
    -webkit-transition: background-size 0.2s ease-in-out;
    -moz-transition: background-size 0.2s ease-in-out;
    transition: background-size 0.2s ease-in-out;
}

#apple-logo {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*#apple-logo:hover {
    -webkit-transform: translate(-200px, -50%);
    -webkit-transition: -webkit-transform .5s ease-in-out;
}*/

#compass {
    width: 55%;
    background-color: rgba(107, 174, 190, 0.69);

    color: black;
    font-weight:200;
    background-image: url("../images-2/compass-dashboard-2x.png");
    background-repeat: no-repeat;
    background-size: 400px;
    background-position: center; 

    transition: background-color .2s;
    -webkit-transition: background-color .2s;
}

#compass:hover {
    background-color: #5a95a0;
}

#compass h2 {
    color: black;
}

#excelsior {
    width: 45%;
    background-size: 400px;
    background-image: url("../images-2/excelsior.png");
    background-repeat: no-repeat;
    background-position: center 170px;
}


#visualization {
    width: 55%;
    background-color: rgb(152, 101, 163);
    background-image: url("../images-2/visualization-2x.png");
    background-position: center 210px;
    background-size: 500px;
}

#visualization:hover {
    background-color: rgb(126, 85, 147);
}

#opencomm {
    width: 45%;
    background-size: 350px;
    background-image: url("../images-2/opencomm.png");
    background-size: 400px;
    background-position: center 28px;
}

/* END GRID */



.portfolio-content{
    width: 100%;
}

.portfolio-content img{
    vertical-align: middle;

}

.portfolio-content h2{
    width: 80%;
    margin: 4rem 10% 1.5rem 10%;
    font-weight: 300;
    font-size: 32pt;
    text-align: center;

}

.portfolio-content p{
    width: 80%;
    margin: 0 auto 3rem auto;
    font-weight: 200;
    font-size: 16pt;
    text-align: center;
    padding-bottom: 10px;
}

#verizon {
    padding-top: 0rem;
    padding-bottom: 3.5rem;
    font-family: myriad-pro, "Helvetica Neue";
}

#tabletlearning {
    display: block;
    width: 400px;
    margin: 0 auto 0 auto;
}


.blue-content{
    float: left;
    margin: auto;
    padding: 100px 0 100px 50px;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    background-color: rgb(66, 102, 137);
    color: white;
}

.blue-content img{
    width: 400px;
    display: inline-block;
    vertical-align: top;
    box-shadow: 0 0 3px #afafaf;
}

.blue-content h2{
    margin: -4.2rem 0 1.2rem 0;
    font-weight: 200;
    font-size: 30pt;
    text-align: left;
}

.blue-content p{
    font-weight: 200;
    font-size: 1.2rem;
    text-align: left;
    padding-bottom: 20px;
}
.blue-content a{
    color: #e6e6e6;   
}

.blue-content a:hover {
    text-decoration: underline;
}

#newspaper {
    font-family: myriad-pro, "Helvetica Neue";
    padding: 0;
}

#newspapercontent {
    width: 800px;
    margin: 100px auto 100px auto;

}

#newspaperdescription {
    display: inline-block;
    width: 40%;
    margin: 200px 0 0 40px;
}

#websites{

    margin: auto;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

#websites img{
    vertical-align: middle;
    display: block;
    margin: -.2rem auto 0 auto;
    width: 800px;
}

@media (-webkit-min-device-pixel-ratio: 2) {
        #websites img {
            border-bottom: 0.5px solid #c4c4c4;
        }
    }




#websites h2{
    width: 100%;
    font-weight: 300;
    font-size: 32pt;
    text-align: center;
    margin: 4rem 0 1.2rem 0;

}

#websites p{
    margin: 0 auto 1.2rem auto;
    width: 80%;
    font-weight: 200;
    font-size: 1.2rem;
    text-align: center;
}

#websites a {
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

#boxingsite{
    padding-bottom: 30px;   
}


/* PHOTOS */


.photos {
    margin: 0 auto 0 auto;
    text-align: center;
}

#photos{
    color: white;
    background-color: rgb(100,100,100);
    font-family: myriad-pro, "Helvetica Neue";
}

.mainphoto {
    width: 800px;
    margin-bottom: 20px;  
    margin: 0 auto 0 auto;
}

.thumbnails img:not(:last-child) {
    margin-right: 20px;
}

#photos h2 {
    padding: 3rem 0 .5rem 0;   
    text-align: center;
}

#photos p{
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.thumbnails img {
    border: 4px solid rgb(100,100,100); 
    transition: border 0.15s;
    border-radius: 10px;
    width: 125px;
    margin: 1.2rem 0 2.4rem 0;
}


.thumbnails img:hover {
    border: 4px solid rgb(0, 167, 255); 
    cursor: pointer;
}

#apple-description {
    position: absolute;
    color: white;
    font-size: 18pt;
    text-align: left;
    opacity: 0;
    width: 20rem;
    margin: 0 40% 0 40%;
}





.current-projects {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    max-width: 1000px;
    margin: 1rem auto 0 auto;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 4px;
    background-color: #ffd800;
    font-weight: 400;
    letter-spacing: 2pt;
    
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
}

.current-projects:hover {
    background-color: #efca00;
}
#current-projects-header {
    display: block;
    width: 500px;
    margin: 3rem auto 3rem auto;
}

.project-h2 {
    font-size: 32pt;
    text-align: center;
    margin-top: 3.5rem;
}

#stepstep-beta-screenshot {
    display: block;
    margin: 0 auto 0 auto;
}

#health-description {
    display: inline-block;
    width: 50%;
    max-width: 700px;
    vertical-align: top;
}

.line {
    border-bottom: 1px solid #c4c4c4;
    width: 80%;
    margin: 0 auto 0 auto;
}

/*@media (-webkit-min-device-pixel-ratio: 2) {
    .line {
        border-bottom: 0.5px solid gray;
    }
}*/

.project-p {
    text-align: center;
    width: 70%;
    margin: 1.5rem 15% 0 15%;
}

#current-projects-link-text {
    margin-top: 0.4rem;
}

#current-projects-a {
    display: block;
    width: 70%;
    height: 50px;
    line-height: 50px;
    max-width: 1000px;
    margin: 1rem auto 0 auto;
    text-align: center;
}