/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");

/* Basics */
:root {
  --colorg: #10cab7;
}

* {
  margin: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  overflow-x: hidden;
}

.container {
  padding-top: 8px;
  padding-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Very Small */
@media (max-width: 767px) {
  .features > .container {
    display: grid;
    grid-template-rows: repeat(3, auto);
    row-gap: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .services .special-h {
    font-size: 60px;
  }

  .services .special-h + p {
    font-size: 15px;
    margin-top: -20px;
  }

  .services .services-body {
    justify-content: center;
  }

  .img {
    margin-top: 40px;
  }
}

/* small */
@media (min-width: 768px) {
  .container {
    width: 700px;
  }

  .img {
    margin-top: 40px;
  }

  .services .services-body {
    justify-content: center;
  }
}

/* medium */
@media (min-width: 992px) {
  .container {
    width: 800px;
  }

  .img {
    margin-top: 40px;
  }
}

/* large */
@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

.special-h {
  font-size: 100px;
  font-weight: 800;
  color: #d9dbdd;
  text-align: center;
  margin: 0;
}

.special-h + p {
  text-align: center;
  font-size: 20px;
  margin-top: -35px;
  color: #797979;
}

/* TODO:Header style */

header {
  background-color: #e5b8f4;
  height: 64px;
  box-shadow: 0px 3px 10px #eee;
}

.logo {
  text-decoration: none;
}

.logo .pLetter {
  color: #2d033b;
  font-size: 45px;
  font-weight: bold;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  margin-right: 3px;
}

.logo .rLetter {
  font-size: 30px;
  color: #2d033b;
  font-family: "Roboto Condensed", sans-serif;
}

.list {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.list .list-logo {
  width: 30px;
  display: flex;
  flex-direction: column;
  transform: rotate(180deg);
}

.list .list-logo span {
  background-color: #2d033b;
  height: 1.7px;
  width: 100%;
  margin-bottom: 5px;
}

.list .list-logo span:nth-child(2) {
  width: 60%;
  transition: width 200ms;
}

.list:hover > .list-logo span:nth-child(2) {
  width: 100%;
}

ul.links {
  display: none;
  width: 250px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #e5b8f4;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 1;
}

.links::before {
  content: "";
  position: absolute;
  border: 15px solid transparent;
  border-bottom-color: #e5b8f4;
  right: 0;
  top: -24px;
}

ul.links > li {
  display: block;
  padding: 0;
  padding: 20px;
  transition: padding-left 300ms;
}

ul.links > li:hover {
  padding-left: 30px;
}

ul.links li:not(:last-child) {
  border-bottom: 1px solid #2d033b;
}

ul.links > li > a {
  text-decoration: none;
  padding: 0;
  color: rgb(57, 57, 57);
}

.links.show {
  display: flex;
}
/* TODO:End Header */

/* Start Main Content Style */

/* TODO: Start Welcome Section */
.welcome {
  position: relative;
  height: calc(100vh - 64px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.welcome img {
  filter: blur(6px);
  transform: scale(1.5);
  z-index: -100;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 500ms linear;
}

.welcome > div {
  cursor: pointer;
  width: 315px;
  max-width: 100%;
}

.welcome > div:hover + img {
  filter: blur(0);
  transform: scale(1);
}
.welcome h1 {
  font-size: 60px;
  letter-spacing: 2px;
  color: #e5b8f4;
  margin: 0;
  margin-bottom: 30px;
}

.welcome p {
  color: #e5b8f4;
  font-size: 22px;
  line-height: 1.6;
}
/* TODO:End Welcome Style */

/* TODO:Start Features Section Style */
.features {
  background-color: #e5b8f4;
  padding-top: 70px;
  padding-bottom: 70px;
}

.features > .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 30px;
}

.feature {
  cursor: pointer;
  text-align: center;
}

.feature i {
  cursor: pointer;
  font-size: 50px;
  color: #2d033b;
  transition: 500ms linear;
}

.feature:hover i {
  transform: rotateY(360deg);
}

.feature h3 {
  color: #2d033b;
  font-weight: 800;
  padding: 35px 0;
}

.feature p {
  line-height: 1.6;
  color: #810ca8;
  font-size: 18px;
}
/* TODO: End Features Style */

/* TODO:Start Services Style */
.services {
  background-color: #2d033b;
  padding-top: 70px;
  padding-bottom: 70px;
}

.img {
  position: relative;
  width: 300px;
  height: 350px;
}

.img-service {
  width: 300px;
  height: 350px;
}

.services-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, 250px);
  column-gap: 75px;
  margin-top: 120px;
}

.services .services-body .item {
  display: flex;
  flex-direction: row;
  margin: 40px 0;
}

.services .services-body .item i {
  color: #ddd;
  font-size: 25px;
  margin-right: 15px;
}

.services .services-body .item h2 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #ddd;
}

.services .services-body .item p {
  line-height: 1.4;
  font-size: 16px;
  width: 235px;
  color: #eee;
}

.img::before {
  content: "";
  position: absolute;
  background-color: #e5b8f4;
  width: 100px;
  height: 450px;
  right: -20%;
  top: -50px;
  animation: moving 1.5s ease infinite forwards alternate;
}

/* TODO: End Services Style */

/* TODO: Start Portfolio Style */
.portfolio {
  background-color: #e5b8f4;
  padding-top: 70px;
  padding-bottom: 70px;
}

.portfolio .special-h {
  color: #2d033b;
}

.portfolio .special-h + P {
  color: #810ca8;
}

.portfolio .projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 50px;
  margin-top: 120px;
  margin-left: 16px;
}

