/* 
Template Name: Smary - Personal Portfolio
Author: MountainTheme
Author URI: https://www.templatemonster.com/authors/mountaintheme/
Template URI: https://mountainclimbersstar.com/demo/html/smary/
Description: Smary - Personal Portfolio HTML Template
Version: 1.0.0
*/

/*------------------------------------------------------------------ [Table of Contents] 
    + General CSS
        - Common CSS
        - Light Bosy
        - Buttons
        - Hamburger Menu
        - Preloader
        - Section Title
    + Headers
    + Sections
        - Demo Site
    + Footer
    + Back to Top
    + Color Switcher
------------------------------------------------------------------*/

/* [ General ] */
/*================================================== */

/*** Common CSS ***/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #EFF2F6;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    height: 100%;
    width: 100%;
    background: #212529;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #EFF2F6;
}

p,
small {
    color: #9BA3B7;
    font-weight: 400;
}

p {
    margin: 0;
}

a {
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

a,
a:hover,
a:focus,
.button:focus,
button,
button:focus {
    text-decoration: none;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

ol li,
ul li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    color: #F5F7FA;
}

hr.separator {
    border-top: 1px solid #70788D;
    margin: 15px 0;
}

.section-bg {
    background-color: #343A40;
}

.section-ptb {
    padding: 72px 0;
}

.title-tow {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
}

/*** Light Body ***/
body.light {
    color: #141824;
    background-color: #FFF;
}

body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6 {
    color: #141824;
}

body.light p,
body.light small {
    color: #515A74;
}

body.light hr.separator {
    border-top: 1px solid #CACEDA;
}

body.light .section-bg {
    background-color: #F5F7FA;
}

body.light #back-top-top {
    color: #515A74;
    background: #EFF2F6;
}

/*** Buttons ***/
.button {
    width: max-content;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 35px;
    cursor: pointer;
    color: #F5F7FA;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.button img {
    max-width: 27px;
    margin-right: 2px;
}

html[dir=rtl] .button i {
    margin-left: auto;
    margin-right: 3px;
}

.button i {
    font-size: 18px;
    vertical-align: middle;
    margin-left: 3px;
}

.button:hover {
    -webkit-box-shadow: inset 0px 0px 135px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0px 0px 135px rgba(0, 0, 0, 0.25);
    -ms-box-shadow: inset 0px 0px 135px rgba(0, 0, 0, 0.25);
    -o-box-shadow: inset 0px 0px 135px rgba(0, 0, 0, 0.25);
    box-shadow: inset 0px 0px 135px rgba(0, 0, 0, 0.25);
}

/*** Hamburger Menu ***/
html[dir=rtl] .hamburger-menu {
    direction: ltr;
}

.hamburger-menu {
    display: none;
    padding: 5px 11px !important;
    border-radius: 2px;
    margin: 18px 15px;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger-menu .line {
    display: block;
    height: 3px;
    width: 10px;
    margin-block: 4px;
    background-color: #FFF;
    border-radius: 8px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.hamburger-menu .line-2 {
    width: 20px;
}

.hamburger-menu .line-3 {
    margin-inline-start: auto;
}

.hamburger-menu.active .line-2 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger-menu.active .line-1 {
    -webkit-transform: rotate(45deg) translate(4px, 1.5px);
    -moz-transform: rotate(45deg) translate(4px, 1.5px);
    -ms-transform: rotate(45deg) translate(4px, 1.5px);
    -o-transform: rotate(45deg) translate(4px, 1.5px);
    transform: rotate(45deg) translate(4px, 1.5px);
}

.hamburger-menu.active .line-3 {
    -webkit-transform: rotate(45deg) translate(-3px, -1px);
    -moz-transform: rotate(45deg) translate(-3px, -1px);
    -ms-transform: rotate(45deg) translate(-3px, -1px);
    -o-transform: rotate(45deg) translate(-3px, -1px);
    transform: rotate(45deg) translate(-3px, -1px);
}

/*** Preloader ***/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #101010;
    z-index: 99999;
}

.preloader.active {
    -webkit-transform: translateY(-100vh);
    -moz-transform: translateY(-100vh);
    -ms-transform: translateY(-100vh);
    -o-transform: translateY(-100vh);
    transform: translateY(-100vh);
    -webkit-transition: ease-in-out 2s;
    -moz-transition: ease-in-out 2s;
    -ms-transition: ease-in-out 2s;
    -o-transition: ease-in-out 2s;
    transition: ease-in-out 2s;
    -webkit-transition-delay: 1.7s;
    transition-delay: 1.7s;
}

/* pace */
.pace {
    position: fixed;
    top: 0;
    z-index: 999999;
    color: transparent !important;
}

.pace .pace-progress {
    transform: unset !important;
}

.pace.active {
    -webkit-transition: ease-in-out 2s;
    -moz-transition: ease-in-out 2s;
    -ms-transition: ease-in-out 2s;
    -o-transition: ease-in-out 2s;
    transition: ease-in-out 2s;
    opacity: 0;
    visibility: hidden;
}

.pace .pace-progress::after {
    position: fixed;
    top: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    width: 100%;
    -webkit-transition: ease-in-out 2s;
    -moz-transition: ease-in-out 2s;
    -ms-transition: ease-in-out 2s;
    -o-transition: ease-in-out 2s;
    transition: ease-in-out 2s;
    content: attr(data-progress-text);
    font-weight: 400;
    font-size: 5rem;
    line-height: 1;
    color: #d9d9d9;
}

.pace.active .pace-progress:after {
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    -o-transform: translateY(-100px);
    transform: translateY(-100px);
}

/* [ Header ] */
/*================================================== */
#header .navbar {
    padding: 0;
}

