@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");
/* animation strats */
.animate {
  animation-duration: 1.5s;
  animation-iteration-count: 1;
}

.animate.animate-delay--1s {
  animation-delay: 0s;
}

.animate.animate--slow {
  animation-duration: 3s;
}

.animate.animate--fast {
  animation-duration: 1s;
}

.animate.animate--infinite {
  animation-iteration-count: infinite;
}

.grow {
  animation-name: grow;
  animation-timing-function: ease;
}

.upToBottom {
  animation-name: upToBottom;
  animation-timing-function: ease;
}

.bottomToUp {
  animation-name: bottomToUp;
  animation-timing-function: ease;
}

.sectionExit {
  animation-name: sectionExit;
  animation-timing-function: ease;
}

.sectionEnter {
  animation-name: sectionEnter;
  animation-timing-function: ease;
}

.toDown {
  animation-name: toDown;
  animation-timing-function: ease;
}

.bounce {
  animation-name: bounce;
  animation-delay: 1s;
  animation-timing-function: ease;
}

.zoomIn {
  animation-name: zoomIn;
  animation-duration: 0.8s;
  animation-timing-function: ease;
}

/* animation end */

/* KeyFrames starts */
@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: translateX(2000px);
  }
  60% {
    opacity: 1;
    transform: translateX(-30px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    scale: 0;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}
@keyframes grow {
  0% {
    scale: 1.2;
  }
  50% {
    scale: 1.7;
  }
  100% {
    scale: 1.2;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes sectionExit {
  from {
    transform: translateX(0px);
    opacity: 1;
  }

  to {
    transform: translateX(-200px);
    filter: blur(8px);
    opacity: 0;
  }
}

@keyframes sectionEnter {
  from {
    transform: translateX(-200px);
    filter: blur(8px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes bottomToUp {
  from {
    transform: translateY(0px);
    opacity: 1;
  }

  to {
    transform: translateY(-90px);
    filter: blur(8px);
    opacity: 0;
  }
}

@keyframes upToBottom {
  from {
    transform: translateY(-90px);
    filter: blur(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes toDown {
  from {
    transform: translateY(-800px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes backgroundColor {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes colorChanges {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 25% 50%;
  }
  50% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes underlineToBottom {
  from {
    text-underline-offset: 0.2em;
  }
  to {
    text-underline-offset: 0.5em;
  }
}
/* keyframes end */

/* set the body and html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #111f4d;
  --red: #e43a19;
  --white: #f2f4f7;
  --black: black;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: black;
}
html::-webkit-scrollbar-thumb {
  background: var(--white);
}
body {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
}
/* the body and html end  */

/* Nav starts */

.navContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem;
  height: 6.5rem;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
  background-color: var(--white);
}

.menuIcon i {
  font-size: 3.5rem;
  font-weight: bold;
  display: none;
}

.closeIcon i {
  font-size: 3.5rem;
  font-weight: bold;
  display: none;
  margin-right: 5%;
  position: absolute;
  top: 5.5%;
  right: 0;
}

nav {
  width: 55%;
}

nav .nav-links {
  align-items: center;
  display: flex;
  justify-content: space-around;
}

nav .nav-links .logo {
  display: none;
}

nav .nav-links li {
  list-style: none;
}

nav .nav-links li a {
  position: relative;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  color: black;
  letter-spacing: 1px;
  text-underline-offset: 0.5em;
  transition: all 0.5s;
}

.nav-links li a::before {
  content: "";
  background: #e43a19;
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 0.253rem;
  width: 0;
  transition: 0.5s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #e43a19;
}

.nav-links li a.active::before,
.nav-links li a:hover::before {
  width: 100%;
}

.logo {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
  background-image: linear-gradient(
    to right,
    #e43a19,
    #111f4d,
    #e43a19,
    #111f4d
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 500%;
  animation: colorChanges 2s ease infinite;
}

/* nav end */

/* Home starts */

#home {
  min-height: 100vh;
  background: linear-gradient(-45deg, #020205, #111f4d, #020205, #111f4d);
  animation: backgroundColor 15s ease-in-out infinite;
  background-size: 400% 400%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-around;
  align-items: center;
}

#home .section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.sayHello {
  font-size: 2.4rem;
  color: var(--white);
}

.sayHello h1 span,
.sayHello h4 span {
  color: #e43a19;
}

.myLinks {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 18vh;
  transition: opacity 1s ease;
}

.sayHello #Accounts {
  margin-top: 1.5em;
  transition: opacity 1s ease;
}

.show {
  display: block;
}

.myLinks a {
  text-decoration: none;
  color: var(--white);
  opacity: 0.6;
  transition: all 0.5s;
}

.myLinks a:hover {
  color: #e43a19;
  opacity: 1;
}

.myLogo {
  width: 400px;
  height: 400px;
  border-radius: 200px;
  animation: bounce 1s ease;
  transition: transform 0.3s ease-out;
}

.myLogo:hover {
  transform: translate(0, 0);
}

/* Home end */

/* About strarts */

#about,
#skills,
#education,
#projects,
#certifications,
#contact {
  min-width: 100%;
  min-height: 100vh;
  background-color: var(--white);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
}

.pageStart {
  margin: 3% auto 5% auto;
  font-weight: 600;
  color: var(--white);
  font-size: 3.2rem;
  padding: 15px;
  border-radius: 40px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

pageStart i {
  color: var(--white);
}

.information {
  min-height: 80vh;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row;
  align-content: center;
}

#about .myImageContainer {
  width: 50%;
}

#about .myImageContainer .myImage {
  width: 40%;
  max-height: 20%;
  margin-top: -5%;
  border-radius: 40px;
  transform: translate(20%);
  transition: all 1s;
  filter: blur(1px);
}

#about .myImageContainer .myImage:hover {
  transform: translateX(35%);
  filter: blur(0);
}

#about .myInfo {
  font-size: 1.8rem;
  width: 40%;
}

#about .pageStart {
  color: #000000;
}

#about .pageStart i {
  color: #e43a19;
}

#about .resumeBtn {
  margin-top: 10%;
  background-color: #e43a19;
  border-radius: 20px;
  width: 25%;
  padding: 10px;
  overflow: hidden;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  transition: 1s;
  opacity: 0.8;
  text-decoration: none;
}

#about .resumeBtn:hover {
  width: 27%;
  opacity: 1;
  box-shadow: -1px 2px 12px 0px black;
}

.to-top {
  z-index: 10001;
  position: fixed;
  bottom: 30px;
  right: 15px;
  border-radius: 50px;
  background-color: #111f4d;
  color: var(--white);
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 1s;
  text-decoration: none;
}
/* About end */

/* Skills strart */
#skills {
  background-color: #0001b3;
  flex-direction: row;
}

#skills .skillsContainer {
  background-color: #010169;
  padding: 20px;
  display: flex;
  border-radius: 40px;
  min-height: 70vh;
  width: 70%;
  flex-direction: row;
  flex-wrap: wrap;
  margin: auto;
  box-shadow: 0 0 18px 1px var(--blue);
  align-content: stretch;
}

#skills .skillsContainer .info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#skills .skillsContainer .info img {
  width: 50px;
  height: 50px;
  margin-bottom: 10%;
}

