@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000000;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
}
a {
  text-decoration: none;
}

nav {
  margin: 0;
  overflow: hidden;
  transition: 0.3s;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav.scrolled {
  backdrop-filter: blur(6px);

  box-shadow: 0 5px 5px -5px #333;
}

.nav-content {
  max-width: 1200px;
  margin: 6px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}

.nav-content a {
  display: block;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
  color: #ffffff;
}

.nav-content a:hover,
.nav-icon:hover {
  opacity: 0.7;
}

.nav-links {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav-icon {
  display: none;
  grid-gap: 5px;
  grid-template-columns: auto;
  padding: 28px 0;
  height: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.bar {
  height: 1px;
  width: 18px;
  background: white;
  transition: 0.5s;
}

.logo-div {
  color: white;
  display: flex;
  align-items: center;
  /* background: rgba(119, 119, 119, 0.24);
  border-radius: 0px 0px 36px 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
}

@media (max-width: 768px) {
  .show {
    background-color: #000000;
  }

  #resume-btn {
    letter-spacing: 4px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;

    line-height: 45px;
    height: 0;
    width: 100%;
    background: #333333;
    flex-direction: column;
    justify-content: flex-start;
    transition: height 2s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.3s;
  }

  .show .nav-links {
    height: 100%;
    background-color: #000000;
    z-index: 1000;
  }

  .nav-links a {
    height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    margin-right: 50px;
    margin-left: 50px;
    transition: opacity 1.5s, height 2s;
  }

  .show .nav-links a {
    opacity: 1;
    width: auto;
    height: auto;
  }

  .nav-icon {
    order: 1;
    display: grid;
  }

  /* .logo {
    order: 2;
  } */

  nav {
    position: unset;
  }

  .greet-text {
    font-size: 60px !important;
  }

  .intro-text {
    font-size: 30px !important;
  }

  .btns .btn {
    padding: 12px 22px !important;
    font-size: 16px !important;
  }

  .about-head-text {
    font-size: 50px !important;
  }

  .contact-head-text {
    font-size: 50px !important;
  }
  .about-content-text {
    font-size: 25px !important;
  }

  .contact-content-text {
    font-size: 25px !important;
  }

  .skill-head-text {
    font-size: 50px !important;
  }

  .project-head-text {
    font-size: 50px !important;
  }

  .about-content {
    line-height: 30px !important;
    word-spacing: 3px !important;
  }

  .contact-content {
    line-height: 30px !important;
    word-spacing: 3px !important;
  }
}

@media (max-width: 400px) {
  .greet-text {
    font-size: 40px !important;
  }

  .social-list li img {
    width: 25px !important;
    height: 25px !important;
  }

  #resume-btn {
    letter-spacing: 2px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  .email {
    font-size: initial !important;
  }

  .skill {
    margin-top: 120px !important;
  }

  .about {
    margin-top: 120px !important;
  }

  .project {
    margin-top: 120px !important;
  }

  .intro-text {
    font-size: 20px !important;
  }

  .about-content {
    line-height: 25px !important;
    word-spacing: 2px !important;
  }

  .contact-content {
    line-height: 25px !important;
    word-spacing: 2px !important;
  }

  .about-head-text {
    font-size: 40px !important;
  }

  .project-head-text {
    font-size: 40px !important;
  }

  .skill-head-text {
    font-size: 40px !important;
  }

  .project-head-text {
    font-size: 40px !important;
  }
  .about-content-text {
    font-size: 20px !important;
  }

  .contact-content-text {
    font-size: 20px !important;
  }

  .btns .btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }

  .hero {
    height: 70vh !important;
    margin-top: 95px !important;
  }
}

.show .one {
  transform: rotate(45deg) translateY(5.5px);
}

.show .two {
  transform: rotate(-45deg) translateY(-5.5px);
}

.show .three {
  display: none;
}

.content {
  max-width: 1200px;
  min-height: 380px;
  margin: 0 auto;
}

.greet-text {
  font-size: 100px;
  margin-bottom: 0;
}

.intro-text {
  font-size: 40px;
}
.hero {
  /* background: url(/g-bg.svg) 50% no-repeat;
  background-size: 700px auto; */
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
}

.gradient {
  background-size: 100%;
  background-repeat: repeat;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient.yellow {
  /* background-color: #6bbba6;
  background-image: linear-gradient(
    90deg,
    #ff7c51,
    #f2b14d 25%,
    #6bbba6 75%,
    #4ab1f1
  ); */
  background-image: linear-gradient(
    90deg,
    #ff7c51,
    #f2b14d 25%,
    #6bbba6 75%,
    #4ab1f1
  );
  background-size: 300% 300%;
  -webkit-animation: AnimationName 3s ease infinite;
  -moz-animation: AnimationName 3s ease infinite;
  animation: AnimationName 3s ease infinite;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient.orange {
  background-color: #ff7c51;
  background-image: linear-gradient(
    90deg,
    #d749af,
    #ff7c51 25%,
    #f2b14d 75%,
    #6bbba6
  );
}

.gradient.pink {
  background-color: #d749af;
  background-image: linear-gradient(
    90deg,
    #566cec,
    #d749af 25%,
    #ff7c51 75%,
    #f2b14d
  );
}

/* .btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: bolder;
  font-size: 20px;
  color: black;
  background: white;
  border: 1px solid #000;
  border-radius: 8px;
  cursor: pointer;
} */

.about {
  padding-right: 20px;
  padding-left: 20px;
  background: url(/bgs/mainGradinetBg.svg) 0% no-repeat;
  background-size: 600px auto;
}

.about-head-text {
  font-size: 70px;
  color: #5f5f5f;
}

.contact-head-text {
  font-size: 70px;
  color: #5f5f5f;
}
.about-content-text {
  font-size: 40px;
}

.contact-content-text {
  font-size: 40px;
}

.about-content {
  line-height: 50px;
  word-spacing: 3px;
}

.contact-content {
  line-height: 50px;
  word-spacing: 3px;
}
.skill {
  padding-right: 20px;
  padding-left: 20px;
  margin-top: 180px;
}

.project {
  margin-top: 160px;
}

.contact {
  margin-top: 160px;
}

.skill-head-text {
  font-size: 70px;
  color: #5f5f5f;
}

.project-head-text {
  font-size: 70px;
  color: #5f5f5f;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  padding: 2rem;
}

.skill-content {
  border-radius: 9px;
  background: url(/bgs/skillbg.png) 70% no-repeat;
}

#skill-svg {
  width: 65%;
  height: 65%;
}

@media (max-width: 800px) {
  .grid-container {
    grid-template-columns: auto auto auto auto auto !important;
  }
}

.card_image img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.btn {
  color: #ffffff;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0.5rem;
  font-weight: 400;
  display: block;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn a {
  text-decoration: none;
  color: white;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  column-gap: 5rem;
  row-gap: 2rem;
}

.cards_item {
  display: flex;
  padding: 1rem;
}

@media (min-width: 40rem) {
  .cards_item {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .cards_item {
    width: 33.3333%;
  }
}

.card {
  border-radius: 0.7rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card_content {
  padding: 1rem;
  background: url(./bgs/mainGradinetBg.svg) 0% no-repeat;
  background-size: 600px auto;
}

.card_title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: capitalize;
  margin: 0px;
}

.card_text {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.social-list {
  display: contents;
}

.social-list li {
  display: inline-block;
  list-style: none;
  padding: 1rem;
  cursor: pointer;
}

.grid-item{
     display: flex;
    justify-content: center;
    align-items: center;
}

.mode {
  background: transparent;
  border: none;
  height: fit-content;
  align-self: center;
}
