/*==================================================
  Template Name: Void 
  Description: Onepage Parallax Personal Portfolio Template
  Author: thunder-team
  Author URL: https://themeforest.net/user/thunder-team
  Version: 1.1
==================================================*/

/*==================================================

  [Table of Contents]
  --------------------------------------------------
  - body
    - Typography
    - Common 
    - Navigation
    - Homepage
      - Intro
      - About
      - Services
      - Skills
      - Portfolio
      - Testimonials
      - Timeline
      - Footer/Contact
    - Media Queries 
      - 991px
      - 767px
      - 480px
    - Preloader
    
==================================================*/
:root {
  --background-color: #ffffff;
  /* scroll-behavior: smooth; */
}

body {
  background: #fff;
  height: 100%;
  width: 100%;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #333;
}

/*==================================================
  Typography
  ==================================================*/

@font-face {
  font-family: "Ailerons";
  src: url("../fonts/Ailerons.eot"); /* IE9 Compat Modes */
  src:
    url("../fonts/Aileronsd41d.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/Ailerons.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/Ailerons.woff") format("woff"),
    /* Pretty Modern Browsers */ url("../fonts/Ailerons.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/Ailerons.svg#Ailerons")
      format("svg"); /* Legacy iOS */
}

.headline h2 {
  margin-bottom: 50px;
  font-family: "Ailerons";
  font-size: 50px;
  position: relative;
  display: inline-block;
}

.headline h2::before {
  content: "";
  background: #f9ed32;
  height: 2px;
  width: 90px;
  position: absolute;
  bottom: -25px;
  left: 0;
  transform: translateX(-50%);
}

.yellow {
  color: #f9ed32;
}

.white {
  color: #fff;
}

.grey {
  color: #b0b0b0;
  /* 6D6E71; */
}

a {
  color: #f9ed32;
}

a:hover {
  color: #d7df23;
}

a,
a:active,
a:focus {
  outline: none;
}

/*==================================================
  Common
  ==================================================*/

section {
  position: relative;
}

.container {
  max-width: 1030px;
  position: relative;
}

.wrapper {
  padding-top: 120px;
  position: relative;
}

.btn-primary {
  background: #f9ed32;
  border: 2px solid #f9ed32;
  padding: 6px 30px;
  font-family: "Ailerons";
  color: #fff;
  font-size: 25px;
  border-radius: 0;
  margin-bottom: 20px;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: #d7df23;
  border: 2px solid #d7df23;
  color: #fff;
  transition: all 0.5s;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #f9ed32;
  padding: 6px 30px;
  font-family: "Ailerons";
  color: #f9ed32;
  font-size: 25px;
  border-radius: 0;
  margin-bottom: 20px;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  background: transparent;
  border: 2px solid #d7df23;
  color: #d7df23;
  transition: all 0.5s;
}

.form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-bottom: 2px solid #f5f5f5;
  border-radius: 0;
  font-size: 15px;
}

ul.element-scroll-parallax li {
  list-style: none;
  position: absolute;
  z-index: 999;
}

.marginless {
  margin: 0 !important;
}

.overflow-h {
  overflow: hidden;
}

/*==================================================
  Navigation
  ==================================================*/

#header.on-scroll {
  left: 0;
  position: fixed;
  right: 0;
  transform: translateY(-50px);
  transition: all 0.5s ease-in-out 0s;
  visibility: hidden;
  z-index: 1001;
}
#header.on-scroll.visible {
  transform: translateY(0px);
  visibility: visible;
}

nav.nav-center-aligned {
  background: #1c1c1c;
  border: 0;
  border-radius: 0;
}

nav.nav-center-aligned .navbar-collapse {
  text-align: center;
}

nav.nav-center-aligned .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

nav.nav-center-aligned .navbar-nav li:last-child::after {
  content: none;
}

nav.nav-center-aligned .navbar-nav li a {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  /* padding: 25px 20px 0 20px; */
  padding-left: 20px;
  padding-right: 20px;
}

nav.nav-center-aligned .navbar-nav li a:hover,
nav.nav-center-aligned .navbar-nav li a:focus,
nav.nav-center-aligned .navbar-nav li a:active {
  color: #f9ed32;
  transition: all 1s;
}

nav.nav-center-aligned .navbar-nav li.active a,
nav.nav-center-aligned
  .navbar-nav
  li.active
  a:hover
  nav.nav-center-aligned
  .navbar-nav
  li.active
  a:active,
