* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Rockwell, sans-serif;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #e6e3e3;
}

::-webkit-scrollbar-thumb {
  background-color: #776861;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8a6a5;
}

header {
  position: absolute;
  top: 10px;
  width: 100%;
  z-index: 5;
}

header .nav {
  background-color: #ffffff;
  border: none;
  position: fixed;
  width: 100%;
  min-height: 10vh;
  z-index: 1;
  top: 0px;
  animation: nav_bar 0.7s linear;
}

header nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header nav .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav .logo h4 {
  font-family: Rockwell;
  font-style: italic;
  font-weight: lighter;
  font-size: 15px;
  line-height: 21px;
}

header nav .nav-link {
  animation: navEnd 0.3s linear;
}

header nav .nav-link:hover {
  animation: nav 1s linear;
}

.introduction {
  background-image: url(../img/back2.png);
  background-position: bottom;
  background-repeat: no-repeat;
  height: 100vh;
}

.introduction .dot-anim {
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: -1;
}

.introduction .dot-anim .dot {
  animation: dot 2.5s infinite linear;
  opacity: 0;
}

.introduction .dot-anim .dot2 {
  animation: dot 2s infinite linear;
  opacity: 0;
}

.introduction .dot-anim .dot3 {
  animation: dot 4s infinite linear;
  opacity: 0;
}

.introduction .dot-anim .dot4 {
  animation: dot 5s infinite linear;
  opacity: 0;
}

.introduction .dot-anim .dot5 {
  animation: dot 6s infinite linear;
  opacity: 0;
}

.introduction .intro-text {
  position: absolute;
  display: flex;
  flex-flow: column;
  justify-content: center;
  top: 35%;
  left: 50%;
  text-align: center;
}

.introduction .intro-text .main-intro {
  padding-top: 50px;
}

.introduction .intro-text .main-intro p {
  font-family: Rockwell;
  font-style: italic;
  font-weight: lighter;
  font-size: 15px;
  line-height: 21px;
}

.introduction .intro-text .main-intro p span {
  color: #ff0000;
}

.introduction .intro-text .main-intro h1 {
  font-family: Rockwell, sans-serif;
  font-style: bold;
  font-weight: normal;
  font-size: 40px;
  line-height: 56px;
}

.introduction .intro-text .main-intro .btn {
  position: relative;
  top: 10px;
}

.introduction .intro-text .main-intro .btn button {
  width: 100px;
  height: 50px;
  background: #776861;
  font-family: Rockwell;
  font-style: italic;
  font-weight: lighter;
  font-size: 13px;
  line-height: 21px;
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.6s linear;
}

.introduction .intro-text .main-intro .btn button:hover {
  box-shadow: 0px 1px 10px 0px #776861;
}

.introduction .intro-text .greeting {
  display: flex;
  align-items: center;
  justify-content: center;
}

.introduction .intro-text .greeting h5 {
  font-family: Rockwell, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 21px;
}

.introduction .intro-text .greeting .img {
  position: absolute;
  top: -85px;
  left: 80px;
}

.about {
  height: 80vh;
  background: linear-gradient(to top, #ffffff 0%, #ffffff 20%, #ffffff 40%, #f76969ab 70%, #f76969 80%, #f76969 100%), #ffffff;
  background-size: cover;
}

.about h1 {
  letter-spacing: 10px;
  padding: 200px;
  padding-bottom: 50px;
  font-size: 30px;
}

.about p {
  font-weight: lighter;
  width: 100%;
  padding-left: 80px;
}

.about p .name {
  color: red;
}

.about p .location {
  color: grey;
  font-style: italic;
}

.about .box {
  display: grid;
  grid-template-columns: repeat(4, 60px);
  padding-top: 30px;
  padding-left: 100px;
  grid-gap: 20px;
}

.about .box .img {
  overflow: hidden;
}

.projects {
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  text-align: center;
}

.projects .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 100px 100px 0px 100px;
  grid-gap: 30px;
}

.projects .box .card {
  height: 50vh;
}

.projects .box .card .card-img {
  overflow: hidden;
}

.projects .box .card .card-img img {
  height: 100%;
  width: 100%;
  opacity: 1;
}

.projects .box .card .card-text {
  background-color: rgba(255, 250, 250, 0.116);
  height: 50vh;
  transform: translateY(-170px);
  transition: 0.6s linear;
  z-index: -2;
  opacity: 0;
}

.projects .box .card .card-text h3 {
  padding-top: 160px;
  transition: 0.6s linear;
}

.projects .box .card .card-text:hover {
  background: linear-gradient(to top, #ffffff 0%, #ffffff 5%, #ffffff 10%, #ffffff 20%, #ffffff00 40%, #f7696900 70%, #f7696900 80%, #00000000 100%);
  opacity: 1;
  z-index: 2;
}

.projects .box .card .card-text:hover h3 {
  padding-top: 180px;
}

.projects .box .card .card-text #link-box {
  padding-top: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.projects .box .card .card-text #link-box .btn button {
  background-color: #776861;
  color: white;
  height: 40px;
  width: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0px 1px 10px 0px #414040;
  transition: 0.3s linear;
}

.projects .box .card .card-text #link-box .btn button:hover {
  transform: scaleX(1.2);
}

.projects .box .card .card-text #link-box .git img {
  cursor: pointer;
}

