/* Variables */
:root {
    --green:#0F6A4B;
    --greyDark:#3B3B3B;
    --blue:#1C2A39;
    --black:#141414;
    --fontPrimary:'Roboto', sans-serif;
    --fontSecondary:"Montserrat", sans-serif;
}

/* Theme */
.font-primary {
    font-family: var(--fontPrimary) !important;
}
.font-secondary {
    font-family: var(--fontSecondary) !important;
}

@media screen and (max-width:1550px) {
    .container {
        max-width: 1150px;
    }
}

BODY {
    font-family: var(--fontSecondary);
}

/* Header */
NAV UL  {
    @media screen and (min-width:640px) {
        display: flex;
        justify-content: end;
    }
}
NAV UL LI  {
    padding:0px 10px;
    position: relative;
    @media screen and (min-width:640px) {
        display: flex;
        align-items: center;
        height:75px;
    }
    @media screen and (max-width:640px) {
       padding:8px;
        
    }
}
NAV UL LI:has(.sub-menu) {
    position: relative;
}
NAV UL LI:has(.sub-menu):hover .sub-menu {
    display: block;
}
NAV UL LI UL.sub-menu {
    position: absolute;
    width: 100%;
    min-width: 200px;
    right: 0px;
    top: 74px;
    background-color: white;
    z-index: 100;
    /* border-top: 1px solid var(--blue); */
    border-radius: 0px 0px 10px 10px;
    /* display: flex;
    justify-content: start; */
    padding:20px;
    display: none;
}
NAV UL LI UL.sub-menu LI {
    color:var(--blue);
    height: auto;
    padding:10px 0px;
}

NAV UL LI A {
    position: relative;
}
NAV UL LI A:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--blue);
    left: 0px;
    bottom:-5px;
}
NAV UL LI:hover > A:before {
    width: 100%;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu */
#mobileMenu {
    left:100%;
    transition:all 0.3s ease-in-out;
}

#mobileMenu.mobile-menu--open {
    left:0
}


#mobileNavToggle.mobile-menu-toggle--open .icon-bar:last-of-type {
    display:none;
}

#mobileNavToggle.mobile-menu-toggle--open .icon-bar:first-of-type {
    transform: rotate(45deg);
    top:8px;
}

#mobileNavToggle.mobile-menu-toggle--open .icon-bar:nth-of-type(2) {
    transform: rotate(-45deg);
}


.overlay:before {
    content:'';
    position:absolute;
    width:100%;
    height: 100%;
    background:var(--blue);
    opacity: 0.6;
    top:0px;
    left:0px;
    z-index: 2;
}
.overlay-left:before {
    content:'';
    position:absolute;
    background:linear-gradient(90deg, var(--blue) 0%, transparent 100%);
    top:0px;
    left: 0px;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.content-block P {
    margin-bottom:20px;
}
.content-block .wp-block-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color:var(--blue);
}

/* Footer */
FOOTER UL {
    display: flex;
    flex-wrap: wrap;
} 
FOOTER UL LI {
    width:50%;
    padding:2px 0px;
    @media screen and (max-width: 640px) {
        width:100%;
    }
}

/* Sidebar */
#sidebar, .tabs.wc-tabs {
    display: none;
}

/* Buttons */
.btn-primary {
    @apply bg-green-500 text-white font-primary py-3 px-6 rounded-lg;
}

/* Mailpoet */
#mailpoet_form_1 form.mailpoet_form {
    display: flex;
    gap: 15px;
    @media screen and (max-width: 768px) {
        flex-direction: column;
        align-items: center;
    }
}

#mailpoet_form_1 form.mailpoet_form .mailpoet_paragraph {
    background-color: white;
    padding: 10px;
    margin-bottom: 0px;
    width:80%;
    border-radius: 50px;
    @media screen and (max-width: 768px) {
        width: 100%;
    }
}
#mailpoet_form_1 form.mailpoet_form .mailpoet_paragraph input:focus-within {
    outline:none;
    border: none !important;
}
#mailpoet_form_1 form.mailpoet_form .mailpoet_paragraph.last {
    width:20%;
    background-color:var(--blue);
    color:white;
    transition: all 0.3s ease;
    @media screen and (max-width: 768px) {
        width: 50%;
    }

}
#mailpoet_form_1 form.mailpoet_form .mailpoet_paragraph.last:hover {
    background-color:white;
    color:var(--blue);
    cursor:pointer;
}

/* Custom Plugins */
.wp-block-ajm-plugin-two-column-text .row {
    display: flex;
    padding-block: 2rem;
}
.wp-block-ajm-plugin-two-column-text .row .column {
    width:50%;
}

/* Transitions */
.transition-section {
    transition: all 0.4s ease;
    transform:translateY(60px);
    opacity: 0;
}
.transition-section.transition-section--visible {
    transform:translateY(0px);
    opacity: 1;
}

/* Parallax */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center 30px;
    background-repeat: no-repeat;
}
.parallax-section--top {
    background-position: top;
}
.parallax-section--bottom {
    background-position: bottom;
}

/* Forms */
.form-wrapper form {
    background-color: var(--blue);
    border-radius: 4px;
    padding:25px !important;
}

.form-wrapper form input, .form-wrapper form textarea {
    background-color: white;
    border: 1px solid white;
    color: var(--blue);
    padding: 12px 20px !important;
    width:100% !important;
    border-radius: 4px;
}
.form-wrapper form textarea {
    min-height: 200px !important;
}

.form-wrapper form .mailpoet_form_columns {
    margin-bottom: 0px !important;
}