nav.nav-center-aligned .navbar-nav li.active a:focus {
  background: transparent !important;
  color: #f9ed32 !important;
  transition: all 0.2s;
}

nav.nav-center-aligned .navbar-nav li a span {
  position: absolute;
  font-size: 11px;
  top: 5px;
  left: 15px;
  color: #6d6e71;
}

nav.nav-center-aligned .navbar-collapse,
nav.nav-center-aligned .navbar-toggle {
  border: 0;
}

nav.nav-center-aligned .navbar-toggle:focus,
nav.nav-center-aligned .navbar-toggle:hover {
  background: transparent;
}

nav.nav-center-aligned .menu-sign {
  color: #6d6e71;
  font-size: 16px;
  font-weight: 700;
}

nav.nav-center-aligned .menu-sign img {
  margin-left: 10px;
}

/*==================================================
Intro Section
==================================================*/
/* f0f3ff */
#intro {
  background: #1c1c1c;
  text-align: center;
  position: relative;
  min-height: auto;
  overflow: hidden;
}

/* Background div (blurred) */
.intro-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../background/1.jpg);
  filter: blur(5px);
  transform: scale(1.1);
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.content {
  position: relative;
  z-index: 1; /* Keeps text above the blurred background */
}

#intro::after {
  content: "";
  background: rgba(249, 237, 50, 0.3);
  position: absolute;
  width: 335px;
  height: 60px;
  left: 50%;
  bottom: -60px;
}

h1.name {
  font-family: "Ailerons";
  font-size: 210px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

h2.name {
  font-family: "Ailerons";
  font-size: 70px;
  color: #fff;
  text-align: center;
}

.my-info {
  margin-left: 40px;
  top: 20em;
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: self-start;
}

.my-info h3 {
  font-family: "Ailerons";
  color: #fff;
}

.my-info .desc {
  margin-top: -5px;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.yellow-box {
  background: rgb(235, 225, 72);
  height: 100%;
  width: 335px;
  position: absolute;
  left: 50%;
}

.main-image {
  width: 50em;
  opacity: 1;
  float: right;
}

.get-started {
  color: #dad032;
  border: 2px solid #dad032;
  margin-left: 15px;
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 1400px) {
  .main-image {
    width: 44em; /* Adjust width for medium screens */
    margin-top: 5em !important;
  }
}


@media (max-width: 1080px) {
  .my-info {
    margin-left: 0;
    top: 35em;
    position: relative;
    display: flex;
    justify-content: center; /* Centering the content */
    flex-direction: column;
    align-items: center; /* Centering content on smaller screens */
  }

  .main-image {
    width: 36em; /* Adjust width for medium screens */
    margin-top: 3em !important; /* Adjust spacing for the image */
    float: none;
  }

  h2.name {
    font-size: 40px; /* Slightly smaller for medium screens */
    text-align: center; /* Center the name text */
  }

  .desc {
    font-size: 18px; 
    margin-left: 0px !important;
  }

  .get-started {
    align-self: center; /* Center the button */
    margin-top: 20px;
    margin-left: 0px
  }
}

@media (max-width: 768px) {
  .my-info {
    top: 25em;
    align-items: center;
    margin: auto;
  }

  .main-image {
    width: 28em !important;
    margin-top: 4em;
    float: none;
  }

  h2.name {
    font-size: 30px;
    text-align: center;
  }

  .desc {
    font-size: 16px;
    text-align: center;
    margin-left: 0px !important;
  }

  .get-started {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .my-info {
    top: 25em;
    align-items: center;
    margin: auto;
  }

  h2.name {
    font-size: 2em;
    text-align: center;
  }

  .main-image {
    width: 24em;
    margin-top: 2em;
    float: none;
  }

  .desc {
    font-size: 14px;
    text-align: center;
    margin-top: 2px;
  }

  .get-started {
    align-self: center;
    margin-top: 15px;
  }
}


/*Positioning the Hover Scene Layers*/

ul#scene {
  padding: 0;
  text-align: center;
  margin: 0;
}

ul#scene li {
  position: relative;
  width: 100%;
  height: 100%;
}

ul#scene li img {
  margin: auto;
}

ul#scene li:nth-child(3) img {
  /* position: absolute;
  left: 0;
  right: 0; */
  float: right;
  margin: auto;
  /* bottom: -40px; */
}

ul#scene li:nth-child(4) img {
  /* position: absolute;
  left: 0;
  right: 0; */
  float: left;
  margin: auto;
  /* top: 60px; */
}

