* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #081b29;
  /* --main-color: #00abf0; */
  --main-color:#006e9a;
  --text-color: #333;
  --second-text-color: #555;
  --white-color: #fff;
  --cover-color: linear-gradient(45deg, #FF8000, #006e9a);
  --pages-color: linear-gradient(90deg, #fff, #ddd);
  --border: 2px solid #006e9a;
  --box-shadow: 0 0 25px rgba(0, 0, 0, .5);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url("../images/Background/steptodown.com195051.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-color);
  overflow: hidden;

}


.wrapper {
  /* background: red;  */
  position: relative;
  width: 1056px;
  height: 720px;
  padding: 32px;
  perspective: 4000px;
  animation: show-animate 2s forwards;

}

@keyframes show-animate {

  0%,
  30% {
    opacity: 0;
    transform: rotate(-20deg);
  }

  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}

.cover {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--cover-color);
  box-shadow: var(--box-shadow);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform-origin: right;
}

.cover.cover-left {
  z-index: -1;
}

.cover.cover-right {
  transform: 1s cubic-bezier(.645, .045, .355, 1);
  z-index: 100;
}

.cover.cover-right.turn {
  transform: rotateY(180deg);

}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  perspective: 4000px;
}

.book .book-page {
  position: absolute;
  width: 50%;
  height: 100%;
  background: var(--pages-color);
  box-shadow: 0 0 10x rgba(0, 0, 0, .1);
  padding: 16px;
}

.book-page.page-left {
  box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
}

.profile-page {
  /* background: seagreen; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-page img {

  size: cover;
  max-width: 180px;
  border-radius: 50%;
  border: 4px solid var(--main-color);
  margin-bottom: 13px;
}

.profile-page h1 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 1;
}

.profile-page h3 {
  font-size: 25px;
  color: var(--main-color);

}

.profile-page .social-media {
  /* background: red; */
  margin: 10px 0 13px 0;
}

.profile-page .social-media a {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: var(--border);
  color: var(--main-color);
  margin: 3px;
  transition: 0.5s;
}

.profile-page .social-media :hover {
  background: var(--main-color);
  color: var(--white-color);
}

.profile-page p {
  font-size: 20px;
  font-weight: 400;
  text-align: justify;
}

.profile-page .btn-box {
  /* background: red;  */
  margin-top: 5px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 50px;
  background: var(--main-color);
  border: var(--border);
  border-radius: 5px;
  font-size: 15px;
  color: var(--white-color);
  font-weight: 500;
  margin: 0 15px;
  transition: .5s;
}

.btn:hover {
  background: transparent;
  color: var(--white-color);
}

.btn-box .btn:nth-child(2) {
  background: transparent;
  color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover {
  background: var(--main-color);
  color: var(--white-color);
}

.book-page.page-right {
  position: absolute;
  right: 0;
  transform-style: preserve-3d;
  transform-origin: left; 
  transition: transform 1s cubic-bezier(.645, .045, .355, 1);
}

.book-page.page-right.turn {
  transform: rotateY(-180deg);
}


.book-page .page-front,
.book-page .page-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--pages-color);
  padding: 25px 30px;
}

.book-page .page-front {
  transform: rotateY(0deg) translateZ(1px);
}

.book-page .page-back {
  transform: rotateY(180deg) translateZ(1px);
}

.title {
  text-align: center;
  margin-bottom: 15px;
}

.workedu-box {
  /* background: red; */
  border-left: var(--border);
}

.workeduc-content h5 {
  font-weight: 600;
  font-size: 22px;
}

.workeduc-content span {
  font-weight: 500;
  font-size: 18px;
}

.workedu-box .workeduc-content {
  /* background: seagreen; */
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}

.workedu-box .workeduc-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--main-color);
  border-radius: 50%;
}

.workeduc-content .year {
  color: var(--main-color);
}

.workeduc-content .year i {
  margin-right: 6px;
}

