@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bgOrange: #e84949;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
    scroll-behavior: smooth;
}
#wrapper {
  width:100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Navbar Section */
.container {
  width: 100vw;
  margin: 0 auto;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 1.25%);
  background-color: white;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.logo {
    height: 80px;
}
.logo-container {
    display: flex;
    justify-content: baseline;
    align-items: center;
}
.logo-text {
    margin-left: -2rem;
    font-size: 28px;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}
.hamburger-menu svg {
  width: 24px; /* Default size */
  height: 24px;
}
.hamburger-menu.cross svg {
  width: 24px; /* Larger size for the cross icon */
  height: 24px;
}

.nav-items {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
}
.nav-items div {
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.nav-items div a {
    color: black;
}
a {
    text-decoration: none;
}
.nav-items div a:hover {
  color: var(--bgOrange);
    
}

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  padding: 0 2rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.hero-heading {
  font-size: 35px;
  color: #343d68;
  font-weight: 500;
}
.hero-subheading {
  font-size: 45px;
  line-height: 45px;
}
.role {
  color: #4e45d5;
  font-weight: 800;
}
.hero-description {
  margin-top: 1rem;
  width: 70%;
  font-weight: 500;
  text-align: justify;
}

.hero-btn {
  background-color: var(--bgOrange);
  width: fit-content;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.247) 5px 5px 7px 0px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding: 0.8rem 2.3rem;
  margin-top: 1rem;
  transition: all 0.5s ease 0s;
  border-width: 3px;
  border-style: solid;
  border-color: transparent;
  border-image: initial;
}
.hero-btn::before {
  content: "";
  position: absolute;
  background-color: rgb(255, 255, 255);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: all 0.8s ease 0s;
}
.hero-btn:hover::before {
  transform: scaleX(1);
}
.hero-btn:hover {
  border: solid 3px var(--bgOrange);
  color: black;
}

.faded-text { 
  user-select: none;
  position: absolute;
  font-size: 7em;
  color: rgb(231, 231, 231);
  bottom: -7rem;
  left: 1.5rem;
  font-weight: bold;
  transition: all 5s;
}

.hero-right {
  position: relative;
  margin-right: 3rem;
  margin-top: 3rem;
}
.absolute {
    position: absolute;
}

.user-image {
    padding: 2.5rem;
    filter: grayscale(1);   
    transition: all 1s;
    animation-name: scaleImage;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation: scaleImage 5s linear infinite;
    z-index: -12;
}
@keyframes scaleImage {
    0% {
        filter: grayscale(0);
        transform: scale(1);
    }
    50% {
        filter: grayscale(1);
        transform: scale(1.1);
        box-shadow: 3px 3px 10px black;
    }
    100% {
        filter: grayscale(0);
        transform: scale(1);
    }
}

.icon-dots {
    z-index: 9;
    bottom: -1rem;
    right: 0;
    animation: dotsAnimation 5s infinite;
}
@keyframes dotsAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}  

.icon-cube {
    z-index: 9;
    top: -0.8rem;
    right: 1em;
    animation: cubeRotate 3s infinite;
}
@keyframes cubeRotate {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-12px) rotateY(180deg);
    }
    100% {
        transform: translateY(0px) rotateY(0deg);
        
    }
}

.icon-circle {
    z-index: 9;
    bottom: 0;
    left: 0;
    animation: circleShake 6s linear infinite;
}
@keyframes circleShake {
    50% {
        left: 5%;
        bottom: 10%;
    }
}

.icon-plus {
    z-index: 9;
    top: -0.8rem;
    left: 50%;
    animation: plusShake 5s ease-in infinite;
}
@keyframes plusShake {
    50% {
        top: 3%;
        left: 48%;
    }
}

.icon-zigzag {
    z-index: 9;
    top: 1.5rem;
    left: -0.3em;
    animation: zigzagAnimation 5s ease- infinite;
}
@keyframes zigzagAnimation {
    50% {
        left: 5%;
        top: 2%;
    }

}

/* Home Section */
.homeSection {
  padding-top: 0.5rem;
}

/* Projects Section */
.projectSection {
  background-color: #e7e7e7;
  padding-top: 3rem;
}

.projectTitle {
  color: #e84949;
  font-size: 80px;
  line-height: 75px;
  padding: 50px 0 30px;
  text-align: center;
}

.projectContainer {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

#project1 {
  background-image: url(images/projects/ageCalculator.png);
  right: 7%;
}
#project2 {
  background-image: url(images/projects/clock.png);
  left: 7%;
} 
#project3 {
  background-image: url();
  right: 7%;
}  
#project4 {
  background-image: url();
  left: 7%;
}

