* {
  margin: 0;
  z-index: 10;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* start header */
.header {
  background-image: url(../images/header.jpeg);
  background-position: center center;
  background-size: cover;
  height: 100vh;
  position: relative;
}

.header::before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.808);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.container {
  width: 80%;
  margin: auto;
}

.nav {
  padding: 10px;
  position: relative;
}

.clear {
  clear: both;
}

a {
  text-decoration: none;
  color: white;
}

ul {
  list-style: none;
}

.logo {
  font-size: 30px;
  font-weight: bold;
  color: #ff305b;
  float: left;
}

.bars-icon {
  position: absolute;
  top: 0px;
  right: 10px;
  color: white;
  font-size: 30px;
  padding: 15px;
  display: none;
}

.links {
  float: right;
  width: 50%;
}

.links li {
  display: inline-block;
  padding: 10px;
  font-size: 18px;
}

.links li a {
  transition: 0.3s;
}

.links li a:hover {
  color: #ff305b;
}

.header-text {
  color: white;
  margin: auto;
  text-align: center;
  transform: translateY(250px);
  line-height: 1.8;
}

.header-text h3 {
  font-size: 25px;
}

.header-text h1 {
  font-size: 65px;
  color: #ff305b;
  text-transform: uppercase;
}

.header-text h2 {
  color: #ddd;
  font-size: 22px;
}

.header-text h2::after {
  content: " ";
  /* animation: typing 4s linear infinite ; */
  animation: typing 4s linear 1s infinite;
}

