@keyframes animation {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes colorSlide {
  0% {
    background-position: 0 100%;
  }
  20% {
    background-position: 0 0;
  }
  21% {
    background-color: #4e5559;
  }
  29.99% {
    background-color: #ffffff;
    background-position: 0 0;
  }
  30% {
    background-color: #4e5559;
    background-position: 0 100%;
  }
  50% {
    background-position: 0 0;
  }
  51% {
    background-color: #4e5559;
  }
  59% {
    background-color: #ffffff;
    background-position: 0 0;
  }
  60% {
    background-color: #4e5559;
    background-position: 0 100%;
  }
  80% {
    background-position: 0 0;
  }
  81% {
    background-color: #4e5559;
  }
  100%, 90% {
    background-color: #ffffff;
  }
}
@keyframes trackBallSlide {
  0% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  6% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  14% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  15%, 19% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  28%, 29.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  30% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  36% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  44% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  45%, 49% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  58%, 59.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  60% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  66% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  74% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  75%, 79% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  100%, 88% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
}
@keyframes nudgeMouse {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(8px);
  }
  30% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(8px);
  }
  90% {
    transform: translateY(0);
  }
}
@keyframes nudgeText {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(2px);
  }
  30% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(2px);
  }
  90% {
    transform: translateY(0);
  }
}
@keyframes colorText {
  21% {
    color: #4e5559;
  }
  30% {
    color: #ffffff;
  }
  51% {
    color: #4e5559;
  }
  60% {
    color: #ffffff;
  }
  81% {
    color: #4e5559;
  }
  90% {
    color: #ffffff;
  }
}

img {
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.05538em;
  padding-bottom: 0.3em;
  color: black;
   font-weight: 600;
}
h1 b,
h1 strong,
h2 b,
h2 strong,
h3 b,
h3 strong,
h4 b,
h4 strong,
h5 b,
h5 strong,
h6 b,
h6 strong {
  font-weight: 600;
}
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  color: #333030;
}

html body {
  color: #8A8A8A;
  font-size: 15px;
  line-height: 1.8rem;
    font-family: "Poppins", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 3.3rem;
  padding-bottom: 1rem;
  letter-spacing: -1px;
  font-weight: 600;
}

h2 {
  font-size: 2.6rem;
  line-height: 3rem;
  padding-bottom: 12px;
  margin-bottom: 0;
  padding-top: 10px;
}

h4 {
  font-size: 1.55rem;
  line-height: 2.05rem;
  padding: 0;
  margin-bottom: 0.1rem;
}

h5 {
  color: #333030;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 1rem;
  letter-spacing: 1.5px;
}

#portfolio {
  margin-top: 0;
}
p, li {
  color: #333030;
  font-size: 18px;
}
p.lead, li.lead {
  color: black;
  font-weight: 600;
  line-height: 2.04rem;
}
p b,
p strong, li b,
li strong {
  color: black;
  font-weight: 600;
}
p + ul, li + ul {
  margin-top: -1rem;
}

.experience__company,
.skills__date {
  color: black;
  font-size: 16px;
  font-weight: 400;
}

.experience__date,
.skills__degree {
  font-size: 16px;
}

.btn {
  text-transform: uppercase;
  border-width: 1px;
  letter-spacing: 0;
  font-weight: 400;
  padding: 1rem 3rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  min-width: 220px;
}
.portfolio .btn {
  margin-right: 0;
}
.btn.main {
  margin: 2rem auto 0;
  text-align: center;
  display: block;
  max-width: 330px;
}

.btn-frameless {
  border-color: black;
}

ul {
  padding-left: 0;
}

.shadow {
  box-shadow: 0 42px 34px -16px rgba(0, 0, 0, 0.3);
}

#about {
  padding: 40px 0 0;
  position: relative;
}
#about:after {
  content: "";
  height: 100%;
  width: 47%;
  position: absolute;
  background-color: #edf1f4;
  top: 0;
  right: 0;
  z-index: -1;
  transform: skew(-20deg);
  background: linear-gradient(-180deg, #a2a2a200, #edf1f4);
}

.footer {
  background-color: transparent;
  padding: 20px 0 10px;
}
.footer .container {
  padding: 0;
}
.footer .footer__copy {
  color: black;
}
.footer .navbar-nav .nav-item .nav-link {
  color: black;
}

.container-fluid {
  padding: 0;
}

.animateImg {
  position: relative;
  transition: 1s;
}
.animateImg img {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation-name: animation;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  z-index: 1;
  transition: all 0.5s ease 0s;
}
.animateImg img:nth-of-type(2) {
  animation-delay: 4s;
}
.animateImg img:nth-of-type(3) {
  animation-delay: 6s;
}
.animateImg img:nth-of-type(4) {
  animation-delay: 8s;
}
.animateImg img:first-of-type {
  position: relative;
  opacity: 1;
  z-index: -1;
  animation: none;
}