.character {
  width: 58em;
  margin-top: 4em !important;
  margin-left: -4em !important;
  margin-right: -4em !important;
}

.main-logo {
  width: 35em;
}

ul#scene li:nth-child(6) .my-info {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 150px;
}

ul#scene li:nth-child(7) img {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 120px;
  z-index: 10;
}

/*==================================================
About Section
==================================================*/

#about {
  padding-bottom: 120px;
}

/*My Photo*/

.photo-block {
  text-align: center;
}

.photo-block .photo {
  text-align: center;
  position: relative;
  z-index: -10;
}

.photo-block .photo img.photo-frame {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: -30px;
}

.photo-block .photo img.my-photo {
  width: 320px;
  margin: auto;
  position: relative;
}

.link-empty {
  text-decoration: none;
}

/*Social Links*/

.photo-block ul.social-link {
  margin: -20px 0 0;
  z-index: 10;
}

.photo-block ul.social-link a img {
  transform: scale(1);
  transition: 1s;
}

.photo-block ul.social-link li:first-child img,
.photo-block ul.social-link li:last-child img {
  margin-top: -20px;
}

.photo-block ul.social-link a:hover img {
  transform: scale(1.2);
  transition: 1s;
}

/*Action buttons*/

.text-me ul.actions {
  margin-top: 40px;
}

.text-me ul.actions li button {
  min-width: 170px;
}

/*Positioning the Parallax Elements*/

#about .photo-block ul.element-scroll-parallax li:nth-child(1) {
  left: -10px;
  right: 0;
  top: -50px;
  z-index: -1;
  margin: auto;
}

/*==================================================
Services Section
==================================================*/

/*Service bg*/

.service-background .violate {
  height: 91em;
  width: 40%;
  background: #662d91;
  position: absolute;
  left: 0;
  z-index: 100;
}

.service-background .violate::after {
  content: "";
  border-color: #662d91 transparent transparent;
  border-style: solid;
  border-width: 1275px 200px 0 0;
  position: absolute;
  top: 0;
  right: -200px;
  z-index: 100;
}

.service-background .dark {
  height: 91em;
  width: 72%;
  background: #191919;
  position: absolute;
  right: 0;
  float: right;
  position: relative;
  margin-top: 80px;
  z-index: -100;
}

.service-background .dark::after {
  border-color: #fff transparent transparent;
  border-style: solid;
  border-width: 1290px 193px 0px 0px;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
}

/*Service Contents*/

.service-contents {
  position: absolute;
  top: 180px;
  z-index: 100;
  width: 100%;
}

.service-contents .service-item {
  margin-bottom: 30px;
}

.service-contents .service-item span.service-icon {
  float: left;
  color: #f9ed32;
  font-size: 40px;
  margin-top: -4px;
}

.service-contents .service-item .item-info {
  margin-left: 70px;
}

/*Positioning the Parallax Elements*/

#services ul.element-scroll-parallax li:nth-child(1) {
  left: 45%;
}

#services ul.element-scroll-parallax li:nth-child(2) {
  right: 0;
  bottom: 0;
}

#services ul.element-scroll-parallax li:nth-child(3) {
  right: 0;
  bottom: 0;
  z-index: -2;
}

#services ul.element-scroll-parallax li:nth-child(4) {
  right: 3%;
  top: 2%;
  z-index: -1;
}

/*==================================================
Skills Section
==================================================*/

.photo-skills {
  position: relative;
}

.photo-skills::before {
  background: #191919;
  content: "";
  height: 85%;
  left: -10px;
  position: absolute;
  top: 7%;
  width: 90%;
  z-index: -1;
}

.skillset {
  padding-top: 50px;
}

.skillset .skillbar {
  width: 100%;
  border-radius: 4px;
  background-color: #191919;
  position: relative;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.skillset .count-bar {
  background: #f9ed32;
  height: 7px;
  position: relative;
  width: 0px;
  border-radius: 4px 0 0 4px;
}

.skillset .title {
  position: absolute;
  top: -25px;
  left: 0;
  padding-left: 10px;
}
.skillset .count-bar .count {
  position: absolute;
  top: -25px;
  right: 0;
}

/*==================================================
Projects Section
==================================================*/

#folio {
  text-align: center;
}

/*Portfolio Menu*/

ul.folio-menu {
  margin-bottom: 30px;
  text-align: center;
}

