@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700,900|Open+Sans:300,400,600,700');
@import url('../css/bootstrap.css');
@import url('../css/jquery.fancybox.min.css');
@import url('../css/slick.css');
@import url('https://wowjs.uk/css/libs/animate.css');
/* icon  */
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');
/* font  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');





/* font-family: "Inter", sans-serif;  */
:root {
  --font-family: "Inter", sans-serif;
  --primary-color: #3D4BE0;
  --secondary-light-color: #121212;
  --secondary-dark-color: #0E0E0E;
}

* {
  margin: 0px;
  padding: 0px;
}

/* text selection color */
::-moz-selection {
  background: var(--primary-color);
  color: var(--theme-white);
  text-shadow: none;
}

::selection {
  background: var(--primary-color);
  color: white;
  text-shadow: none;
}

/* browser scroller style */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
  display: none;
}

::-webkit-scrollbar-track-piece {
  background-color: #ecedf1;
  -webkit-border-radius: 0px;
  border-left: 1px solid #888;
}

::-webkit-scrollbar-thumb:vertical {
  -webkit-border-radius: 0px;
  background: var(--primary-color);
}

body {
  font-family: var(--font-family);
  z-index: 0;
}


h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
}


p {
  font-weight: 400;
  line-height: 22px;
  padding: 0 0 20px;
  margin: 0px;
}

/*** theme sections padding ***/
.sec-padding-100 {
  padding: 100px 0;
}

.sec-padding-90 {
  padding: 90px 0;
}

.sec-padding-80 {
  padding: 80px 0;
}

.sec-padding-70 {
  padding: 70px 0;
}

.sec-padding-60 {
  padding: 60px 0;
}

.sec-padding-xlarge {
  padding: 50px 0;
}

.sec-padding-large {
  padding: 40px 0;
}

.sec-padding-medium {
  padding: 30px 0;
}

.sec-padding-small {
  padding: 25px 0;
}

.sec-padding-xsmall {
  padding: 10px 0;
}

/*** theme sections margin ***/
.sec-margin-100 {
  margin: 100px 0;
}

.sec-margin-90 {
  margin: 90px 0;
}

.sec-margin-80 {
  margin: 80px 0;
}

.sec-margin-70 {
  margin: 70px 0;
}

.sec-margin-60 {
  margin: 60px 0;
}

.sec-margin-xlarge {
  margin: 50px 0;
}

.sec-margin-large {
  margin: 40px 0;
}

.sec-margin-medium {
  margin: 30px 0;
}

.sec-margin-small {
  margin: 25px 0;
}

.sec-margin-xsmall {
  margin: 10px 0;
}

/*** no padding, no marging ***/
.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0px;
}

.pb-0 {
  padding-bottom: 0px;
}

.pl-0 {
  padding-left: 0px;
}

.pr-0 {
  padding-right: 0px;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0px;
}

.mb-0 {
  margin-bottom: 0px;
}

.ml-0 {
  margin-left: 0px;
}

.mr-0 {
  margin-right: 0px;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: none;
  text-decoration: none;
}

img {
  border: 0px;
  outline: none;
}

/*img { max-width: 100%;  }*/
ul,
li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}


