@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  scroll-behavior: smooth;
}
body {
  padding: 0 10rem 0 10rem;
  /* background-color: gold; */
  font-family: "Montserrat", sans-serif;
}

.navbar {
  width: 100%;
  display: flex;
  background-color: rgb(255, 255, 255);
  align-items: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  /* transition: 0.60s; */
  padding: 0 10rem 0 10rem;
}
.floatingNav {
  width: calc(100vh - 100px);
  border-radius: 2px;
  box-shadow: 0px 1px 10px #999;
}

.logo {
  width: 50%;
  /* background-color: blue; */
}
.logo > img {
  height: 7rem;
}
.navlinks {
  display: flex;
  width: 50%;
  /* background-color: bisque; */
  justify-content: flex-end;
}
.navlinks > a {
  margin-left: 5rem;
}

.abovefold {
  /* background-color: red; */
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* width: 100vw; */
}

.herocont {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: white; */
}
.textcont {
  width: 60%;
  /* background-color: aqua; */
}
.heroimg {
  width: 40%;
  display: flex;
  /* background-color: purple; */
  justify-content: flex-end;
}

.heroimg > img {
  width: 70%;
}
.textcont > h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}
.textcont > p {
  font-size: 2rem;
  font-weight: 400;
}
.projects {
  background-color: brown;
  width: 100%;
  display: flex;
}
/* ---------------------------------------- */
.projects2 {
  padding-top: 10rem;
  width: 100%;
  height: 80rem;
  display: flex;
  justify-content: space-between;
  /* background-color: red; */
}

.pro1,
.pro2 {
  position: relative;
  width: 48%;
  height: 60rem;

  /* background: green; */
}
.thecard,
.thecard1 {
  position: absolute;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: all 1s ease;
}
.thefront {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: url(learn\ finance\ cover.jpg);
  background-size: cover;
  border-radius: 0.5rem;
}
.thefront1 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: url(ilpeople\ musc\ cover.jpg);
  background-size: cover;
  border-radius: 0.5rem;
}
.theback {
  padding: 0 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #1769ff;
  color: #292929;
  transform: rotateY(180deg);
  text-align: center;
  font-weight: 400;
  font-size: 3rem;
  border-radius: 0.5rem;
}
.theback > p {
  margin-bottom: 2rem;
}
.theback1 {
  padding: 0 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #292929;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
  font-weight: 200;
  font-size: 3rem;
  border-radius: 0.5rem;
}
.theback1 > p {
  margin-bottom: 2rem;
}
.behance {
  background: none;
  border: 1px solid #292929;
  color: #292929;
  height: 4rem;
  width: 12rem;
  transition: all 0.5s ease;
  cursor: pointer;
  margin-top: 1rem;
  font-weight: 400;
}
.medium {
  background: none;
  border: 1px solid white;
  color: white;
  height: 4rem;
  width: 12rem;
  transition: all 0.5s ease;
  cursor: pointer;
  margin-top: 1rem;
}
.behance:hover {
  background: #292929;
  color: white;
  height: 4rem;
  width: 12rem;
}
.medium:hover {
  background: white;
  color: #292929;
  height: 4rem;
  width: 12rem;
}

.thecard:hover,
.thecard1:hover {
  transform: rotateY(180deg);
}

/* --------------------------------------------- */
.projectone {
  width: 50%;
}
.projects > img {
  width: 40%;
}
.projecttwo {
  width: 50%;
}
.projects > img {
  width: 40%;
}
/* ----------------------------------------------------------- */

.animation {
  text-decoration: none;
  /* text-transform: uppercase; */
  font-size: 1.5rem;
  color: #292929;
  position: relative;
}

a:before {
  content: "";
  width: 0;
  height: 2px;
  background-color: #292929;
  position: absolute;
  top: 120%;
  left: 0;
  transition: all 0.5s;
  border-radius: 0rem 1rem 1rem 0rem;
}

a:after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #292929;
  position: absolute;
  top: 120%;
  right: 0;
  transition: all 0.5s;
  border-radius: 1rem 0rem 0rem 1rem;
}

a:hover:before {
  width: 50%;
  transform: translateX(100%);
}

a:hover:after {
  width: 50%;
  transform: translateX(-100%);
}

/* ----------------------------------------------------------- */

.about {
  width: 100%;
  display: flex;
  height: 100vh;
  /* background-color: yellow; */
  padding-top: 20rem;
  justify-content: space-around;
}
.abtext {
  width: 50%;
  /* background-color: #1769ff; */
}
.spimg {
  width: 30%;
  /* background: red; */
  background-size: contain;
  background-repeat: no-repeat;
}
.spcovers {
  width: 100%;
}

.socials {
  display: flex;
}
.abtext {
  margin-bottom: 17rem;
}
.heading-about {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  line-height: 3.5rem;
}
.desc-about {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.email {
  border-bottom: 1px solid black;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.social-btn {
  margin-left: 2rem;
}