.projects .box .card .card-text #link-box .git img:hover {
  animation: nav 0.8s linear;
}

.footer {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 10vh;
  color: white;
  background-color: #414040;
  width: 100%;
}

.footer span {
  color: #ff0000;
}

@keyframes dot {
  0% {
    opacity: 0;
    transform: scale(0.2) scale(2.5);
  }
  25% {
    opacity: 1;
    transform: translateY(100px) scale(2.5);
  }
  50% {
    opacity: 0.2;
    transform: translateY(200px) scale(2.5);
  }
  75% {
    opacity: 1;
    transform: translateY(300px) scale(2.5);
  }
  100% {
    opacity: 1;
    transform: translateY(500px) scale(3.5);
  }
}

@keyframes nav {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes navEnd {
  0% {
    transform: rotate(360deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes nav_bar {
  0% {
    opacity: 0;
    height: 0vh;
  }
  25% {
    opacity: 0.2;
    height: 15vh;
  }
  50% {
    opacity: 0.5;
    height: 20vh;
  }
  75% {
    opacity: 0.7;
    height: 15vh;
  }
  100% {
    opacity: 1;
    height: 10vh;
  }
}

#contact {
  position: relative;
  text-align: center;
  top: 2rem;
}

#contact h2 {
  margin-top: 4rem;
  font-family: "Agency FB";
  font-size: 30px;
}

#contact form {
  display: flex;
  padding: 100px;
  flex-flow: column;
}

#contact form input {
  padding: 20px;
}

#contact form .btn {
  position: relative;
  top: 4rem;
}

#contact form .btn #btn1,
#contact form .btn #btn2 {
  width: 100px;
  height: 50px;
  cursor: pointer;
  color: white;
}

#contact form .btn #btn1 {
  background-color: #4d4df1;
  border: none;
}

#contact form .btn #btn1:hover {
  box-shadow: 1px 0px 10px 0px #4d4df1;
}

#contact form .btn #btn2 {
  background-color: rgba(235, 67, 67, 0.959);
  border: none;
}

#contact form .btn #btn2:hover {
  box-shadow: 1px 0px 10px 0px rgba(235, 67, 67, 0.959);
}

@media screen and (max-width: 800px) {
  header {
    position: sticky;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 10vh;
    z-index: 5;
    background: #fff;
  }
  .introduction {
    background-image: url(../img/new.png);
    background-size: contain;
  }
  .introduction .intro-text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .introduction .intro-text .greeting h5 {
    font-size: 10px;
  }
  .introduction .intro-text .main-intro {
    padding-top: 0px;
  }
  .introduction .intro-text .main-intro h1 {
    font-weight: bold;
    font-size: 15px;
    line-height: 30px;
  }
  .introduction .intro-text .main-intro p {
    font-size: 10px;
  }
  .introduction .intro-text .main-intro .btn {
    top: 5px;
  }
  .introduction .intro-text .main-intro .btn button {
    width: 80px;
    height: 30px;
    font-size: 10px;
  }
  .about {
    height: 100vh;
    width: 100%;
    z-index: 2;
  }
  .about h1 {
    padding-top: 60px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  #about-para {
    background-color: rgba(255, 255, 255, 0.801);
    position: relative;
    top: 100px;
    left: -50px;
    font-size: 15px;
  }
  #about-para::after {
    content: "HTML, SASS, JAVASCRIPT, CSS, LESS, GIT, and Python";
  }
  .box {
    position: relative;
    top: 80px;
    left: -80px;
  }
  .box .img {
    display: none;
  }
  .projects {
    padding: 10%;
    width: 100%;
  }
  .projects .box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-flow: column;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .projects .box .card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38vh;
    margin-left: 35%;
  }
  .projects .box .card .card-img {
    overflow: visible;
    height: 40vh;
    width: 100%;
  }
  .projects .box .card .card-img img {
    height: 100%;
    width: 100%;
  }
  .projects .box .card .card-text {
    position: absolute;
    transform: translateX(0px);
    background: #fff;
    width: 100%;
    height: 200px;
    z-index: 0;
    opacity: 0;
  }
  .projects .box .card .card-text p {
    position: relative;
    top: 50%;
    font-size: 10px;
  }
  .projects .box .card .card-text h3 {
    position: relative;
    top: 50%;
    padding: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    font-size: 15px;
  }
  .projects .box .card .card-text:hover {
    opacity: 1;
    z-index: -5;
    height: 200px;
    background: rgba(255, 255, 255, 0.623);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 1px 10px 0 #414040;
  }
  .projects .box .card .card-text:hover h3 {
    padding-top: 0;
  }
  .projects .box .card .card-text #link-box {
    position: relative;
    top: 50%;
  }
  .projects .box .card .card-text #link-box .git img {
    height: 80%;
    width: 80%;
  }
  .projects .box .card .card-text #link-box .btn button {
    width: 80px;
    height: 30px;
    font-size: 10px;
  }
}

#contact {
  height: auto;
}

#contact form {
  padding: 20px;
}

#contact input {
  padding: 0;
}

.footer {
  top: 6rem;
}

@media screen and (max-width: 500px) {
  .projects {
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
  }
  .projects .box {
    width: 100%;
  }
}
/*# sourceMappingURL=style.css.map */