.projectCard {
  width: 70%;
  height: 350px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0px 0px 40px #1f1f1f;
  margin: 2rem auto;
  z-index: 2;
} 
.projectCard::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
  z-index: 1;
  transition: 0.5s all;
  transform-origin: left;
  transform: scaleX(0);
}  
.projectCard:hover::before {
  transform: scaleX(1);
}

.projectNumber {
  position: absolute;
  font-size: 200px;
  font-weight: 600;
  color: #fff;
  display: none;
  z-index: 10;
  transition: 0.8s;
}  
.rightNumber {
  top: -45px;
  right: -45px;
} 
.leftNumber {
  top: -45px;
  left: -45px;
} 
.projectCard:hover .projectNumber {
  display: block;
}

.projectCard::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #1f1f1f9a;
  z-index: 0;
}

.projectContent {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: white;
  padding: 2em;
  position: absolute;
  z-index: 5;
  transition: all 0.4s;
} 
.leftProjectContent {
  left: 5%;
}  
.rightProjectContent {
  right: 5%;
}

.projectSkillsContainer {
  display: flex;
  flex-wrap: wrap;
  max-width: 62%;
  gap: 1em;
}

.projectSkill {
  width: 40px;
}
.projectHeading {
  font-size: 50px;
  font-weight: bold;
  line-height: 3rem;
}  

.projectCard:hover .projectContent {
  transform: scale(1.1);
}

.btnGroup {
  display: flex;
  /* justify-content: center; */
  align-items: center; 
  gap: 0.9rem;
}  
.btnGroup .btnProject {
  border: none;
  outline: none;
}
.icon {
  cursor: pointer;
  color: white;
  font-size: 35px;
  transition: all 0.4s;
}
.icon:hover {
  color: #e84949;
}

/* Skills Section */
.skill-container {
  position: relative;
  display: flex;
  padding: 5rem;
  padding-top: 6rem;
  margin: 5rem auto;
  gap: 30px;
}

