* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  scroll-behavior: smooth;
  font-family: "Lato", sans-serif;
  color: black;
  background: radial-gradient(circle at 10% 20%, rgb(93, 192, 214) 0%, rgb(100, 63, 188) 90.2%);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
.main-shifted {
  margin-top: 300px;
}

/*HEADER SECTION*/
.nav-link.active {
  color: rgb(187, 255, 0); 
  font-weight: bold;
}  
.nav-item:hover{
  color: white;
  text-shadow: 1px 1px 2px rgb(255, 255, 255), 0 0 25px #c04a4a, 0 0 5px #8a2525;
}
.nav-item a{
  color: black;
}
#iconVisibility {
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
}
#iconVisibility:hover {
  box-shadow: 0 0 15px 3px rgba(255, 255, 0, 0.7);
  filter: drop-shadow(0 0 5px rgba(255, 255, 0, 1));
}

/*HOME SECTION*/
#avatarImg {
    margin-left: -100px;
  width: 250px;
  height: auto;
  box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
  transform: translateX(0px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: translateX(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
		transform: translateX(-20px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: translateX(0px);
	}
}

/*ABOUT ME SECTION*/
.buttons a img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}
.buttons a:hover {
  transform: rotate(20deg);
}
.cat {
	height: 200px;
	width: calc(200px * 1.13);
}
.ear {
	position: absolute;
	top: -20%;
	height: 60%;
	width: 25%;
	background: black;
}
.ear::before,
.ear::after {
	content: '';
	position: absolute;
	bottom: 24%;
	height: 10%;
	width: 5%;
	border-radius: 50%;
	background: black;
}
.ear--left {
	left: -7%;
	border-radius: 70% 30% 0% 0% / 100% 100% 0% 0%;
	transform: rotate(-15deg);
}
.ear--left::before,
.ear--left::after {
	right: 10%;
}
.ear--left::after {
	transform: rotate(-45deg);
}
.ear--right {
	right: -7%;
	border-radius: 30% 70% 0% 0% / 100% 100% 0% 0%;
	transform: rotate(15deg);
}
.ear--right::before,
.ear--right::after {
	left: 10%;
}
.ear--right::after {
	transform: rotate(45deg);
}
.face {
	position: absolute;
	height: 100%;
	width: 100%;
	background: black;
	border-radius: 50%;
}
.eye {
	position: absolute;
	top: 35%;
	height: 30%;
	width: 31%;
	background: white;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.eye::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 100%;
	border-radius: 0 0 50% 50% / 0 0 40% 40%;
	background: black;
	animation: blink 4s infinite ease-in;
}
@keyframes blink {
	0% { height: 0; }
	90% { height: 0; }
	92.5% { height: 100%; }
	95% { height: 0; }
	97.5% { height: 100%; }
	100% { height: 0; }
}
.eye::before {
	content: '';
	position: absolute;
	top: 60%;
	height: 10%;
	width: 15%;
	background: white;
	border-radius: 50%;
}

.eye--left {
	left: 0;
}

.eye--left::before {
	right: -5%;
}

.eye--right {
	right: 0;
}

.eye--right::before {
	left: -5%;
}

.eye-pupil {
	position: absolute;
	top: 25%;
	height: 50%;
	width: 20%;
	background: black;
	border-radius: 50%;
	animation: look-around 4s infinite;
}
@keyframes look-around {
	0% { transform: translate(0); }
	5% { transform: translate(50%, -25%); }
	10% { transform: translate(50%, -25%); }
	15% { transform: translate(-100%, -25%); }
	20% { transform: translate(-100%, -25%); }
	25% { transform: translate(0, 0); }
	100% { transform: translate(0, 0); }
}
.eye--left .eye-pupil {
	right: 30%;
}
.eye--right .eye-pupil {
	left: 30%;
}
.eye-pupil::after {
	content: '';
	position: absolute;
	top: 30%;
	right: -5%;
	height: 20%;
	width: 35%;
	border-radius: 50%;
	background: white;
}
.muzzle {
	position: absolute;
	top: 60%;
	left: 50%;
	height: 6%;
	width: 10%;
	background: white;
	transform: translateX(-50%);
	border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}

/*STACK SECTION*/
.border-custom {
  border: 3px solid black;
  border-radius: 15px;
}
.stack-container{
  -webkit-box-reflect: below 5px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.4));
}

/* PROJECT SECTION */
.project-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-container {
  height: 400px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
}
.project-card {
  width: 80px;
  border-radius: .75rem;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 10px;
  display: flex;
  align-items: flex-end;
  transition: .6s cubic-bezier(.28,-0.03,0,.99);
  box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}
