/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #161515;
  margin: 0;
  padding: 0;
}

a {
  color: #2d72a0;
  text-decoration: none;
}

a:hover {
  color: #2444d3c9;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,

h6 {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-snap-type: y mandatory;
}


section {
  scroll-snap-align: center;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #b32b2b;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #b32b2b;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #000000;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 100px;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 19px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #13151d;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu li .sub-menu{
  transition: all 1s;
  padding: 0px 0px 0px 32px;
  background: #000000;
  overflow: hidden;
  max-height:0;
}

.nav-menu li .icon-link{
  display: flex;
  align-items: right;
  justify-content: space-between;
}

.nav-menu li .icon-link .arrow{
  color: #7c7878;
  margin: 0px 0px 4px 110px;
  font-size: 20px;
}

.nav-menu .showMenu .sub-menu{
  max-height: 1000px;
}

.nav-menu li.showMenu i.arrow{
  transform: rotate(90deg);
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 5px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #b32b2b;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #b32b2b;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 20px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #272626;
}

.section-title h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
  color: #000000;
}

.section-title h2::after, 
.section-title h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #272626;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 18px 0;
  background: #222121;
}

.breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #b32b2b;
  text-decoration: none;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  font-family: "Kanit", sans-serif;
  margin: 0;
  padding-left: 30px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-right: 30px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
  color: #ffffff;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #ffffff;
  content: "/";
}

@media (max-width: 1205px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Skills Sections
--------------------------------------------------------------*/
.row-pb-md {
  padding-bottom: 4em !important;
}

.js .animate-box {
  opacity: 0;
}

.col-padding {
  padding: 6px !important;
  margin: 0px !important;
}
.progress-wrap {
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

.progress-wrap h3 {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
  float: left;
  width: 100%;
}

.progress-wrap h3 .name-left {
  float: left;
}

.progress-wrap h3 .value-right {
  float: right;
}

.progress {
  width: 100%;
  float: left;
  height: 5px;
  box-shadow: none;
}

.progress-bar {
  background-color: #3d3b3b;
  height: 5px;
  display: block;
  box-shadow: none;
}

.chart {
  width: 130px;
  height: 120px;
  padding-top: 5px;
  position: relative;
  text-align: center;
}

.chart span {
  position: absolute;
  top: 33%;
  left: 0;
  width: 100%;
  font-size: 14px;
}

.chart span strong {
  display: block;
}

.chart i {
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

#fh5co-skills {
  padding-top: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #000000;
}

#footer .copyright {
  padding-top: 5px;
  text-align: center;
  font-size: 16px;
  color: #969696;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}

/*--------------------------------------------------------------
# Resume Viewer Settings
--------------------------------------------------------------*/

#pdf {
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
}

#hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
}

#hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  font-size: 26px;
  font-family: "Kanit", sans-serif;
}

#hero i {
  padding-top: 20px;
  color: #6d6a6a;
  font-size: 26px;
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #b32b2b;
}

#hero .hero-container {
  position: relative;
  min-width: 300px;
  text-align: center;
  background-color: #000000;
  height: 100vh;
  width: 100%;
}

/*--------------------------------------------------------------
# Swipers
--------------------------------------------------------------*/
 
.section-swiper {
  width: 30%;
  height: 30%;
  margin-bottom: 30px;
}

.section-swiper img {
  width: 100%;
  height: 100%;
}

.img-slide p {
  padding: 10px;
  font-family: "Kanit", sans-serif;
  font-style: italic;
  font-size: 12px;
  text-align: center;
}

/*--------------------------------------------------------------
# Extras
--------------------------------------------------------------*/

.info-block {
  padding-top: 10px;
}

.info-block h6 {
  text-align: center;
}

#details {
  padding: 0px;
  padding-bottom: 30px;
  margin: 0px;
}

#details-title {
  padding-bottom: 0px;
}

.details-container p {
  font-family: "Kanit", sans-serif;
  font-size: 15px;
}