@keyframes typing {
  0% {
    content: " D|";
  }
  5% {
    content: " De|";
  }
  10% {
    content: " Dev|";
  }
  15% {
    content: " Deve|";
  }
  20% {
    content: " Develop|";
  }
  25% {
    content: " Developer.|";
  }
  30% {
    content: " Develop|";
  }
  35% {
    content: " Deve|";
  }
  40% {
    content: " Dev|";
  }
  45% {
    content: " De|";
  }
  50% {
    content: " |";
  }
  55% {
    content: " D|";
  }
  60% {
    content: " De|";
  }
  65% {
    content: " Des|";
  }
  70% {
    content: " Desig|";
  }
  75% {
    content: " Designe|";
  }
  80% {
    content: " Designer.|";
  }
  85% {
    content: " Desig|";
  }
  90% {
    content: " Des|";
  }
  95% {
    content: " De|";
  }
  100% {
    content: " |";
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .bars-icon {
    display: block;
    cursor: pointer;
  }

  .links {
    width: 10%;
    margin-top: 40px;
    display: none;
  }

  .bars-icon:hover + .links {
    display: block;
    position: absolute;
    right: 50px;
    padding: 10px;
  }

  .links li {
    display: block;
  }

  .links li a {
    font-size: 14px;
  }

  .header-text h1 {
    font-size: 40px;
  }

  .header-text {
    transform: translateY(200px);
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .bars-icon {
    display: block;
    cursor: pointer;
  }

  .links {
    width: 10%;
    margin-top: 40px;
    display: none;
  }

  .bars-icon:hover + .links {
    display: block;
    position: absolute;
    right: 0;
    padding: 10px;
  }

  .links li {
    display: block;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .links {
    width: 80%;
  }
}

@media screen and (min-width: 1400px) {
  .links {
    width: 65%;
  }
}

/* Still ( phone , medium ) remaining */

/* end header */

/* start intro */
.intro {
  padding-top: 60px;
  padding-bottom: 60px;
}

.intro .intro-image {
  float: left;
}

.intro .intro-image {
  height: 450px;
  width: 350px;
  background-color: transparent;
  border: 8px solid rgb(102, 102, 102);
  border-radius: 5px;
  position: absolute;
  top: 780px;
  right: 70%;
  z-index: 1;
}

.intro .intro-image .overlay {
  height: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 35px;
  left: 45px;
  z-index: 200;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
}

.intro-image:hover .overlay {
  visibility: visible;
  z-index: 9999;
  opacity: 1;
  border-radius: 5px;
  height: 100%;
}

.intro .intro-image img {
  position: relative;
  top: 40px;
  left: 40px;
  z-index: 999;
}

.overlay .overlay-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay .overlay-icons li {
  display: inline-block;
}

.overlay-icons li a {
  display: block;
  font-size: 20px;
  height: 20px;
  width: 30px;
  transition: 0.3s;
}

.overlay-icons li a:hover {
  color: #ff305b;
}

.intro-text {
  float: right;
  width: 60%;
  color: gray;
  margin-top: 30px;
}

.brief {
  padding: 20px 0px;
  border-bottom: 2px dotted #bbb;
}

.intro-text h2 {
  color: black;
  font-size: 40px;
  text-transform: uppercase;
  padding: 0px 20px;
  border-left: 5px solid #ff305b;
}

.intro-text p {
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 19px;
}

.intro-text .l,
.intro-text .r {
  float: left;
  margin-top: 20px;
}

.intro-text ul li {
  font-size: 18px;
  margin-top: 20px;
}

.intro-text ul li span {
  color: black;
  font-weight: bold;
}

.download-btn,
.hire-btn {
  background-color: #ff305b;
  padding: 10px 20px;
  float: left;
  margin-left: 40px;
  margin-top: 20px;
  border-radius: 5px;
  transition: 0.3s;
}

.download-btn:hover,
.hire-btn:hover {
  background-color: #d32447;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .intro-text p {
    font-size: 13px;
  }

  .intro .intro-image {
    display: none;
  }

  .intro .intro-text {
    float: left;
    width: 80%;
  }

  .intro-text h2 {
    font-size: 20px;
  }

  .intro .intro-image img {
    width: 300px;
  }

  .intro-text ul li {
    font-size: 14px;
    margin-top: 5px;
  }

  .our-services h2,
  .portfolio h2,
  .client h2,
  .blog h2,
  .contact-us h2 {
    font-size: 25px;
  }
  .line {
    height: 1px;
  }
}

.download-btn,
.hire-btn {
  padding: 5px 10px;
  font-size: 14px;
  margin-top: 10px;
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .intro .intro-image {
    right: 50%;
  }

  .intro-text {
    width: 50%;
  }

  .intro-text h2 {
    font-size: 30px;
    transform: translateX(60px);
  }

  .intro-text p {
    font-size: 13px;
    transform: translateX(60px);
  }
  .intro-text .l,
  .intro-text .r {
    float: none;
    transform: translateX(50px);
  }

  .download-btn,
  .hire-btn {
    transform: translateX(50px);
    padding: 5px 10px;
  }
}
@media screen and (min-width: 1200px) {
  .intro .intro-image {
    right: 60%;
  }
  .intro-text {
    width: 50%;
  }
  .intro-text p {
    font-size: 15px;
  }
  .intro-text .l,
  .intro-text .r {
    float: none;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .intro .intro-image {
    right: 65%;
  }
}
/* end intro */

/* start our services section */
.our-services {
  background-color: #eee;
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.our-services h2 {
  font-size: 40px;
  padding-bottom: 20px;
}

.line {
  width: 200px;
  height: 3px;
  background-color: #ff305b;
  margin: auto;
  position: relative;
}

.line::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  width: 150px;
  height: 2px;
  background-color: #ff305b;
}

.line::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  width: 150px;
  height: 2px;
  background-color: #ff305b;
}

.our-services .services {
  text-align: center;
  margin-top: 50px;
}

.services .service-box {
  float: left;
  width: 25%;
  box-sizing: border-box;
  padding: 30px;
  transition: 0.3s;
}

.services .service-box:hover {
  background-color: white;
}

.services .service-box i {
  color: #ff305b;
  font-size: 35px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-box h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.services .service-box p {
  color: gray;
  line-height: 1.8;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .services .service-box {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .services .service-box {
    width: 50%;
  }
}

/* End our services section */
/* ------------------------- */
/* start portfolio section */
.portfolio {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.portfolio h2 {
  font-size: 40px;
  padding-bottom: 20px;
}

.portfolio ul {
  margin-top: 40px;
  margin-bottom: 40px;
}

.portfolio ul li {
  display: inline-block;
  margin-right: 15px;
}

.portfolio ul li a {
  color: black;
  font-size: 20px;
  transition: 0.3s;
}

.portfolio ul li a:hover,
.portfolio .active {
  color: #d32447;
}

.portfolio .photos {
  margin-left: 50px;
}

.portfolio .photo-box {
  float: left;
  width: 30%;
  margin-right: 20px;
  margin-top: 20px;
  position: relative;
  transition: 0.3s;
}

.portfolio .photo-box img {
  width: 100%;
}

.portfolio .photo-box:hover .portfolio-overlay {
  visibility: visible;
  opacity: 1;
}

.portfolio-overlay {
  height: calc(100% - 5px);
  width: calc(100% - 5px);
  position: absolute;
  top: 0;
  left: 5px;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  transition: 0.3s;
}

.portfolio-overlay i {
  position: absolute;
  bottom: 10%;
  right: 5%;
  color: #ff305b;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .portfolio .photo-box {
    width: 45%;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .portfolio .photo-box {
    width: 45%;
  }
}
/* end portfolio section */

/* start stats section */
.stats {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #eee;
  text-align: center;
}

.stat-box {
  float: left;
  width: 25%;
  padding: 30px;
  box-sizing: border-box;
}

.stat-box i {
  color: #ff305b;
  font-size: 30px;
  margin-bottom: 10px;
}

.stat-box h3 {
  margin: 10px;
  font-size: 25px;
}

.stat-box p {
  font-size: 20px;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .stat-box p {
    font-size: 14px;
  }

  .stat-box h3 {
    font-size: 18px;
  }
}
/* end stats section */

/* start feedback section */
.client {
  padding-top: 100px;
  padding-bottom: 100px;
}

.dot {
  width: 10px;
  height: 10px;
  border: 1px solid #ff305b;
  border-radius: 50%;
  margin: auto;
}

.dot::after {
  content: "";
  position: absolute;
  top: auto;
  left: 720px;
  width: 25px;
  height: 10px;
  border: 1px solid #ff305b;
  background-color: #ff305b;
  border-radius: 7px;
  margin: auto;
}

.client h2 {
  font-size: 40px;
  padding-bottom: 20px;
  text-align: center;
}

.client .line {
  margin-bottom: 50px;
}

.client .comment {
  background-color: rgb(240, 240, 240);
  width: 60%;
  margin: auto;
  padding: 30px;
  border-radius: 7px;
  position: relative;
  margin-bottom: 10px;
}

.comment .client-image {
  float: left;
  width: 20%;
  margin-left: 10px;
}

.comment .client-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 170px solid #ff305b;
  border-right: 170px solid transparent;
  border-radius: 7px 0 0 0;
  z-index: 10;
}

.comment .client-image img {
  width: 120px;
  border-radius: 50%;
  position: relative;
  z-index: 100;
}

.comment .text {
  float: left;
  width: 70%;
  text-align: left;
}

.comment .text h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.comment .text h6 {
  color: gray;
  font-size: 17px;
}

.comment .text p {
  color: #333;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.6;
  font-style: italic;
  font-size: 18px;
}

.comment .text ul {
  transform: translateX(-40px);
}

.comment .text ul li {
  display: inline-block;
  color: gold;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .comment .text p {
    font-size: 10px;
    margin-left: 25px;
  }

  .comment .client-image img {
    width: 90px;
  }

  .comment .text h3 {
    font-size: 20px;
    text-align: center;
  }

  .comment .text h6 {
    font-size: 14px;
    text-align: center;
  }

  .comment .text ul {
    transform: translateX(15px);
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .dot::after {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .client .comment {
    width: 100%;
  }
  .dot::after {
    left: 52%;
  }

  @media screen and (min-width: 992px) and (max-width: 1200px) {
    .client .comment {
      width: 80%;
    }
  }
}
/* end feedback section */

/* start blog section */
.blog {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #eee;
}

.blog h2 {
  font-size: 40px;
  padding-bottom: 20px;
  text-align: center;
}

.blog .line {
  margin-bottom: 50px;
}

.blog .blog-box {
  float: left;
  width: 30%;
  box-sizing: border-box;
  background-color: white;
  margin-right: 20px;
  margin-left: 20px;
}

.blog .blog-box img {
  width: 100%;
}

.blog .blog-box iframe {
  width: 100%;
  height: 200px;
}

.blog-box .blog-text {
  padding: 20px;
}

.blog-text h4 {
  color: gray;
}

.blog-text h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.blog-text h3 a {
  color: #333;
  font-size: 24px;
  transition: 0.3s;
}

.blog-text h3 a:hover {
  color: #ff305b;
}

.blog-text p {
  line-height: 1.5;
  font-size: 18px;
  color: #444;
  margin-bottom: 15px;
}

.blog-text .read-more {
  color: #333;
  transition: 0.3s;
}

.blog-text .read-more:hover {
  color: #ff305b;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .blog .blog-box {
    width: 85%;
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .blog .blog-box {
    margin-right: 10px;
    float: none;
    transform: translateX(100%);
    margin-bottom: 20px;
  }

  .blog-text p {
    font-size: 14px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .blog .blog-box {
    width: 30%;
    margin-right: 10px;
  }
  .blog .blog-box iframe {
    height: 157px;
  }

  .blog-box .blog-text {
    padding: 30px;
  }

  .blog-text h3 a {
    font-size: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .blog .blog-box {
    width: 30%;
    margin-right: 20px;
    margin-left: 10px;
  }
  .blog-text p {
    font-size: 14px;
  }

  .blog-text h3 a {
    color: #333;
    font-size: 20px;
    transition: 0.3s;
  }
}
/* End blog section */

/* start contact us section */
.contact-us {
  padding-top: 100px;
  padding-bottom: 100px;
}

.contact-us h2 {
  font-size: 40px;
  padding-bottom: 20px;
  text-align: center;
}

.contact-us .line {
  margin-bottom: 50px;
}

.contact-us form {
  margin: auto;
  text-align: center;
  width: 70%;
  position: relative;
}

#name,
#email {
  width: 40%;
  margin-right: 10px;
  margin-bottom: 20px;
  border: 1px solid #bbb;
  border-radius: 7px;
  padding: 10px;
}

#subject,
textarea {
  width: 85%;
  margin-bottom: 20px;
  border: 1px solid #bbb;
  border-radius: 7px;
  padding: 10px;
}

#submit {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background-color: #ff305b;
  color: white;
  cursor: pointer;
  font-size: 18px;
  position: absolute;
  bottom: -30px;
  left: 50px;
}

/* end contact us section */

/* start footer  */
.footer {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  background-color: #333;
  color: white;
}

.footer ul li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 20px;
  font-size: 30px;
}

.footer ul li a {
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #ff305b;
}

.footer p {
  font-size: 18px;
}

.footer .underlined {
  color: #ff305b;
}

.footer .underlined:hover {
  text-decoration: underline;
}
/* end footer  */

/* phone */
@media screen and (min-width: 576px) and (max-width: 768px) {
  p {
    font-size: 13px;
  }

  ul li {
    font-size: 14px;
    margin-top: 5px;
  }

  .our-services h2,
  .portfolio h2,
  .client h2,
  .blog h2,
  .contact-us h2 {
    font-size: 25px;
  }
  .line {
    height: 1px;
  }

  .line::before {
    height: 1px;
  }

  .line::after {
    height: 1px;
  }
}
