@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins&family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

a,
a:hover,
a:active,
a:focus {
  text-decoration: none;
}

h1,
h2,
h3 {
  text-align: center;
}

h1 {
  font-family: 'Poppins', sans-serif;

  font-size: 48px;
}

a {
  font-size: 28px;
}

h2 {
  margin: 22px auto 18px;
  font-size: 28px;
}

a,
p,
h2,
h3,
li {
  font-family: 'Poppins', sans-serif;
}

h3 {
  margin: 20px auto;
  font-size: 24px;
}

p {
  font-size: 20px;
}

ul {
  margin-left: 45px;
}

li {
  list-style-type: circle;
}

i {
  color: #2759AE;
}

.home {
  background: url('./images/Logo.png');

  background-repeat: no-repeat;
  /* background-position: center; */
  background-size: cover;
  /* size: auto 650px;s */
  overflow: hidden;
  position: relative;
}

.nav-links {
  display: flex;
  flex-direction: row;
}

.h2-div {
  position: relative;
  z-index: 5;
  max-width: 90%;
  text-align: center;
  margin: 6rem;
}

.h2-div h2 {
  display: inline-block;
  font-family: 'Dancing Script';
  font-size: 36px;
  text-shadow: 2px 2px 10px #ff3535;
  color: white;
  opacity: 0.9;
}

.design-tool-feature {
  width: 400px;
  padding: 1rem 2rem;
}

