/* some universal color */

:root {
  --light-cyan: #64ffda;
  --light-gray: #c8d2f2;
  --light-cream: #8892b0;
}

::selection {
  color: white;
  background: #a9b6db63;
}

/* Universal CSS Code Start */
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

#wrapper {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
  background: #0a192f;
  font-family: monospace;
}

/* Universal CSS Code Ends */

/* Header Start From Here */

header {
  width: 100%;
  background-color: #0a192fd9;
  position: sticky;
  top: 0%;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.header-container {
  margin: auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px 0px 0px;
}

.navbar-icon-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: end;
}

.nav-icon {
  background-color: var(--light-cyan);
  height: 2px;
}

.nav-icon-1 {
  width: 30px;
}

.nav-icon-2 {
  width: 20px;
}

.nav-icon-3 {
  width: 10px;
}

.navbar-list ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.navbar-list ul li a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--light-gray);
  transition: all 0.2s ease-in-out;
}

.navbar-list ul li:hover a {
  color: var(--light-cyan);
}

.navbar-list ul li span {
  color: var(--light-cyan);
}
.navbar-list ul .first-navbar-item {
  animation-delay: 0.1s;
}
.navbar-list ul .second-navbar-item {
  animation-delay: 0.15s;
}
.navbar-list ul .third-navbar-item {
  animation-delay: 0.2s;
}
.navbar-list ul .fourth-navbar-item {
  animation-delay: 0.25s;
}

.header-btn {
  font-size: 0.8rem;
  border: 1px solid var(--light-cyan);
  background: transparent;
  color: var(--light-cyan);
  padding: 9px 18px;
  border-radius: 3px;
  cursor: pointer;
  animation-delay: 0.5s;
  transition: background-color 0.2s ease-in-out;
}

.header-btn:hover {
  background-color: #64ffdb14;
}
/* Header Ends Here */

/* Drop Down Item Start Here */
.navbar-icon-box {
  display: none;
}
/* Drop Down Item Ends Here */

/* Home Section Start From Here */

#home {
  height: 67vh;
}

.myself {
  width: 80%;
  margin: 100px auto 0px auto;
  display: flex;
  flex-direction: column;
  font-family: "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system,
    system-ui, sans-serif;
  word-spacing: 0.2rem;
  gap: 20px;
}

.intro {
  font-size: 1.1rem;
  color: var(--light-cyan);
  opacity: 0.9;
}

.name {
  font-size: 4rem;
  color: var(--light-gray);
}

.myskills {
  color: var(--light-cream);
  font-size: 4rem;
}

.home-para {
  width: 50%;
  color: var(--light-cream);
  line-height: 1.7rem;
  font-size: 1rem;
  text-align: justify;
  opacity: 0.9;
}

.home-para span {
  color: var(--light-cyan);
  position: relative;
}

.home-para span::after {
  content: "";
  transform: scaleX(0);
  display: inline-block;
  height: 1px;
  background-color: var(--light-cyan);
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  transition: all 0.5s ease-in-out;
  transform-origin: left;
}

.home-para span:hover::after {
  transform: scaleX(1);
}

.home-btn {
  border: 1px solid var(--light-cyan);
  padding: 15px 80px;
  background: transparent;
  color: var(--light-cyan);
  font-size: 0.9rem;
  opacity: 0.9;
  width: 30%;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

.home-btn:hover {
  background-color: #64ffdb14;
}
/* Home Section Ends Here */

/* Left Social Icon Fixed */
.left-social-icons {
  position: fixed;
  bottom: 0%;
  left: 2%;
}

.left-social-icons ul li a svg {
  width: 20px;
  color: var(--light-cream);
  position: relative;
  transition: all 0.2s ease-in-out;
}

.left-social-icons ul li a svg:hover {
  width: 20px;
  color: var(--light-cyan);
  position: relative;
  transform: translateY(-3px);
}

.left-social-icons ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 0px !important;
  padding-left: 0px;
  list-style: none;
}

.left-social-icons ul::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 100px;
  background-color: var(--light-cream);
}
/* Left Side Social Media Icons */

/* Right Side Gmail Text */
.right-gmail-container {
  position: fixed;
  bottom: 13%;
  right: -40px;
  transform: rotateZ(90deg);
}

