* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar{
  position: sticky;
  top: 0;
}

:root {
  --white: #fff;
  --red: #ed2b2a;
  --black: #0f0f0f;
  --light-black: #0f0f0f;
  --light-text: #bdbdbd;
  --dark-red: #bd1f1e;
  --light-red: #e4a2a2;
  --card-background: #161616;
}

body {
  background-color: #0f0f0f;
  font-family: "Jost", sans-serif;
  overflow-x: hidden;
}

.nav-section{
  margin-top: 10px;
  width: 100%;
  height: 70px;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  background-color: var(--black);
  z-index: 30;
}

.hero-section {
  width: 100%;
  height: 100vh;
  
}

.content-container {
  max-width: 1160px;
  width: 80%;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.navbar {
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 50px;
}

.nav-link-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-container a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
}

.link {
  padding: 10px;
  border-bottom: 2px solid var(--black);
  transition: all 0.2s;
  cursor: pointer;
}

.link:hover {
  border-bottom: 2px solid var(--red);
}

.nav-btn {
  background: none;
  padding: 10px 20px;
  border: 2px solid var(--white);
  border-radius: 7px;
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s;
}

.nav-btn:hover {
  border: 2px solid var(--red);
  background: var(--red);
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0px;
}

.hero-image-container {
  width: 500px;
  z-index: 10;
}

.home-image {
  width: 100%;
  object-fit: cover;
}

.content {
  color: var(--white);
}

.content h2 {
  font-size: 3.75rem;
}

.dynamic-text {
  height: 120px;
  line-height: 120px;

  overflow: hidden;
}

.dynamic-text li {
  list-style-type: none;
  margin-bottom: 10px;
  font-size: 5rem;
  font-weight: 600;
  position: relative;
  top: 0;
  animation: slide 4s steps(2) infinite;
  white-space: nowrap;
  color: var(--red);
}

@keyframes slide {
  100% {
    top: -240px;
  }
}

.dynamic-text li span {
  position: relative;
}

.dynamic-text li span::after {
  content: "";
  position: absolute;
  left: 0;

  height: 100%;
  width: 100%;
  background: var(--black);
  border-left: 5px solid var(--red);
  animation: typing 2s steps(14) infinite;
}

@keyframes typing {
  100% {
    left: 100%;
    margin: 0 -35px 0 35px;
  }
}

.btn-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.btn-container button {
  padding: 10px 40px;
  border-radius: 30px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  transition: all 0.6s;
}

.ctnb {
  border: none;
  outline: none;
}

.ctnb:hover {
  background-color: var(--red);
  color: var(--white);
}

.download-btn {
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
}

.download-btn:hover {
  border: 2px solid var(--red);
  color: var(--red);
}

/* about section */

.about-section {
  width: 100vw;
  padding: 60px 0px;
  background-color: #161616;
}

.about-container {
  display: flex;
  align-items: center;
}

.about-image-container {
  max-width: 500px;
}

.about-image {
  width: 100%;
  object-fit: cover;
}

.about-content {
  max-width: 580px;
  width: 50%;
  min-height: 400px;
  height: auto;
  background-color: var(--light-black);
  margin-left: -100px;
  padding: 20px;
  padding-top: 40px;
  color: var(--white);
  border-radius: 10px;
}

.about-content h2 {
  font-size: 3rem;
}

.underline {
  max-width: 150px;
  width: 60%;
  height: 3px;
  background-color: var(--red);
}

.about-content p {
  margin-top: 20px;
  line-height: 1.8rem;
  color: var(--light-text);
}

.about-content a {
  text-decoration: none;
}

.know-more-btn {
  margin-top: 30px;
  background-color: var(--red);
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--white);
  font-family: "Jost", sans-serif;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 1rem;
  transition: all 0.6s;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.fa-chevron-right {
  transition: all 0.6s;
}

.know-more-btn:hover {
  background-color: var(--dark-red);
}

.know-more-btn:hover .fa-chevron-right {
  transform: translateX(5px);
}

