@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&family=Playwrite+IT+Moderna:wght@100..400&display=swap");
@font-face {
  font-family: Nasalization;
  src: url("../font/Nasalization Rg.otf") format("opentype");
}
* {
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
  scroll-behavior:smooth;
}

body {
  margin: 0;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background-color: #1f242a;
  color: #ffffff;
}

img {
  max-width: 100%;
}

p {
  line-height: 1.6;
}

h2 {
  font-size: 42px;
}

.cursor{
	position: fixed;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	transition: 0.1s;
	transform: translate(-50%, -50%);
	pointer-events: none;
	mix-blend-mode: difference;
}
/*----CSS for Layout-------*/

section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url(../img/rectangle-dot.png);
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: bottom right;
  overflow: hidden;
}

.title {
  text-align: center;
  padding: 15px;
}

.row {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1 1 250px;
  padding: 15px;
  margin: 10px;
}

/*------CSS for header------*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
z-index: 9999;
  width: 100%;
}

.nav-container {
  background-color: #f5f5f5;
  border-radius: 50px;
  padding: 5px 20px;

  display: flex;
  align-items: center;
}

.nav-container a:hover ~ .cursor{
	transform: scale(10);
}

.logo {
  margin-right: 20px;
}
.nav-item {
  margin: 0 5px;
  color: #2c2e48;
  text-decoration: none;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#nav-item-head-active.active{
  color: #2c2e48;
  background-color: #f5f5f5;
}

#nav-item-head-active2.active{
  color: #2c2e48;
  background-color: #f5f5f5;
}

.nav-item.active {
  background-color: #2c2e48;
  color: #f5f5f5;
  padding: 10px 20px;
  border-radius: 50px;
}
.hero {
  background-image: url(../img/rectangle-dot.png), url(../img/hero.jpg);
  background-size: 200px, cover;
  background-repeat: no-repeat;
  background-position: bottom right, bottom;
}
.hero .row {
  align-items: center;
  min-height: 90vh;
  max-width: 1320px;
}

.hero h3 {
  font-weight: normal;
  font-family: Nasalization;
  color: #ffffff;
  font-size: 50px;
  margin: 0;
}
.hero h1 {
  font-size: 100px;
  font-family: Nasalization;
  margin: 0px;
  color: #ffffff;
}
.hero h4 {
  font-size: 25px;
  color: #ffffff;
  margin: 0;
}
.abin {
  color: #c5b2ff;
}
.heading {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 32px;
}
.heading h2 {
  margin: 0;
}
.line {
  flex-grow: 1;
  height: 5px;
  background-color: #7c00fc;
  margin-left: 10px;
  margin-right: 10px;
}
.btn1 {
  background-color: #7c00fc;
  padding: 15px 30px;
  color: #fff;
  border-radius: 30px;
  margin-right: 15px;
  margin-top: 15px;
  display: inline-block;
}
.btn1:hover {
  background-color: #fff;
  color: #7c00fc;
}
.btn2 {
  border: 3pX solid #7a00fc;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 30px;
  margin-right: 15px;
  margin-top: 15px;
  display: inline-block;
  transition: 0.5s;
}
.btn2:hover {
  background-color: #7a00fc;
  color: #ooo;
}
.marq {
  background-color: #2c2e48;
}
.rec-bmarq {
  position: absolute;
  width: 100%;
  height: 200px;
  margin-top: -100px;
  background-color: #7c00fc;
  transform: rotate(-1deg);
  overflow: hidden;
}
marquee {
  border: 3px solid #2c2e48;
  padding: 22px;
  margin-top: 60px;
  color: #000000;
  background-color: #ffffff;
  font-size: 25px;
  font-family: Nasalization;
}
.asterisk{
	color: #7a00fb;
	font-size: 40px;
	vertical-align: middle;
}
.about {
  border-bottom: 3px solid #7c00fc;
}
.about img{
	transition: .5s;
}
.about img:hover{
	transform: scale(1.2);
}
.skill90 {
  height: 8px;
  background-image: linear-gradient(90deg, #7a00fb 90%, #494d56 10%);
}
.skill70 {
  height: 8px;
  background-image: linear-gradient(90deg, #7a00fb 70%, #494d56 30%);
}
.skill80 {
  height: 8px;
  background-image: linear-gradient(90deg, #7a00fb 80%, #494d56 20%);
}
.skill75 {
  height: 8px;
  background-image: linear-gradient(90deg, #7a00fb 75%, #494d56 25%);
}
.projects {
  text-align: center;
}
.projects img {
  box-shadow: -15px 15px 0 #7c00fc;
}
.projects img:hover {
  transform: translateY(-20px);
  cursor: pointer;
}
.imgcol {
  max-width: 250px;
}
.mb{
  padding-bottom: 10px;
  position: relative;
  margin-top: 0px;
}
.mt{
  padding-top: 100px;
  position:relative;
}

.contact {
  border-top: 3px solid #7c00fc;
}
.contact img {
  box-shadow: -20px 20px 0 #7c00fc;
}
.contact a {
  color: #ffffff;
  display: inline-block;
  margin-bottom: 15px;
}
.contact i {
  color: #7c00fc;
  font-size: 28px;
}

.s-icons a {
  margin-right: 20px;
  display: inline-block;
}
.s-icons i:hover {
  color: #fff;
}
.h2-eg {
  color: #ffffff;
  font-size: 30px;
}
footer {
  background-color: #1f242a;
  text-align: center;
  overflow: hidden;
}
.copyright {
  position: absolute;
  width: 100%;
  text-align: center;
  padding-top: 15px;
  color: #4000e6;
  margin-top: -84px;
}
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -9px; /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
  margin-left: -20px;
}
.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}
/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
@keyframes shake{
	0%{transform:translateY(0) ;}
	50%{transform:translateY(20px) ;}
	100%{transform:translateY(0) ;}
	
}

.topbtn {
	width: 40px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	animation: shake 2s infinite;
	z-index: 888;

}

/* ---media query for mobile---- */
@media screen and (max-width: 500px) {
  header {
    flex-direction: column;
    position: static;
    background-image: url("../img/purple gaussain blur.png");
	  background-size: cover;
  }
	
	.cursor{
		display: none;
	}
	
	.hamburg {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #E5E5E5;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -6px);
  transform: rotate(45deg) translate(-8px, -6px);
}
	
  .nav-container {
 background: rgba( 253, 252, 252, 0.15 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 3.5px );
-webkit-backdrop-filter: blur( 3.5px );
border-radius: 10px;
	}
.nav-item {
  color: #f5f5f5;
	}
	.cursor{
		cursor: none;
	}
  .hero{
	background-image: url("../img/mob-hero.png");	
	  background-position: 20%;
	    background-size: cover;
	}
	.hero h1 {
    font-size: 61px;
		}
	.hero h3{
		font-size: 37px;
	}
  .nav-container {
    width: 100%;
	  justify-content: 	space-between;
  }
  .nav-item {
    display: block;
    text-align: center;
  }
  .logo {
    margin: auto;
  }
  h2 {
    font-size: 30px;
}
  .rec-bmarq {
    transform: rotate(0);
  }
  section {
    background-size: 130px;
  }
  .projects1 .row {
    flex-direction: column-reverse;
    text-align: center;
  }
  .projects1 img{
	opacity: 70%;
	transition: 0.5s;
}

  .projects1 img:hover{
	opacity: 100%;
	transform: scale(1.15);
}
  .imgcol {
    max-width: 100%;
  }
  .waves {
    width: unset;
  }
  .mob-hide {
    display: none;
  }
	.h2-eg {
    color: #ffffff;
    font-size: 15px;
}
	nav{
		display: none;
        position: absolute;
        top: 70px;
        left:0;
        background-image: url("../img/purple gaussain blur.png");
		background-position: bottom;
        width:100%;
        padding: 10px;
        border-radius: 8px;
	}
	 .show-menu{
		display: block;
	}
}

/* ----media query for tab------ */
@media screen and (min-width: 501px) and (max-width: 800px) {
  .tab-hide {
    display: none;
  }
  .cursor{
		cursor: none;
	}
  section {
    background-size: 150px;
  }
  .rec-bmarq {
    transform: scale(1);
  }
}