#header .primary-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.primary-menu .navbar-brand {
    font-size: 30px;
    font-weight: 600;
    color: #EFF2F6;
}

.primary-menu .navbar-brand:hover {
    opacity: .7;
}

.primary-menu .navbar-accordion {
    position: initial;
}

.primary-menu .navbar-nav .nav-link {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 0.85em;
    color: #EFF2F6;
    font-size: 16px;
    font-weight: 400;
}

.primary-menu .social-icons li:first-child {
    margin-left: 0;
}

.primary-menu .social-icons li {
    margin: 2px 6px;
    padding: 0;
    overflow: visible;
}

.primary-menu .social-icons li a {
    display: block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 18px;
    color: #EFF2F6;
}

.primary-menu .social-icons li:first-child a:hover {
    color: #316FF6;
}

.primary-menu .social-icons li:nth-child(2) a:hover {
    color: #1C96E8;
}

.primary-menu .social-icons li:nth-child(3) a:hover {
    color: #D13C6A;
}

.primary-menu .button {
    font-weight: 400;
    padding: 12px 16px;
}

/* On Scroll Fixed Navbar */
#header .primary-menu.navbar-sticky {
    -webkit-transition: none;
    transition: none;
}

#header .primary-menu.navbar-sticky-transition {
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

#header .primary-menu.navbar-sticky-moved-up {
    position: fixed;
    top: 0;
    background: #212529;
    margin-top: -100px;
}

#header .primary-menu.navbar-sticky-on {
    margin-top: 0;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-box-shadow: rgba(27, 67, 105, 0.164) 0px 0px 20px;
    -moz-box-shadow: rgba(27, 67, 105, 0.164) 0px 0px 20px;
    -ms-box-shadow: rgba(27, 67, 105, 0.164) 0px 0px 20px;
    -o-box-shadow: rgba(27, 67, 105, 0.164) 0px 0px 20px;
    box-shadow: rgba(27, 67, 105, 0.164) 0px 0px 20px;
}

/* [ Sections ] */
/*================================================== */

/*** Home ***/
.hero-area {
    background-image: url(../images/banner.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.hero-area::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.719);
}

.hero-area .hero-content {
    padding: 260px 0;
    position: relative;
    z-index: 10;
}

.hero-area .hero-head {
    font-size: 48px;
    font-weight: 600;
    color: #EFF2F6;
}

.hero-area h2 {
    color: #CACEDA !important;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.3;
}

.hero-area h3 {
    font-size: 25px;
    font-weight: 600;
    color: #EFF2F6 !important;
    margin: 0;
    line-height: 1.3;
}

/*** Demo ***/
.demo .section-title {
    margin-bottom: 100px;
}

.demo .section-title h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

.demo .demo-wrap {
    position: relative;
}