#skills .skillsContainer .info span {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 600;
}

#skills .skillsContainer .skill {
  width: 20rem;
  height: 15rem;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  opacity: 0.7;
  background-color: black;
  justify-content: center;
  transition: all 0.7s;
  cursor: context-menu;
  margin: auto auto 10px;
}

.fa-code:before {
  content: "\f121";
  font-weight: 600;
}

#skills .skillsContainer .skill:hover {
  opacity: 1;
  box-shadow: 0 0 6px #000000;
}

#skills .iconSkills {
  width: 15%;
  margin: 2% auto 1% auto;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--white);
  padding: 15px;
  border-radius: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
}

.iconSkills i {
  color: #e43a19;
}
/* Skills end */

/* Education start */
#education {
  background-color: black;
  display: flex;
  align-items: self-start;
  align-content: center;
  flex-direction: column;
}

#education .pageStart {
  margin-bottom: 0;
}

#education pre,
.fa-graduation-cap::before {
  font-size: 4rem;
  font-weight: 600;
  color: #e43a19;
}

#education .educationInfo {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 60vh;
  background-color: white;
  align-items: center;
  transform: translateY(20%);
}

#education .educationInfo .text {
  display: flex;
  height: 215px;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

#education .educationInfo p:nth-child(1) {
  color: #e43a19;
  font-weight: 600;
  font-size: 3.2rem;
}

#education .educationInfo p:nth-child(3) {
  color: #111f4d;
  font-weight: 600;
  font-size: 3.2rem;
}

#education .educationInfo p {
  font-size: 1.8rem;
}

#education .educationInfo img {
  width: 100%;
  height: 60%;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0px 0px 7px #000000;
}
/* Education end */

