/*
Theme Name: MentalGlow
Theme URI: https://yourwebsite.com/theme
Author: Erik Nell
Author URI: https://yourwebsite.com
Description: Wordpress theme for MentalGlow
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: <https://www.gnu.org/licenses/gpl-2.0.html>
Text Domain: mentalglow-theme
Tags: custom-background
*/

/**
* Template based on Impact (May 30 2023 with Bootstrap v5.3.0)
* Template URL: https://bootstrapmade.com/impact-bootstrap-business-website-template/
* Author: BootstrapMade.com
*/

/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
--------------------------------------------------------------*/
/* Fonts */
:root {
    --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Montserrat", sans-serif;
    --font-secondary: "Poppins", sans-serif;
}

/* Colors */
:root {
    --color-darkgrey: #222222;
    --color-darkgreen: rgb(19, 56, 51);
    --color-lightgreen: #97b192;
    --color-grey: rgb(166, 175, 174);
    --color-white: #ffffff;
    --color-yellow: #fff132;
    --color-background: #e1e8e0;
    --color-lightred: #e18989;
}

/* Smooth scroll behavior */
:root {
    scroll-behavior: smooth;
}

*:focus {
    outline: none;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: var(--color-darkgreen);
    background: var(--color-grey);
}

.entry-header {
    display: none;
}

/*.entry-content,*/
.rmcontent,
.rmagic,
.site-content {
    background: var(--color-background);
    color: var(--color-darkgreen);
    margin-bottom: 1%;
    padding: 1%;
}

.site-content {
    background: linear-gradient(180deg, rgba(151,177,146,1) 0%, rgba(225,232,224,1) 1%);
    background-repeat: repeat;
    background-size: 1080px;
    /*background-attachment: fixed;*/
}

.entry-content {
    background: transparent;
    color: var(--color-darkgreen);
}

a {
    color: var(--color-white);
    text-decoration: none;
}

a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.site-content a {
    color: var(--color-darkgreen);
    position: relative;
    display: inline-block;
}

.site-content a:hover {
    background-image: -webkit-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -moz-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -o-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 3s linear infinite;
    display: inline-block;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

strong {
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: bold;
    margin: 3% 0;
}

canvas {
    display: block;
    position: absolute;
    vertical-align: bottom;
}

/* TODO ---- tsparticles container ---- */
#tsparticles {
    position: relative;
    width: 100%;
    height: 10vh;
    background-color: var(--color-lightgreen);
    /*background-image: url("assets/img/getty_519518889_215296.jpg");*/
    background-repeat: no-repeat;
    background-size: cover;
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
    padding: 1% 0;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background: var(--color-darkgreen);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--color-white);
    line-height: 0;
}

.scroll-top:hover {
    background: rgba(31, 94, 85, 0.8);
    border: 1px solid rgba(255, 255, 255, 1);
    color: var(--color-white);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--color-darkgreen) transparent var(--color-darkgreen) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.topbar {
    background: var(--color-darkgreen);
    height: 40px;
    font-size: 14px;
    transition: all 0.5s;
    color: #ffffff;
    padding: 0;
}

.topbar .contact-info i {
    font-style: normal;
    color: #ffffff;
    line-height: 0;
}

.topbar .contact-info i a,
.topbar .contact-info i span {
    padding-left: 5px;
    color: #ffffff;
}

@media (max-width: 575px) {

    .topbar .contact-info i a,
    .topbar .contact-info i span {
        font-size: 13px;
    }
}

.topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
}

.topbar .contact-info i a:hover {
    color: var(--color-white);
}

.topbar .social-links a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
}

.topbar .social-links a:hover {
    color: rgba(255, 255, 255, 1);
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 90px;
    background-color: var(--color-lightgreen);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.sticked {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 70px;
}

.header .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--color-darkgreen);
    font-family: var(--font-primary);
}

.header .logo h1 span {
    color: var(--color-darkgreen)!important;
}

.header .logo h1:hover {
    /*text-transform: uppercase;*/
    background-image: -webkit-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -moz-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -o-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);

    /*#231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%*/

    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 3s linear infinite;
    display: inline-block;
}

.sticked-header-offset {
    margin-top: 70px;
}

section {
    scroll-margin-top: 70px;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
    .navbar {
        padding: 0;
    }

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar>ul>li {
        white-space: nowrap;
        padding: 10px 0 10px 28px;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 3px;
        font-family: var(--font-secondary);
        font-size: 16px;
        font-weight: 600;
        color: var(--color-darkgreen);
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navbar a i,
    .navbar a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
    }

    .navbar>ul>li>a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--color-white);
        visibility: hidden;
        width: 0;
        transition: all 0.3s ease-in-out 0s;
    }

    .navbar a:hover:before,
    .navbar li:hover>a:before,
    .navbar .active:before {
        visibility: visible;
        width: 100%;
    }

    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover>a {
        color: rgba(255,255,255,0.75);
    }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 28px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: var(--color-lightgreen);
        box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
        border-radius: 5px;
    }

    .navbar .dropdown ul li {
        min-width: 200px;
    }

    .navbar .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        font-weight: 600;
        color: var(--color-white);
    }

    .navbar .dropdown ul a i {
        font-size: 12px;
    }

    .navbar .dropdown ul a:hover,
    .navbar .dropdown ul .active:hover,
    .navbar .dropdown ul li:hover>a {
        color: rgba(255,255,255,0.75);
    }

    .navbar .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover>ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }
}

