a {
  text-decoration: none;
}

body {
  margin: 0px;
}
* {
  margin:0;
  padding:0;
  box-sizing: border-box;
}
.animation {
  height: 100vh;
  background-color: rgb(233, 233, 233);
}

@keyframes nudge {
  
  0% {
    transform: translate(-50%, -70%);
  }
  
  33% {
    transform: translate(-50%, -30%);
  }
  
  66% {
    transform: translate(-50%, -60%);
  }
}

@keyframes fade {
  from {
    opacity: 1
  }
  to {
    opacity: 0
  }
}

@keyframes show-nav {
  from {
    top: -100%;
  }
  to {
    top: 0px;
  }
}

.paper-plane {
  height: 100px;
  top: 50%;
  position: absolute;
  
}

img#portrait {
  width: 150px;
  height: 150px;
  margin-bottom: 25px;
}

#header.collapsed {
  animation: collapse 1s forwards;
}

section#about-me {
  background-color: white;
  padding: 50px 25%;
  padding-top: 100px;
}

div#welcome-text {
  display: flex;
  position: relative;
  text-align: center;
  height: 100%;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2em;
}

.unselectable {
  -webkit-user-select: none; /* Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}
a {
  cursor: pointer;
}
li {
  list-style: none;
  /* border: 1px solid red; */
  margin-right: 25px;
}

ul {
  padding: 0px;
  display: inline-flex;
  align-items: center;
}

html{
  height: 100%;
}
body{
		margin: 0;
		padding: 0;
		height: 100%;
		/* overflow: hidden; */
		/* cursor: none; */
}
#canvas{
		background-color: #2c343f;
		width: 100%;
		height: 100%;		
    position: absolute;
    z-index: 0;
}
#navigation-bar {
  width: 100%;
  border-bottom: 5px solid rgb(255, 233, 37);
  background-color: rgb(39, 39, 39);
  z-index: 10000;
  /* position: fixed; */
  top:0;
  display: flex; justify-content: space-between; padding: 10px 25%;color: white;
}
div#text-logo {
  text-align: 'left'; color: white;
}

#logo-name {
  margin: 0px; padding: 0px; font-weight: 600;
}
#logo-title {
  font-size: 10px; margin: 0px;
}
.fixed {
  position: fixed !important;
  top: 0px;
  z-index: 100;
  width: 100%;
  margin-bottom: -100%;
  animation: show-nav 0.25s forwards;
}

#projects {
  height: 100vh;
  position: relative;
  transition: all 0.5s;
}
#projects h2, #contact h2 {
  position: absolute;
  color: white;
  padding: 50px 25%;
}

#contact h2 {
  color: black;
}
h2 {
  opacity: 1;
}
h2.faded {
  opacity: 0;
}
#projects div#garden-wars-title {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 75px;
  width: 100%;
  color: white;
  text-shadow: 5px #2c343f;
  transition: all 0.5s ease;

}

#scroll-down {
  position: absolute; 
  color: white;
  font-size: 5em;
  left: 50%;
  top:85%;
  color: #CDCDCD;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

#scroll-down:hover {
  color: white;
}

#scroll-down.idle-alert {
  animation: nudge 0.5s forwards;
}
/* #projects #download-container {
  display: flex;
} */

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

#projects div#garden-wars-title.condensed {
  /* left: 20%; */
  top: 90%;
  left: 300px;
  text-align: left;
  padding: 10px;
  width: 500px;
  background: rgb(29, 29, 29);
  padding-left: 25px;
  padding-right: 25px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* color: rgb(36, 36, 36); */
}

#projects img#app-store-download {
  transition: all 0.95s ease;
  margin-bottom: 10px;
}

#projects p {
  margin-bottom: 10px;
}

#projects div#garden-wars-title:not(.condensed) p,
#projects div#garden-wars-title:not(.condensed) img {
  opacity: 0;
}

#projects video {
  width: 50%;
  height: 50%;
  object-fit: cover;
}

#contact {
  height: 500px;
  background-color: white;
  /* font-size: 10em; */
}

#tech-icons {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}


#tech-icons img {
  height: 50px;
  /* width: 50px; */
  object-fit: scale-down;
  margin: 25px;
}
html {
	scroll-behavior: smooth;
}

.ui-loading .ui-loader { display: block; }
.ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@media screen and (max-height: 500px) {

  div#welcome-text {
      padding: 10% !important;
      padding-top: 6.5% !important;
      font-size: 1em !important;
  }

  #scroll-down {
    top: 90%;
    font-size: 40px;
  }


}

@media screen and (max-width: 991px) {
  #navigation-bar {
    display: none;
    height: 0;
    padding: 0;
    margin: 0;
  }
  #projects div#garden-wars-title {
    font-size: 25px;
  }
  section#about-me, #projects h2 {
    padding: 10% !important;
  }
  #projects div#garden-wars-title.condensed {
    top: 95%;
    left: 50%;
    width: 100%;
    font-size: 10px;
  }
  #scroll-down {
    /* top: 90%; */
    font-size: 50px;
  }
  div#welcome-text {
    display: flex;
    position: relative;
    text-align: center;
    height: 100%;
    /* justify-content: flex-start; */
    align-items: flex-start;
    color: white;
    font-size: 2em;
    padding-top: 20%;
    padding: 15%;
    padding-top: 25%;
    font-size: 25px;
}
}