@font-face {
  font-family: 'Apercu-Bold';
  src: url('fonts/apercu_bold-webfont.eot');
  src: url('fonts/apercu_bold-webfont.ttf');
  src: url('fonts/apercu_bold.otf');
  src: url('fonts/apercu_bold-webfont.woff'); 
}
@font-face {
  font-family: 'Apercu';
  src: url('fonts/apercu_regular-webfont.eot');
  src: url('fonts/apercu_regular-webfont.ttf');
  src: url('fonts/apercu_regular-webfont.svg');
  src: url('fonts/apercu_regular-webfont.woff');
}

@keyframes fadeIn { 
  from { opacity:0; } to { opacity:1; } 
}

html {
  height:100%;
}

body{
  font-family: 'Apercu', Arial, sans-serif;
  height: 100%;
  width: 100%;
  margin: 0;
  text-align: center;
  background-color: #ededed;
  color: #909090;
  height:100%;
}

ul {
  list-style-type: none;
  
}

h1, h2 {
  color: black;
}

select {
  padding: 8px 2px 5px 8px;
  border: none;
  background-color: #ededed;
  /* border: 1px solid #cacaca; */
}

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

.project-name {
  cursor:pointer;
  cursor:hand;
}

#project-thumb img {
  height: 100%;
  width: 100%;
}

#project-thumb img.resize {
  min-height: 200px;
  height: auto;
}

h2 {
  position: relative;
  width: 100%;
}

h2 span {
  cursor: pointer;
  cursor: hand;
}

h2 span:hover {
  color:#888;
}

/*h2 span:hover:after{
  content: "";
  width:100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0px;
  background-color: #e71789;
}*/

h3 {
	font-size: 1.1em;
	position: relative;
}

h3 span {
  visibility: hidden;
  position: absolute;
  top: 20px;
  width:100px;
  left: calc(50% - 50px);
  font-size: 0.6em;
}

h3:hover span {
	visibility: visible;

}

li.tag.valid {
  background-color: #e71789;
}

#project-tag-nav .vue-tags-input {
max-width: 100%;
}

#app {
  width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
  display: block;
  overflow-x: hidden;
}

#project-nav {
  display: inline-grid;
}

#project-type-nav {
  display: inline-flex;
}

#project-type{
  margin-right: 50px;
  position: relative;
  cursor: pointer;
}

#project-type-nav #project-type span:hover:after{
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0px;
  background-color: #e71789;
}

#project-tag-nav {
  margin-left: 20px;
}

#project-sort {
  float: right;
}

#project-view {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid #cacaca;
}

#project-cards {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.project-card {
  border: 1px solid #cacaca;
  border-radius: 2px;
  background-color: white;
  width: 29%;
display:inline-block;
vertical-align: top;
  margin: 1%;
  padding: 1%;
  box-shadow: 2px 2px 10px #90909050;
  transition: 0.2s;
  position: relative;
  animation:fadeIn ease-in-out 1;
  animation-duration:0.5s;
  padding-top: 30px;
  padding-bottom: 30px;
  min-height: 300px;
}

.project-card:hover {
  box-shadow: 0px 0px 2px #90909077;
}

#project-thumb {
  cursor:pointer;
  cursor:hand;
  height: auto;
  width: 90%;
  /* border: 1px solid #cacaca; */
  min-height: 150px;
  margin: auto;
}

.button {
  padding: 10px 10px 5px 10px;
  background-color:#ededed;
  border: 1px solid #cacaca;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #e71789;
  color: white;
}

.button img {
  padding-top: 10px;
}

#project-version {
  font-size: 1.5em;
}

.versions {
  cursor: pointer;
  font-size: 0.9em;
  padding: 12px 2px 5px 8px;
  border: 1px solid #cacaca;
  
}

#spinner {
  height: 900px;
  width: 100%;
  background-color: #ededed;
  margin: auto;
}

#spinner h2{
  position: absolute;
  top: 40%;
  
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #909090; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #6c757d; 
}

#main {
  width: 70%;
  margin: auto;
  margin-top: 20px;
}

#login {
  height:100%;
  padding-top: 100px;
  width: 100%;
  background-color: #fffaf4;
	min-height: -moz-available;
  min-height: -webkit-fill-available;
  /* width: 100%;
  min-height: 100%;
  background-color: #e71789; */
}
#brand {
  width: 20%;
  margin: auto;
}

#brand img {
  width: 100%;
 
}

@media screen and (max-width: 776px) {
  #app {
    width: 90%;
  }
  .project-card {
    width: 95%;
  }


#project-type {
	margin-right: 30px;
}

}

@media screen and (min-width: 777px) and (max-width: 1120px) {
  #main {
    width: 80%;
  }
  .project-card {
    width: 45%;
  }
}

@media screen and (max-device-width: 640px){
  #main {
    width: 90%;
  }
  .project-card {
    width: 95%;
  }

  h1 {
    font-size: 3em;
  }

  #project-type span {
    font-size: 2.5em;
    margin: auto;
  }

  h2, p {
    font-size: 2.3em;
  }
  
  #project-tag-nav .vue-tags-input {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 90%;
    font-size: 3.3em;
  } 

  #project-tag-nav .vue-tags-input .input{
    height: 70px;
  } 

  #project-tag-nav .new-tag-input.valid{
    font-size: 0.6em;
  }

  #project-version {
    font-size: 4em;
  }

  #project-version .versions {
    font-size: 1em;
    padding-left: 20px;
    padding-right: 10px;
    padding-bottom: 8px;
  }

  .button img {
    width: 50px;
    height: 50px;
  }

  #brand {
    min-width: 400px;
  }
}
