@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Text:wght@900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  cursor: default;
}

/* svg-section */
.svg-section {
  width: 100%;
  height: 100vh;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.svg {
  height: 90%;
  width: 200%;
  animation: mover 3s linear infinite;
}
@keyframes mover {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-99vw);
  }
  100% {
    transform: translateX(0);
  }
}
/* end of svg-section */

/* section-1 */
.section-1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.navbar {
  width: 100%;
  height: 35vh;
  display: flex;
  justify-content: space-around;
}
.nav-items {
  color: white;
  font-size: 2rem;
  letter-spacing: 1rem;
  width: 2rem;
  word-break: break-all;
  cursor: pointer;
  transition: all 1s linear;
}
a {
  text-decoration: none;
  color: white;
}
.nav-1:hover {
  width: 15rem;
}
.nav-2:hover {
  width: 25rem;
}
.title {
  margin-top: 3rem;
  text-align: center;
}
.title > span {
  font-size: 10rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem 2rem;
  border-radius: 1rem;
  color: rgba(0, 0, 0, 0.5);
  text-shadow: 0.2rem 0.2rem 0.3rem rgba(0, 0, 0, 0.5);
  font-family: "Big Shoulders Inline Text", cursive;
}
.logo {
  text-align: center;
  margin-top: 10rem;
}
.logo > i {
  font-size: 15rem;
  color: #0099ff;
}
/* end of section-1 */

/* section-2 */
.section-2 {
  width: 100%;
  height: 100%;
  padding: 3rem 2rem;
}
.heading {
  font-size: 10rem;
  letter-spacing: 0.6rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.3);
  margin-bottom: 5rem;
  overflow: hidden;
}
.customers-box {
  width: 100%;
  height: 85%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.card {
  width: 300px;
  height: 450px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 11px 10px 15px -3px rgba(0, 0, 0, 0.2),
    -7px -6px 15px -3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s linear;
}
.card-img {
  text-align: center;
  width: 100%;
}
.card > p > img {
  height: 4rem;
}
.card > p:nth-of-type(2) {
  font-size: 1.2rem;
  word-spacing: 0.6rem;
}
.card-img > i {
  font-size: 2rem;
  color: #fc6a05;
}
img[alt="person"] {
  clip-path: circle(50% at 50% 50%);
}
.name {
  font-size: 1.5rem;
}
.card-1 {
  transform: translateY(20vh);
}
.card-2 {
  transform: translateY(10vh);
}
.card:hover {
  box-shadow: 20px 20px 15px -3px rgba(0, 0, 0, 0.3);
}
/* end of section-2 */

/* section-3 */
.section-3 {
  width: 100%;
  height: 100%;
  padding: 3rem 2rem;
}
.team-box {
  width: 100%;
  height: 85%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.icard {
  position: relative;
  width: 300px;
  height: 450px;
  background-color: rgb(246, 255, 196);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.8;
  box-shadow: 13px 14px 7px -3px rgba(0, 0, 0, 0.1),
    -10px -10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.4s linear;
}
.icard:hover {
  opacity: 1;
}
.team-img {
  width: 100%;
  height: 70%;
  border-radius: 0.6rem;
}
.m-name {
  font-size: 2rem;
}
.m-name > span {
  font-size: 1.2rem;
}
.done {
  display: flex;
  justify-content: space-between;
}
.done > div {
  font-size: 1.2rem;
}
.project-btn {
  padding: 1rem 2rem;
  background-color: rgb(255, 208, 0);
  color: white;
  outline: none;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  border-radius: 1.5rem;
  border: none;
  width: fit-content;
  cursor: pointer;
}
#click {
  position: absolute;
  width: 6rem;
  top: -2rem;
  right: -2rem;
  opacity: 1;
  z-index: 100;
  cursor: pointer;
  transition: all 0.5s linear;
}
.about-me {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  top: 0;
  right: 0;
  opacity: 0;
  z-index: 50;
  background-color: rgb(207, 101, 101);
  padding: 6rem 1rem 4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s linear;
}
.tag {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
  color: white;
}
.about {
  word-spacing: 1rem;
  color: white;
  font-size: 1.3rem;
  line-height: 2rem;
}
.round {
  transform: rotate(400deg);
}
.compl {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
/* end of section-3 */

/* section-4 */
.section-4 {
  width: 100%;
  height: 120vh;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.td-box {
  width: 80%;
  height: 50vh;
  border-radius: 5px;
  background-color: plum;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mail-box {
  width: 40%;
  height: 100%;
  background-color: #0099ff;
  opacity: 0.8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(1000px) rotateY(30deg) translateY(0);
  box-shadow: -30px 30px 30px -3px rgba(0, 0, 0, 0.5);
  transition: all 0.2s linear;
}
.mail-box:hover {
  transform: perspective(1000px) rotateY(30deg) translateY(-3rem);
}
.mail-img {
  width: 95%;
  height: 100%;
}
.form {
  width: 33%;
  height: 80%;
  background-color: white;
  border-radius: 5px;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: perspective(1000px) rotateY(-28deg) translateY(0);
  box-shadow: 30px 30px 30px -3px rgba(0, 0, 0, 0.4);
  transition: all 0.2s linear;
}
.form:hover {
  transform: perspective(1000px) rotateY(-28deg) translateY(-2.5rem);
}
.field {
  width: 100%;
  padding: 8px;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  outline: none;
}
.send-btn {
  background-color: #0099ff;
  color: white;
  font-size: 1.5rem;
  letter-spacing: 0.3rem;
  border: none;
  cursor: pointer;
}
.copy {
  font-size: 1.2rem;
  letter-spacing: 1px;
  word-spacing: 2px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
}
/* end of section-4 */

/* up  */
#up {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  color: #0099ff;
  font-size: 5rem;
  cursor: pointer;
}
/* end of up  */

/* media query  */
@media screen and (min-width: 1001px) {
  .section-2,
  .section-3 {
    height: 120vh;
  }
}
@media screen and (max-width: 1000px) {
  html {
    font-size: 60%;
  }
  .card-1 {
    transform: translateY(0);
  }
  .card-2 {
    transform: translateY(0);
  }
  .card,
  .icard {
    margin-top: 3rem;
  }
  .heading,
  .title > span {
    font-size: 6rem;
  }
}
@media screen and (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .card-1 {
    transform: translateY(0);
  }
  .card-2 {
    transform: translateY(0);
  }
  .card,
  .icard {
    margin-top: 3rem;
  }
  .heading,
  .title > span {
    font-size: 6rem;
  }
  .title > span {
    font-size: 5rem;
  }
  .mail-box {
    display: none;
  }
  .form {
    width: 100%;
    height: 100%;
    transform: perspective(0) rotateY(0) translateY(0);
  }
}
/* end of media query  */