.portfolio .pro {
  z-index: 2;
  overflow: hidden;
  cursor: pointer;
  background-color: #fff;
  height: fit-content;
  border-radius: 10px;
  box-shadow: 0 1px 6px #222;
}

.portfolio .pro:hover img {
  transform: scale(1.1);
}

.portfolio .info {
  padding: 20px;
}

.portfolio .info h3 {
  color: #2d033b;
  margin: 0;
}

.portfolio .info p {
  padding-top: 20px;
  line-height: 1.5;
  color: #666;
}

.portfolio .pro .img-con {
  overflow: hidden;
}

.portfolio .pro .img-con img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-width: 100%;
  transition: 300ms ease;
}
/* TODO: End Portfolio Style */

/* TODO: Start About Style */
.about {
  background-color: #2d033b;
  padding-top: 70px;
  padding-bottom: 70px;
}

.about .content {
  padding-top: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about .content .part1 {
  width: 250px;
  height: 400px;
  position: relative;
  margin-bottom: 30px;
}

.about .content .part2 {
  width: 700px;
}

.about .content .part2 hr {
  width: 280px;
  outline: 0.2px solid #87e4db;
}

.about .content .part2 p {
  line-height: 1.9;
}

.about .content .part2 p:first-child {
  padding-bottom: 40px;
  color: #e5b8f4;
  font-weight: 800;
}

.about .content .part2 p:last-child {
  padding-top: 40px;
  color: #d070f0;
  font-weight: 400;
}

.about .content .part1::before {
  content: "";
  position: absolute;
  background-color: #d9dbdd;
  width: 100px;
  height: 460px;
  left: -50px;
  top: -30px;
  animation: moving2 1.5s ease infinite forwards alternate;
}

.about .content img {
  width: 100%;
  height: 100%;
}

/* TODO: End About Style */

/* TODO:Start Contact Style */
.contact {
  background-color: #e5b8f4;
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact .special-h {
  color: #2d033b;
}

.contact .special-h + p {
  color: #810ca8;
}

.contact-body {
  padding-top: 80px;
  text-align: center;
}

.contact-body h1 {
  margin: 0;
  font-weight: 800;
  color: #c147e9;
}

.contact-body h2 {
  padding: 20px 0;
  font-size: 30px;
  font-weight: 800;
  color: #810ca8;
}

.contact-body > div > i {
  margin-left: 5px;
  color: #2d033b;
}
/* TODO: End Contact Style */

/* End Main Content Style */

/* Footer */
footer {
  color: #e5b8f4;
  font-size: 25px;
  background-color: #2d033b;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

footer > span {
  color: #c147e9;
  font-size: 33px;
}

/* Animations */
@keyframes moving {
  0% {
    right: -20%;
  }

  100% {
    right: 70%;
  }
}

@keyframes moving2 {
  0% {
    left: -50px;
  }

  100% {
    left: 80%;
  }
}

::-webkit-scrollbar {
  width: 17px;
}

::-webkit-scrollbar-track {
  background-color: #e5b8f4;
}

::-webkit-scrollbar-thumb {
  background-color: #2d033b;
  border-radius: 20px;
}

/* For Call */
#call {
  width: fit-content;
  position: relative;
  position: fixed;
  top: 20%;
  left: 0;
  transform: translateX(-100%);
  background-color: #c147e9;
  min-width: 300px;
  transition: 300ms ease-in;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding-bottom: 10px;
}

#call.req {
  transform: translateX(0);
}

#call #show {
  border: 0;
  cursor: pointer;
  position: absolute;
  width: 70px;
  height: 70px;
  top: 0;
  right: 0;
  padding-right: 15px;
  transform: translate(75%);
  border-radius: 20px;
  background-color: #c147e9;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 30px;
  transition: 300ms ease;
}

#call #show:hover {
  font-size: 27px;
}

#call form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

#call form div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#call form div label {
  font-size: 25px;
  color: #2d033b;
  letter-spacing: -1.5px;
}

#call form > div > input {
  height: 30px;
  border-radius: 5px;
  border: 0;
  color: #2d033b;
  padding: 6px 5px;
}

#call form div .phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

#call form div .phone p {
  font-size: 30px;
  color: #2d033b;
}

#call form div .phone input {
  border-radius: 5px;
  border: 0;
  height: 30px;
  text-align: center;
  font-size: 20px;
  color: #2d033b;
}

#call form div .phone input:first-of-type,
#call form div .phone input:nth-of-type(2) {
  width: 40px;
}

#call form div .phone input:last-of-type,
#call form div .phone input:nth-of-type(3) {
  width: 50px;
}

#call form textarea {
  border: 0;
  border-radius: 5px;
  padding: 2px 4px;
  font-size: 20px;
}

#call form textarea::placeholder {
  color: #2d033b;
}

#call form div input:focus,
#call form textarea:focus {
  outline: none;
}

#call form legend {
  width: 100%;
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  text-align: center;
}

#call form #submit {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  background-color: #fff;
  color: #2d033b;
  border: 1px solid #2d033b;
  font-size: 20px;
  font-size: 500;
  transition: 300ms ease;
}

#call form #submit:hover {
  background-color: #2d033b;
  color: #fff;
}

#call form #submit:focus {
  outline: none;
}