/* Project starts */
#projects {
  flex-direction: column;
  display: flex;
  background-color: rgb(228, 58, 25, 1);
  align-content: center;
  flex-wrap: wrap;
}

#projects .projectsContainer {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  justify-content: space-evenly;
  margin: auto;
  flex-direction: row;
  padding: 20px;
}

.project {
  width: 30rem;
  height: 25rem;
  padding: 2%;
  display: flex;
  position: relative;
  align-items: flex-end;
  transition: all 0.5s;
  margin-bottom: 3%;
}

.project img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: fill;
  top: 0;
  border-radius: 20px;
  background-color: #000000;
  left: 0;
}

.project:hover {
  transform: translateY(2rem);
}

.project:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
  left: 0;
  opacity: 0;
  transition: all 0.5s;
  background-image: linear-gradient(
    to bottom,
    rgb(30, 83, 158, 0.4),
    rgb(120, 0, 168, 0.8)
  );
  border-radius: 20px;
}

.project:hover:before {
  opacity: 1;
}

.projectInfo {
  position: relative;
  z-index: 3;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s;
}

.project:hover .projectInfo {
  opacity: 1;
  transform: translateY(0px);
}

#projects .projectInfo h1 {
  margin: 0;
}

#projects .projectInfo p {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 25px;
}

#projects .projectInfo .btn {
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  color: #e43a19;
  background-color: var(--white);
  font-size: 1.5rem;
  transition: all 0.5s;
}

#projects .projectInfo .btn:hover {
  background-color: #e43a19;
  color: var(--white);
  box-shadow: 0px 0px 8px #000000;
}

#projects .viewAllBtn {
  margin: -1% auto 3% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 50px;
  text-decoration: none;
  color: var(--white);
  padding: 10px;
  border: 3px solid var(--white);
  font-weight: 600;
  font-size: 1.8rem;
  border-radius: 10px;
  transition: all 0.7s;
  box-shadow: 2px -10px 14px 7px #f45030;
}

#projects .viewAllBtn:hover {
  color: #f45030;
  background-color: var(--white);
}

#projects .viewAllBtn:hover .fa-angle-right {
  margin-left: 15px;
  color: #f45030;
}

#projects .viewAllBtn .fa-angle-right {
  transition: all 0.7s;
  margin-left: 10px;
}
/* Projects end */

/* Certification starts */
#certifications {
  flex-wrap: wrap;
  flex-direction: column;
  display: flex;
  background-color: black;
  align-content: center;
}

#certifications .pageStart i {
  color: var(--red);
}

.certificationsBar .fa-certificate {
  color: #e43a19;
}

.certificationsContainer {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  justify-content: space-evenly;
  padding: 20px;
  flex-direction: row;
}

.certificate {
  width: 30rem;
  height: 30rem;
  padding: 2%;
  display: flex;
  position: relative;
  align-items: flex-end;
  transition: all 0.5s;
  margin-bottom: 4%;
}

.certificate img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  border-radius: 20px;
  background-color: #000000;
  left: 0;
}

.certificate::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
  left: 0;
  opacity: 0;
  transition: all 0.5s;
  background-image: linear-gradient(
    to bottom,
    rgb(98, 6, 6, 0.4),
    rgb(186, 6, 0, 1)
  );
  border-radius: 20px;
}

.certificate:hover::before {
  opacity: 1;
}

.certificateInfo {
  position: relative;
  z-index: 3;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s;
}

.certificate:hover .certificateInfo {
  opacity: 1;
  transform: translateY(0px);
  transform: translateY(-20px);
}

.certificateInfo h1 {
  margin: 0;
}

.certificateInfo p {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 25px;
}

.certificateInfo .btn {
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  color: #e43a19;
  background-color: var(--white);
  font-size: 1.5rem;
  transition: all 0.5s;
}

.certificateInfo .btn:hover {
  background-color: #020205;
  color: var(--white);
  box-shadow: 0px 0px 8px #000000;
}

/* Certifications end */

/* Contact starts */
#contact {
  background-color: var(--white);
}

#contact .pageStart {
  color: #000000;
  margin-top: 2.5%;
  margin-bottom: 2%;
}

#contact .pageStart i {
  color: var(--blue);
}

.contactContainer {
  border-radius: 20px;
  border: solid white;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  flex-direction: row;
  padding: 20px;
  height: 50rem;
  align-content: center;
  align-items: center;
  width: 100rem;
  box-shadow: 0 0 10px 0px #000000;
  justify-content: space-between;
}