.design-tool-heading {
  text-shadow: none;
  background-image: linear-gradient(90deg,
      rgb(39, 115, 238) 30%,
      hsl(307, 93%, 82%) 51%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.first-quote {
  margin-top: 4.4rem;
}


.background-div {
  position: absolute;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  z-index: 0;
}

.background-img {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: 700px;
  overflow: hidden;
  object-fit: cover;
}

.main-heading-div {
  text-shadow: 4px 4px 10px #1a0b0b;
  padding-top: 5.5rem;
}

.main-heading-div {
  height: 14
  0px;
  width: 100%;
}

.main-phone-div {
  height: 400px;
}

.main-phone-div h2 {
  font-size: 48px;
  font-weight: 700;
}

.hamburger {
  transform: scale(0);
  width: 40px;
  padding-top: 2px;
  cursor: pointer;
}

@media only screen and (max-width: 1400px) {
  .home::before {
    width: 80%;
    left: 10%;
  }
}

@media only screen and (max-width: 1000px) {
  .main-heading-div {
    padding: 5.5rem 2rem;
  }

  .main-heading-div h1 {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 900px) {
  .home::before {
    width: 90%;
    left: 5%;
  }

  .main-heading-div h1 {
    font-size: 2rem;
  }

  .h2-div h2 {
    font-size: 2rem;
  }

  .first-quote {
    margin-top: 3rem;
  }

  .second-quote {
    margin-top: 1.7rem;
  }
}

@media only screen and (max-width: 600px) {
  .main-phone-div {
    height: 160px;
  }

  .thm-btn {
    padding: 7.5px 35.5px;
  }

  .contact_btn {
    font-size: 12px;
  }

  .h2-div h2 {
    font-size: 1.7rem;
  }

  .second-quote {
    margin-top: 1rem;
  }
}

.vertical-center {
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.white-shadow {
  text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff, 1px -1px 2px #fff,
    -1px 1px 2px #fff;
}

.logo {
  position: relative;
  display: block;
  height: 120px;
  width: 120px;
  margin: auto;
  padding: 20px 5px 0px;
  z-index: 5;
}

.menu-logo {
  position: relative;
  float: left;
  right: 0;
  width: auto;
  height: 45px;

  margin: 6px 15px 0;
}

header {
  width: 100%;
  position: fixed;
  background-color: #000000;
  /* display: 'none'; */
  opacity: 0.9;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 100;
}

.topnav {
  margin: auto;

  padding: 15px 0;
  display: flex;
}

.thm-btn {
  display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-size: 200% auto;
  transition: all 500ms ease;
  box-shadow: 0px 30px 50px 0px rgba(25, 71, 174, 0.1);
  border-radius: 27.5px;
  border-bottom-left-radius: 0;
  padding: 11.5px 45.5px;
}

.topnav_a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  margin-right: 25px;
  text-decoration: none;
  font-size: 22px;
}

.contact_btn,
.portfolio-case-study {
  display: inline-block;
  background-image: none;
  background-color: #fff;
  color: rgb(10, 2, 66);
  overflow: hidden;
  position: relative;
  font-size: 22px;
  white-space: nowrap;
  font-weight: bold;
}

.topnav_a:hover {
  background-color: #017249;
}

.contact_btn::before,
.portfolio-case-study::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg,
      rgb(68, 140, 255) 0%,
      hsl(134, 84%, 35%) 51%);
  border-radius: 27.5px;
  border-bottom-left-radius: 0;
  background-size: 200% auto;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 500ms ease;
}

.contact_btn:hover::before,
.portfolio-case-study:hover::before {
  transform: scale(1, 1);
  transform-origin: bottom;
}

.contact_btn:hover span,
.portfolio-case-study:hover p {
  position: relative;
  color: white;
}

/* =====================================
hero section
=========================================*/

.main-heading-div h1 {
  position: relative;
  color: white;
}

@media screen and (max-width: 700px) {
  .first-quote {
    margin: 0;
  }
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .main-heading-div h1 {
    width: 70%;
    margin: auto;
  }
}

@media screen and (max-width: 550px) {
  
  .contact_btn {
    font-size: 18px;
  }

  .thm-btn {
    padding: 11.5px 33.5px;
  }


  .first-quote,
  .second-quote {
    width: 80%;
    position: relative;
  }

  .main-phone-div {
    height: 250px;
  }
}

@media screen and (max-width: 369px) {

  .contact_btn {
    font-size: 16px;
  }

  .thm-btn {
    padding: 11.5px 23.5px;
  }

}

@media screen and (max-width: 320px) {
  .contact_btn {
    font-size: 14px;
  }

  .thm-btn {
    padding: 8.5px 17.5px;
  }

  .main-phone-div {
    margin-top: 4rem;
  }
}

@media screen and (max-width: 310px) {
  .main-phone-div {
    margin-top: 2rem;
  }


}

/* =================================== 
about us 
======================================*/
.about-us-div {
  scroll-margin-top: 89px;
  width: 80%;
  margin: 3rem auto;
}

.about-us-heading-div {
  height: 160px;
  width: 100%;
  margin-top: 3rem;
}

.about-gradient,
.portfolio-gradient {
  background-image: linear-gradient(90deg,
      rgb(39, 115, 238) 0%,
      hsl(134, 84%, 35%) 51%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-description {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 3rem;
}

.about-description p {
  font-size: 1.5rem;
}

.mission,
.process,
.expertise {
  width: 214px;
  margin: 2rem;
}

.mission-container,
.process-container,
.expert-container {
  position: relative;
}

.about-us-p {
  width: 400px;
  margin: auto;
  padding: 3rem;
  padding-top: 0rem;
}

.flex-detail-div {
  flex-grow: 1;
  text-align: center;
  box-shadow: 3px 3px 55px rgb(241, 238, 238);
  margin: 2rem;
  border-radius: 2rem;
}

@media only screen and (max-width: 1740px) {
  .about-us-div img {
    margin-left: 5vw;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .about-us-div .mission-container,
  .about-us-div .process-container,
  .about-us-div .expert-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .about-us-p {
    width: auto;
  }

  .mission-container h2::after,
  .process-container h2::after,
  .expert-container h2::after {
    content: '';
    position: absolute;
    width: 275px;
    height: 275px;
    top: 4.5%;
    left: 3.5%;
    border-radius: 50%;
    background: hsla(307, 93%, 82%, 0.15);
    z-index: -1;
  }
}

@media only screen and (max-width: 1098px) {

  .mission-container h2::after,
  .process-container h2::after,
  .expert-container h2::after {
    top: 7.5%;
    left: 3.5%;
  }

  .about-us-div .mission-container,
  .about-us-div .process-container,
  .about-us-div .expert-container {
    margin: 2rem auto;
  }
}

@media only screen and (max-width: 1011px) {
  .process-container h2::after {
    top: 14.5%;
  }
}

@media only screen and (max-width: 970px) {

  .about-us-div .mission-container,
  .about-us-div .process-container,
  .about-us-div .expert-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mission-container h2::after,
  .process-container h2::after,
  .expert-container h2::after {
    top: 2vw;
    left: 32%;
  }

  .about-us-div img {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 756px) {
  .about-us-heading-div h1 {
    line-height: 3rem;
  }

  .about-description p {
    margin-bottom: 1rem;
  }
}

@media only screen and (max-width: 550px) {

  .mission-container h2::after,
  .process-container h2::after,
  .expert-container h2::after {
    display: none;
  }
}

@media only screen and (max-width: 475px) {
  .about-description p {
    padding-top: 2rem;
  }
}

/* ==================================================
 portfolio
=====================================================*/

.portfolios {
  width: 100%;
}

.portfolio-heading-div h2 {
  margin-top: 5rem;
}

.portfolio-heading-div h1 {
  margin-top: 0rem;
}

.portfolio {
  width: 80%;
  display: flex;

  margin: auto;
  align-items: center;
  justify-content: flex-start;
  margin-top: 7rem;
  box-shadow: 3px 3px 55px rgb(229, 226, 226);
  border-radius: 1rem;
  padding: 2rem 2rem;
}

.portfolio-description,
.portfolio-description-this {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 50%;
  margin-left: 2rem;
}

.portfolio-logo {
  width: 100px;
}

.portfolio-logo img {
  width: 100%;
}

.hashtags {
  display: flex;
  flex-wrap: wrap;
}

.hashtag {
  background: white;
  padding: 0.4rem 0.55rem;
  margin: 0.4rem 0;
  box-shadow: 3px 3px 55px rgb(241, 238, 238);
  margin-left: 0.45rem;
  border-radius: 7%;
  border: 1px solid rgb(166, 163, 163);
}

.hashtags .hashtag:nth-child(1) {
  margin-left: 0;
}

.hashtag p {
  font-size: 0.9rem;
}

.portfolio-title a {
  text-align: left;
  color: rgb(37, 81, 240);
}

.portfolio-details-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-details-points div {
  padding: 1rem;
}

.portfolio-details-points i {
  padding-right: 1rem;
}

.portfolio-case-study {
  padding: 1rem 1.5rem;
  border: 2px solid rgb(37, 81, 240);
  border-radius: 300px;
  margin-top: 1.5rem;
  cursor: pointer;
}

.portfolio-case-study p {
  font-weight: 500;
}

.portfolio-case-study p a {
  color: rgb(10, 2, 66);;
  font-size: 22px;
}

.portfolio-img {
  width: 70%;
  margin: auto;
}

.portfolio-img img {
  width: 100%;
}

@media (max-width: 1536px) {
  .portfolio {
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: none;
    padding: 0;
  }

  .portfolio-description,
  .portfolio-description-this,
  .portfolio-description-alt {
    width: 70%;
    padding: 4rem;
    padding-top: 1rem;
    box-shadow: 3px 3px 55px rgb(241, 238, 238);
    border-radius: 1rem;
  }

  .portfolio-description {
    padding-bottom: 49%;
  }

  .portfolio-description-alt {
    padding-bottom: 56%;
  }

  .portfolio-details-points {
    grid-template-columns: 1fr;
  }

  .portfolio-img {
    margin: auto;
    /* transform: translateY(-94%); */
    position: relative;
  }

  .portfolio-img img {
    position: absolute;
    bottom: 0;
  }
}

@media (max-width: 998px) {
  .portfolio {
    width: 80%;
    display: flex;

    margin: auto;
    align-items: flex-start;
    justify-content: flex-start;

    margin-top: 7rem;
    box-shadow: 3px 3px 55px rgb(229, 226, 226);
    border-radius: 1rem;
    padding: 1rem;
  }

  .portfolio-description,
  .portfolio-description-this,
  .portfolio-description-alt {
    width: 100%;
    padding: 0;
    transform: none;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;

    margin-left: 2rem;
  }

  .portfolio-details-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-img {
    margin-top: 3rem;
    padding: 2rem;
  }

  .portfolio-img img {
    position: relative;
  }
}

@media (max-width: 800px) {
  .portfolio-details-points {
    grid-template-columns: 1fr;
  }

  .portfolio-img {
    padding: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 700px) {
  .portfolio-title {
    width: 80%;
  }
}

@media (max-width: 640px) {}

/* ================================================
about me 
==================================================*/

.about-me-div {
  scroll-margin-top: 89px;
  position: relative;
  padding-bottom: 7rem;
  margin-top: 5rem;
  overflow: hidden;
}

.about-me-div h1 {
  height: 100px;
}

.about-me-div::before {
  content: ' ';
  width: 35%;
  height: 100%;
  position: absolute;
  left: 0;
  background: #448cff;
  opacity: 0.8;
  z-index: -1;
}

.loren {
  background-image: linear-gradient(90deg,
      rgb(39, 115, 238) 0%,
      hsl(134, 84%, 35%) 51%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-me-img {
  padding: 5px;
  width: 490px;
  height: 540px;
}

.about-me-details {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin-left: 3rem;
  max-width: 80%;
}

.about-me-details.text {
  width: 560px;
}

.flex-div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.email-a {
  font-size: 24px;
}

.about-me-circle {
  position: absolute;
  top: 0;
  top: -7rem;
  right: -6rem;
  margin-top: 4rem;
}

.about-me-circle img {
  width: 9rem;
}

@media screen and (max-width: 1430px) {
  .about-me-div::before {
    width: 29%;
  }
}

@media screen and (max-width: 1389px) {
  .about-me-div::before {
    width: 25%;
  }
}

@media screen and (max-width: 1168px) {
  .about-me-div::before {
    width: 0%;
  }
}

@media screen and (max-width: 665px) {

  .about-me-details {
    margin-left: 0;
  }
}

@media screen and (max-width: 665px) {
  .about-me-div .about-us-heading-div h1 {
    width: 80%;
    margin: auto;
  }
}

/* rate */

.rate {
  background-image: linear-gradient(45deg,
      rgba(39, 115, 238) 20%,
      hsl(134, 84%, 35%) 51%);

  padding: 2.3rem 2rem;
  padding-top: 1rem;
  margin: 5rem 12rem;
  position: relative;
  border-radius: 1rem;
}

.rate p {
  font-size: 25px;
}

@media screen and (max-width: 1089px) {
  .rate {
    margin: 4rem 8rem;
  }
}

@media screen and (max-width: 962px) {
  .rate {
    margin: 3rem 5rem;
    padding: 1rem;
  }
}

@media screen and (max-width: 690px) {
  .rate {
    margin: 2.3rem 2rem;
  }
}

@media screen and (max-width: 600px) {
  .contact-details h1 {
    padding-top: 4rem;
  }
}

@media screen and (max-width: 400px) {
  .contact-details h1 {
    padding-top: 6rem;
  }
}

/*
Contact 
*/
#contact {
  scroll-margin-top: 89px;
  background: hsla(307, 93%, 82%, 0.15);
  margin-top: -11rem;
}

.contact-details {
  padding-top: 10rem;
  transform: translateY(3rem);
}

.email-div {
  text-align: center;
}

.work-times-div {
  height: 140px;
  padding-bottom: 2rem;
}

@media screen and (max-width: 732px) {
  .contact-me-details-div {
    transform: translateY(-3rem);
  }
}

@media screen and (max-width: 400px) {
  #contact {
    margin-top: -14rem;
  }

  .work-times-div {
    width: 80%;
    margin: auto;
    transform: translateY(-2rem);
  }
}

/*footer */
.footer-div {
  color: #fff;
  background-color: #000000;
  height: 200px;
  width: 100%;
  margin: 0;
  text-align: center;
  opacity: 0.85;
}

.footer-details-div {
  height: 100px;
}

.rate-details,
.promotion-details {
  text-align: center;
}

/* ==================================================
sidebar 
=====================================================*/

.sidebar-navigation {
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  color: white;
}

.sidebar-toggler {
  text-align: right;
  padding: 0.7rem 0.7rem 0rem 0rem;
  width: 50px;
  position: absolute;
  right: 11px;
}

.sidebar-overlay {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: -1;
}

.sidebar-toggler {
  color: white;
}

.sidebar-inner {
  position: absolute;
  right: 0;
  height: 100%;
  background: rgb(0, 0, 0);

  min-width: 20rem;
  color: white;

  overflow: scroll;
  overflow-x: hidden;
}

.sidebar-inner-container {
  height: fit-content;
}

.sidebar-inner .sidebar-logo {
  margin-top: 2rem;
}

.sidebar-inner .sidebar-logo a {
  margin: 1rem 0rem 2rem 2.5rem;
}

.sidebar-inner nav {
  position: absolute;
  width: 45px;
  z-index: 1;
}

.sidebar-inner nav ul {
  list-style: none;
  margin-top: 2rem;
}

.sidebar-inner nav ul li {
  padding: 1.5rem 0rem 1.5rem 1.9rem;
}

.sidebar-inner nav ul li a {
  white-space: nowrap;
  color: white;
}

.sidebar-inner nav ul li .sidebar-a {
  font-size: 23px;
  white-space: nowrap;
  color: white;
  position: relative;
  padding: 30px 200px 20px 0px;
}

.sidebar-inner nav ul li .sidebar-a::after {
  content: '';
  width: 300rem;
  height: 2px;
  background-color: white;
  position: absolute;
  left: -30px;
  bottom: -7px;
}

.sidebar-inner nav ul li:hover {
  background: white;
  width: 100rem;
  transition: 0.5s all ease-in-out;
}

.sidebar-inner nav ul li:hover a {
  color: rgb(10, 2, 66);
  transition: 0.5s all ease-in-out;
}

.sidebar-footer {
  top: 90%;
  width: 200%;
  padding: 2rem;
  text-align: center;
  white-space: nowrap;
}

.sidebar-opener {
  display: none;
  transform: translateX(100vw);
}

/* 
Sidebar Responsiveness 
*/
@media (max-width: 1000px) {
  .topnav_a {
    display: none;
  }

  .hamburger {
    transform: scale(1);
  }
}

.closing-x {
  cursor: pointer;
}

