/*
Blaster Template
http://www.templatemo.com/tm-472-blaster
*/

body
{
	background: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	position: relative;
}

html,body {
	width: 100%;
	overflow-x: hidden;
}

h1,h2,h3,h4 {
	font-weight: bold;
}

.heading {
	font-size: 60px;
}
.subheading {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 60px;
}
.bold {
	font-weight: bold;
}

p {
	letter-spacing: 0px;
	line-height: 28px;
}

#about,
#teach, #contact, #resume {
	padding-top: 100px;
	padding-bottom: 100px;
}

#about .fa {
	font-size: 28px;
	min-width: 34px;
}

#about p {
  font-size: 17px;
  margin: 20px;
}

.img-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.img-grid .img-cell {
  width: 25%; /* 4 in a row on large screens */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.img-grid .img-cell img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive: 2x2 grid on small screens */
@media (max-width: 992px) {
  .img-grid .img-cell {
    width: 50%;
  }
}

/* start navigation */
.custom-navbar {
    background: #ffffff;
    margin-bottom: 0;
}
.custom-navbar .navbar-brand  {
	color: #303030;
	font-size: 40px;
}
.custom-navbar .navbar-brand .navbar-toggle {
    background: #55acee;
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}
.custom-navbar .nav li a {
    color: #505050;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    padding-right: 20px;
    padding-left: 20px;
	  transition: all 0.3s ease-in-out;
}

.custom-navbar .nav > li > a:focus {
  	background-color: transparent;
  	outline: none;
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}
.custom-navbar .navbar-toggle .icon-bar {
    background: #8c25d1;
    border-color: transparent;
}
@media(min-width:768px){
    .custom-navbar {
            background: #ffffff;
            padding: 14px;
            border-bottom: 0;
            background: 0 0;
         }
    .custom-navbar.top-nav-collapse {
            padding: 14px;
            background: #fff;
            border-bottom: 1px solid #eeeeee;
        }
}

/* home section */
#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75); /* white with 50% opacity */
  z-index: 0;
}

#home > * {
  z-index: 1;
  position: relative;
}

#home {
  background: url('../images/home.jpeg') no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  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;
  height: 100vh;
  text-align: center;
  position: relative;
  z-index: 1;
}

#home > * {
  z-index: 1;
  position: relative;
}

#home hr {
  border: 2px solid #404040;
  width: 100px;
}
#home h3 {
  letter-spacing: 2px;
}
#home .btn {
  background: transparent;
  border-radius: 0;
  border: 3px solid #404040;
  color: #404040;
  font-weight: bold;
  padding: 16px 42px;
  margin-top: 40px;
  transition: all 0.4s ease-in-out;
}
#home .btn:hover {
  background: #404040;
  color: #ffffff;
}

/* about section */
#about .col-md-4 .fa {
  background: #FFD321;
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  margin-bottom: 10px;
}
#about .col-md-6 {
  padding-top: 60px;
}
#about .col-md-6 h3 {
  padding-top: 40px;
  padding-bottom: 10px;
}
#about .col-md-6 p {
  padding-bottom: 30px;
}
#about .heading {
  padding-bottom: 30px;
}
#about span {
  display: block;
  padding-bottom: 6px;
}
#about .progress {
  border-radius: 0;
  box-shadow: none;
  height: 6px;
}
#about .progress .progress-bar-primary {
  background: #FFD321;
}

/* teach section */
#teach {
  text-align: center;
}
#teach h3 {
  color: #202020;
  line-height: 4px;
}
#teach .teach-des {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* resume section */
#resume {
  background: #d1c5d6;
}

#resume .title {
  text-align: center;
}
.resume-heading {
  font-size: 1.8em;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  text-align: left;
}
.resume-role {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: left;
}
.resume-date {
  float: right;
  font-size: 0.95em;
  font-weight: 400;
  color: #666;
}
.resume-list {
  list-style-type: disc;
  margin-left: 1.5em;
  margin-bottom: 24px;
}
.resume-list li {
  margin-bottom: 6px;
  line-height: 1.5em;
}


/* contact section */
#contact {
  background: #f9f9f9;
  text-align: center;
}
#contact .fa {
  font-size: 40px;
}
#contact form {
  padding-top: 80px;
}
#contact .form-control {
  border-radius: 0;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}
#contact .form-control:focus {
  border: 2px solid #808080;
}
#contact input {
  height: 50px;
}
#contact input[type="submit"] {
  border: 2px solid #808080;
  margin-top: 18px;
  height: 54px;
}
#contact input[type="submit"]:hover {
  background: #808080;
  color: #ffffff;
}
#contact textarea {
  height: 170px;
}
.contact-info-box h3 { font-size: 16px; }

#thank-you-message {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-size: 1.2em;
}

/* footer section */
footer {
  background: url('../images/footer-bg.jpg') no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.social-icon {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.social-icon li {
  list-style: none;
  display: inline-block;
  padding: 0;
}
.social-icon li a {
  border-radius: 50%;
  color: #303030;
  font-size: 32px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  margin-top: 20px;
  margin-right: 10px;
}
.social-icon li a:hover {
  background: #b698c4;
}

/* copyright section */
#copyright {
  background: #404040;
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}
#copyright p {
  padding-top: 20px;
}
#copyright a {
	color: #fff;
}
#copyright a:hover {
	color: #FFD321;
	text-decoration: none;
	transition: all 0.4s ease-in-out;
}
#copyright .fa {
  background: #383838;
  color: #ffffff;
  font-size: 18px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  outline: none;
  transition: all 0.4s ease-in-out;
}
#copyright .fa:hover {
  background: #FFD321;
  color: #000;
}

@media screen and (min-width: 992px) {
  @-moz-document url-prefix() {
    #portfolio .col-lg-4,
    #portfolio .col-md-4 {
      width: 33.333%;
    }
  }
}

@media ( max-width: 980px ) {
  .custom-navbar .navbar-brand {
    font-size: 24px;
  }
  #about img {
    padding-top: 40px;
  }
  #contact form {
    padding-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  .contact-info-box { margin-bottom: 20px; }
  .contact-info-box:last-child { margin-bottom: 0; }
}

@media (max-width: 450px) {
  .heading {
    font-size: 40px;
  }
  #about .col-md-4 .fa {
    margin-top: 32px;
  }
  #contact h3 {
    font-size: 16px;
    padding-bottom: 40px;
  }
}

/* navbar colors */
.custom-navbar .nav li:nth-child(1) a:hover {
  	background-color: #bc9adb; /* Purple */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;
}
.custom-navbar .nav li:nth-child(2) a:hover {
  	background-color: #f5719d; /* Pink */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;
  }
.custom-navbar .nav li:nth-child(3) a:hover {
  	background-color: #8699ee; /* Indigo */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;

}
.custom-navbar .nav li:nth-child(4) a:hover {
  	background-color: #36c1d3; /* Cyan */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;
}
.custom-navbar .nav li:nth-child(5) a:hover {
  	background-color: #ffb24c; /* eeb243 Orange */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;
}
.custom-navbar .nav li:nth-child(6) a:hover {
  	background-color: #64b166; /* Green */
    transition: all 0.3s ease-in-out;
    font-weight: 700 !important;
}

/* image gallery */
.image-gallery {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  user-select: none;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.gallery-arrow.prev {
  left: 10px;
}

.gallery-arrow.next {
  right: 10px;
}

.gallery-dots {
  display: none; /* Hide dots to remove white bar */
}
