* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: "Ubuntu", sans-serif;
  background-color: #000000;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  display: none;
}
li,
a {
  text-decoration: none;
  list-style-type: none;
  text-transform: uppercase;
  color: white;
  transition: all 500ms ease-in-out;
}

#section1 {
  background: url(/images/background-image.jpg);
  background-position: center;
  background-size: cover;
  border-image: fill 0 linear-gradient(#0003, #000);
}

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 10vh;
  width: auto;
  position: relative;
}
.menu {
  font-size: 2em;
  color: #fff;
  position: absolute;
  top: 4vh;
  right: 4vw;
  display: none;
}

nav {
  min-width: 30vw;
  display: flex;
  align-items: center;
  gap: 3vw;
  font-size: 1.1rem;
}

header h1 {
  font-size: 2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 8px;
  cursor: pointer;
  font-family: "VT323", monospace;
  font-size: 3rem;
}

nav li:hover {
  transform: scale(1.4);
  transition: all 500ms ease-in-out;
}

/* header styling ends her */

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 90vh;
}

*#main-right {
  color: white;
  text-transform: uppercase;
}

#main-right {
  width: 95vw;
  display: flex;
  gap: 2vh;
  align-items: center;
  /* padding: 0 30px; */
  flex-direction: column;
}

#main-right h1 {
  font-size: 3.5rem;
  letter-spacing: 6px;
  font-family: "Courier Prime", monospace;
}

#main-right h3 {
  font-size: 2rem;
  letter-spacing: 3px;
  font-family: "Ubuntu", sans-serif;
}

#main-left {
  display: flex;
  align-items: end;
  padding: 0 30px;
  flex-direction: column;
  width: 5vw;
  gap: 4vh;
  font-size: 1.5em;
}
#main-left i {
  transition: all 500ms ease-in-out;
}
#main-left i:hover {
  transform: scale(1.5);
  transition: all 500ms ease-in-out;
}

.buttons {
  display: flex;
  gap: 2vw;
}

main button {
  background-color: transparent;
  color: white;
  letter-spacing: 2px;
  font-weight: 6 00;
  text-transform: uppercase;
  border: 3px solid #fff;
  border-radius: 12px;
  padding: 5px 20px;
}

.first-button {
  background-color: #fff;
}

.first-button a {
  color: #111111;
}

/* main styling ends here  */

#section2 {
  height: 50vh;
  display: flex;
  justify-content: center;
  gap: 4vw;
  align-items: center;
  background-color: black;
  padding: 10px 20px;
}

#section2 img {
  overflow-x: hidden;
  /* position: relative; */
  height: 250px;
  width: 250px;
  border-radius: 12px;
  border: 3px solid #fff;
  margin-bottom: 16px;
  animation: swipe-left 4s ease-in-out 1s 1 normal none;
}

#aboutme {
  position: relative;
  width: 20vw;
  color: #fff;
}

#hire-me {
  position: relative;
}

.heading {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.description {
  line-height: 20px;
  font-size: 13px;
}
#hire-me {
  color: #fff;
  width: 20vw;
}

#section3 {
  height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
}

.services {
  width: 25vw;
  color: #fff;
}

.services h5 {
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-decoration: line-through 2px;
}

