/*!
Theme Name: FMJC
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fmjc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

FMJC is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
    --theme-brown: #998476;
    --theme-dark-brown: #242424;
    --theme-light-brown: #E3E3E3;
}

* {
    padding: 0;
    margin: 0;
}

body {
    font-size: 18px;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
}

h1 {
    font-family: "Lora", sans-serif;
    line-height: 74px;
    /* 48px regular */
}

h2 {
    @font-face {
        font-family: "BankGothic", sans-serif;
        /* 14px bold */
        line-height: 48px;
    }
}

h3 {
    font-family: "Lora", sans-serif;
    /* 40px Regular */
    line-height: 48px;
}

h4 {
    font-family: "Poppins", sans-serif;
    /* 26px regular */
    line-height: 34px;
}

footer {
    background-color: var(--theme-light-brown);
}

.copyright {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500; /* medium */
    background-color: #F4F4F4;
    text-align: center;
    color: #000000;
    padding: 45px 0;
}

.header-logo-container, .footer-logo-container .footer-logo {
    padding-right: 15px;
    width: 379px;
}

.container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
}

footer .container {
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 130px;
}

footer .site-header .footer-logo-container {
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    color: #000000;
}

.tel, .mailto {
    color: #000000;
    font-size: 16px;
    font-weight: 300;
}

.menu a {
    text-transform: uppercase;
}

header {
    background-color: #FFFFFF;
    padding: 10px 0;
}

#primary-menu {
    font-size: 18px;
    font-weight: 500;
}

#primary-menu a {
    color: #FFFFFF;
}

.header-nav {
    position: fixed;
    right: -1024px;
    border: 5px solid var(--theme-brown);
}

.open {
    display: flex;
    position: fixed;
    width: 100vw;
    right: 0;
    top: 67px;
    justify-content: center;
    background-color: #000000;
    transition: all .3s ease-in-out;
    z-index: 2;
    border: 2px solid #FFFFFF;
}

.active {
    transition: all .3s ease-in-out;
}

.header-nav nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 15px
}

.header-nav nav ul li {
    border: 2px solid #FFFFFF;
    width: 100%;
    margin: 5px;
}

.menu-main-container {
    padding-top: 4px;   
}

.contact-container {
    width: 100vw;
    display: flex;
    justify-content: end;
}

.contact {
    display: flex;
    justify-content: space-between;
    background-color: var(--theme-brown);
    border-top: 5px solid #000000;
    width: 63vw;
    margin-top: -34px;
    padding: 10px;
    z-index: 1;
}

.contact a {
    align-content: center;
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-transform: capitalize;
}

.contact img {
    width: 35px;
}

.accent::after {
    content: '';
    top: 0;
    left: 0;
    background-color: transparent;
    width: auto;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    border: 2px solid var(--theme-brown);
}

/* mobile button start */

.mobile-btn {
    width: 60px;
    height: 45px;
    align-self: center;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 1;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    border: none;
}

.mobile-btn span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--theme-brown);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.mobile-btn span:nth-child(1) {
    top: 0;
}

.mobile-btn span:nth-child(2) {
    top: 18px;
}

.mobile-btn span:nth-child(3) {
    top: 36px;
}

.mobile-btn.active span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.mobile-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-btn.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.header-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    border: none;
}
.header-nav nav {
    height: 100vh;
    display: block;    
}
.mobile {
    display: flex;
    justify-content: space-around;
    align-content: center;
    padding: 10px 0;
}

/* mobile button end */

@media (min-width: 768px) {

    .contact {
        padding: 25px 50px 25px 70px;
        margin-top: -76px;
    }

    .contact a {
        font-size: 48px;
    }

    .contact img {
        width: 70px;
        height: 90px;
    }

    .open {
        top: 96px;
    }
}

@media (min-width: 1024px) {
    .open {
        display: none
    }

    .mobile-btn {
        display: none;
    }

    #primary-menu a {
        padding-left: 10px;
        color: #000000;
    }

    .header-nav {
        display: flex;
        flex-direction: row;
        position: initial;
        right: 0;
        background: transparent;
        justify-content: end;
        width: 100%;
        border: none;
    }

    .header-nav nav {
        border: none;
        height: auto;
    }

    .header-nav nav ul {
        flex-direction: row;
        padding: 0;
        justify-content: end;
    }

    .header-nav nav ul li {
        border: none;
        width: auto;
    }
    .mobile {
        display: none;
    }
    .menu-main-container {
        padding-top: 0;
    }
    .header-nav nav ul {
        border: none;
    }
}

@media (min-width: 1201px) {
    #primary-menu a {
        padding-left: 30px;
    }
}

@media (min-width: 1920px) {
    #primary-menu a {
        padding-left: 68px;
    }
}

.footer-logo-container {text-align: center;}

.elementor-widget-button {
border: 2px solid #998476!important;
}

.elementor-popup-modal .dialog-close-button svg {
    fill: #FFF!important;
    height: 2rem!important;
    width: 2rem!important;
}

[role=button], [type=button], [type=file]::file-selector-button, [type=reset], [type=submit], button {
    background-color: transparent!important;
    border: none!important;
}

@media (max-width: 1512px) {
    .elementor-4 .elementor-element.elementor-element-01f8cca {
        padding-left: 15px;
    }
}

.contact-info a {
    color: #FFF;
}

.header-panel {
    max-height: 80vh;
}

@media (max-width: 767px) {
    .header-panel {
        max-height: 100%;
    }
}



@media (max-width: 767px) {
    .open {
        top: 96px;
    }
}

@media (max-width: 420px) {
    .open {
        top: 76px;
    }
}

@media (max-width: 320px) {
    .open {
        top: 70px;
    }
}