@font-face {
  font-family: hollow;
  src: url(fonts/hollowpoint.ttf);
}
@font-face {
  font-family: brain;
  src: url(fonts/BrianJames.ttf);
}
@keyframes dribblingFram{
  0%{transform: translate(0px, 0px);}
  50%{transform: translate(0px, 70px);}
  100%{transform: translate(0px, 0px);}
}
@keyframes spin {
  0% {
    transform: translate(0px, 0px) rotateY(0deg);
  }
  50% {
    transform: translate(0px, 30px) rotateY(360deg);
  }
  100% {
    transform: translate(0px, 0px) rotateY(720deg);
  }
}

body {
  position: absolute;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: -2;
  background-image: url(img/testing.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#bg-img{
  position: fixed;
  height: 113%;
  width: 100%;
  background:linear-gradient(to bottom right ,rgba(20, 79, 227,0.6)10% ,rgba(120, 120, 120,0.5 )60%,rgba(20, 159, 219, 0.4));
  
}
.quote-wrap {
  z-index: 1;

  max-width: 300px;
  margin: auto;
  margin-top: 40px;
}
#quote {
  background: whitesmoke;
  max-width: 300px;
  margin: auto;
  margin-top: 20px;
  padding: 18px;
  border: 1px black solid;
  border-radius: 12px;
  font-size: 20px;
  /*transition: opacity 2s;*/
  opacity: 0;
  text-align: center;
  animation: quotes 4s infinite; 
}

#quote p {
  max-width: 300px;
  margin: auto;
  padding: 20px;
}
.angle {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 6px solid transparent;
  border-top: 30px solid whitesmoke;
  transition: opacity 2s;
  transition-delay: 1s;
  z-index: 2;
  opacity: 1;
}
#anglesGrid{
	display: grid;
	grid-template-columns: repeat(2 ,1fr);
}
#bugWrapperRow1{
	order: 1;
  opacity: 0;
  animation: bugger 8s infinite; 
  animation-delay: 4S;
}
#bugWrapperRow2{
	order: 2;
	margin-left: auto;
  opacity: 0;
  animation: bugger 8s infinite; 
}
#angleRight{
	opacity: 1;
}
#angleLeft{
	opacity: 1;
	margin-left: 42px;
	transform: rotateY(180deg);
}
#subAngelRight {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 5px solid transparent;
    border-top: 33px solid black;
    opacity: 1;
    position: absolute;
    z-index: -1;
}
#subAngelLeft {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 5px solid transparent;
    border-top: 33px solid black;
    transform: rotateY(180deg);
    margin-left:42px;
    opacity: 1;
    position: absolute;
    z-index: -1;
}

#bugWrapper{
	display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: -4px;
}
.bugQoute {
  height: 100px;
  width: 90px;
  transition-duration: 1ms;
  opacity: 0;
  margin-top: -18px;
  opacity: 1;
}

.outerWrapper {
  width: 100%;
  position: absolute;
  top: 31%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  column-gap: 50px;
  justify-content:space-around;
   align-items:center;
}
.row{
  display: flex;
   flex-direction: row;
}
.main{
 margin: 0px 255px 0;
}
.pro-img {
  background-image: url(img/me.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0px -37px;
  height: 150px;
  width: 150px;
  margin: auto;
  margin-top: 50px;
  border-radius: 50%;
  border: black 2px solid;
  z-index: 3;
}

.lg-heading {
  font-family: hollow;
  font-weight: 400;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 2px black;
  margin-bottom: 5px;
}
.text-secondary {
  color: #eece1a;
  text-shadow: -1px -2px 4px black;
}
.title {
  font-size: 28px;
  font-family: hollow;
  text-shadow: 1px 1px 4px #faf6e9;
  width: fit-content;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  border: solid black 2px;
  border-radius: 20px;
  padding: 5px 10px 8px;
  background-color: lightslategrey;
}

.myLinks{
  z-index: 2;
  height: fit-content;
  margin-top: 52px;
  animation: dribblingFram 4s infinite;
  text-align: center;
  font-family: hollow;
  cursor: pointer;
  transition:opacity 0.4s ease-out; 
  letter-spacing: 3px;
  text-shadow: 6px -1px 7px white;
}
#cvLink{
  margin-top: 60px;
}

.bug {
  display: inline-block;
  opacity: 1;
  height: 40px;
  width: 40px;
  transform: rotate(56deg);
  transition-duration: 1.5s;
}
.imgLink {
  display: inline-block;
  height: 60px;
  width: 60px;
  left: 0;
  right: 0;
  margin: auto;
  margin-bottom: 18px;
  margin-top: 6px;
  transition: 0.5s;
  cursor: pointer;
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes quotes{
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  90%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

@keyframes bugger{
  0%{
    opacity: 0;
  }
  4%{
    opacity: 1;
  }
  44%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

@media(max-width: 1170px){
	#navBar{
		position: fixed;
	}
	body{
		overflow-y: scroll;
		/*overflow: scroll;*/
		height: 210%;
	}
	header.outerWrapper{
		top: 18%;
		display: grid;
		align-self: center;
		width: 0;
	}
	div.row{
		display: contents;
	}
	.main{
		margin: 0;
		order:1;
	}
	#FrontEndLink{
		order:3;
    margin-top: 65%;
	}
	#autoLink{
		order:4;
	}
	#cvLink{
		order:5;
	}
	.myLinks{
		margin-top: 10%;
	}
  .arrow{
    order: 2;
    margin: auto;
    margin-top: 26%;

  }

  .arrow span{
    display: block; 
    width: 20px;
    height: 20px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    margin-top: 10px;
    transform: rotate(45deg);
    margin-top: -10px;
    animation: scroll 1.6s infinite;
  }

  .arrow span:nth-child(2){
     animation-delay: -.1s;
  }
  .arrow span:nth-child(3){
     animation-delay: -.2s;
  }

  @keyframes scroll{
    0%{
      opacity: 0;
      transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
      opacity: 1;
    }
    100%{
      opacity: 0;
      transform: rotate(45deg) translate(20px,20px);
    }
  }
}

@media(min-width: 550px){
	#quote{
		margin-top: 66px;
	}

}
@media(max-width: 550px){
	#quote{
		height: none;
		padding: 12px;
	}
	.angle{
		left: 72vw;
	}
	.bugQoute {
		width: 70px;
		height: 70px;
	}
  .pro-img{
    margin-top: 0;
  }

}