.project-card > .project-row {
  color: white;
  display: flex;
  flex-wrap: nowrap;
}
.project-card > .project-row > .project-icon {
  background: #223;
  color: white;
  border-radius: 50%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px;
}
.project-card > .project-row > .project-description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 80px;
  width: 520px;
  opacity: 0;
  transform: translateY(30px);
  transition-delay: .3s !important;
  transition: all .3s ease;
  text-align: left;
  color: white;
  text-shadow: 1px 1px 2px black, 0 0 25px #dc3545, 0 0 5px #ffc107;
}
.project-description p {
  padding-top: 5px;
}
.project-description h4 {
  text-transform: uppercase;
}
input {
  display: none;
}
input:checked + label {
  width: 600px;
}
input:checked + label .project-description {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
#projectTitle {
  font-size: 40px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/*CONTACT SECTION*/

/*MODAL*/
.modal-body,
.modal-header {
  background: radial-gradient(circle at 10% 20%, rgb(93, 192, 214) 0%, rgb(100, 63, 188) 90.2%);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
#walletModal img{
  width: 460px;
}

@media (max-width:575px){
  .navbar-collapse{
    background-color: #ffffff;
    opacity: 90%;
    border-radius: 10%;
    color: white;
  }
  .nav-item:hover{
    text-shadow: 1px 1px 2px rgb(255, 255, 255), 0 0 25px #c04a4a, 0 0 5px #8a2525;
  }
  .nav-item a {
    color: rgb(0, 0, 0);
  }
  .navbarNav.collapse {
    display: none !important;
  }
  .navbarNav.collapse.show {
    display: block !important;
  }
}

@media (max-width: 800px) {
  main {
    padding-top: 60px;
  }
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
  #avatarImg {
    margin-left: 0;
    margin-bottom: -50px;
    width: 150px;
    height: auto;
    transform: translateY(0px);
  }
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  .cat {
    position: relative;
    height: 100px;
    width: calc(100px * 1.13);
  }
  .stack-container {
    -webkit-box-reflect: unset;
  }
  #projectTitle {
    font-size: 40px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(270deg);
    margin-bottom: -50px;
  }
  .project-container {
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  .project-card {
    justify-content: center;
    width: 200px;
    height: auto;
    margin: 15px 0;
  }
  .project-description {
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .project-description h4, .pCards{
    display: none;
  }
  .project-description button{
    display: block;
    width: 100px;
    margin: 10px auto;
    transform: translateX(-45px);
  }
  input:checked + label {
    max-width: 300px;
  }
  .modal-body img{
    width: 280px;
  }
}

/* wELCOME  */
.key {
  font-size: 5vw;
  display: inline-block;
  letter-spacing: -5px;
  transition: transform 0.2s;
}
.key:nth-child(1) {
  animation: pressDown1 2s infinite;
}
.key:nth-child(2) {
  animation: pressDown2 3s infinite;
}
.key:nth-child(3) {
  animation: pressDown3 4s infinite;
}
.key:nth-child(4) {
  animation: pressDown4 2.5s infinite;
}
.key:nth-child(5) {
  animation: pressDown5 2.5s infinite;
}
.key:nth-child(6) {
  animation: pressDown6 3.5s infinite;
}
.key:nth-child(7) {
  animation: pressDown7 2.2s infinite;
}
.key:nth-child(8) {
  animation: pressDown8 3.5s infinite;
}
.key:nth-child(9) {
  animation: pressDown9 2.5s infinite;
}
.key:nth-child(10) {
  animation: pressDown10 4s infinite;
}
.key:nth-child(11) {
  animation: pressDown11 3s infinite;
}
.key:nth-child(12) {
  animation: pressDown12 2s infinite;
}

@keyframes pressDown1 {
  30%,
  40%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(10px);
  }
}
@keyframes pressDown2 {
  70%,
  80%,
  100% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
}
@keyframes pressDown3 {
  30%,
  40%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(10px);
  }
}
@keyframes pressDown4 {
  40%,
  50%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(10px);
  }
}
@keyframes pressDown5 {
  20%,
  30%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(10px);
  }
}
@keyframes pressDown6 {
  60%,
  70%,
  100% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(10px);
  }
}
@keyframes pressDown7 {
  10%,
  20%,
  100% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(10px);
  }
}
@keyframes pressDown8 {
  35%,
  45%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
}
@keyframes pressDown9 {
  40%,
  50%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(10px);
  }
}
@keyframes pressDown10 {
  30%,
  40%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(10px);
  }
}
@keyframes pressDown11 {
  70%,
  80%,
  100% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
}
@keyframes pressDown12 {
  30%,
  40%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(10px);
  }
}

/*ANIMATION TEXT*/
.cursor {
  position: relative;
  width: 10em;
  margin: 0 auto;
  border-right: 2px solid rgba(0, 0, 0, 0.75);
  font-size: 25px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
  margin-bottom: -10px;
}
.typewriter-animation {
  animation: 
  typewriter 5s steps(50) 1s 1 normal both,
  blinkingCursor 500ms steps(50) infinite normal;
}
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blinkingCursor {
  from {
    border-right-color: rgba(201, 236, 7, 0.75);
  }
  to {
    border-right-color: transparent;
  }
}