.columnOne {
  width: 50%;
}

.columnOne img {
  width: 100%;
  height: 50rem;
  margin-top: 5px;
}

.columnTwo {
  width: 40%;
}

.columnTwo {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
  justify-content: space-around;
  align-items: end;
}

.columnTwo input {
  background-color: transparent;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  width: 100%;
  height: 100%;
  outline: none;
  border: none;
  border-radius: 15px;
}

.columnTwo .inputIcon {
  background-color: var(--white);
  text-align: center;
  display: flex;
  width: 100%;
  height: 15%;
  border-radius: 10px;
  transition: all 0.4s;
}

.inputfocused {
  border: 1px solid #0909be;
}

.columnTwo .inputIcon:nth-child(4) {
  height: 25%;
  padding-top: 10px;
}

.columnTwo textarea {
  overflow: hidden;
  resize: none;
  background-color: var(--white);
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  border: none;
  padding-top: 3px;
  outline: none;
  border-radius: 10px;
}

.inputIcon .icon {
  color: black;
  min-width: 50px;
  font-size: 1.8rem;
  margin: auto;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  transition: all 0.4s;
}

.inputIcon .iconfocused {
  color: #0909be;
}

.inputIcon:nth-child(4) .icon {
  margin-top: 8px;
  align-content: flex-start;
}

.columnTwo a {
  width: 35%;
  height: 8%;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  border-radius: 10px;
  text-align: center;
  background-color: #111f4d;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: center;
  cursor: pointer;
}

.columnTwo a:hover i {
  margin-left: 10px;
}

.columnTwo a i {
  color: var(--white);
  font-size: 1.8rem;
  transition: all 0.5s;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #111f4d;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon-item,
.menu-item {
  list-style: none;
}

.social-icon-link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.social-icon-link:hover {
  transform: translateY(-10px);
}

.menu-link {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu-link:hover {
  opacity: 1;
}

.social-icon-link {
  text-decoration: none;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1.2rem;
  font-weight: 300;
}

.footer p span i {
  color: #e43a19;
  margin-left: 5px;
  scale: 1.2;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../Images/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

/* Contact end */

/* some swal edits  */
.swal-overlay--show-modal .swal-modal {
  font-weight: bold;
  font-size: 1.8rem;
  font-family: "Poppins", sans-serif;
}

.swal-button {
  background-color: #111f4d;
  font-weight: bold;
  font-size: 1.8rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.5s;
}

.swal-button:hover {
  opacity: 0.7;
  background-color: #111f4d;
}

.swal-icon--success__ring {
  border: 4px solid #111f4d;
}

.swal-icon--success__line {
  background-color: #111f4d;
}

@media screen and (max-width: 1160px) {
  nav {
    width: 60%;
  }
}

@media screen and (max-width: 1060px) {
  html {
    font-size: 50%;
  }
  #about .myImageContainer .myImage {
    width: 65%;
    height: 40vh;
  }
  #about .myInfo {
    font-size: 3rem;
  }
  #about .resumeBtn {
    width: 43%;
  }
  .myLogo {
    width: 250px;
    height: 250px;
  }
  #education .educationInfo {
    height: 40vh;
    transform: translateY(50%);
  }
  .information {
    min-height: 80vh;
  }
  .certificate {
    width: 300px;
    height: 250px;
  }
  .wave {
    top: -98px;
  }
  #about .resumeBtn:hover {
    width: 60%;
  }
  @keyframes sectionExit {
    from {
      transform: translateX(0px);
      opacity: 1;
    }

    to {
      transform: translateX(-50px);
      filter: blur(8px);
      opacity: 0;
    }
  }

  @keyframes sectionEnter {
    from {
      transform: translateX(-50px);
      filter: blur(8px);
      opacity: 0;
    }

    to {
      transform: translateX(0px);
      opacity: 1;
    }
  }
}

/* For Mobile Portrait View */
@media screen and (max-width: 920px) {
  /* new Nav */
  nav {
    position: fixed;
    height: 100%;
    background-color: var(--white);
    left: -100%;
    top: 0;
    transition: 0.6s;
    box-shadow: 1px 0px 7px #000000;
    border-radius: 0rem 1rem 1rem 0rem;
  }
  .show {
    left: 0;
  }
  .closeIcon i {
    display: block;
  }
  nav .nav-links {
    align-items: flex-start;
  }
  nav .nav-links .logo {
    display: block;
  }
  nav ul {
    width: 95%;
    height: 100%;
    flex-direction: column;
    margin-left: 5%;
  }
  nav .nav-links .logo {
    font-size: 4rem;
  }
  nav .nav-links li a {
    font-size: 2.5rem;
  }
  .menuIcon i {
    display: block;
  }
  #skills .skillsContainer .skill {
    width: 20rem;
  }
  .project {
    width: 35rem;
    height: 24rem;
    margin-bottom: 8%;
  }
  .pageStart,
  #contact .pageStart {
    margin-top: 4%;
  }
  .contactContainer {
    width: 90rem;
  }
}