@media (min-width: 1280px) and (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

@media (min-width: 1280px) {

    .mobile-nav-show,
    .mobile-nav-hide {
        display: none;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        bottom: 0;
        transition: 0.3s;
        z-index: 9997;
    }

    .navbar ul {
        position: absolute;
        inset: 0;
        padding: 50px 0 10px 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.9);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        font-family: var(--font-primary);
        font-size: 15px;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.7);
        white-space: nowrap;
        transition: 0.3s;
    }

    .navbar a i,
    .navbar a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
    }

    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover>a {
        color: #000000;
    }

    .navbar .dropdown ul,
    .navbar .dropdown .dropdown ul {
        position: static;
        display: none;
        padding: 10px 0;
        margin: 10px 20px;
        transition: all 0.5s ease-in-out;
        background-color: #ffffff;
        border: 1px solid #000000;
    }

    .navbar .dropdown>.dropdown-active,
    .navbar .dropdown .dropdown>.dropdown-active {
        display: block;
    }

    .mobile-nav-show {
        color: var(--color-white);
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
        margin-right: 10px;
    }

    .mobile-nav-hide {
        color: #000000;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 9999;
    }

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

    .mobile-nav-active .navbar {
        right: 0;
    }

    .mobile-nav-active .navbar:before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.8);
        z-index: 9996;
    }
}

/*--------------------------------------------------------------
# Blockquote
--------------------------------------------------------------*/

.blockquote {
    margin: 0 2%;
    padding: 3% 2%;
    position: relative;
    background: rgba(255,255,255,0.75);
    border: 0;
    border-radius: 10px;
    box-shadow: rgba(33, 35, 38, 0.1) 0 10px 10px -10px;
}
.blockquote blockquote {
    font-size: 1em;
    font-weight: 700;
    text-align: center;
}

.blockquote p {
    font-size: 0.75em;
    font-weight: 700;
    text-align: center;
}

.blockquote:before {
    position: absolute;
    font-family: 'bootstrap-icons' !important;
    top: -60px;
    -webkit-font-smoothing: antialiased;
    content:"\F6B0";
    font-size: 200px;
    color: rgba(166,175,174,0.2);
}

.blockquote::after {
    content: "";
    top: 0;
    left: 50%;
    margin-left: -100px;
    position: absolute;
    border-bottom: 3px solid var(--color-yellow);
    height: 3px;
    width: 200px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    font-size: 14px;
    background-color: var(--color-darkgreen);
    padding: 50px 0;
    color: var(--color-white);
}

.footer-info .logo {
    line-height: 0;
    margin-bottom: 25px;
}

.footer-info a h1 {
    color: var(--color-background) !important;
}

.footer-info a h1 span {
    color: var(--color-background);
}

.footer-info a {
    color: var(--color-background);
    position: relative;
    display: inline-block;
}

.footer-info a:hover {
    background-image: -webkit-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -moz-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: -o-linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-image: linear-gradient(-225deg, #BF953F 0%, var(--color-yellow) 29%, #AA771C 67%, #FBF5B7 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 3s linear infinite;
    display: inline-block;
}

.footer-info .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-info p {
    font-size: 14px;
    font-family: var(--font-primary);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    color: var(--color-white);
    margin-right: 10px;
    transition: 0.3s;
}

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

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    padding-right: 2px;
    color: rgba(218,165,32, 0.8);
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: var(--color-white);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--color-white);
}

.footer .footer-contact p {
    line-height: 26px;
}

.footer .footer-contact i a,
.footer .footer-contact i span {
    padding-left: 5px;
    font-style: normal;
    line-height: 0;
}

.footer .copyright {
    text-align: center;
    font-size: 0.75em;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.wpcf7-form {
    width: 100%;
    height: 100%;
    padding: 1%;
    /*background: #fff;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;*/
    /*border-radius: 0 10px 10px 0;*/
}

.wpcf7 label {
    font-size: 0.85em;
    width: 100%;
}

.wpcf7-not-valid-tip {
    color: var(--color-lightred);
    text-align: left;
    padding: 1%;
    font-weight: 600;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 1%;
    border: 1px solid var(--color-lightgreen);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--color-lightred);
}


.wpcf7-form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    /*background-color: var(--bs-body-bg);*/
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.wpcf7-form input,
.wpcf7-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea {
    padding: 12px 15px;
}

.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form textarea:focus {
    border-color: var(--color-background);
}

.wpcf7-form textarea {
    padding: 10px 12px;
}

.wpcf7-acceptance,
input[type=checkbox] {
    border: 0!important;
}

.wpcf7-form input[type=submit] {
    background: var(--color-lightgreen);
    border: 0;
    padding: 14px 45px;
    color: var(--color-darkgreen);
    transition: 0.4s;
    border-radius: 10px;
}

.wpcf7-form input[type=submit]:hover {
    background: var(--color-darkgreen);
    color: var(--color-white);
}

/**
 Some Overrides
 */

.elementor-widget-wrap {
    background: transparent!important;
    padding: 1%;
}

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 100%!important;
}

.elementor-testimonial-wrapper .elementor-testimonial-content {
    font-size: 1em!important;
}

.elementor-testimonial-wrapper .elementor-testimonial-name {
    font-size: 0.85em!important;
}

.elementor-widget-tabs.elementor-tabs-view-horizontal .elementor-tab-desktop-title.elementor-active {
    background: var(--color-lightgreen)!important;
    border-top-left-radius: 5px!important;
    border-top-right-radius: 5px!important;
}

.elementor-2 .elementor-element.elementor-element-75da1ae .elementor-tab-content {
    background: var(--color-lightgreen)!important;
    border-bottom-left-radius: 5px!important;
    border-bottom-right-radius: 5px!important;
}