/*
    Hayato By Alexa Theme
*/

/*  ==========================================================================
    Table of Contets
    ==========================================================================
    
    1.0 Common Styles
    2.0 Header Section
    3.0 Hero section
    3.0 About Section
    4.0 Skill Section
    5.0 Service Section
    6.0 Portfolio Section
    7.0 Experience Section
    10.0 CTA Section
    11.0 Contact Section
    12.0 Footer Section
    13.0 Scroll to Top
    
    ==========================================================================
    Hayato
    ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600&display=swap');

/*  ==========================================================================
    Common Styles
    ========================================================================== */
* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: #808899;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #333;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 62px;
    margin: 0 0 20px;
    letter-spacing: -1.5px;
}

h2 {
    font-size: 24px;
    color: #022144;
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

h3, h4 {
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.4;
    color: #022144;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 17px;
}

h4 {
    font-size: 15px;
}

h5, h6 {
    font-size: 14px;
    margin: 0 0 10px;
}

img {
    border: none;
    outline: none;
}

ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

p, li, a, span {
}

p {
    font-size: 15px;
    margin-bottom: 15px;
}

a, a:hover {
    text-decoration: none;
}

a:focus {
    outline: 0;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #dc3545;
}

::selection {
    background-color: #dc3545;
    color: #fff
}

-webkit-::selection {
    background-color: #dc3545;
    color: #fff
}

::-moz-selection {
    background-color: #dc3545;
    color: #fff
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999 !important;
}

input:-moz-placeholder,
textarea:-moz-placeholder { /* Firefox 18- */
    color: #999 !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder { /* Firefox 19+ */
    color: #999 !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999 !important;
}

button {
    border: none;
    background: none;
}

/* Helper Class */
.padding {
    padding: 100px 0;
}

.padding-15 {
    padding: 15px;
}

.no-padding {
    padding: 0;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-35 {
    margin-bottom: 35px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-45 {
    margin-bottom: 45px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.fz-28 {
    font-size: 28px;
}

.fz-24 {
    font-size: 24px;
}

.fz-22 {
    font-size: 22px;
}

.fz-20 {
    font-size: 20px;
}

.fz-18 {
    font-size: 18px;
}

.fz-16 {
    font-size: 16px;
}

.bd-bottom {
    border-bottom: 2px solid #eee;
}

.text-black {
    color: #282828;
}

.text-white {
    color: #ffffff;
}

.bg-grey {
    background-color: #f8f9fb;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: #fff;
    height: 100%;
    width: 100%;
    -webkit-transition: all .5s .5s ease;
    -moz-transition: all .5s .5s ease;
    transition: all .5s .2s ease;
}

.loader {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 60px;
    height: 60px;
    display: block;
    margin: auto;
    margin-top: -30px;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* Button Style */
.btn-group {
}

.btn-group a {
    margin: 5px;
}

.default-btn {
    font-family: "Poppins", sans-serif;
    letter-spacing: 0;
    background-color: #dc3545;
    color: #fff;
    line-height: 45px;
    display: inline-block;
    padding: 0 25px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.default-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #111;
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: scale(0, 1);
    -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    -o-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: -moz-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: -ms-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: -o-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.default-btn:hover {
    color: #fff;
}

.default-btn:hover:before {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}

.section-heading h2 {
    font-size: 32px;
    line-height: 42px;
    text-transform: capitalize;
}

.section-heading h4,
.section-heading h2 span {
    color: #dc3545;
}

/* Transition Effect */
a, a:hover, .overlay, img, .form-control, .form-control:hover, button {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.header-section {
    background-color: transparent;
    width: 100%;
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    padding: 10px 0;
}

.navbar-fixed-top.header-section {
    background-color: #fff;
    -moz-box-shadow: 0 2px 5px rgba(16, 16, 16, .07);
    -webkit-box-shadow: 0 2px 5px rgba(16, 16, 16, .07);
    box-shadow: 0 2px 5px rgba(16, 16, 16, .07);
    height: 70px;
    border-bottom: 0;
    padding: 0;
}

.navbar-fixed-top ul.nav > li > a {
    color: #022144;
}

.navbar-fixed-top ul.nav > li > a:hover,
.navbar-fixed-top ul.nav > li > a:focus,
.navbar-fixed-top ul.nav > li.active > a {
    color: #dc3545;
}

.logo-light,
.navbar-fixed-top .logo-light,
.logo-dark,
.navbar-fixed-top .logo-dark,
.navbar-fixed-top.header-section,
.header-section {
    transition: all 0.3s ease-in-out;
}

.navbar {
    border: medium none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    margin: 0;
    position: relative;
    padding: 0;
}

.logo-light {
}

.logo-dark {
    display: none;
}

.navbar-fixed-top .logo-light {
    display: none;
}

.navbar-fixed-top .logo-dark {
    display: block;
}

.navbar-header {
    padding: 17px 0;
}

.navbar-header .brand {
    font-size: 25px;
    color: #333;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    font-weight: 600;
    margin-left: 13px;
}

.navbar-header .nav-btn {
    padding: 8px;
    border-radius: 1px;
}

.navbar-header .nav-btn .icon-bar {
    background-color: #fff;
    width: 18px;
}

.navbar-fixed-top .navbar-header .nav-btn .icon-bar {
    background-color: #777;
}

.navbar-header .nav-btn:hover,
.navbar-header .nav-btn:focus {
    opacity: 0.8;
}

/* Nav Menu */
#navbar {
    z-index: 999;
    padding: 0 15px;
}

ul.nav {
}

ul.nav > li {
    padding: 0 20px;
}

ul.nav > li > a {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 70px;
    position: relative;
    padding: 0;
    z-index: 1;
}

ul.nav > li > a:before {
    background-color: #dc3545;
    top: 50%;
    margin-top: -1px;
    content: "";
    height: 3px;
    right: 0;
    position: absolute;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    width: 0;
}

ul.nav > li > a:hover:before {
    width: 100%;
    left: 0;
    right: auto
}

ul.nav > li > a:focus,
ul.nav > li > a.active {
    background: none;
    color: #dc3545;
}

ul.nav > li > a:hover {
    color: #dc3545;
}

.menu-btn {
    margin-left: 10px;
    margin-top: 10px;
}

/*Mobile Menu */
.menu-wrap {
    position: relative;
}

.slicknav_menu {
    background: none;
    padding: 4px 0;
    display: none;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.slicknav_nav {
    background-color: #fff;
}

.slicknav_btn {
    background-color: transparent;
    margin: 17px 5px 19px;
}

.slicknav_nav .slicknav_row:hover,
.slicknav_nav .slicknav_row,
.slicknav_nav a,
.slicknav_nav a:hover {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

.slicknav_nav .slicknav_row,
.slicknav_nav a {
    padding: 10px 15px;
    margin: 0;
    color: #777;
}

.slicknav_nav a .caret {
    display: none;
}

.slicknav_nav ul {
    margin: 0;
}

.slicknav_nav ul li a {
    padding-left: 30px;
    font-size: 12px;
}

.slicknav_nav .slicknav_row:hover,
.slicknav_nav a:hover {
    background-color: transparent;
    color: #333;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background-image: url(../img/mosaic.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 650px;
    position: relative;
    z-index: 1;
}

.hero-section:before {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
}

.hero-content h1 {
    color: #fff;
}

.hero-content h1 span {
    color: #dc3545;
}

.hero-content h2 {
    color: #fff;
}

.hero-content h2 span {
    text-transform: capitalize;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content ul {
}

.hero-content ul li {
    display: inline-block;
}

.hero-content ul li a {
    color: #fff;
    display: block;
    margin: 0 10px;
}

.hero-content ul li a:hover {
    color: #dc3545;
}

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    position: relative;
}

.about-wrap {
}

.about-section
.section-heading p {
    margin: 20px 0;
}

.section-heading h2 {
    font-size: 30px;
}

.about-men {
    background-image: url(../img/forbes-profile.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 80%;
    position: absolute;
    width: 570px;
    height: 667px;
    right: 40px;
    bottom: 0;
}

/* ==========================================================================
   Skill Section
   ========================================================================== */
.skills-section {
    border-bottom: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.skill-img {
    background-image: url(https://via.placeholder.com/1200x900.png?text=Hayato);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.skill-content {
    padding-left: 40px;
}

.skill-wrap h2 {
    margin-bottom: 20px;
}

.skill-content p {
    margin-bottom: 30px;
}

.skill-wrap {
}

.skill-items {
}

.skill-items .skill-item {
    margin-bottom: 20px;
    overflow: hidden;
}

.skill-items .skill-item h5 {
    font-size: 14px;
    margin: 0 0 7px;
    font-weight: 600;
}

.skill-items .skill-item .progress {
    height: 10px;
    background-color: #ddd;
    box-shadow: none;
    margin-bottom: 0;
    overflow: visible;
}

.skill-items .skill-item .progress,
.skill-items .skill-item .progress .progress-bar {
    border-radius: 3px;
}

.skill-items .skill-item .progress .progress-bar {
    line-height: 5px;
    background-color: #dc3545;
    position: relative;
}

.skill-items .skill-item .progress .progress-bar span {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.skill-items .skill-item .progress .progress-bar span:before {
    content: '';
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: calc(50% - 4px);
    bottom: -4px;
}

/* ==========================================================================
   Service Section
   ========================================================================== */
.service-section {
}

.service-wrap {
    margin: -15px;
}

.service-item {
    display: flex;
}

.service-item i {
    font-size: 40px;
    color: #dc3545;
}

.service-content {
    margin-left: 20px;
}

.service-content h3 {
}

.service-content p {
    margin: 0;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-section {
}

.portfolio-wrap {
}

.portfolio-box {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.portfolio-box:before {
    background-color: rgba(220, 53, 68, 0.9);
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.portfolio-box:hover:before {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.portfolio-box .img-lightbox {
    width: 40px;
    height: 40px;
    position: absolute;
    right: -100%;
    top: 20px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.portfolio-box:hover .img-lightbox {
    opacity: 0.6;
    visibility: visible;
    right: 20px;
}

.portfolio-box:hover .img-lightbox:hover {
    opacity: 1;
}

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

.portfolio-box img {
    width: 100%;
}

.portfolio-content {
    position: absolute;
    height: auto;
    width: 100%;
    padding: 0 40px;
    left: 0;
    bottom: 30px;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.portfolio-box:hover .portfolio-content {
    transform: translateX(0);
    transition: all 0.3s ease-in-out;
}

.portfolio-content h3 a,
.portfolio-content p {
    color: #fff;
    margin: 0;
}

/*Portfolio Filter
====================*/
.portfolio-filter {
    margin-bottom: 20px;
}

.portfolio-filter li {
    display: inline-block;
    margin: 0 10px;
    font-weight: 500;
    cursor: pointer;
}

.portfolio-filter li.active {
    color: #dc3545;
    text-decoration: line-through;
}

/* ==========================================================================
   Expericence Section
   ========================================================================== */
.experience-section {
}

.experience-wrap {
    margin-bottom: 30px;
}

.experience-date {
}

.experience-date h4 {
    margin-top: 7px;
}

.experience-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0px 15px 30px 0px rgba(0, 11, 40, 0.06);
    position: relative;
}

.experience-content:before {
    position: absolute;
    content: "";
    top: 22px;
    width: 2px;
    background-color: #eeeeee;
    height: calc(100% + 49px);
    left: calc(-50px + 6px);
}

.experience-content.no-border:before {
    display: none;
}

.experience-content:after {
    background-color: #dc3545;
    content: '';
    position: absolute;
    top: 7px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    left: -55px;
    box-shadow: 0px 14px 20px 0px rgba(254, 193, 16, 0.4);
}

.experience-content h2 {
    display: block;
}

.experience-content h2 span {
    color: #dc3545;
    font-size: 14px;
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
}

.experience-content p {
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-image: url(https://via.placeholder.com/1200x900.png?text=Hayato);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.cta-wrap {
}

.cta-content {
}

.cta-content h2 {
    color: #fff;
    font-size: 36px;
    line-height: 46px;
    margin-bottom: 20px;
}

.cta-content p {
    color: #ddd;
    padding: 0 40px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
}

.contact-wrap {
}

.contact-content {
}

.contact-content h3 {
    font-size: 20px;
}

.contact-content p {
}

.contact-info {
}

.contact-list {
}

.contact-list ul {
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li i {
    color: #dc3545;
    margin-right: 20px;
    font-size: 25px;
}

.contact-items {
}

.contact-form .form-control {
    height: 50px;
    border-radius: 2px;
}

.contact-form .default-btn {
    cursor: pointer;
}

.contact-form .form-control.message {
    min-height: 180px;
}

#form-messages {
    display: none;
    margin: 0;
}

#form-messages.alert-danger,
#form-messages.alert-success {
    display: block;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    display: block;
    background-color: #111;
    padding: 30px 0;
}

.footer-section .copyright {
    font-size: 12px;
    color: #ddd;
    text-transform: uppercase;
}

.footer-social {
    display: block;
    text-align: right;
}

.footer-social li {
    display: inline-block;
}

.footer-social li a {
    color: #ddd;
    font-size: 12px;
    margin-left: 20px;
}

.footer-social li a:hover {
    color: #fff;
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
#scroll-to-top {
    background-color: #dc3545;
    display: none;
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 14px;
    line-height: 35px;
    color: #fff;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
}

#scroll-to-top:hover {
    background-color: #111;
    color: #fff;
}

/* Typed Cursor Style */
.typed-cursor {
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