/* skills section */
.skills-section {
  color: white;
  text-align: center;
  padding: 60px 0;
}

.skills-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skills-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.skills-logo {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
}

.logo-image-container {
  width: 100px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-image {
  width: 100px;
}

.skills-container {
  margin-top: 60px;
  position: relative;
}

.logo-container {
  width: 150px;
  height: 150px;
  display: flex;
  row-gap: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* project section */

.project-section {
  padding: 60px 0;
  color: white;
  text-align: center;
}

.project-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-line {
  margin: 0 auto;
}

.project-container {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  overflow-x: hidden;
  flex-wrap: wrap;
}

.project-card {
  width: 340px;
  min-height: 340px;
  background-color: var(--card-background);
  padding: 40px;
  border-radius: 10px;
  transition: all 0.6s;
  cursor: pointer;
}

.project-card:hover {
  background-color: var(--red);
}

.project-card:hover .view-btn {
  background-color: var(--white);
  color: red;
}

.project-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.lang {
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.description {
  color: var(--light-text);
  line-height: 1.6rem;
}

.view-btn {
  margin-top: 30px;
  border: none;
  outline: none;
  background-color: var(--red);
  padding: 10px 20px;
  border-radius: 7px;
  color: white;
  font-size: 1rem;
  font-family: "Jost", sans-serif;
  cursor: pointer;
  transition: all 0.6s;
}

/* cta section */

.cta-section {
  margin-top: 100px;
  padding: 60px 0;
  background-color: var(--card-background);
  color: white;
  position: relative;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-image-container {
  width: 400px;
  position: absolute;
  top: -140px;
  right: 140px;
}

.cta-image {
  width: 100%;
 


}

.cta-desc h2 {
  font-size: 3rem;
  font-weight: 400;
}

.connect-container {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fa-brands,
.fa-regular {
  font-size: 1.5rem;
  padding: 15px 17px;
  border-radius: 100%;
  transition: all 0.6s;
}

.fa-linkedin {
  color: #0077b5;
  border: 1px solid #0077b5;
}

.fa-linkedin:hover {
  background-color: #0077b5;
  color: var(--white);
}

.fa-instagram {
  color: #e7088a;
  border: 1px solid #e7088a;
}

.fa-instagram:hover {
  background-color: #e7088a;
  color: var(--white);
}

.fa-behance {
  color: #0d63f8;
  border: 1px solid #0d63f8;
}

.fa-behance:hover {
  background-color: #0d63f8;
  color: var(--white);
}

.fa-envelope {
  color: var(--red);
  border: 1px solid var(--red);
}

.fa-envelope:hover {
  background-color: var(--red);
  color: var(--white);
}





@media screen and (max-width: 850px) {
  .hero-image-container {
    display: none;
  }


  .about-image-container{
    display: none;
  }

  .cta-image-container{
    display: none;
  }

  .cta-content {
    justify-content: center;
  }
  .cta-line{
    margin: 0 auto;
  }
  .about-content{
    margin: 0 auto;
    width: 70%;
  }
  .content h2 {
    font-size: 2rem;
  }

  .cta-desc h2 {
   text-align: center;
   font-size: 1.8rem;
  }

  .connect-container {
    justify-content: center;
    align-items: center;
  }

  .dynamic-text {
    height: 90px;
    line-height: 90px;

    overflow: hidden;
  }
  @keyframes slide {
    100% {
      top: -180px;
    }
  }

  .content {
    margin-top: 50px;
  }

  .dynamic-text li {
    list-style-type: none;
    margin-bottom: 10px;
    font-size: 3rem;
    font-weight: 600;
    position: relative;
    top: 0;
    animation: slide 4s steps(2) infinite;
    white-space: nowrap;
    color: var(--red);
  }
}

@media screen and (max-width: 633px){
    .link{
        display: none;
    }
}

@media screen and (max-width: 473px){
    .btn-container{
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content{
       
        width: 100%;
      }
}

