*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  width: 100%;
  max-width: 1400px;
  display: block;
  margin: auto;
  min-height: 100vh;
  background: #191919;
  font-family: sans-serif;
}

.navbar{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  background: #1a1a1a;
  /* position: -webkit-sticky; */
  /* position: static; */
} 

.link-group{
  list-style: none;
  display: flex;
}

.link a{
  color: white;
  opacity: 0.5;
  text-decoration: none;
  text-transform: capitalize;
  padding: 10px 30px;
  margin: 0 20px;
  line-height: 80px;
  transition: .5s;
  font-size: 20px;
}

.link a:hover, .link.active a{
  opacity: 1;
}

/* home section */
.home-section.active,
.project-section.active,
.about-section.active,
.contact-section.active{
  position: relative;
  opacity: 1;
  z-index: 8;
}

.home-section{
  width: 100%;
  height: 100vh;
  padding: 0 150px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  opacity: 0;
  transition: 1s;
}

.heroHeading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter {
  text-align: center;
  cursor: pointer;
  font-size: 42px;
  color: #ffff;
}

.hero-heading{
  color: #ffff;
  font-size: 120px;
  text-transform: capitalize;
  font-weight: 500;
}

.home-img{
  position:absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50%;
  object-fit: cover;
  opacity: 0.2;
}

/* project section */

.project-section{
  width: 100;
  min-height: 100vh;
  padding: 150px 100px 100px;
  position: fixed;
  top: 0;
  transition: 1s;
  opacity: 0;
}

.project-heading{
  font-size: 80px;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a1a;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 8px transparent;
}

.project-heading span {
  position: relative;
  display: inline-flex;
  font-size: 42px;
  color: #fff;
  text-transform: capitalize;
  animation: flip 4s infinite;
  animation-delay: calc(.2s * var(--i))
}
@keyframes flip {
  0%,80% {
    transform: rotateY(360deg) 
  }
}

.project-container{
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 100px; */
  display: flex;
  grid-template-columns: repeat(2, 2fr);
  grid-gap: 50px;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

.project-card{
  height: 400px;
  max-width: 500px;
  position: relative;
}

.project-img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: .5s;
  /* filter: blur(1px);
  -webkit-filter: blur(1px); */
}
/*
.project-content{
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0, 0.4); 
  color: white;
  font-weight: bold;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 80%;
  padding: 20px;
  text-align: center;
} */

.project-content{
  position: relative;
  padding: 15px, 0, 0, 5px;
  color: black;
  text-shadow: blue;
  transition: 1s;
  opacity: 0;
}

.project-title{
  font-size: 50px;
  text-transform: capitalize;
  text-align: center;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(107, 102, 102, 0.369);
}

.project-info{
  margin: 40px;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

/* .project-btn-grp{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
} */

.project-btn-grp{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.project-btn{
  height: 40px;
  text-transform: capitalize;
  font-size: 18px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

/* .project-btn.live{
  background: none;
  border: 2px solid #fff;
} */

.project-card:hover .project-img{
  filter: blur(50px);
}

.project-card:hover .project-content{
  opacity: 1;
}

.about-section{
  width: 100%;
  min-height: 100vh;
  padding: 150px 100px 0;
  position: fixed;
  top: 0;
  opacity: 0;
  transition: 1s;
}
/* .about {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 65%;
  grid-gap: 40px;
} */

.about{
  width: 100%;
  display: flex;
  flex-direction: column;
} 

 /* .about-img-container {
  position: fixed;
  justify-content: center;  
} */

.about-info{
  color: #fff;
  opacity: 0.6;
  font-size: 20px;
  line-height: 40px;
}

.about-img{
  display: none;
  /* width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px; */
}

.download-cv-btn{
  position: relative;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  color: gray;
  border: none;
  font-size: 16px;
  text-transform: capitalize;
  cursor: pointer;
  transition: .5s;
  background: rgba(0, 0, 0, 0.5s);
  box-shadow: 0 4px 8px 0 rgba(250, 247, 247, 0.2), 0 6px 20px 0 rgba(253, 251, 251, 0.19);
}

.download-cv-btn:hover{
  background: #000;
}

.skills-section{
  position: relative;
  margin: 100px 0;
}

.heading{
  text-align: center;
  font-size: 60px;
  color: #fff;
  text-transform: capitalize;
  font-weight: 300;
  margin-bottom: 100px;
  margin-top: 30px;
}

.skills-container{
  width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 100px;
  color: #fff;
}

.skill-card{
  position: relative;
}

.skill-img{
  display: block;
  margin: auto;
  height: 200px;
}

.skill-name{
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  text-transform: capitalize;
  margin: 30px 0 20px;
}

.skill-info{
  text-align: center;
  opacity: 0.5;
  font-size: 18px;
  line-height: 30px;
}

.skill-level{
  position: absolute;
  top: 80px;
  right: 0;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  border-radius: 50%;
  border: 10px solid;
}

.skill-card:nth-child(1) .skill-level{
  background: #ff4f4f28;
  border-color: #ff4f4f;
  color: #ff4f4f;
}

/* timeline */

.timeline{
  display: block;
  width: 80%;
  margin: 150px auto;
}

.timeline .heading{
  margin-bottom: 150px;
}

.card{
  width: 45%;
  padding: 30px;
  border-radius: 10px;
  color: white;
  display: block;
  margin: -80px 0;
  position: relative;
  background-color: rgb(241, 44, 44);
}

.card:nth-child(even){
  margin-left: auto;
}

.card:nth-child(even):before{
  content: '';
  position: absolute;
  left: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 5px solid black;
  border-radius: 50%;
}

.card:nth-child(even):after{
  content: '';
  position: absolute;
  left: -8.5%;
  top: 50%;
  transform: translateY(-50%);
  width: 7%;
  height: 2px;
  background: white;
  z-index: -1;
}

.card:nth-child(odd):before{
  content: '';
  position: absolute;
  right: -13%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 5px solid black;
  border-radius: 50%;
}

.card:nth-child(odd):after{
  content: '';
  position: absolute;
  right: -8.5%;
  top: 50%;
  transform: translateY(-50%);
  width: 7%;
  height: 2px;
  background: white;
  z-index: -1;
}

.card:nth-child(2), .card:nth-child(2):before{
  background-color: #ff4f4f;
}

.card:nth-child(3), .card:nth-child(3):before{
  background-color: #3dca25;
}

.card:nth-child(4), .card:nth-child(4):before{
  background-color: #4fa0ff;
}

.card:nth-child(5), .card:nth-child(5):before{
  background-color: #565252;
}

.card:nth-child(even) .card-body:before{
  content: '';
  position: absolute;
  left: -12%;
  top: 0;
  width: 0px;
  height: 100%;
  border: 1px dashed white;
  z-index: -1;
}

.card-title{
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 20px;
}

.contact-section{
  position: absolute;
  top: 0;
  opacity: 0;
  transition: 1s;
  padding: 100px 150px;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
}

.contact-form input, .contact-form textarea{
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  margin-bottom: 30px;
  border-radius: 5px;
  text-transform: capitalize;
  color: white;
  padding: 5px 10px;   
}

::placeholder{
  color: white;
}

#msg{
  height: 280px;
  resize: none;
  font-family: sans-serif;
}

.form-submit-btn{
  background: #ff4f4f;
  color: white;
  text-transform: capitalize;
  padding: 15px 40px;
  display: block;
  margin: auto;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.map{
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

@media (max-width: 667px) {
  .map {
    display: none;
  }
}

.map iframe{
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
/* .light-mode{
  background-color: #ffff;
  color: black;
} */