.number-page {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.nextprev-btn {
  /* background: seagreen; */
  position: absolute;
  bottom: 15px;
  right: 25px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 30px;
  color: var(--second-text-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: .5s;
}

.nextprev-btn:hover {
  color: var(--main-color);
}

.nextprev-btn.back {
  left: 25px;
}

.services-box {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.services-box .services-content {
  /* background: red; */
  flex: 1 1 160px;
  border: var(--border);
  border-radius: 8px;
  padding: 12px 8px 18px;
  text-align: center;
  transition: .3s ease;
}

.services-box .services-content:hover {
  box-shadow: var(--box-shadow);
}

.services-content i {
  font-size: 30px;
  color: var(--main-color);
}

.services-content h3 {
  font-size: 18px;
}

.services-content p {
  margin: 3px 0 13px;
}

.services-content .btn {
  width: 130px;
  height: 40px;
}

.skills-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.skills-box .skills-container {
  /* background: red; */
  flex: 1 1 320px;
}

.skills-container h3 {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 10px;
}

.skills-container .content {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.skills-container .content span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 98px;
  border: var(--border);
  border-radius: 8px;
  font-weight: 600;
  transition: .3s ease;

}

.skills-container .content span:hover {
  box-shadow: var(--box-shadow);
}

.skills-container .content span i {
  font-size: 40px;
  color: var(--main-color);
}

.prtfolio-box .img-box {
  display: flex;
  width: 100%;
  height: 240px;
  background: red;
  border: var(--border);
  border-radius: 8px;
  overflow: hidden;

}

.prtfolio-box .img-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: .5s ease;
  overflow: auto;

}

.portfolio-box.img-box img:hover img {
  transform: scale(1.1);

}

#project-1 {

  border: 1px solid;
  width: 100px;
  height: 100px;
}

.portfolio-box .info-box {

  /* background: red; */
  margin: 15px 0 25px;
}

.portfolio-box .info-box .info-title {
  /* background: seagreen; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.portfolio-box .info-box .info-title h3 {
  font-size: 20px;

}

.portfolio-box .info-box .info-title a {
  /* background: red; */
  display: flex;
  align-items: center;
  color: var(--main-color);
}

.portfolio-box .info-box .info-title a i {
  margin-left: 5px;
}

.portfolio-box .info-box p:nth-of-type(1) {
  font-weight: 600;

}

.portfolio-box .btn-box {
  /* background: red; */
  display: flex;
  justify-content: center;
}

.portfolio-box .btn-box .btn {
  margin: 0 20px;
}

.contact-box {
  text-align: center;

}

.contact-box h4 {
  font-weight: 600;
  padding: 17px 0px;
  margin: -75px 0 20px 0;
}

.contact-box h4 span {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  padding: 0 0 0 0;

}

.workedu-box p a {
  text-decoration: none;
  color: var(--text-color);
}



.contact-box .btn {
  cursor: pointer;
}

.back-profile {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: var(--border);
  border-radius: 5px;
  font-size: 17px;
  color: var(--main-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: .5s;
  text-decoration: none;
}

.back-profile:hover {
  background: var(--main-color);
  color: var(--white-color);
}

.back-profile p {
  position: absolute;
  top: 0;
  transform: translateY(-50%) scale(.5);
  font-size: 15px;
  opacity: 0;
  transition: .5s;
  color: var(--main-color);
}

.back-profile:hover p {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  top: -28px;
}

.container {
  position: absolute;
  top: 52%;
  text-align: center;
  transform: translate(0, -50%);
  width: 100%;
  padding: 0 60px;
  box-sizing: border-box;
}

.container .box {
  position: relative;
  display: inline-block;
  margin: 10px;
  width: 150px;
  height: 150px;
  background: #262626;
  overflow: hidden;
  border-radius: 8px;
}

.container .box img {
  position: relative;
  width: 100%;
  height: 100%;
  transition: 5s;
  border-radius: 8px;
}

.container .box:hover img {
  transform: scale(2);
}

.container .box::before,
.container .box::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  transition: 1s;
  z-index: 2;
}

.container .box::before {
  transform: scale(1, 0);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.container .box::after {
  transform: scale(0, 1);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.container .box:hover::before,
.container .box:hover::after {
  transform: scale(1, 1);
}


.container .box .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
  border: var(--border);
  border-radius: 8px;
}

.container .box:hover .content {
  background: rgba(0, 0, 0, .7);
}

.container .box .content .wrap {
  box-sizing: border-box;
  padding: 20px;
  color: #fff;
  z-index: 3;
}

.container .box .content .wrap h1 {
  position: relative;
  font-size: 20px;
  margin-bottom: 10px;
  transform: translateY(-80px);
  opacity: 0;
  transition: 1s;
}

.container .box:hover .content .wrap h1 {
  transform: translateY(0);
  opacity: 1;
}

.container .box .content .wrap p {
  position: relative;
  font-size: 15px;
  transform: translateY(170px);
  opacity: 0;
  transition: .5s;
}

.container .box:hover .content .wrap p {
  transform: translateY(0px);
  opacity: 1;
}

.wrap .btn {
  width: 120px;

}




.social-medi {
  /* border: 1px solid red; */
  margin: -25px 0 10px 0;

}

.social-medi a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: transparent;
  border: var(--border);
  color: var(--main-color);
  margin: 3px;
  transition: 0.5s;
}

.social-medi :hover {
  background: var(--main-color);
  color: var(--white-color);
}


.demo {
  width: 395px;
  height: 50px;
  animation: typing 5s steps(14),
    blink .6s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid var(--text-color);
  font-family: monospace;
  font-size: 3rem;
  color: var(--text-color);
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}



/* ....................... */