.services p {
  line-height: 24px;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exp {
  text-decoration: underline 1px;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.ser-descp {
  font-size: 14px;
  line-height: 20px;
}

.tools {
  text-transform: uppercase;
  word-spacing: 7px;
  color: rgb(190, 190, 190);
  border-top: 2px solid white;
  padding-top: 6px;
}

.card {
  width: 28vw;
  border: 3px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 1.6vh;
  border-radius: 15px;
  padding: 1rem;
  color: #fff;
  background-color: #212121;
  cursor: pointer;
  transition: all 500ms ease-in-out;
}

.card:hover {
  transform: scale(1.1) skew(5deg, 0deg);
  box-shadow: 1px 1px 60px #27ae60;
  transition: all 500ms ease-in-out;
}

.heading-1 {
  font-size: 1.3rem;
  text-transform: uppercase;
}

.heading-2 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.btn1 {
  background-color: white;
  color: #111111;
  border: none;
  padding: 3px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  width: 60px;
}

.btn2 {
  background-color: white;
  color: #111111;
  border: none;
  padding: 3px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  width: 113px;
}

#section4 {
  height: 40vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #000000;
}

.icons {
  width: 70vw;
  height: 20vh;
  border: 1px solid var(--Gray-1, #ffffff);
  background: #212121;
  margin: 5vh auto;
  padding: 15px;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  transition: all 500ms ease-in-out;
}

.icons i {
  font-size: 4em;
  transition: all 500ms ease-in-out;
}

.icons i:hover {
  color: orangered;
  transform: scale(1.3);
}

.icons:hover {
  box-shadow: 1px 1px 60px #27ae60;
  transition: all 500ms ease-in-out;
}

.skills h2 {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 900;
  font-size: 3rem;
  color: orangered;
}

#section5 {
  min-height: inherit;
}

form {
  min-height: 60vh;
  width: 60vw;
  margin: 0 auto;
  border: 3px solid #fff;
  background-color: #212121;
  display: grid;
  grid-template-columns: 30vw 30vw;
  grid-template-rows: 10vh 10vh 20vh 2vh;
  justify-content: center;
  align-items: center;
  grid-template-areas:
    "firstname lastname"
    "email phone-num"
    "message message"
    "button button";
  gap: 15px;
  padding: 20px;
}

.fn {
  grid-area: firstname;
  align-self: center;
  justify-self: center;
  background-color: transparent;
  height: 5vh;
  width: 20vw;
  border: none;
  border-bottom: 2px solid orangered;
  border-radius: 0px;
  color: #fff;
  outline: none;
  font-size: 1.2rem;
}

.ln {
  background-color: transparent;
  grid-area: lastname;
  align-self: center;
  justify-self: center;
  height: 5vh;
  width: 20vw;
  border: none;
  border-radius: 0px;
  border-bottom: 2px solid orangered;
  color: #fff;
  outline: none;
}

.email {
  background-color: transparent;
  grid-area: email;
  align-self: center;
  justify-self: center;
  height: 5vh;
  width: 20vw;
  border: none;
  border-radius: 0px;
  border-bottom: 2px solid orangered;
  color: #fff;
  outline: none;
}

.tel {
  background-color: transparent;
  grid-area: phone-num;
  align-self: center;
  justify-self: center;
  height: 5vh;
  width: 20vw;
  border: none;
  border-radius: 0px;
  border-bottom: 2px solid orangered;
  color: #fff;
  outline: none;
}

.msg {
  background-color: transparent;
  grid-area: message;
  align-self: center;
  justify-self: center;
  height: 15vh;
  width: 40vw;
  border: none;
  border-radius: 0px;
  text-align: center;
  border-bottom: 2px solid orangered;
  color: #fff;
  outline: none;
}

.sub-btn {
  background-color: transparent;
  grid-area: button;
  align-self: center;
  justify-self: center;
  height: 5vh;
  width: 20vw;
  color: white;
  border: none;
  border-radius: 10px;
  background-color: orangered;
}

#section5 h2 {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 5px;
  margin: 5vh 0;
  color: orangered;
}

#copyright {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 5px;
  font-family: "Lobster Two", sans-serif;
  word-spacing: 6px;
  padding: 5px 0;
}
::placeholder {
  color: white;
  text-transform: capitalize;
  letter-spacing: 2px;
  word-spacing: 5px;
  font-size: 0.8rem;
}
#section6,
#projects {
  min-height: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: black;
  padding: 5px;
  overflow-x: hidden;
}
#projects {
  margin-top: 5vh;
  gap: 10vw;
}
#projects .projects {
  gap: 10vw;
}
#projects h2:first-child {
  font-size: 3rem;
  text-align: center;
}