ul.folio-menu li {
  padding: 0 20px;
  position: relative;
  cursor: pointer;
}

ul.folio-menu li::after {
  content: "";
  background: none;
  height: 20px;
  width: 1px;
  border-right: 2px solid #f9ed32;
  position: absolute;
  right: -1px;
  top: 5px;
}

ul.folio-menu li:last-child::after {
  content: none;
}

/*Portfolio Grids*/

#portfolio {
  margin: 1rem 0;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  -webkit-column-width: 33.33333333333333%;
  -moz-column-width: 33.33333333333333%;
  column-width: 33.33333333333333%;
}
.tile {
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 350ms ease;
  transition: all 350ms ease;
}

.scale-anm {
  transform: scale(1);
}

.tile img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  cursor: pointer;
}

.modal-content {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.modal-content img {
  margin: auto;
}

/*==================================================
Testimonials Section
==================================================*/

#testimonials {
  background: #f9ed32;
  text-align: center;
}

.white-bg {
  background: #fff;
  position: relative;
}

.white-bg::after {
  content: url("../media/designer/comma.png");
  position: absolute;
  bottom: -70px;
  left: 0;
  right: 0;
  margin: auto;
  display: block;
}

/*Testimonials Slider*/

.carousel {
  z-index: 2;
}

#carousel-testimonials .item .testimonial-client {
  margin-bottom: 40px;
}

#carousel-testimonials .item .testimonial-client .client-photo {
  position: relative;
}

#carousel-testimonials .item .testimonial-client .client-photo img.img-circle {
  max-width: 120px;
  border: 1px solid #f5f5f5;
  padding: 5px;
}

#carousel-testimonials .item .testimonial-client .client-photo span.quote {
  background: #662d91;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  line-height: 33px;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  bottom: -10px;
}

#carousel-testimonials .item blockquote {
  background: transparent;
  max-width: 650px;
  font-style: italic;
  border: 2px solid #f9ed32;
  color: #333;
  font-size: 16px;
  border-radius: 4px;
  padding: 40px;
  margin: auto;
  position: relative;
}

#carousel-testimonials .item blockquote::before {
  border-bottom: 20px solid #f9ed32;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: -20px;
  width: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.carousel-indicators {
  position: static;
  margin-left: 0px;
  width: 100%;
}

.carousel-indicators li {
  border: 1px solid #f9ed32;
}

.carousel-indicators .active {
  background: #f9ed32;
}

/*Positioning Parallax Elements*/

#testimonials ul.element-scroll-parallax li:nth-child(1) {
  left: 0;
  right: 0;
  top: 25%;
  margin: auto;
}

#testimonials ul.element-scroll-parallax li:nth-child(2) {
  bottom: 0;
  right: 18%;
}

#testimonials ul.element-scroll-parallax li:nth-child(3) {
  left: 20%;
}

#testimonials ul.element-scroll-parallax li:nth-child(4) {
  bottom: 0;
  left: 6%;
}

/*==================================================
Timline Section
==================================================*/

#timeline {
  text-align: center;
  padding-bottom: 120px;
}

.timeline-contents {
  position: relative;
  padding: 30px 0;
}

.timeline-contents::after {
  content: "";
  background: #f9ed32;
  width: 2px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  height: 100%;
}

.event-item {
  margin-bottom: 50px;
}

.timeline-contents .event-item .duration-left {
  background: #191919;
  padding: 2px 30px;
  color: #fff;
  text-align: right;
  border-radius: 20px;
  margin-right: 15px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  float: right;
}

.timeline-contents .event-item .duration-left::after {
  background: #f9ed32 none repeat scroll 0 0;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
  height: 20px;
  position: absolute;
  width: 20px;
  right: -40px;
  z-index: 1;
  top: 5px;
}

.timeline-contents .event-item .event-description-right {
  text-align: left;
  margin-left: 15px;
  float: left;
}

.timeline-contents .event-item .duration-right {
  background: #191919;
  padding: 2px 30px;
  color: #fff;
  text-align: left;
  border-radius: 20px;
  margin-left: 15px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  float: left;
}

.timeline-contents .event-item .duration-right::after {
  background: #f9ed32 none repeat scroll 0 0;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
  height: 20px;
  position: absolute;
  width: 20px;
  left: -40px;
  z-index: 1;
  top: 5px;
}

.timeline-contents .event-item .event-description-left {
  text-align: right;
  margin-right: 15px;
  float: right;
}