.secured h5 {
  padding-top: 0;
}
.secured .wrapper {
  display: flex;
  /* Use Flexbox to align items horizontally */
  align-items: flex-start;
  /* Vertically align items in the center */
  gap: 10px;
  /* Space between input and button */
}
.secured form input,
.secured form .btn {
  height: 50px;
  max-width: 393px;
  border: 1px solid;
  margin-bottom: 1rem;
  padding: 0;
  text-align: center;
  cursor: pointer;
}
.secured form input:focus {
  outline: none;
  /* Remove default focus outline */
  border-color: #007bff;
  /* Blue border color on focus */
}

.portfolio h1 {
  margin-bottom: 1rem;
}
.portfolio h4 .logo {
  max-height: 36px;
  width: auto;
}
.portfolio .info {
  display: none;
}
.portfolio .p-info {
  z-index: 99;
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .portfolio .p-info {
    left: 50px;
  }
}
.portfolio .p-info h5 {
  margin-top: 7px;
  margin-bottom: auto;
  background: #ffffff82;
  padding: 0.65rem 1.2rem 0.65rem 1.8rem;
  margin-left: -30px;
  border-radius: 0 10px 10px 0px;
  backdrop-filter: blur(27px);
}
.portfolio .p-info .btn {
  margin-bottom: 20px;
  max-width: 220px;
}
.portfolio .right .p-info {
  left: 30px;
}
@media (min-width: 992px) {
  .portfolio .right .p-info {
    left: 80px;
  }
}
@media (min-width: 992px) {
  .portfolio .right h5 {
    margin-left: -36px;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
  }
}
.portfolio .right h5 .btn {
  left: -50px;
}
.portfolio .item {
  position: relative;
  padding: 0;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .portfolio .item {
    margin-bottom: 0;
  }
}
.portfolio .item.even .hidden .row {
  flex-direction: row;
}
.portfolio .item:before {
  content: "";
  background-color: black;
  transition-duration: 0.5s;
  transition-delay: 0.1s;
  width: 0;
  height: 100%;
  right: 0;
  top: 0;
  position: absolute;
  transform: rotate(110deg) skew(-14deg);
  z-index: 0;
  transform-origin: top right;
}
.portfolio .item.even:before {
  transform: rotate(100deg) skew(14deg);
  left: 0;
  transform-origin: top left;
}
.portfolio .item .intro {
  transition: all 799.932ms ease 0s;
  transition-delay: 0.1s;
  padding: 4rem 1.5rem 2rem 3.5rem;
  text-align: right;
}
.portfolio .item .intro.even {
  text-align: left;
  padding: 4rem 3.5rem 2rem 1.5rem;
}
.portfolio .item .hidden {
  position: relative;
  z-index: 2;
  height: 0;
  opacity: 0;
  transition: 0.5s ease 0.2s;
  pointer-events: none;
}
.portfolio .item .hidden .row {
  padding-bottom: 4rem;
  flex-direction: row-reverse;
}
.portfolio .item.active:before {
  background-color: #fad033;
  width: 100%;
  transform: none;
  transition: 0.7s cubic-bezier(0.3, 0.05, 0.27, 1.55);
}
.portfolio .item.active .activate {
  display: none;
}
.portfolio .item.active .intro {
  background: white;
}
.portfolio .item.active .animateImg {
  height: 0;
  opacity: 0;
}
.portfolio .item.active .animateImg img {
  transition: 0.45s ease-in 0.17s;
  clip-path: polygon(0 0, -1400% 0, 100% 110%, 0 110%);
}
.portfolio .item.active .animateImg.even img {
  clip-path: polygon(0 0, 100% 0, 110% 100%, 1400% 0);
}
.portfolio .item.active .info {
  display: block;
  text-align: left;
  padding: 3rem 1rem 0;
}
.portfolio .item.active .info .wrapper {
  display: flex;
  margin: auto;
}
.portfolio .item.active .info .wrapper h3 {
  margin-right: 10%;
  flex-basis: 20%;
  min-width: 20%;
  text-align: left;
}
.portfolio .item.active .hidden {
  text-align: left;
  top: 0;
  opacity: 1;
  height: 100%;
  pointer-events: all;
}
.portfolio .item.active .hidden img {
  width: 100%;
  max-width: 100%;
}
.portfolio .item.active .hidden img.inline {
  max-width: 47%;
  margin: 0 1%;
  display: inline;
}

.education::before {
  right: 0;
}

.section--contact {
  background: none;
}