.skill-container-left {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.skill-container-right {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  position: relative;
  gap: 2rem;
  justify-content: center;
  align-items: center ;
}

.skill-fade-text {
  position: absolute;
  font-size: 10em;
  font-style: bold;
  color: rgb(231, 231, 231);
  bottom: -7.7rem;
  right: 2rem;
  user-select: none;
}

.blob-style {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blobAnimate 3s linear infinite;
  z-index: 1;
}
@keyframes blobAnimate {
  50% {
    top: 54%;
    left: 46%;
  }
}

.skill-logo {
  width: 100px;
  height: 120px;
  transition: all 0.5s;
  z-index: 2;
}
.skill-logo:hover {
  transform: scale(1.2);
}

.skill-heading {
  font-size: 50px;
  font-style: bold;
  color: var(--bgOrange);
  line-height: 50px;
}
.caps {
  font-size: 90px;
}

.skill-subheading {
  margin-top: 1rem;
  width: 85%;
  text-align: justify;
}
.skill-subheading p {
  margin: 15px 0;
}


/* Contact Me Section */
.contactus-form-container {
  width: 100%;
  background-color: rgb(231, 231, 231);
  padding-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactus-heading {
  font-size: 4em;
  color: var(--bgOrange);
  padding: 2rem;
  padding-left: 5rem;
}

.contactus-subheading {
  font-size: 2rem;
  color: #343d68aa;
  text-transform: capitalize;
  padding-left: 5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
  margin: 2rem 2rem;
}

.formfield {
  width: 100%;
  height: 42px;
  padding: 0 2rem;
  font-size: 18px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px #1f1f1f;
  font-weight: 300;
  border: none;
}

.formfield-textarea {
  height: auto;
  padding-top: 1rem;
}

.submit-btn {
  border: none;
  font-size: 1.4rem;
  margin: 1rem 0;
}
.submit-btn:hover {
  scale: 0.9;
}
.submit-icon {
  padding: 0 1rem;
  font-size: 1.5rem;
}

/* Footer Section */
footer {
  position: relative;
  background: #343d68;
  padding: 0.5rem;
}
.footer-wrapper {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  justify-content: flex-end;
  align-items: center;
}
.footer-fade-text {
  position: absolute;
  left: 0.5rem;
  color: #535c87;
  user-select: none;
  font-size: 5em;
}
.icon-wrapper {
  display: flex;
  gap: 1.5rem;
  font-size: 30px;
  padding-right: 50px;
} 


                                    /* MEDIA QUERIES */
/* Mobile Phones */
@media (max-width: 480px) {
  /* Navbar Section */
  .hamburger-menu {
    display: block;
    color: black;
  }
  .navbar {
    width: 100%;
  }
  .nav-items {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: rgb(231,231,231);
    padding: 10px 20px;
    position: absolute;
    top: 80px;
    width: 100%;
  }
  .nav-items a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .hero-left {
    align-items: center;
  }
  .hero-description {
    width: 100%;
  }
  .hero-right {
    margin: 4rem;
  }

  /* Projects Section */
  .projectSection {
    width: 100vw;
    align-items: center;
  }
  .projectNumber {
    font-size: 200px;
  }  
  .rightNumber {
    top: -20px;
    right: -20px;
  } 
  .leftNumber {
    top: -20px;
    left: -20px;
  } 
  .projectCard {
    width: 80%;
    height: 200px;
  } 
  .projectNumber {
    font-size: 90px;
  } 
  .projectContent {
    gap: 0em;
  } 
  .projectSkillsContainer {
    max-width: 100%;
  }
  .projectHeading {
    font-size: 30px;
  }  

  /* Skills Section */
  .skill-container {
    flex-direction: column;
    width: 100vw;
    padding: 0;
    padding-top: 7rem;
    align-items: center;
  }
  .skill-container-left {
    width: 100%;
  }
  .skill-container-right {
    width: 100%;
    margin-top: 2em;
    margin-bottom: -6rem;
  }
  .skill-fade-text {
    position: relative;
    font-size: 8em;
    font-style: bold;
    color: rgb(231, 231, 231);
    bottom: -7.1rem;
    right: -4rem;
    user-select: none;
  }
  .skill-logo {
    width: 80px;
    height: 100px;
  }
  .skill-subheading {
    width: 100%;
  }
  .skill-subheading p {
    margin: 8px 0;
  }

  /* Contact Me Section */
  .contactus-form-container {
    width: 100%;
  }
  .container {
    width: 90%;
  }
  .contactus-heading {
    padding: 1rem;
    padding-left: 0rem;
  }
  .contactus-subheading {
    padding-left: 0rem;
  }
  .form {
    width: 90%;
  }

  /* Footer Section */
  .footer-fade-text {
  display: none;
  }
}


/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  /* Navbar Section */
  .hamburger-menu {
    display: block;
    color: black;
  }
  .navbar {
    width: 100%;
  }
  .nav-items {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: rgb(231,231,231);
    padding: 10px 20px;
    position: absolute;
    top: 80px;
    width: 100%;
  }
  .nav-items a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .hero-left {
    align-items: center;
  }
  .hero-description {
    width: 100%;
  }
  .hero-right {
    margin: 4rem;
  }

  /* Projects Section */
  .projectSection {
    width: 100vw;
    align-items: center;
  }
  .projectNumber {
    font-size: 150px;
  }  
  .rightNumber {
    top: -35px;
    right: -20px;
  } 
  .leftNumber {
    top: -35px;
    left: -20px;
  } 
  .projectCard {
    width: 80%;
    height: 250px;
  } 
  .projectContent {
    gap: 1rem;
  } 
  .projectSkillsContainer {
    max-width: 100%;
  }
  .projectHeading {
    font-size: 30px;
  }  

  /* Skills Section */
  .skill-container {
    flex-direction: column;
    width: 100vw;
    padding: 0;
    padding-top: 7rem;
    align-items: center;
  }
  .skill-container-left {
    width: 100%;
  }
  .skill-container-right {
    width: 100%;
    margin-top: 5em;
    margin-bottom: -3rem;
  }
  .skill-fade-text {
    position: relative;
    font-size: 8em;
    font-style: bold;
    color: rgb(231, 231, 231);
    bottom: -7.1rem;
    right: -13rem;
    user-select: none;
  }
  .skill-logo {
    width: 80px;
    height: 100px;
  }
  .skill-subheading {
    width: 100%;
  }
  .skill-subheading p {
    margin: 8px 0;
  }

  /* Contact Me Section */
  .contactus-form-container {
    width: 100%;
  }
  .container {
    width: 90%;
  }
  .contactus-heading {
    padding: 1rem;
    padding-left: 0rem;
  }
  .contactus-subheading {
    padding-left: 0rem;
  }
  .form {
    width: 90%;
  }

  /* Footer Section */
  .hide-text {
    display: none;
  }
  .icon-wrapper {
    padding-right: 1px;
  } 
} 