.timeline-contents .event-item .event-description-right h4,
.event-description-left h4 {
  margin-top: 0;
  font-weight: 600;
}

/*==================================================
Footer
==================================================*/

#footer {
  background: #191919;
  position: relative;
}

form.contact-form {
  margin-top: 40px;
}

form.contact-form .form-group {
  margin-bottom: 30px;
}

form.contact-form .form-group .form-control {
  border-bottom: 2px solid rgba(249, 237, 50, 0.2);
}

#footer button.btn-more {
  width: 100%;
}

.contact-info {
  background: #662d91;
  height: 750px;
  width: 100%;
  position: relative;
  top: -180px;
  padding: 220px 40px;
  color: #fff;
}

.contact-info .contact-detail {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid #191919;
}

.contact-info .contact-detail .reach {
  margin-bottom: 30px;
}

ul.social-icons {
  margin-left: 30px;
}

ul.social-icons li {
  background: transparent;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 4px;
  margin: 3px;
  text-align: center;
}

ul.social-icons li a {
  color: #fff;
  font-size: 15px;
  line-height: 30px;
}

ul.social-icons li a:hover {
  color: #f9ed32;
  transition: all 1s;
}

/*Positioning Parallax Elements*/

#footer ul.element-scroll-parallax li:nth-child(1) {
  left: 0;
}

#footer ul.element-scroll-parallax li:nth-child(2) {
  right: 8%;
  bottom: 10%;
}

#footer ul.element-scroll-parallax li:nth-child(3) {
  right: 50%;
  bottom: 5%;
}

/*==================================================
 Media Queries
==================================================*/

@media only screen and (max-width: 1600px) {
  .service-background .violate {
    width: 38%;
  }
}

@media only screen and (max-width: 1500px) {
  .service-background .violate {
    width: 37%;
  }
}

/*==================================================
 CSS for width 991px
==================================================*/

@media only screen and (max-width: 991px) {
  /* Intro Section-----------------------------------------------------------------------------------------------------------------------------------*/
  h1.name {
    font-size: 150px;
  }

  /* About Section-----------------------------------------------------------------------------------------------------------------------------------*/
  #about {
    text-align: center;
  }

  /* Services Section -----------------------------------------------------------------------------------------------------------------------------------*/
  #services {
    background: #191919;
    padding-bottom: 80px;
  }
  #services .service-contents {
    position: relative;
    top: 0;
  }
  #services .service-contents .col-md-4 {
    margin-bottom: 50px;
  }

  /* Skills Section -----------------------------------------------------------------------------------------------------------------------------------*/
  .photo-skills::before {
    content: none;
  }
  #skills img.img-skills {
    margin: 0 auto 50px;
  }

  /* Footer -----------------------------------------------------------------------------------------------------------------------------------*/
  .contact-info {
    top: 0;
  }
}

/*==================================================
 CSS for width 767px
==================================================*/

@media only screen and (max-width: 1024px) {
  #intro {
    height: 100vh;
  }

  ul#scene {
    height: 100vh;
  }

  ul#scene li:nth-child(7) {
    margin-top: 15em !important;
    /* display: none !important; */
    width: 10em;
  }

  ul#scene li:nth-child(5) {
    margin-top: 15em !important;
    /* display: none !important; */
    width: 10em;
  }

  .main-logo {
    margin-top: 1em !important;
    width: 24em;
  }

  .character {
    width: 35em !important;
    margin-top: 4em !important;
    margin-left: -3em !important;
    margin-right: -3em !important;
  }
}