@media screen and (max-width: 800px) {
  /* Home */
  #home .section {
    flex-direction: column;
    gap: 10rem;
  }
  #home .myLogo {
    width: 350px;
    height: 350px;
  }
  /* About */
  #about .information .myInfo {
    font-size: 2rem;
  }
  #about .myImageContainer .myImage {
    height: 35vh;
  }
  /* Skills */
  #skills .skillsContainer .skill {
    width: 19rem;
  }
  /* Education */
  #education .educationInfo {
    width: 80rem;
  }
}

@media screen and (max-width: 760px) {
  .project {
    width: 30rem;
    height: 30rem;
  }
  #contact .contactContainer {
    width: 80rem;
  }
}

@media screen and (max-width: 660px) {
  html {
    font-size: 45%;
  }
  #contact .pageStart {
    margin-bottom: 10%;
  }
}

@media screen and (max-width: 600px) {
  #home .myLogo {
    width: 310px;
    height: 300px;
  }
  #about .information {
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
  }
  #about .information .myInfo {
    font-size: 2.1rem;
    width: 80%;
  }
  #about .resumeBtn {
    width: 30%;
  }
  #about .resumeBtn:hover {
    width: 40%;
  }
  #about .information .myImageContainer {
    width: auto;
  }
  #about .information .myImage {
    width: 40rem;
    height: 40rem;
    border-radius: 40rem;
    transform: translateX(0);
    filter: blur(0);
  }
  #about .information .myImage:hover {
    transform: translateX(0);
  }
  #education .educationInfo,
  #contact .contactContainer {
    width: 70rem;
  }
}

@media screen and (max-width: 520px) {
  html {
    font-size: 40%;
  }
  #contact .contactContainer {
    flex-direction: column;
    height: max-content;
  }
  #contact .columnOne img {
    height: 100%;
  }
  #contact .columnOne {
    height: 40rem;
    margin-top: 0;
    display: flex;
  }
  #contact .columnTwo {
    height: 44rem;
  }
  #contact .contactContainer .columnOne,
  #contact .contactContainer .columnTwo {
    width: 80%;
  }
  .footer p {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  #contact .contactContainer {
    width: 100%;
  }
  #education .educationInfo {
    width: 60rem;
  }
}

@media screen and (max-width: 390px) {
  #education .educationInfo {
    width: 40rem;
  }
  .project:hover {
    transform: translateY(1rem);
  }
  #about .resumeBtn {
    width: 40%;
  }
  #about .resumeBtn:hover {
    width: 45%;
  }
  #home .myLogo {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 330px) {
  .certificate {
    width: 35rem;
    height: 35rem;
  }
  #education .educationInfo .text {
    font-size: 0.5rem;
  }
  #contact .contactContainer {
    width: 90%;
  }
  .columnTwo a {
    width: 40%;
  }
}

@media (max-height: 915px) {
  #contact .contactContainer .columnOne {
    display: none;
  }
  .columnOne img {
    display: none;
  }
  .footer {
    height: 20%;
  }
  #education .educationInfo {
    height: auto;
  }
}

@media (width: 540px) and (height: 720px) {
  #contact .contactContainer .columnOne {
    display: block;
  }
  .columnOne img {
    display: block;
    height: 100%;
  }
}

@media (min-width: 520px) and (max-height: 915px) {
  #contact .contactContainer .columnOne {
    display: block;
  }
  .columnOne img {
    display: block;
    height: 100%;
  }
}

/* for Nest Hub devices */
@media (width: 1280px) and (max-height: 800px) {
  #contact .contactContainer {
    height: 35rem;
    width: 80rem;
  }
  .columnTwo {
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }
  .columnTwo .inputIcon {
    width: 40%;
  }
}

@media (width: 1024px) and (max-height: 600px) {
  #contact .contactContainer {
    height: 35rem;
    width: 80rem;
  }
  .columnTwo {
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }
  .columnTwo .inputIcon {
    width: 40%;
  }
}
