/* ---------------general--------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: monospace;
  color: rgb(32, 241, 32);
}

a {
  text-decoration: none;
  color: rgb(32, 241, 32);
}

h1{
  font-size: 80px;
  text-align: center;
}

ul{
  list-style-type: none;
  display: flex;
  list-style-type: none;
}
/* ---------------general--------------- */
/* ---------------shared---------------- */
#container {
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
}


#content{
  margin:0 auto;
  padding:20px 30px;
  width: 710px;
  background-color:rgba(0,0,0,0.7);
  text-align: justify;
  font-size: 18px;
  color:hsla(120, 87%, 90%, 1);
  
}

#canvas {
  z-index: 0;
  position:fixed;
  top: 0;
  left: 0;
}

#top-nav {
  font-size: 22px;
  display: flex;
  background-color:rgba(0, 0, 0, 0.678);
  justify-content: center;
  padding:18px 0;
  margin-bottom: 14px;
  text-align: center;
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 5;
  border-bottom: 1px solid hsla(120, 87%, 88%, 1)
}

#footer{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color:rgba(0, 0, 0, 0.678);
  width: 100vw;
  flex-grow: 1;
  bottom: 0;
  font-size: 18px;
  left: 0;
  z-index: 5;
  border-top: 1px solid hsla(120, 87%, 88%, 1);

}

.box{
  padding: 15px 0;
  margin: 12px;
  min-width: 120px;
  max-width: 150px;
  border:1px solid  hsla(120, 87%, 88%, 1);
}

.clear-absolute{
  height: 71px;
}

.bottom-line{
  border-bottom: 1px solid hsla(120, 87%, 94%, 1);
  margin-bottom: 10px;
}

@media screen and (max-width: 1000px) {
  #content {
    width: 550px;
  }
}

@media screen and (max-width: 700px) {
  #content {
    width: 450px;
  }
  #footer{
    flex-direction: column;
  }
}

@media screen and (max-width: 500px) {
  #content {
    width: 300px;
    border:none;
  }
}
/* ---------------shared---------------- */
/* ----------------home----------------- */
#home-content{
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  height: 85vh;
}

.email::before{
  display: block;
  position: absolute;
  content: 'asdasda';
  height: 80px;
  width: 80px;
}

[email-info]{
  position: relative;
  cursor: pointer;
}

[email-info]:hover::after{
  background-color: black;
  content:attr(email-info);
  position: absolute;
  bottom: 100%;
  width: 300px;
  left:-110px;
  padding: 15px 15px;
  margin: 25px 0;
  border:1px solid  hsla(120, 87%, 88%, 1);
}

/* ----------------home----------------- */
/* ----------------------typing----------------------- */

#name-typying {
  align-self: center;
  justify-self: center;
  color: rgb(152, 255, 152);
  border-right: 15px solid rgb(255, 255, 255);
  font-size: 40px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
  animation: typewriter 1.8s steps(15) 1s 1 normal both,
  blinkTextCursor 2s steps(1) 2s infinite normal;
}

#press-typying {
  align-self: end;
  justify-self: start;
  margin-left: 200px;
  font-size: 20px;
  width: 24em;
  color: rgb(162, 255, 162);
  border-right: 10px solid rgb(255, 255, 255);

  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
  animation: typewriter2 1.5s steps(12) 5s 1 normal both,
  blinkTextCursor 2s steps(1) 2s infinite normal;
}


@keyframes typewriter2 {
  from {
    width: 0;
    border-right-color:rgb(255, 255, 255,0);
  }
  to {
    border-right-color:rgb(255, 255, 255,1);
    width: 8.3em;
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 14.3em;
  }
}

@keyframes blinkTextCursor {
  0% {
    border-right-color: rgb(255, 255, 255);
  }
  50% {
    border-right-color: rgba(255, 255, 255, 0);
  }
  100% {
    border-right-color: rgb(255, 255, 255);
  }
}
/* ----------------------typing----------------------- */
/* ------------------------run------------------------ */
.run-arrow {
  position: absolute;
  top: 42%;
  left: 55%;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid rgb(29, 221, 29);
}

.run-text {
  position: absolute;
  font-size: 2rem;
  top: 40%;
  left: 45%;
  z-index: 5;
}

#run {
  cursor: pointer;
}
/* ------------------------run------------------------ */