p.mouse {
  margin-top: 50px;
  font-family: "Cabin", sans-serif;
  letter-spacing: 12px;
  text-indent: 12px;
  color: #ffffff;
  animation: colorText 10s ease-out infinite, nudgeText 10s ease-out infinite;
}

[data-tooltip]:hover:after, [data-tooltip]:hover:before {
  display: block;
  position: absolute;
  font-size: 0.8em;
  color: white;
}
[data-tooltip]:hover:before {
  border-radius: 0.2em;
  content: attr(title);
  background-color: black;
  margin-top: -2.5em;
  padding: 0.3em;
}
[data-tooltip]:hover:after {
  content: "";
  margin-top: -2.1em;
  margin-left: 1em;
  border-style: solid;
  border-color: transparent;
  border-top-color: black;
  border-width: 0.5em 0.5em 0 0.5em;
}

.mouse {
  filter: invert(1);
  opacity: 0.5;
  background: #4e5559 linear-gradient(transparent 0%, transparent 50%, #ffffff 50%, #ffffff 100%);
  position: relative;
  width: 22px;
  height: 42px;
  border-radius: 100px;
  background-size: 100% 200%;
  animation: colorSlide 10s linear infinite, nudgeMouse 10s ease-out infinite;
}
.mouse:after, .mouse:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.mouse:before {
  width: 20px;
  height: 40px;
  background-color: #222a30;
  border-radius: 100px;
}
.mouse:after {
  background-color: #ffffff;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  animation: trackBallSlide 10s linear infinite;
}

.header {
  border-bottom: 1px solid white;
  padding-top: 0;
  transition: 1.2s;
  background: #ffffff61;
  backdrop-filter: blur(3px);
}

.header--sticky-triggered {
  border-bottom: none;
  backdrop-filter: blur(4px);
  background-color: rgba(255, 255, 255, 0.6);
}

.rad-showcase {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
  padding-top: 120px;
}

.rad-showcase + section {
  margin-top: 0;
}