#section6 h2:first-child {
  font-size: 3rem;
  text-decoration: line-through;
  text-align: center;
  margin: 5vh 0;
  color: orangered;
  letter-spacing: 4px;
}
#section6,
#projects h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: orangered;
  letter-spacing: 2px;
  overflow-x: hidden;
}
#section6,
#projects p {
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 1px;
}
.more {
  text-align: center;
  margin: 4vh 0;
  font-size: 1.5rem;
  text-decoration: underline;
}
.more a {
  padding-bottom: 7px;
  text-transform: capitalize;
  color: crimson;
  text-decoration: underline;
}
.projects {
  display: flex;
  justify-content: center;
  gap: 4vw;
  align-items: center;
  flex-wrap: wrap;
}
.prj {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  align-items: center;
  flex-direction: column;
  border: 3px solid #fff;
  height: 400px;
  width: 250px;
  padding: 20px;
  background-color: #212121;
  border-radius: 10px;
}
.prj img {
  height: 170px;
  width: 170px;
  border-radius: 10px;
}
.prj button {
  background-color: crimson;
  border: none;
  border-radius: 12px;
  padding: 3px 13px;
}
.prj button a {
  color: #fff;
  letter-spacing: 1px;
}
.text {
  position: fixed;
  z-index: 999;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: black;
}
.text span {
  color: hsl(0 0% 100% /0);
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-image: linear-gradient(90deg, white, white);
  animation: text-reveal 1.5s linear forwards;
  text-transform: uppercase;
}
.text h2 span {
  letter-spacing: 2px;
  font-size: 2.2rem;
}
.text p span {
  letter-spacing: 2px;
  font-size: 0.9rem;
}
@keyframes text-reveal {
  to {
    background-size: 100% 100%;
  }
}
.load {
  margin-top: 1rem;
}
.load span {
  display: inline-block;
  vertical-align: middle;
  width: 0.6em;
  height: 0.6em;
  margin: 0.19em;
  background: red;
  border-radius: 0.6em;
  animation: load 1s infinite alternate;
}
.loading-timeout {
  opacity: 0;
  transition: all 800ms ease-in-out;
}
.load span:nth-of-type(2) {
  background: blue;
  animation-delay: 0.2s;
}
.load span:nth-of-type(3) {
  background: red;
  animation-delay: 0.4s;
}
.load span:nth-of-type(4) {
  background: blue;
  animation-delay: 0.6s;
}
.load span:nth-of-type(5) {
  background: red;
  animation-delay: 0.8s;
}
.load span:nth-of-type(6) {
  background: blue;
  animation-delay: 1s;
}
.load span:nth-of-type(7) {
  background: red;
  animation-delay: 1.2s;
}
@keyframes load {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.swiper {
  width: 240px;
  height: 320px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border: 3px solid white;
  background-color: crimson;
  position: relative;
}
.moreprojects {
  margin: 20px 0;
  font-size: 1.2rem;
  font-family: "Caveat", cursive;
}
/* 
  .swiper-slide:nth-child(1n) {
    background-color: rgb(206, 17, 17);
  }

  .swiper-slide:nth-child(2n) {
    background-color: rgb(0, 140, 255);
  }

  .swiper-slide:nth-child(3n) {
    background-color: rgb(10, 184, 111);
  }

  .swiper-slide:nth-child(4n) {
    background-color: rgb(211, 122, 7);
  }

  .swiper-slide:nth-child(5n) {
    background-color: rgb(118, 163, 12);
  }

  .swiper-slide:nth-child(6n) {
    background-color: rgb(180, 10, 47);
  }

  .swiper-slide:nth-child(7n) {
    background-color: rgb(35, 99, 19);
  }

  .swiper-slide:nth-child(8n) {
    background-color: rgb(0, 68, 255);
  }

  .swiper-slide:nth-child(9n) {
    background-color: rgb(218, 12, 218);
  }

  .swiper-slide:nth-child(10n) {
    background-color: rgb(54, 94, 77);
  } */
.swipeimg {
  width: 250px;
  height: 200px;
  margin-bottom: 1px;
}
.swipeh2 {
  font-size: 16px;
  margin-bottom: 1px;
}
.swipep {
  font-size: 8px;
  margin-bottom: 1px;
}
.swipepextra {
  position: absolute;
  top: 40%;
  left: 50%;
  font-size: 1.5rem;
  letter-spacing: 8px;
  line-height: 23px;
  transform: translateX(-50%);
}
.swipebtnextra {
  position: absolute;
  top: 60%;
  left: 50%;
  letter-spacing: 3px;
  transform: translateX(-50%);
  transition: all 200ms ease-in-out;
}
.swipebtnextra:hover {
  box-shadow: 1px 1px 20px black;
  transition: all 200ms ease-in-out;
}
.swipebtn {
  height: 20px;
  padding: 4px 20px;
  border-radius: 20px;
  border: none;
  color: #000;
}
.swipebtn a {
  color: #000;
  font-weight: 600;
}
