/* Nav Bar */
body{
  margin:0;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  min-width: 400px;
}


#navBar{
  width:100%;
  margin-right:auto;
  margin-left:auto;
  height:250px;
  position:relative;
  z-index: 1;
  background-color: rgb(244,243,239);
}
#navButtons{
  width:90%;
  height:50px;
  margin-left:auto;
  margin-right:auto;
}
#soomiLogo{
  position:fixed;
  display:block;
  margin-top:20px;
  margin-left:50%;
  transform: translateX(-180px);
  width:265px;
  height:147px;
  pointer-events:none;
}

#soomiLogoFace{
  position:absolute;
  height:146px;
  width:128px;
  fill: #F16357;
}
#soomiLogoName{
  position:absolute;
  height:42px;
  width:139px;
  left:116px;
  bottom:0px;
  pointer-events:auto;
  fill: #F16357;
}


#stickyNavBar{
  position:absolute;
  width:100%;
  height:50px;
  /*margin: 0 2%;   */
  bottom:0;
  background-color: rgb(244,243,239);
  overflow:hidden;
  min-width: 400px;
}
.button1{
  color:#F16357;
  text-decoration:none;
  font-size:18px;
  text-align: center;
  position:absolute;
  padding-top:15px;
  padding-bottom:5px;
  width:100px;
}
.button1:hover{
  border-bottom: 9px solid #F16357;
}
.active{
  border-bottom: 9px solid #F16357;
}
.button2{
  width:28px;
  height:30px;
  display:inline-block;
  float:right;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin-right:20px;
  font-size:13px;
  text-decoration:none;
  color:#F16357;
}
.button2 img{
  width:20px;
}
.button2 p{
  position:absolute;
  width:200px;
  left:50%;
  margin-left: -100px;
  bottom:-20px;
  text-align: center;
  opacity:0;
}
.button2:hover p, .button.hover p{
  opacity:1;
}

:target::before {
  content:"";
  display:block;
  height:50px; /* fixed header height*/
  margin:-50px 0 0;
}

@media (max-width: 555px){

  #stickyNavBar{
    height:100px;
  }
  .button1{
    padding-top:65px;
  }
  .button2{
    top:75%;
    margin-right:15px;
    padding-top:75px;
  }
  :target::before {
  content:"";
  display:block;
  height:100px; /* fixed header height*/
  margin:-50px 0 0;
  }
}

/*Index*/

#portfolio{
  width:80%;
  position:relative;
  margin-left:auto;
  margin-right:auto;
  text-align: center;
  padding-bottom:50px;
}
.projectHome{
  display: inline-block;
  width:200px;
  height:200px;
  margin-left:20px;
  margin-top:20px;
  position:relative;
}
.projectHoverHome{
  width:200px;
  height:200px;
  position:absolute;
}
.projectHome:hover .projectHoverHome{
  background-color: rgba(241,99,87,0.9);
}
.projectHomeName{
  position:absolute;
  top:50%;
  color:white;
  text-align: left;
  margin-left:5px;
  font-size: 30px;
  transform: translate(0,-50%);
}

#projectStorefront{
  background-image: url(../img/project_Storefront.png);
  background-size: contain;
}
#projectDci{
  background-image: url(../img/project_dci.png);
  background-size: contain;
}
#projectArtCook{
  background-image: url(../img/project_art+cook.png);
  background-size: contain;
}
#projectGenderizer{
  background-image: url(../img/project_genderizer.png);
  background-size: contain;
}
#projectPeriod{
  background-image: url(../img/project_period.png);
  background-size: contain;
}
#projectNoD{
  background-image: url(../img/project_nodicks.png);
  background-size: contain;
}
#projectArduino{
  background-image: url(../img/project_arduino.png);
  background-size: contain;
}
#projectDumpCook{
  background-image: url(../img/project_dumpCook.png);
  background-size: contain;
}
#projectNasa{
  background-image: url(../img/project_NASA.png);
  background-size: contain;
}
#projectStars{
  background-image: url(../img/project_constellation.png);
  background-size: contain;
}
#projectMime{
  background-image: url(../img/project_Mime.png);
  background-size: contain;
}
#projectAccess{
  background-image: url(../img/project_Access.png);
  background-size: contain;
}
#projectEdData{
  background-image: url(../img/project_EdData.png);
  background-size: contain;
}
#projectFace{
  background-image: url(../img/project_Face2Face.png);
  background-size: contain;
}
#projectShine{
  background-image: url(../img/project_Shine.png);
  background-size: contain;
}
#projectUnclasped{
  background-image: url(../img/project_Unclasped.png);
  background-size: contain;
}
#about{
  width:100%;
  background-color: #F16357;
  padding:220px 0;
}
#about2{
  /*width:80%;*/
  position:relative;
  margin-left:auto;
  margin-right:auto;
  width: calc(230px + 50vw);
}
#about2 img{
  display:inline-block;
  vertical-align: top;
  width: 30%;
  max-width: 200px;
}
#about2 #text{
  display:inline-block;
  width:50vw;
  padding-left:20px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size:1.2em;
  color: rgb(244,243,239);
}