@media (min-width: 992px) {
  .rad-showcase {
    min-height: 870px;
    padding-top: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  .rad-showcase {
    min-height: 870px;
    padding-top: 0;
    margin-bottom: 0;
  }

  .rad-showcase + section {
    margin-top: -125px;
  }
}
.rad-showcase {
  height: 100vh;
  min-height: initial;
  background: url("https://aminzaman.co.uk/old/img/images/bg.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}
@media (min-width: 992px) {
  .rad-showcase {
    background-size: 130vw;
    background-position: top center;
  }
}
.rad-showcase:after {
  content: "";
  height: 100vh;
  width: 100%;
  position: absolute;
  background-color: #edf1f4;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(160deg, #edf1f4, #9a939280);
}
@media (max-width: 992px) {
  .rad-showcase:after {
    background: #ffffffbf;
  }
}
.rad-showcase .container {
  position: relative;
  z-index: 2;
}
.rad-showcase .container h1 {
  line-height: 1.3;
}
.rad-showcase .container h1 span {
  display: block;
  margin-top: 5px;
  font-weight: 200;
}
.rad-showcase .container p.lead {
  width: 100%;
  font-weight: 400;
}
.rad-showcase + section {
  margin-top: 0;
}

.header .navbar-toggler:not(.nav-link) {
  top: 0;
}

.highlightbox {
  background: black;
  color: white;
  padding: 0.7rem;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

.navbar-brand {
  font-weight: bold;
  font-size: 14px;
}

@media (min-width: 992px) {
  .section .row.row--padded {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
}
.close-button {
  display: none;
  background: white;
  border-radius: 100%;
  padding: 0.5rem;
  z-index: 999;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  margin: auto;
  height: 50px;
  width: 50px;
  box-sizing: border-box;
  line-height: 50px;
}
.close-button:after, .close-button:before {
  transform: rotate(-45deg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -3px;
  margin-left: -12px;
  display: block;
  height: 6px;
  width: 26px;
  background-color: red;
  transition: all 0.25s ease-out;
}
.close-button:after {
  transform: rotate(-135deg);
}
.close-button:hover:after, .close-button:hover:before {
  transform: rotate(0deg);
}
.active .close-button {
  display: inline-block;
}

.showcase-composition {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}
.showcase-composition .link {
  background: #69cb44;
  width: 8px;
  height: 8px;
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  left: 4.1%;
  top: 1.6%;
  transition: 0.2s;
}
.showcase-composition .link:hover {
  transform: scale(1.1);
}
.showcase-composition .mouse {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  margin: auto;
  transform: scale(2);
  opacity: 0.5;
  z-index: 3;
}
.showcase-composition .showcase-browser {
  max-width: 925px;
  margin-left: 0;
}
.showcase-composition .showcase-browser .flickity-prev-next-button.next {
  right: -130px;
}
.showcase-composition .showcase-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 220px;
}
.showcase-composition .showcase-phone .flickity-page-dots,
.showcase-composition .showcase-phone .flickity-prev-next-button {
  display: none;
}

.showcase-browser {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.showcase-browser:before {
  content: "";
  display: block;
  padding-top: 3.1%;
  background: url("../img/general/browser-top.png") no-repeat;
  background-size: cover;
}
.showcase-browser .browser__content {
  position: relative;
}
.showcase-browser .browser__content:before {
  content: "";
  display: block;
  padding-top: 60%;
}
.showcase-browser .browser__content > div {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.showcase-browser .browser__content > div img {
  display: block;
}
.showcase-browser .browser__content--scrollable > div {
  overflow: auto;
}

.showcase-phone {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.showcase-phone .mouse {
  left: initial;
  right: 1rem;
}
.showcase-phone:before {
  content: "";
  display: block;
  padding-top: 29.5%;
  background: url("../img/general/phone-top.png") no-repeat;
  background-size: cover;
}
.showcase-phone:after {
  content: "";
  display: block;
  padding-top: 28.8%;
  background: url("../img/general/phone-bottom.png") no-repeat;
  background-size: cover;
}
.showcase-phone .phone__content {
  background: #2a2e35;
  position: relative;
}
.showcase-phone .phone__content:before {
  background: #212227;
  content: "";
  display: block;
  padding-top: 153%;
  margin-right: 2%;
  margin-left: 2%;
}
.showcase-phone .phone__content > div {
  position: absolute;
  padding: 0 2px;
  top: 0;
  left: 5%;
  right: 5%;
  bottom: 0;
  overflow: hidden;
  background: #292D34;
}
.showcase-phone .phone__content > div img {
  display: block;
}
.showcase-phone .phone__content--scrollable > div {
  overflow: auto;
}

.skills {
  margin-bottom: 2rem;
}
.skills:before {
  display: none;
}

.clients-container {
  background: white;
  padding: 3rem 0 4rem;
  border: 1px solid #f1f3f6;
}
.clients-container p {
  text-align: center;
  margin: 2rem 0 0;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
}
.clients-container .clients {
  margin-left: 0;
  justify-content: center;
}
.clients-container .clients__item {
  opacity: 1;
  max-width: 190px;
}

.experience-wrapper {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .clients-container .clients {
    justify-content: space-evenly;
  }

  .clients__item {
    margin-bottom: 60px;
  }

  .experience-wrapper {
    margin-top: 4rem;
  }

  #about {
    padding-top: 5rem !important;
  }

  .skills {
    padding-right: 2rem;
    margin-bottom: 4rem;
  }

  .contact {
    padding: 40px 40px 60px;
    background: none;
  }
  .contact .contact__info {
    z-index: 2;
  }
  .contact:after {
    content: "";
    height: 100%;
    width: 47%;
    position: absolute;
    background-color: #edf1f4;
    top: 0;
    right: 0;
    z-index: 0;
    transform: skew(-20deg);
  }
}
@media (max-width: 992px) {
  .showcase-composition .link {
    width: 4px;
    height: 4px;
  }

  .showcase-composition .showcase-phone {
    position: relative;
    margin-top: 20px;
  }

  h1 {
    font-size: 44px;
    margin-bottom: 0;
  }

  h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .section {
    padding-bottom: 0;
  }

  .section .row.row--padded {
    margin-top: 2rem;
    margin-bottom: -2rem;
  }

  .portfolio .item .intro {
    padding: 0 1rem 2rem;
    text-align: left;
  }
  .portfolio .item .intro h4 {
    margin: 1rem 0 0;
  }
  .portfolio .item .intro.even {
    text-align: left;
    padding: 0 1rem 3rem;
  }
  .portfolio .item.active .intro {
    order: -1;
    background: transparent;
    padding-bottom: 1rem;
  }
  .portfolio .item.active .intro .btn {
    display: none;
  }
  .portfolio .item.active .animateImg {
    display: none;
  }
  .portfolio .item.active .info {
    display: block;
    text-align: left;
    padding: 2rem 0;
  }
  .portfolio .item.active .info .wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .portfolio .item.active .info .wrapper h3 {
    margin-right: 0;
    flex: 1 0 100%;
    text-align: left;
  }
}
.takeaway.item.active:before {
  background-color: #d8d4d7;
}

.vx.item.active:before {
  background-color: #f4e2e1;
}

@media (min-width: 992px) {
  .mr-10 {
    margin-left: 20px;
  }

  .ml-10 {
    margin-left: -20px;
  }
}

/*# sourceMappingURL=custom.css.map */
