/* General styles */

body {
  font-family: 'Inter', sans-serif;
  color: #0d1e2d;
}

a {
  color: #9d3fff;
  text-decoration: none;
}

.alt-link {
  color: #000;
}

a:hover {
  color: #000;
}

h1 {
  font-weight: 700;
  /*text-transform: uppercase;*/
  font-size: 6rem;
  line-height: 6.6rem;
}

h1.home-title {
  font-weight: 700;
  /*text-transform: uppercase;*/
  font-size: 8rem;
  line-height: 9.6rem;
}

h2 {
  font-size: 4rem;
}


@media (max-width:481px)  {
  h1 {
    font-size: 3rem;
    line-height: 3.6rem;
  }

  h1.home-title {
    font-size: 4rem;
    line-height: 4.6rem;
  }

  h2 {
    font-size: 3rem;
    line-height: 3.6rem;
  }
}

p {
  font-size: 20px;
}

.container {
  padding: 0 2rem;
}

.sub-heading {
  font-size: 1.8rem;
}

.section {
  padding: 7rem 0;
}

.filters a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.item .item-wrap>.work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap>.work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.h3 {
  font-size: 20px;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

.custom-button {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 15px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  transition: 0.2s all ease;
  font-weight: 700;
}

.custom-button:active,
.custom-button:focus,
.custom-button:hover {
  outline: none;
}

.custom-button:hover {
  color: #fff;
  text-decoration: none;
  background: #000;
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

/* Navbar */

.custom-navmenu {
  background: #000000;
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-navmenu .custom-menu li {
  margin-bottom: 0;
  font-size: 20px;
}

.custom-navmenu .custom-menu li a {
  color: #fff;
  padding: 10px 0 !important;
  font-size: 2.5rem;
}

.custom-navmenu .custom-menu li a:hover {
  text-decoration: none;
}

.custom-navmenu .custom-menu li.active a {
  text-decoration: underline;
}

.custom-navmenu h3 {
  font-size: 20px;
  color: #fff;
}

.custom-navmenu p {
  color: rgba(255, 255, 255, 0.6);
}

.custom-navmenu a {
  color: rgba(255, 255, 255, 0.7);
}

.custom-navmenu a:hover {
  color: #fff;
}

.navbar {
  border-bottom: 1px solid #000;
}

.custom-navbar {
  padding: 50px 2rem;
  width: 100%;
}

@media (max-width: 780px) {
  .custom-navbar>.container {
    padding-right: 0;
    padding-left: 0;
  }
}

.custom-navbar .navbar-brand {
  font-size: 1.7rem;
}

/* Hamburger menu */
.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.burger:before,
.burger span,
.burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: #000;
  border-radius: 2px;
  position: absolute;
  opacity: 1;
}

.burger:before,
.burger:after {
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: "";
}

.burger:before {
  top: 4px;
}

.burger span {
  top: 15px;
}

.burger:after {
  top: 26px;
}

/* Hover */
.burger:hover:before {
  top: 7px;
}

.burger:hover:after {
  top: 23px;
}

/* Click */
.burger.active span {
  opacity: 0;
}

.burger.active:before,
.burger.active:after {
  top: 40%;
}

.burger.active:before {
  transform: rotate(45deg);
}

.burger.active:after {
  transform: rotate(-45deg);
}

.burger:focus {
  outline: none;
}

/* Skills */

.skills {
  border: 1px solid;
}

/* Footer */

.footer {
  padding: 4rem 0 4rem 0;
  background-color: #fff;
}

.footer a {
  color: #000;
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  position: relative;
  text-align: center;
  color: #0d1e2d;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #000;
}


/* Background gradient */

.grainy-gradient-intro:before {
  background: #c3ccea;
  filter: url(#f);
}
.grainy-gradient-intro:before, .grainy-gradient-intro:after {
  position: fixed;
  inset: 0;
  z-index: -1;
  --grad: radial-gradient(at 50%, red, rgba(255, 0, 0, 0.3) 55%, transparent 80%);
  --mask: var(--grad), var(--grad);
  -webkit-mask: var(--mask);
  -webkit-mask-composite: source-in;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-composite: source-in, xor;
  mask-composite: intersect;
  mix-blend-mode: unset;
  content: "";
}

.grainy-gradient-intro:after {
   background: linear-gradient(
90deg, #760dfe 20%, #a8ebe3, #fd9900);
}

/* Dark background theme */

.dark-bg-theme {
  background-color: #000;
  color: #fff;
}

.dark-bg-theme .list-line li:before {
  background: #fff;
}

/* Animation */

.wordCarousel .animation-area {
  overflow: hidden;
  position: relative;
  height: 10rem;
  padding-top: 10px;
  margin-top: -10px;
}

.wordCarousel .animation-area ul {
  padding: 0;
}

.wordCarousel .animation-area li {
  font-weight: 700;
  height: 6rem;
  margin-bottom: 90px;
  display: block;
}

@media only screen and (max-width: 600px) {
  .wordCarousel .animation-area {
      height: 6rem;
  }
}

.flip2 { animation: flip2 6s cubic-bezier(0.23, 1, 0.32, 1.2) infinite; }

@keyframes flip2 {
  0% { margin-top: -360px; }
  5% { margin-top: -180px;  }
  50% { margin-top: -180px; }
  55% { margin-top: 0px; }
  99.99% { margin-top: 0px; }
  100% { margin-top: -360px; }
}

/* Coding */

.coding-work_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}
.coding-work_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}
.coding-work-item_link {
  display: block;
  padding: 30px 20px;
  overflow: hidden;
  position: relative;
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgb(19, 19, 19) 0%, rgba(46, 147, 170, 0.26) 100%);
}
.coding-work-item_link:hover,
.coding-work-item_link:hover .coding-work-item_date {
  text-decoration: none;
  color: #FFF;
}
.coding-work-item_link:hover .coding-work-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.coding-work-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 30px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.coding-work-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.coding-work-item_date {
  font-weight: bold;
  color: #f9b234;

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.coding-work-item_bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.coding-work_item:nth-child(2n) .coding-work-item_bg {
  background-color: #3ecd5e;
}
.coding-work_item:nth-child(3n) .coding-work-item_bg {
  background-color: #e44002;
}
.coding-work_item:nth-child(4n) .coding-work-item_bg {
  background-color: #952aff;
}
.coding-work_item:nth-child(5n) .coding-work-item_bg {
  background-color: #cd3e94;
}
.coding-work_item:nth-child(6n) .coding-work-item_bg {
  background-color: #4c49ea;
}



@media only screen and (max-width: 979px) {
  .coding-work_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .coding-work-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 639px) {
  .coding-work_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .coding-work-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .coding-work-item_link {
    padding: 22px 40px;
  }
  .coding-work-item_date-box {
    font-size: 16px;
  }
}

/* Google certificate */

.google-certificate {
  padding: 24px 32px;
  /*background-color: #ffffff80;*/
  background: rgb(238,238,238);
  background: linear-gradient(90deg, rgba(238,238,238,0.3) 0%, rgba(255,255,255,0) 100%);
  width: fit-content;

  p {
    margin: 0;
  }
}

/* Responsive videos */

iframe {
  aspect-ratio: 16 / 9;
  width: 100% !important;
}