.demo .demo-wrap .btn-wrapper {
    position: absolute;
    top: 40%;
    left: 50%;
    opacity: 0;
    z-index: 1;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.demo .demo-wrap:hover .btn-wrapper {
    top: 50%;
    opacity: 1;
}

.demo .demo-wrap .btn-wrapper a.button {
    padding: 16px 36px;
    font-size: 17px;
}

.demo .demo-wrap .btn-wrapper a:not(:last-child) {
    margin-bottom: 10px;
}

.demo .demo-wrap .demo-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.demo .demo-wrap .demo-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 / 25%);
    opacity: 0;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.demo .demo-wrap:hover .demo-image::before {
    opacity: 1;
}

.demo .demo-wrap .demo-image img {
    width: 100%;
    border-radius: 5px;
    transition: .5s;
}

.demo .demo-wrap.coming-soon:hover .demo-image img {
    filter: unset;
}

.demo .demo-wrap:hover .demo-image img {
    -wbkit-filter: blur(2px);
    filter: blur(2px);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03);
}

.demo .demo-name {
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0px;
}

.demo .title-tow {
    margin-top: 15px;
    margin-bottom: 16px;
}

.title-tow-p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}

/* [ Footer ] */
/*================================================== */
.footer {
    background: #343A40;
    padding-top: 90px;
    padding-bottom: 60px;
}

.footer .footer-brand {
    display: inline-block;
    margin-bottom: 35px;
}

.footer .footer-brand {
    font-size: 33px;
    font-weight: 600;
    color: #EFF2F6;
}

.footer .footer-brand:hover {
    opacity: .7;
}

.footer p {
    color: #EFF2F6 !important;
    font-size: 18px;
}

.footer .copyright p {
    margin-top: 69px;
}

.footer .copyright p a {
    font-weight: 500;
}

.footer .copyright p a:hover {
    text-decoration: underline;
}

/* [ Back to Top ] */
/*================================================== */
html[dir=rtl] #back-top-top {
    right: auto;
    left: 10px;
}

#back-top-top {
    position: fixed;
    bottom: -20px;
    right: 10px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    color: #9BA3B7;
    background: #4A4E57;
    z-index: 111;
    opacity: 0;
    visibility: hidden;
}

#back-top-top:hover {
    color: #FFF !important;
}

#back-top-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 8px;
}

/* [ Color Switcher ] */
/*================================================== */
html[dir=rtl] .color-switcher {
    right: auto;
    left: -206px;
}

.color-switcher {
    position: fixed;
    top: 30%;
    right: -206px;
    width: 206px;
    padding: 10px;
    background: #FFF;
    border-radius: 0 0 0 5px;
    z-index: 10;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

html[dir=rtl] .color-switcher.active {
    right: auto;
    left: 0;
}

.color-switcher.active {
    right: 0;
}

.color-switcher h3 {
    font-size: 17px;
    font-weight: 600;
    color: #141824;
    text-align: center;
    padding-bottom: 7px;
    margin-bottom: 10px;
    border-bottom: 1px solid #CACEDA;
}

html[dir=rtl] .color-switcher .switcher-btn {
    left: auto;
    right: -41px;
    border-radius: 0 5px 5px 0;
}

.color-switcher .switcher-btn {
    position: absolute;
    top: 0;
    left: -41px;
    background: #515A74;
    color: #FFF;
    padding: 9px 12px;
    font-size: 17px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
}

.color-switcher .theme-buttons-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
}

.color-switcher .theme-buttons-container .theme-button {
    display: inline-block;
    height: 30px;
    width: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    margin: 2px;
    cursor: pointer;
}

.color-switcher .theme-buttons-container .theme-button.green {
    background: #2FBF71;
}

.color-switcher .theme-buttons-container .theme-button.blue {
    background: #5A7FFB;
}

.color-switcher .theme-buttons-container .theme-button.orange {
    background: #FF451B;
}

.color-switcher .theme-buttons-container .theme-button.aqua {
    background: #44CBE1;
}

.color-switcher .theme-buttons-container .theme-button.mediumSlateBlue {
    background: #7371F9;
}

.color-switcher .theme-buttons-container .theme-button.lightGray {
    background: #A5B1C2;
}

.color-switcher .theme-buttons-container .theme-button.yellow {
    background: #FFC107;
}

.color-switcher .theme-buttons-container .theme-button.pink {
    background: #FF69B4;
}

.color-switcher .theme-buttons-container .theme-button.baraRad {
    background: #ED4C67;
}

.color-switcher .theme-buttons-container .theme-button.brown {
    background: #795548;
}