/* @import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap'); */
@import url(
  'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Mozilla+Headline:wght@200..700&family=Noto+Color+Emoji&display=swap'
);

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

html, body {
  margin: 0px;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

body {
  display: grid;
  background-color: #111114;
  place-content: center;
  color: #fff;
  height: 100vh;
}

.msg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: 'Inter', "Noto Color Emoji", sans-serif;
}

.msg div {
  padding-top: 10px;
}

.title {
  font-family: 'Mozilla Headline', sans-serif;
  font-size: 36px;
  padding: 10px;
  padding-bottom: 2px;
}

#msg {
  font-family: 'Inter', sans-serif;
  /* text-align: center; */
  margin: 5px;
}

#projects {
  /* padding: 10px; */
  margin-top:10px;
  place-content: center;
  display: flex;
  background-color: #111114;
}

#projtext {
  /* height: fit-content;*/
  /* padding: 10px; */
  margin: 10px;
  /* border: solid #414141;
  border-radius: 10px;
  background-color: #212121; */
}

#proj {
  width: fit-content;
  font-family: 'Inter', sans-serif;
  text-align: center;
  /* margin: 50px; */
  /* margin-bottom: 0px; */
  padding: 10px;
  margin: 10px;
  border: solid #414141;
  border-radius: 10px;
  background-color: #212121;
}

.mainbox {
  height: fit-content;
  padding: 10px;
  border: solid #414141;
  border-radius: 10px;
  background-color: #212121;
}

.butbox {
  /* margin-top: 20px; */
  place-content: center;
  display: flex;
}

.button {
  transition: background-color ease-out 0.25s;
  background-color: #191919;
  border-radius: 10px;
  border: 2px solid #414141;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  padding: 10px 20px !important;
  font-size: 14px;
  color: #fff;
  margin: 2px;
}

.button:not(:hover) {
  /* animation-timing-function: cubic-bezier(.34,1.56,.64,1); */
  animation: gradient3 0.5s ease;
  /* transition: scale ease-out 0.25s; */
  scale: 100%;
}

.button:hover {
  /* animation-timing-function: cubic-bezier(.34,1.56,.64,1); */
  background-color: #313131;
  animation: gradient2 0.5s ease;
  scale: 120%;
  z-index: 100;
  /* transform: scaleX(1.5); */
}

.button.animate {
  /* position: fixed; */
  animation: gradient 1s ease forwards;
  overflow: hidden !important;
  z-index: 1000;
}

.button.hide {
  opacity: 0%;
}

@keyframes gradient {
  0% {
    scale: 100%;
  }
  25% {
    /* position: fixed; */
    scale: 75%;
  }
  75% {
    scale: 10000%;    
    color: #111114;
    background-color: #111114;  
  }
  100% {
    /* position: fixed; */
    scale: 10000%;
    /* opacity: 0%; */
    background-color: #111114;
    color: #111114;
  }
}

.button {
  transform-style: preserve-3d; 
  transition: transform 0.1s ease-out;
  will-change: transform;
}

@keyframes gradient2 {
  0% {
    scale: 100%;
    /* padding: 10px; */
  }
  20% {
    scale: 160%;
    /* transform: scaleX(1.2) scaleY(0.8); */
    /* padding: 20px; */
  }
  50% {
    scale: 110%;
    /* transform: scaleX(0.7) scaleY(1.3); */
  }
  70% {
    /* scale: 140%; */
  }
  80% {
    scale: 130%;
    /* transform: scaleX(1.1) scaleY(0.9); */
  }
  100% {
    /* position: fixed; */
    scale: 120%;
    /* transform: scaleX(1) scaleY(1); */
    /* padding: 10px; */
    /* opacity: 0%; */
  }
}

@keyframes gradient3 {
  0% {
    scale: 120%;
    /* padding: 10px; */
    
  }
  20% {
    scale: 60%;
    /* padding: 20px; */
    /* transform: scaleX(1.2) scaleY(0.8); */
  }
  50% {
    scale: 110%;
    /* transform: scaleX(0.7) scaleY(1.3); */
  }
  70% {
/*     scale: 90%; */
  }
  80% {
    scale: 90%;
    /* transform: scaleX(1.1) scaleY(0.9); */
  }
  100% {
    /* position: fixed; */
    scale: 100%;
    /* transform: scaleX(1) scaleY(1); */
    /* padding: 10px; */
    /* opacity: 0%; */
  }
}

@keyframes scale-easeOutBounce {
	0% {
		transform: scale(1);
	}

	12% {
		transform: scale(0.89);
	}

	24% {
		transform: scale(0.56);
	}

	36% {
		transform: scale(0.02);
	}

	54% {
		transform: scale(0.25);
	}

	74% {
		transform: scale(0.02);
	}

	82% {
		transform: scale(0.06);
	}

	92% {
		transform: scale(0.01);
	}

	96% {
		transform: scale(0.02);
	}

	100% {
		transform: scale(0);
	}

}