/* header  */
header.stickyheader {
  position: fixed;
  z-index: 999;
  background: var(--primary-color);
  border: 0;
  animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* nav dropdown  */
.dropdown-menu {
  left: 0;
  top: 30px;
  opacity: 0;
  z-index: 99;
  border: none;
  width: 250px;
  margin-top: 0;
  display: flex;
  padding: 0px 0;
  border-radius: 0;
  position: absolute;
  visibility: hidden;
  background: linear-gradient(#3D4BE0, #3f4fff);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 0px !important;
}

.dropdown:hover>.dropdown-menu {
  visibility: visible;
  opacity: 1;
}

.dropdown-menu li a {
  padding: 10px;
  width: 100% !important;
  display: flex;
  align-items: center;
  text-transform: capitalize !important;
}

.dropdown-menu li a:hover {
  background: white;
  color: black;
}

.sub-dropdown--menu {
  left: 280px !important;
  top: 0px !important;
}

.banner {
  height: 800px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding-bottom: 150px;
  padding-top: 100px;
}

.banner-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

header {
  width: 100%;
  padding: 10px 0px 10px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid white;
}

.menu ul {
  display: flex;
  justify-content: space-between;
  /* width: 100%; */
}

.menu ul li a {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
}

.theme-group {
  display: flex;
  gap: 20px;
  justify-content: start;
}

.theme-btn {
  /* padding: 10px 20px; */
  border: 1.5px solid;
  color: white;
  height: 40px;
  width: fit-content;
  padding: 0px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 5px;
  text-transform: capitalize;
  font-size: 14px;
  transition: all ease 0.5s;
}

.theme-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.content h1 {
  font-size: 55px;
  font-weight: 600;
  line-height: 1;
  text-transform: capitalize;
}

.content p {
  font-size: 13px;
  margin: 20px 0px;
}

/* banner animation images  */
.banner-smalimg1 {
  position: absolute;
  left: 20%;
  top: 17%;
  z-index: 1;
  width: 150px;
}

.banner-smalimg2 {
  position: absolute;
  left: 10%;
  top: 40%;
  z-index: 1;
  width: 250px;
}

.banner-smalimg3 {
  position: absolute;
  left: 21%;
  bottom: 6%;
  z-index: 1;
  width: 120px;
}

.banner-smalimg4 {
  position: absolute;
  width: 600px;
  bottom: -20%;
  transform: translateX(50%);
  right: 50%;
}

.banner-smalimg5 {
  position: absolute;
  right: 21%;
  bottom: 7%;
  width: 120px;
}

.banner-smalimg6 {
  position: absolute;
  width: 250px;
  right: 10%;
  top: 40%;
}

.banner-smalimg7 {
  position: absolute;
  top: 17%;
  right: 20%;
  width: 150px;
}

.about-sec {
  padding-top: 220px;
}

.move-animation {
  -webkit-animation: mymove 2s ease 0.5s infinite;
  animation: mymove 2s ease 0.5s infinite;
}

@keyframes mymove {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.about-sec-images {
  display: flex;
  /* height: 450px; */
  text-align: center;
  padding: 0px;
}

.content h2 {
  font-size: 23px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}

.content p {
  font-size: 13px;
  line-height: 20px;
  margin: 10px 0px;
}

.content h2 {
  font-size: 23px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}

.content p {
  font-size: 15px;
  margin: 10px 0px 0px;
}

.about-sec-images img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  /* object-fit: contain; */
  z-index: -1;
}

.about-sec-images .img1 {
  width: 40%;
  height: 200px;
  display: flex;
  position: relative;
}

.about-sec-images .img2 {
  position: relative;
  display: flex;
  width: 30%;
  height: 200px;
  padding: 10px;
}

.about-sec-images .img3 {
  position: relative;
  display: flex;
  width: 30%;
  height: 250px;
}

.about-sec-images .img4 {
  position: relative;
  padding: 10px;
  display: flex;
  width: 25%;
  height: 200px;
}

.about-sec-images .img5 {
  position: relative;
  display: flex;
  width: 45%;
  height: 200px;
}

.about-sec-images .img6 {
  position: relative;
  display: flex;
  width: 30%;
  padding: 10px;
}

.about-sec-images:nth-child(2) {
  margin-top: -55px;
}

.about-sec-images .img6 img {
  height: unset;
  bottom: 0;
  top: unset;
}

.about-sec-images span {
  font-size: 26px;
  color: white;
  font-family: "Lato", sans-serif;
  position: relative;
}

.whatwedo {
  background-color: var(--secondary-dark-color);
  color: white;
}

.heading h4 {
  text-transform: capitalize;
  font-weight: 400;
}

.heading h2 {
  font-size: 45px;
  text-transform: capitalize;
  font-weight: 600;
  margin-bottom: 10px;
}

.services-card {
  position: relative;
  background: var(--secondary-light-color);
  transition: all ease 0.5s;
  padding: 20px 20px 0px;
}

.services-card:hover {
  background-image: url(../images/servicescard-img.png);
  transform: scale(1.1);
}

.services-card h4 {
  /* font-weight: 200; */
  font-size: 17px;
  font-family: "Lato", sans-serif;
}

.services-card h2 {
  font-size: 23px;
  font-family: "Lato", sans-serif;
}

.services-card p {
  font-size: 13.5px;
  line-height: 17px;
  /* height: auto; */
  display: flex;
  align-items: center;
  padding: 0;
  padding-left: 10px;
  position: relative;
}

.services-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-card ul li a {
  color: white;
  text-transform: capitalize;
  font-size: 14px;
}

.services-card ul li span {
  font-size: 30px;
  font-family: "Lato", sans-serif;
}

.services-card p::before {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
}

.services-cardcontent {
  min-height: 170px;
  display: flex;
  align-items: center;
}

.mt-minu-2 {
  margin-top: -20px;
}

/* tabs generic (nav and tabs in main div)
------------------------------------*/
.tab-custom-nav li a {
  color: black;
}

.tab-custom-nav li a.current {
  color: #0076FB;
}

.tab-custom .tab-content-panel {
  display: none;
  overflow: hidden;
  width: 100%;
}

.tab-custom .tab-content-panel.selected {
  display: block;
}


/* tabs generic (nav and tabs in main div tabs with style)
------------------------------------*/
.tabs-main {
  display: inline-block;
  width: 100%;
  padding: 15px 0;
}

.tabs-main ul.tabs-nav {
  padding: 0px 0 20px 50px;
  width: 100%;
  float: left;
  margin: 0 0 0px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tabs-main ul.tabs-nav li {
  list-style: none;
  float: left;
}

.tabs-main ul.tabs-nav li a.current {
  background-color: #3D4BE0;
  color: #fff;
}

.tabs-main ul.tabs-nav li a:hover {
  background-color: #3D4BE0;
  color: #fff;
}

.tabs-main ul.tabs-nav li a {
  background: transparent;
  border: 0px;
  border-bottom: 0px;
  color: black;
  padding: 8px 20px;
  display: block;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  border: 0.1px solid #000;
  border-radius: 5px;
  transition: all ease 0.4s;
  font-size: 13px;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.5px;
}

/* .tabs-main ul.tabs-nav li a.current::before {
  background: white;
  color: #003a7b;
  display: block;
} */

.tabs-main .tab-content-panel {
  background: white;
  padding: 35px 0px 0px 0px;
  display: none;
  overflow: hidden;
  width: 100%;
}
.tabs-main ul.tabs-nav li a::before {
  content: "";
  position: absolute;
  left: -25px;
  bottom: 50%;
  transform: translateY(50%);
  width: 20px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 20px;
  display: none;
}

.gallery-card a {
  width: 100%;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.heading p {
  font-size: 14px;
}

.gallery-card {
    position: relative;
}

section.ourwork-sec {
  position: relative;
}

h4.rotate-text {
  color: #3D4BE0;
  position: absolute;
  right: -50px;
  height: 100%;
  writing-mode: vertical-lr;
  top: 0;
  /* transform: rotate(-90deg); */
  font-size: 34px;
  font-weight: 800;
  opacity: 0.3;
  letter-spacing: 3px;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  /* width: 100%; */
  text-align: center;
}

ul.facts-list li:nth-child(1) {
  border-bottom: rgba(255, 255, 255, 0.24) 1px solid;
}

ul.facts-list li img {
  width: 40px;
  /* position: absolute; */
  left: 30px;
  top: 37px;
}

ul.facts-list li span {
  font-size: 16px;
  display: block;
  font-weight: 300;
}

ul.facts-list li h6 {
  margin: 0;
  font-size: 40px;
  font-weight: bold;
}

ul.facts-list li:nth-child(2),
ul.facts-list li:nth-child(4) {
  border-bottom: rgba(255, 255, 255, 0.24) 1px solid;
  border-left: rgba(255, 255, 255, 0.24) 1px solid;
  /* padding: 22px 0 32px 93px; */
}

ul.facts-list li:nth-child(2) img,
ul.facts-list li:nth-child(4) img {
  left: 32px;
}

ul.facts-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  /* position: relative; */
  font-size: 30px;
  /* padding: 22px 62px 32px 102px; */
  /* vertical-align: top !important; */
  line-height: 20px;
  width: 100%;
  height: 120px;
  padding: 20px 30px;
}

ul.facts-list li:nth-child(4) {
  border-bottom: none;
}

ul.facts-list li:nth-child(2) {
  border-bottom: rgba(255, 255, 255, 0.24) 1px solid;
  border-left: rgba(255, 255, 255, 0.24) 1px solid;
  /* padding: 22px 0 32px 93px; */
}

ul.facts-list li .icon-thumb {
  top: 28px;
  font-size: 51px;
}

.ourfacts-content {
  background: linear-gradient(0deg, #181A61, #3235C7);
  color: white;
  padding: 30px;
}

.ourfacts-content p {
  font-size: 13px;
}

.ourfacts-content h4 {
  font-size: 16px;
  font-weight: 300;
  font-family: "Lato", sans-serif;
}

.ourfacts-content h2 {
  font-size: 47px;
  font-family: "Lato", sans-serif;
  text-transform: capitalize;
}

ul.facts-list {
  display: grid;
  grid-template-columns: auto auto;
}

/* .ourfacts-content p.light-paragraph {
  font-weight: 200;
} */

.testimonial-heading h4 {
  font-size: 30px;
  font-weight: 600;
  line-height: 0.5;
  font-family: "Lato", sans-serif;
}

.testimonial-heading h2 {
  font-size: 50px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

.testimonial-box {
  position: relative;
  padding: 20px 0px 0px 20px;
}

img.testimonial-icon {
  position: absolute;
  left: 25%;
  top: 3%;
}

.testimonial-heading span {
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0px;
}

.testimonial-slider {
  padding: 20px 0px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0px;
}

.testimonial-card img {
  width: 100px;
}

.testimonial-card li {
  font-size: 12px;
  padding-right: 50px;
}

.testimonial-heading p {
  font-size: 13px;
}

.testimonial-card li span {
  font-weight: 700;
  font-size: 18px;
}

section.contact-sec {
  position: relative;
  margin-bottom: -60px;
}

section.contact-sec ul {
  display: flex;
  justify-content: center !important;
  padding: 20px;
  border-radius: 10px;
  background: #20217C;
}

section.contact-sec ul li:nth-child(1) {
  border-right: 1px solid white;
}

section.contact-sec ul li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 50%;
  text-align: center;
  justify-content: center;
  padding: 20px 0px;
}

section.contact-sec ul li a {
  color: white;
}

section.contact-sec ul li img {
  width: 35px;
}

footer {
  background: var(--secondary-dark-color);
  padding: 100px 0px 0px 0px;
}

.copy-right {
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding: 10px;
  border-top: 1px solid;
  margin-top: 30px;
}
.leadership-overlay:before {
  border-bottom: 3px solid #FFF;
  border-left: 3px solid #FFF;
  -webkit-transform-origin: 100% 0%;
}
.leadership-overlay:after, .leadership-overlay:before {
  width: 100%;
  height: 100%;
  z-index: 3;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  -webkit-transform: scale(0);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.leadership-overlay:after {
  border-top: 3px solid #FFF;
  border-right: 3px solid #FFF;
  -webkit-transform-origin: 0% 100%;
}
.gallery-card:hover .leadership-overlay {
  transform: scale(1.1);
  opacity: 1;
}
.overlay-color {
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #0015f9d6, transparent, #0000009e);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: none;
}
.gallery-card:hover .overlay-color {
  display: block;
}
.gallery-card .leadership-overlay:hover::after,
.gallery-card .leadership-overlay:hover::before {
  -webkit-transform: scale(1);
  z-index: 2;
}

.gallery-card .leadership-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 0px;
}

.gallery-card .leadership-overlay:after,
.gallery-card .leadership-overlay:before {
  left: 30px;
  width: 80%;
  /* top: 26px; */
  height: 80%;
  top: 10%;
}
.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.inner-banner::before {
  background: #000000c7;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 5;
}

.content {
  position: relative;
  z-index: 12;
}

ul.innerbanner-tabs.nav {
  padding: 30px 0px;
  justify-content: center;
  gap: 20px;
}

ul.innerbanner-tabs.nav li {
  border: 1px solid;
  padding: 7px 22px;
  font-size: 13px;
}

.inner-banner {
    height: 700px;
    padding: 0;
}

.content.innerbanner-content span {
    font-size: 29px !important;
    /* width: 80%; */
    margin: 20px auto;
    line-height: 30px;
    display: inline-block;
}
.content span {
  font-size: 24px;
  font-style: italic;
  font-family: "Lato", sans-serif;
  line-height: 10px;
}
/* .heading h2{
  position: relative;
}

.heading h2::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 50px;
} */

.whshould-detailsec ul {
  display: grid;
  grid-template-columns: auto auto;
  width: fit-content;
  gap: 10px 50px;
  padding: 10px 0px 0px 20px;
}

.whshould-detailsec ul li::before {
  content: "";
  position: absolute;
  bottom: 50%;
  left: -20px;
  transform: translateY(50%);
  width: 15px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 50px;
}

.whshould-detailsec ul li {
  position: relative;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.webdesignsec .rotate-text {
  /* right: -330px; */
}
a#scroll {
  background: #3d4be0;
  height: 50px;
  width: 50px;
  display: flex;
  position: fixed;
  right: 30px;
  bottom: 30px;
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}
.overlay-primarylight::before {
  background: #3d4be0ad;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.boocover_card {
  height: 330px;
}

.boocover_card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  /* display: block; */
}

section.whshould-detailsec {
    display: none;
}
.menu {
  width: 100%;
}
span.typed-cursor.typed-cursor--blink {
  display: none;
}
span.typed-cursor {
  display: none;
}













@media only screen and (max-width: 1366px) {
  .banner-smalimg1 {
    left: 18%;
    width: 130px;
  }

  .banner-smalimg7 {
    right: 18%;
    width: 130px;
  }

  .banner-smalimg2 {
    left: 8%;
    width: 230px;
  }

  .banner-smalimg6 {
    width: 230px;
    right: 8%;
  }

  .banner-smalimg5 {
    right: 19%;
    width: 100px;
  }

  .banner-smalimg3 {
    left: 19%;
    width: 100px;
  }

  .banner-smalimg4 {
    width: 500px;
  }
}


/* my css */

/* -----------------------------------
      Gallery Section
--------------------------------------*/
.portfolio-section {
  padding: 50px 0;
  /* background-color: #000; */
}

.portfolio-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.portfolio-menu {
  text-align: center;
}

.control {
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border: 1px solid #343a40;
  border-radius: 3px;
  margin: 5px;
  cursor: pointer;
  -webkit-transition: all 05s ease;
  -moz-transition: all 05s ease;
  -ms-transition: all 05s ease;
  -o-transition: all 05s ease;
  transition: all 0.5s ease;
}

.control:hover {
  background: #343a40;
}

.mixitup-control-active {
  color: #fff;
  /* background: #343a40; */
}

.fancybox-container button:focus {
  outline: 0;
  box-shadow: none;
}

.portfolio-item {
  padding-top: 30px;
}

/* .pd {
  padding: 0;
  padding: 10px;
} */

/* .pd img {
  height: 180px;
  transition: all 0.9s;
} */

.pd {
  padding: -2px 0px;
  position: relative;
  width: calc(33.333% - 20px);
  margin-bottom: 30px;
  box-sizing: border-box;
}

.pd img {
  width: 100%;
  /* height: 180px; */
  transition: all 0.9s;
}

.portfolio-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  width: 89%;
  height: 100%;
  text-align: center;
  visibility: hidden;
  transition: all 0.5s;
  transform: scale(0);
}

.portfolio-overlay p,
.portfolio-overlay a {
  position: relative;
  z-index: 4;
}

.portfolio-overlay::before {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  left: 10%;
  top: 10%;
  transition: 50ms height ease 150ms;
  z-index: 3;
}

.portfolio-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  right: 10%;
  bottom: 10%;
  transition: 100ms width ease 200ms;
  z-index: 3;
}

.portfolio-item:hover .portfolio-overlay::before {
  width: 80%;
  height: 80%;
  border-top: 1px solid #5bcce0;
  border-right: 1px solid #5bcce0;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.5s;
}

.portfolio-item:hover .portfolio-overlay::after {
  width: 80%;
  height: 80%;
  border-bottom: 1px solid #5bcce0;
  border-left: 1px solid #5bcce0;
  transition: width 0.1s ease 0.6s, height 0.1s ease 0.7s;
}

.portfolio-item li:hover .portfolio-overlay {
  visibility: visible;
  transform: scale(1);
}

.portfolio-overlay .category {
  margin-top: 70px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.portfolio-overlay .magnify-icon {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  background: #5bcce0;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.25s;
  position: relative;
}

.portfolio-overlay .magnify-icon:hover {
  background: #007bff;
}

.portfolio-overlay .magnify-icon p span i {
  font-size: 15px;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}

/*******Responsive media query******/

/* Extra small devices (portrait phones, less than 576px)*/

.button {
  &.alternative {
    --color-hover: #2B3044;
    --background: #3d4be0;
    --hover-back: #6D58FF;
    --hover-front: #5bcce0;
  }

  &.simple {
    --background: #275EFE;
    --background-hover: #1749DB;
  }
}

.button {
  --color: #fff;
  --color-hover: var(--color);
  --background: #2B3044;
  --background-hover: var(--background);
  --hover-back: #6D58FF;
  --hover-front: #5C86FF;
  padding: 8px 28px;
  border-radius: 20px;
  line-height: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  color: var(--c, var(--color));
  background: var(--b, var(--background));
  transition: color .2s linear var(--c-d, .2s), background .3s linear var(--b-d, .2s);

  &:not(.simple) {

    &:before,
    &:after {
      content: '';
      position: absolute;
      background: var(--pb, var(--hover-back));
      top: 0;
      left: 0;
      right: 0;
      height: 200%;
      border-radius: var(--br, 40%);
      transform: translateY(var(--y, 50%));
      transition: transform var(--d, .4s) ease-in var(--d-d, 0s), border-radius .5s ease var(--br-d, .08s);

    }

    &:after {
      --pb: var(--hover-front);
      --d: .44s;
    }
  }

  div {
    z-index: 1;
    position: relative;
    display: flex;

    span {
      display: block;
      backface-visibility: hidden;
      transform: translateZ(0);
      animation: var(--name, none) .7s linear forwards .18s;
    }
  }

  &.in {
    --name: move;

    &:not(.out) {
      --c: var(--color-hover);
      --b: var(--background-hover);

      &:before,
      &:after {
        --y: 0;
        --br: 5%;
      }

      &:after {
        --br: 10%;
        --d-d: .02s;
      }
    }

    &.out {
      --name: move-out;

      &:before {
        --d-d: .06s;
      }
    }
  }
}

@keyframes move {

  30%,
  36% {
    transform: translateY(calc(-6px * var(--move))) translateZ(0) rotate(calc(-13deg * var(--rotate) * var(--part)));
  }

  50% {
    transform: translateY(calc(3px * var(--move))) translateZ(0) rotate(calc(6deg * var(--rotate) * var(--part)));
  }

  70% {
    transform: translateY(calc(-2px * var(--move))) translateZ(0) rotate(calc(-3deg * var(--rotate) * var(--part)));
  }
}

@keyframes move-out {

  30%,
  36% {
    transform: translateY(calc(6px * var(--move))) translateZ(0) rotate(calc(13deg * var(--rotate) * var(--part)));
  }

  50% {
    transform: translateY(calc(-3px * var(--move))) translateZ(0) rotate(calc(-6deg * var(--rotate) * var(--part)));
  }

  70% {
    transform: translateY(calc(2px * var(--move))) translateZ(0) rotate(calc(3deg * var(--rotate) * var(--part)));
  }
}

/* html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: inherit;

  &:before,
  &:after {
    box-sizing: inherit;
  }
} */


body {
  /* min-height: 100vh; */
  /* display: flex; */
  font-family: 'Inter UI', 'Inter', Arial;
  /* justify-content: center; */
  /* align-items: center; */
  /* background: #E1E6F9; */

  @media(max-width: 440px) {
    flex-direction: column;
  }

  .button {
    /* display: block; */
    margin: 8px 8px;

    &:first-child {
      margin-left: 0;
    }

    &:last-child {
      margin-right: 0;
    }

    @media(max-width: 440px) {
      margin: 8px 0;
    }
  }

  .dribbble {
    position: fixed;
    display: block;
    right: 20px;
    bottom: 20px;

    img {
      display: block;
      height: 28px;
    }
  }

  .twitter {
    position: fixed;
    display: block;
    right: 64px;
    bottom: 14px;

    svg {
      width: 32px;
      height: 32px;
      fill: #1da1f2;
    }
  }
}