/*---------------------------------------------------------------

    Project Name: Walter | Creative Personal HTML Template
    File Name: style.css
    Author: Khai Tawng
    Author URI: http://khaitawng.com
    Version: 1.0.0

  ------------------------------------------------------------------*/
/*----------------------------------------------------------------

  // Table of contents //

    - BODY
    - TYPOGRAPHY
    - GENERAL
    - BUTTONS
    - PRE LOADER
    - MENU BAR
    - HOME
    - ABOUT
    - CLASS
    - GALLERY
    - CONTACT
    - FOOTER
    - RESPONSIVE STYLES

  ------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600');

body {
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  line-height: inherit;
}

h1 {
  color: #292929;
  font-size: 4em;
  margin-bottom: 30px;
}

h2 {
  color: #393939;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
}

h3 {
  color: #505050;
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 0;
}

h4 {
  color: #696969;
  font-size: 18px;
  line-height: normal;
}

p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 25px;
}

strong {
  font-weight: 500;
}

/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #252525;
  font-weight: normal;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: #fdd182;
  outline: none;
}

.overlay {
  background: rgba(10, 10, 10, 0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
}

section,
footer {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

/*---------------------------------------
     BUTTONS              
  -----------------------------------------*/

.section-title {
  margin-bottom: 40px;
}

.section-btn {
  background: #fdd182;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  cursor: pointer;
  font-size: inherit;
  font-weight: normal;
  padding: 15px 30px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.section-btn:hover,
.section-btn:focus {
  background: #fdd182;
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
}

/*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #575757;
  border-top-color: #ffffff;
  animation: spinner 0.9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/*---------------------------------------
      MENU              
  -----------------------------------------*/

.custom-navbar {
  border: none;
  margin-bottom: 0;
  padding: 25px 0;
}

.custom-navbar .navbar-brand {
  color: #ffffff;
  font-size: 25px;
  font-weight: 500;
}

.top-nav-collapse {
  background: #ffffff;
}

.custom-navbar .nav li a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  padding-right: 22px;
  padding-left: 22px;
}

.custom-navbar .nav li a:hover {
  background: transparent;
  color: #fdd182;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active > a {
  background-color: transparent;
  color: #fdd182;
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.custom-navbar .navbar-toggle {
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: #f2d085;
  border-color: transparent;
}

@media (min-width: 768px) {
  .custom-navbar {
    border-bottom: 0;
    background: 0 0;
  }

  .custom-navbar.top-nav-collapse {
    background: #201112;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
  }

  .top-nav-collapse .navbar-brand {
    color: #252525;
  }

  .top-nav-collapse .nav li a {
    color: #ffffff;
  }
}

/*---------------------------------------
      HOME              
  -----------------------------------------*/

#home {
  background: url('../images/img3.webp') no-repeat center center;
  background-size: cover;
  vertical-align: middle;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#home h3,
#home h1 {
  color: #ffffff;
}

.home-btn {
  display: inline-block;
}

a.video-link {
  color: #f9f9f9;
  font-weight: normal;
  margin-right: 20px;
}

.video-link .fa {
  border-radius: 100%;
  border: 1px solid #d9d9d9;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  margin-right: 10px;
}

/*---------------------------------------
      ABOUT              
  -----------------------------------------*/

#about {
  text-align: left;
  padding-bottom: 0;
}

.about-info .section-title {
  margin-bottom: 20px;
}

.about-image img {
  height: 500px;
  display: block;
  margin: 0 auto;
}

.about-info,
.skill-thumb {
  margin-top: 40px;
}

.skill-thumb strong {
  display: inline-block;
  margin-bottom: 10px;
}

.skill-thumb .progress {
  background: #ffffff;
  border-radius: 5px;
  box-shadow: none;
  height: 3px;
  margin-bottom: 15px;
}

.skill-thumb .progress-bar {
  background: #1f1f1f;
  box-shadow: none;
}

/*---------------------------------------
      CLASS             
  -----------------------------------------*/