.mygmail {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.mygmail p {
  transform: translateX(-70px);
  transition: all 0.2s ease-in-out;
  margin-bottom: 2px;
}

.mygmail p:hover {
  transform: translateX(-73px);
}

.mygmail p a {
  color: var(--light-cream);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.2s ease-in-out;
}

.mygmail p a:hover {
  color: var(--light-cyan);
}

.mygmail::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 100px;
  background-color: var(--light-cream);
  transform: rotateZ(-90deg);
}
/* Right Side Gmail Text */

/* About Section Start Here */
#about {
  height: 67vh;
  width: 100vw;
}

.aboutMe {
  width: 80%;
  margin: auto;
  margin-top: 100px;
}

.sectionHeading {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.7rem;
  color: var(--light-gray);
}

.sectionHeading span {
  font-size: 1.2rem;
  color: var(--light-cyan);
  font-weight: 400;
}

.sectionHeading::after {
  content: "";
  display: inline-block;
  width: 30%;
  height: 1.2px;
  opacity: 0.4;
  background-color: #8892b0;
}

.about-container {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.about-para {
  width: 50%;
  font-family: "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system,
    system-ui, sans-serif;
}

.about-para p {
  text-align: justify;
  color: var(--light-cream);
  font-size: 1rem;
  line-height: 1.5rem;
  opacity: 0.9;
  margin-top: 20px;
}

.about-para p span {
  color: var(--light-cyan);
  position: relative;
}

.about-para p span::after {
  content: "";
  transform: scaleX(0);
  display: inline-block;
  height: 1px;
  background-color: var(--light-cyan);
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  transition: all 0.5s ease-in-out;
  transform-origin: left;
}

.about-para p span:hover::after {
  transform: scaleX(1);
}

.about-list {
  margin-top: 20px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
}

.about-list li {
  color: var(--light-cream);
  font-family: monospace;
  font-size: 0.9rem;
}

.about-list li::before {
  content: "▹";
  display: inline-block;
  color: var(--light-cyan);
  margin-right: 10px;
}

/* About Section Ends Here */

/* Work Section Start Here */
#work {
  width: 100vw;
  height: 100vh;
  font-family: "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system,
    system-ui, sans-serif;
}

.mywork {
  height: 100%;
  width: 55%;
  margin: auto;
  padding-top: 200px;
}

.menu-bar-line {
  margin-top: 40px;
}

.menu-bar-line::before {
  content: "";
  height: 40vh;
  display: inline-block;
  border-width: 1.7px;
  border-style: solid;
  border-color: #112240;
}

.workButton a {
  font-size: 0.9rem;
  background: transparent;
  color: var(--light-cyan);
  text-decoration: none;
  list-style: none;
}

.work-box-1 h2 {
  font-size: 1.3rem;
  color: var(--light-gray);
}

.work-box-1 h2 span {
  color: var(--light-cyan);
  position: relative;
}

.work-box-1 h2 span::after {
  content: "";
  transform: scaleX(0);
  display: inline-block;
  height: 1px;
  background-color: var(--light-cyan);
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  transition: all 0.5s ease-in-out;
  transform-origin: left;
}

.work-box-1 h2 span:hover::after {
  transform: scaleX(1);
}

.slider-box {
  margin-right: 40px;
  font-size: 0.95rem;
  position: relative;
}

.slider-box a {
  text-decoration: none;
  color: var(--light-cyan);
}

.slider-box li {
  padding: 10px 15px;
  transition: all 0.2s ease-in-out;
}

.slider-box li::before {
  content: "";
  border-color: var(--light-cyan);
  border-width: 1.3px;
  border-style: solid;
  height: 16%;
  top: 0%;
  margin-top: -10px;
  left: -2%;
  position: absolute;
}

.slider-box li:hover {
  background-color: #112240;
  color: var(--light-cyan);
}

.work-box-1 ul {
  padding-left: 0px;
}

.work-box-1 ul li {
  display: flex;
  gap: 5px;
}
.work-box-1 li {
  font-size: 0.95rem;
  color: var(--light-cream);
  list-style-type: none;
  margin-bottom: 10px;
}

.work-box-1 p {
  font-size: 0.95rem;
  color: var(--light-cream);
  text-align: justify;
}