#bottomHome{
  position:relative;
  width:100%;
  height:30px;   
  bottom:0;
  background-color: rgb(244,243,239);
  color: #F16357;
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  padding-top:20px;
}

@media (max-width: 555px){
  .project{
    width:175px;
    height:175px;
    margin-left:10px;
    margin-top:10px;
  }

  .projectHover{
    width:175px;
    height:175px;
    position:absolute;
  }
  #about2 img{
  width: 30%;
  display:block;
  margin:0 auto;
  }
  #about2 #text{
  width:90% !important;
  margin:20px auto 0 auto !important;
  }
  
}
@media (max-width: 725px){
  #about2 .disappear{
    display:none;
  }
  #about2{
    width:90%;
  }
  #about2 #text{
  width:55%;
  }
  #about2 img{
  width: 30%;
  }
}

/*Projects page*/

.title{
  color:#F16357; 
  font-size: 2em;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin: 30px 0;
  display: inline-block;
}
.subtitle{
  color: #F16357;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size:1.5em;
}
#projectDes {
  /*width:200px;
  margin: 50px 20px 50px 30px;*/
  width:90%;
  max-width:800px;
  margin: 10px auto 50px;
  color:#666666;  
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size:1.2em;
  /*display:inline-block;*/
  vertical-align: top;
}
#projectDes a,#project a{
  color: #F16357;
  text-decoration: none;
}
#project{
  /*display:inline-block;
  width: calc(100% - 300px);
  margin:50px 0;*/
  width:90%;
  margin-left:auto;
  margin-right:auto;
  color:#666666;  
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size:13px;
  max-width:800px;
}
#project p, #project li{
  font-size:1.2em;
}
.projectImg{
  width:100%;
  height:auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.projectImgSm{
  width:60%;
  margin: 0 20%;
}
/*.projectImg img{
  max-width:100%;
  display:block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}*/
#demo2 img{
  max-width:100%;
  display:block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}
.iframe{
  width:100%;
  height:33vh;
}
#marveliframe{
  height:823px;
}
#shineiframe{
  display:block;
}
#demo, #demo2{
  display:inline-block;
  width: 49%;
  min-width: 350px;
  vertical-align: middle;
}
#iPhone1{
  display:block;
  width:300px;
  left:50%;
  margin:20px auto;
}
#demo1{
  display:block;
  width:260px;
  height:461px;
  margin:-553px auto 100px auto;
}
#tryBtn{
  padding:10px 15px;
  background-color: #F16357;
  color: rgb(244,243,239)!important;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size:20px;
  text-decoration: none;
  margin-right:15px;
}
#portfolio2{
  width:90%;
  position:relative;
  margin-left:auto;
  margin-right:auto;
  -webkit-overflow-scrolling: touch;
  overflow:scroll;
  white-space: nowrap;
  padding-bottom:30px;
}

.project{
  display: inline-block;
  width:75px;
  height:75px;
  background-color: rgba(241,99,87,0.1);
  position:relative;
  margin: 0 0px 22px 5px;
}

.projectHover{
  width:75px;
  height:75px;
  position:absolute;
}
.projectName{
  position:absolute;
  width:200px;
  left:50%;
  margin-left: -100px;
  bottom:-30px;
  font-size:13px;
  color:#F16357;
  text-align: center;
  opacity:0;
}
.project:hover .projectName{
  opacity:1;
}
.project:hover .projectHover{
  background-color: rgba(241,99,87,0.5);
}
#bottom{
  position:relative;
  width:100%;
  height:30px;   
  bottom:0;
  background-color: #F16357;
  color: rgb(244,243,239);
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  padding-top:20px;
}
@media (max-width: 650px){
  #projectDes {
    width: 90%;
    margin: 50px 5%;
  }
  #project{
    width: 90%;
    margin: 0px 5% 50px 5%;
    overflow-x: scroll;
  }
  #frameDemo{
    display:none;
  }
  #tryBtn{
    display: inline-block;
    margin-bottom: 15px;
  }
  #shineiframe{
    transform: scale(0.5) translateX(-436px) translateY(-248px);
  }
}
@media (max-width: 1000px){
  #demo{
  width: 100%;
  }
}