@media only screen and (max-width: 768px) {
  #intro {
    height: 100vh;
  }

  ul#scene {
    height: 100vh;
  }

  nav.nav-center-aligned .navbar-collapse {
    text-align: left;
  }
  nav.nav-center-aligned .navbar-nav li::after {
    content: none;
  }
  nav.nav-center-aligned .navbar-collapse {
    max-height: 100%;
  }

  /* Intro Section -----------------------------------------------------------------------------------------------------------------------------------*/
  #intro::after {
    left: 0;
    right: 0;
    margin: auto;
  }
  h1.name {
    font-size: 100px;
  }
  ul#scene li:nth-child(4) img {
    width: 450px;
  }
  .yellow-box {
    left: 0;
    right: 0;
    margin: auto;
  }

  ul#scene li:nth-child(7) {
    margin-top: 6em !important;
    /* display: none !important; */
    width: 10em;
  }

  ul#scene li:nth-child(5) {
    margin-top: 6em !important;
    /* display: none !important; */
    width: 10em;
  }

  .main-logo {
    margin-top: 1em !important;
    width: 24em;
  }

  .character {
    width: 28em !important;
    margin-top: 10em !important;
    margin-left: -4em !important;
    margin-right: -4em !important;
  }

  /* Folio Section -----------------------------------------------------------------------------------------------------------------------------------*/
  #folio #portfolio {
    margin: 1rem 0;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 50%;
    -moz-column-width: 50%;
    column-width: 50%;
  }

  /* Timeline Section -----------------------------------------------------------------------------------------------------------------------------------*/
  .timeline-contents::after {
    margin: 0;
  }
  .event-item .duration {
    float: left !important;
    margin: 0 0 30px 15px !important;
    text-align: left !important;
    position: relative;
  }
  .event-item .duration::after {
    left: -24px !important;
  }
  .event-item .event {
    text-align: left !important;
    margin-left: 15px;
  }
}

/*==================================================
 CSS for width 480px
==================================================*/

@media only screen and (max-width: 480px) {
  /* Intro Section -----------------------------------------------------------------------------------------------------------------------------------*/
  #intro::after {
    width: 150px;
  }

  #intro {
    min-height: 100vh;
  }
  .yellow-box {
    width: 150px;
  }
  h1.name {
    font-size: 50px;
  }
  /* ul#scene li:nth-child(4) img {
    width: 100px;
  } */
  ul#scene li:nth-child(6) .my-info {
    bottom: 50px;
  }

  ul#scene {
    min-height: 100vh;
  }

  ul#scene li:nth-child(7) {
    margin-top: 19em !important;
    /* display: none !important; */
    width: 10em;
  }

  ul#scene li:nth-child(5) {
    margin-top: 19em !important;
    /* display: none !important; */
    width: 10em;
  }

  .main-logo {
    margin-top: 4em !important;
    width: 24em;
  }

  .character {
    min-height: 60vh !important;
    width: 28em !important;
    margin-top: 24em !important;
    margin-left: -8em !important;
    margin-right: -8em !important;
  }

  /* About Section -----------------------------------------------------------------------------------------------------------------------------------*/
  .photo-block .photo img.my-photo {
    width: 220px;
  }
  .photo-block .photo img.photo-frame {
    width: 260px;
    top: -20px;
  }
  .photo-block ul.social-link li {
    padding: 0;
  }

  /* Portfolio Section -----------------------------------------------------------------------------------------------------------------------------------*/
  ul.folio-menu li {
    display: block;
    text-align: left;
  }
  ul.folio-menu li::after {
    content: none;
  }
  #folio #portfolio {
    margin: 1rem 0;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 100%;
    -moz-column-width: 100%;
    column-width: 100%;
  }
}

/*==================================================
 Preloader CSS
==================================================*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  z-index: 9999999;
}

.sk-cube-grid {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #f9ed32;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }
  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }
  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

/*====================================================================================The End====================================================================================*/

/*==================================================
  Buy Now Button
==================================================*/

.btn-buy {
  background: #333;
  padding: 10px 30px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  color: #82b541;
  font-weight: 700;
  font-style: italic;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.btn-buy:hover,
.btn-buy:active,
.btn-buy:focus {
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: all 1s;
}

.btn-buy .italy {
  font-size: 13px;
  font-style: italic;
  margin-right: 5px;
  color: #fff;
}

.btn-buy .price {
  position: relative;
  margin-left: 15px;
  color: #82b541;
}

.btn-buy .price::before {
  content: "";
  background: rgba(255, 255, 255, 0.9);
  height: 15px;
  width: 1px;
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0 0 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  background-color: var(--surface-color);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.portfolio .portfolio-content .glightbox {
  height: 200px;
  background-color: #dedede;
}

.portfolio .portfolio-content img {
  top: 31px;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.portfolio .portfolio-content .portfolio-info {
  background-color: var(--background-color);
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 25px 20px;
  position: relative;
  z-index: 2;
  text-align: start;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-content .portfolio-info h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

.portfolio a {
  text-decoration: none;
  color: black !important;
  text-align: start;
}

.portfolio-item {
  height: 430px;
  margin-top: 20px;
}

.techstacks {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

.folioDesc {
  height: 115px;
}

.techstacks-item {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 20px;
}

.foliohr {
  margin-top: 0px !important;
  margin-bottom: 0 !important;
}