.work-box-1 li::before {
  content: "▹";
  display: inline-block;
  color: var(--light-cyan);
  margin-right: 10px;
}

.workButton:hover a:active {
  background-color: #64ffdb14;
}

/* Work Section Ends Here */

/* Project Section Start Here */

#project {
  margin-top: 200px;
}

.project-section {
  width: 80%;
  margin: 40px auto;
}

.project-image-box {
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.project-box-1,
.project-box-2 {
  width: 48%;
}

.project-box-2 img {
  margin-left: -100px;
}

.project-box-1:nth-child(2n + 1),
.project-box-2:nth-child(2n + 1) {
  text-align: left;
}

.project-box-1:nth-child(2n),
.project-box-2:nth-child(2n) {
  text-align: right;
}

.project-container .project-box-text {
  position: relative;
  z-index: 5;
  margin-top: 40px;
}

.project-title {
  color: var(--light-cyan);
}

.project-name {
  color: var(--light-gray);
}

.project-para-1 {
  text-align: justify;
  opacity: 0.9;
  margin-top: 30px;
  background-color: #112240;
  color: var(--light-cream);
  padding: 20px 15px 15px 20px;
  border-radius: 5px;
  line-height: 1.7rem;
  font-size: 0.9rem;
}

.project-para-1 span {
  color: var(--light-cyan);
  position: relative;
}

.project-para-1 span::after {
  content: "";
  transform: scaleX(0);
  display: inline-block;
  height: 1px;
  background-color: var(--light-cyan);
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  transition: all 0.5s ease-in-out;
  transform-origin: left;
}

.project-para-1 span:hover::after {
  transform: scaleX(1);
}

.project-list-1 {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  color: var(--light-cream);
  gap: 23px;
  margin-top: 10px;
  font-size: 0.8rem;
}

.project-link-1 {
  margin-top: 20px;
  display: flex;
  gap: 23px;
  justify-content: flex-end;
}

.project-para-2 {
  opacity: 0.9;
  margin-top: 30px;
  background-color: #112240;
  color: var(--light-cream);
  padding: 20px 20px 15px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.project-para-2 p {
  padding: 10px;
  text-align: justify;
}

.project-para-2 span {
  color: var(--light-cyan);
  position: relative;
}

.project-para-2 span::after {
  content: "";
  transform: scaleX(0);
  display: inline-block;
  height: 1px;
  background-color: var(--light-cyan);
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  transition: all 0.5s ease-in-out;
  transform-origin: left;
}

.project-para-2 span:hover::after {
  transform: scaleX(1);
}

.project-list-2 {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  color: var(--light-cream);
  gap: 23px;
  margin-top: 10px;
  font-size: 0.8rem;
}

.project-link-2 {
  margin-top: 20px;
  display: flex;
  gap: 23px;
  justify-content: flex-start;
}

.project-link-1 svg,
.project-link-2 svg {
  width: 23px;
  color: var(--light-gray);
  transition: all 0.2s ease-in-out;
}

.project-link-1 svg:hover,
.project-link-2 svg:hover {
  color: var(--light-cyan);
}
/* Project Section Ends Here */

/* Contact Section Start Here */
#contact {
  width: 100vw;
  height: 100vh;
}

.contact-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  margin: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.contact-container .sectionNumber {
  color: var(--light-cyan);
  font-size: 1rem;
}

.cta {
  font-size: 3rem;
  color: var(--light-gray);
}

.contact-container p {
  font-size: 0.95rem;
  color: var(--light-cream);
  line-height: 1.5rem;
}

.contact-btn {
  margin: auto;
}

.contact-button {
  padding: 10px 50px;
  font-size: 0.95rem;
  background: transparent;
  border: none;
  border-radius: 5px;
  border: 1px solid var(--light-cyan);
  color: var(--light-cyan);
  transition: all 0.2s ease-in-out;
}

.contact-button:hover {
  background-color: rgba(100, 255, 219, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 75%;
}

.contact-form div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.contact-form label {
  width: 20%;
  color: var(--light-gray);
}

.contact-form input {
  outline: none;
  padding: 8px 10px;
  font-size: 0.95rem;
  width: 80%;
  background: transparent;
  border: none;
  border-radius: 5px;
  border: 1px solid var(--light-cyan);
  color: var(--light-cyan);
}

/* Contact Section Ends Here */

/* bottom social icons start here*/

.bottom-social-icons {
  display: block;
}

.bottom-social-icons ul {
  display: flex;
  padding-left: 0px;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.bottom-social-icons ul li a {
  text-decoration: none;
  color: var(--light-cream);
}

.bottom-social-icons ul li a svg {
  transition: all 0.2s ease-in-out;
}

.bottom-social-icons ul li {
  width: 20px;
  list-style: none;
  color: var(--light-cyan);
  position: relative;
}

.bottom-social-icons ul li a svg:hover {
  width: 20px;
  color: var(--light-cyan);
  transform: translateY(-3px);
}

/* bottom social icons ends here */

.navbar-list-hidden {
  display: none;
}

@media screen and (max-width: 1506px) {
  .project-container {
    justify-content: center;
  }

  .project-box-1,
  .project-box-2 {
    width: 80%;
  }

  .project-para-2 {
    padding: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .home-para {
    width: 70%;
  }

  .home-btn {
    width: 50%;
  }
}

/* Media Queries Start From Here */
@media screen and (max-width: 1060px) {
  .about-para {
    width: 70%;
  }
  .name {
    font-size: 3rem;
  }

  .myskills {
    font-size: 3rem;
  }

  .project-list-1 {
    gap: 17px;
  }
}

@media screen and (max-width: 950px) {
  .about-container {
    flex-direction: column;
    gap: 60px;
  }

  .about-para {
    width: 100%;
  }

  .my-image-container::after {
    top: 5%;
    left: 5%;
  }

  .about-list {
    padding-left: 0px;
  }
  .about-list li {
    font-size: 0.8rem;
  }
  .contact-container {
    width: 80%;
  }

  .right-gmail-container {
    right: -70px;
  }
}

@media screen and (max-width: 800px) {
  .name,
  .myskills {
    font-size: 2rem;
  }
  .home-para {
    font-size: 0.8rem;
    line-height: 1.4rem;
    width: 70%;
  }
  .home-btn {
    width: 70%;
    padding: 13px 28px;
    font-size: 0.85rem;
  }

  .myself {
    gap: 4px;
  }

  .left-social-icons,
  .right-gmail-container {
    display: none;
  }

  .mywork {
    width: 80%;
  }

  .project-box-2 .project-img {
    margin: 40px 0px;
  }

  .project-box-text {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
  }

  .project-section .sectionHeading {
    font-size: 1.2rem;
    gap: 10px;
  }

  .project-section .sectionHeading::after {
    width: 20%;
  }

  .project-section {
    width: 90%;
  }

  .navbar-icon-box {
    display: flex;
    cursor: pointer;
  }

  .navbar-list {
    display: none;
  }

  .navbar-list-hidden {
    width: 50%;
    position: absolute;
    height: 92%;
    backdrop-filter: blur(5px);
    overflow: hidden;
    left: -50%;
    margin: auto;
    gap: 20px;
    justify-content: end;
    text-align: right;
    background-color: #0a192f9f;
    z-index: 15;
    transition: all 0.3s ease-in-out;
  }

  .navbar-list-visible {
    font-size: 0.9rem;
    width: 50%;
    position: absolute;
    height: 91.4%;
    backdrop-filter: blur(5px);
    overflow: hidden;
    right: 50%;
    margin: auto;
    gap: 20px;
    justify-content: end;
    text-align: right;
    background-color: #0a192f9f;
    z-index: 15;
    transition: all 0.3s ease-in-out;
  }

  .navbar-list-hidden ul li {
    list-style: none;
    margin-top: 40px;
    margin-right: 20px;
  }

  .navbar-list-visible ul li {
    list-style: none;
    margin-top: 40px;
    margin-right: 20px;
  }

  .navbar-list ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
  }

  .navbar-list-visible ul li a {
    text-decoration: none;
    color: var(--light-gray);
    transition: all 0.2s ease-in-out;
  }

  .navbar-list-visible ul li:hover a {
    color: var(--light-cyan);
  }

  .navbar-list-visible ul li span {
    color: var(--light-cyan);
  }

  .navbar-list-hidden ul li a {
    text-decoration: none;
    color: var(--light-gray);
    transition: all 0.2s ease-in-out;
  }

  .navbar-list-hidden ul li:hover a {
    color: var(--light-cyan);
  }

  .navbar-list-hidden ul li span {
    color: var(--light-cyan);
  }

  .header-btn {
    padding: 12px 50px;
    margin-top: 30px;
    margin-right: 20px;
  }

  .project-list-1,
  .project-list-2 {
    font-size: 0.8rem;
  }

  .project-list-2 {
    gap: 16px;
  }

  .project-box-1,
  .project-box-2 {
    width: 100%;
  }

  .bottom-social-icons {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 666px) {
  .project-image-box {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .home-para {
    width: 85%;
    line-height: 1.6rem;
    font-size: 0.9rem;
  }

  .slider-box li {
    padding: 0px;
  }

  .about-para p {
    font-size: 0.9rem;
  }

  .home-btn {
    max-width: 70%;
    padding: 10px 26px;
    font-size: 0.8rem;
  }

  .menu-bar-line::before {
    content: "";
    height: 1%;
    display: inline-block;
    border-width: 1.7px;
    width: 100%;
    border-style: solid;
    border-color: #112240;
  }

  .nav-item-change {
    display: flex;
    flex-direction: row !important;
  }

  .nav-item-change li {
    list-style: none;
  }

  .small-unit-change {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
  }

  .slider-box li::before {
    content: "";
    border-color: var(--light-cyan);
    border-width: 1px;
    border-style: solid;
    height: 0px;
    top: 0%;
    width: 28%;
    left: 0%;
    position: absolute;
  }

  .mywork .sectionHeading {
    font-size: 0.95rem;
  }

  .sectionHeading::after {
    content: "";
    display: inline-block;
    width: 16%;
    height: 1.2px;
    opacity: 0.4;
    background-color: var(--light-cream);
  }
}

@media screen and (max-width: 575px) {
  .work-task li {
    font-size: 0.9rem;
    line-height: 1.7rem;
  }
  #contact .contact-container {
    gap: 20px;
  }

  .cta {
    font-size: 2.5rem;
  }

  .contact-container p {
    font-size: 0.8rem;
  }

  .contact-button {
    font-size: 0.8rem;
  }

  .aboutMe .sectionHeading {
    font-size: 1.3rem;
  }

  .sectionHeading::after {
    content: "";
    display: inline-block;
    width: 30%;
    height: 1.2px;
    opacity: 0.4;
    background-color: #8892b0;
  }

  .about-list li {
    font-size: 0.7rem;
  }

  .header-btn {
    padding: 10px 33px;
  }
}

@media screen and (max-width: 400px) {
  .project-container .project-box-text {
    margin-top: 0px;
  }

  .about-para p {
    font-size: 0.8rem;
  }

  .navbar-list-visible ul li {
    font-size: 0.8rem;
  }

  .slider-box li::before {
    content: "";
    border-color: var(--light-cyan);
    border-width: 1px;
    border-style: solid;
    height: 0px;
    top: 0%;
    width: 40.7%;
    left: 0%;
    position: absolute;
  }

  .work-box-1 {
    font-size: 0.9rem;
  }

  .slider-box li {
    font-size: 0.8rem;
  }

  .project-section .sectionHeading {
    font-size: 1rem;
    gap: 5px;
  }

  .project-section .sectionHeading::after {
    width: 20%;
  }

  .project-box-2 .project-img {
    margin: 0px;
  }

  .project-box-2 img {
    min-width: 0px;
  }

  .sectionHeading span {
    font-size: 1rem;
  }

  .project-section {
    width: 90%;
  }

  .project-para-1,
  .project-para-2 {
    text-align: justify;
    font-size: 0.8rem;
    padding: 15px;
  }

  .home-para {
    width: 100%;
    font-size: 0.85rem;
    line-height: 1.5rem;
  }

  .navbar-list-mobile {
    position: absolute;
  }

  .work-task li {
    font-size: 0.85rem;
    line-height: 1.5rem;
  }

  .contact-container {
    width: 85%;
  }
}

/* Media Queries Ends Here */

/* Scroll Bar CSS */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #495670;
  border-radius: 11px;
}
/* Scroll Bar Ends */