#class {
  background: #f9f9f9;
}

.class-info {
  background: #ffffff;
  border-radius: 2px;
  padding: 60px 40px 30px 40px;
  text-align: center;
}

.class-info img {
  border-radius: 2px;
  display: block;
  margin: 0 auto;
}

.class-info h3 {
  margin-bottom: 10px;
}

/*---------------------------------------
      GALLERY             
  -----------------------------------------*/

#gallery {
  padding-bottom: 0;
}

#gallery .container {
  width: 60%;
}

#gallery .col-md-3 {
  margin: 0;
  padding: 0;
}

.gallery-thumb img {
  width: 100%;
}

#gallery .gallery-thumb {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-thumb .gallery-info {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.gallery-thumb .gallery-info:after {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  content: '';
  background: #fdd182;
  opacity: 0;
  transition: 0.5s;
}

.gallery-thumb .gallery-info:hover::after {
  opacity: 0.9;
}

.gallery-thumb .gallery-info h3,
.gallery-thumb .gallery-info small {
  transform: translateY(100%);
  opacity: 0;
  display: block;
  transition: 0.5s 0.2s;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

.gallery-thumb .gallery-info small {
  color: #d9d9d9;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin-top: 3px;
}

.gallery-thumb:hover .gallery-info h3,
.gallery-thumb:hover .gallery-info small {
  transform: translateY(0px);
  opacity: 1;
}

/*---------------------------------------
      CONTACTS             
  -----------------------------------------*/

#contact {
  background: #201112;
  text-align: left;
}

#contact .section-title {
  margin-left: 20px;
}

#contact h2 {
  color: #ffffff;
}

.contact-info {
  margin: 6.5em 0 0 2.5em;
}

.contact-info p,
.contact-info a {
  color: #797979;
  margin-bottom: 0;
}

.contact-info h2 + p {
  margin-top: 25px;
}

#contact address {
  margin-top: 20px;
}

#contact .text-success,
#contact .text-danger {
  display: none;
}

#contact .form-control {
  background: transparent;
  border: 2px solid #f2d085;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 15px;
}

#contact .form-control:hover,
#contact .form-control:focus {
  border-color: #f2d085;
}

#contact input {
  height: 55px;
}

#contact select {
  color: rgba(20, 20, 20, 0.5);
}

#contact button#cf-submit {
  background: #ffffff;
  border: 0;
  color: #393939;
  font-weight: 500;
  height: 60px;
}

#contact button#cf-submit:hover {
  background: #fdd182;
  color: #ffffff;
}

/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

footer {
  background: #331d1f;
  position: relative;
}

.copyright-text h4 {
  color: #ffffff;
  font-size: 15px;
}

/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border-radius: 100px;
  color: #d9d9d9;
  font-size: 15px;
  text-decoration: none;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  position: relative;
  margin: 5px 2px;
}

.social-icon li a:hover {
  background: #fdd182;
  color: #ffffff;
  transform: scale(1.2);
}

/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 767px) {
  h1 {
    font-size: 3em;
  }

  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #home {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .custom-navbar {
    background: #201112;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  .custom-navbar .nav li a {
    line-height: normal;
    padding: 5px;
  }

  .custom-navbar .navbar-brand,
  .top-nav-collapse .navbar-brand {
    color: #252525;
    font-weight: 600;
  }

  .custom-navbar .nav li a,
  .top-nav-collapse .nav li a {
    color: #f2d085;
  }

  .about-info {
    margin-top: 0;
  }

  .about-image {
    margin-top: 40px;
  }

  .class-info {
    margin: 20px 0 40px 0;
  }
}

@media screen and (max-width: 639px) {
  h1 {
    font-size: 1.9em;
  }

  h2 {
    font-size: 1.5em;
  }

  .about-image img {
    height: auto;
  }
}

@media screen and (max-width: 336px) {
  a.video-link {
    display: block;
    margin-bottom: 20px;
  }
}
