/*
Theme Name: Mezcal theme
Theme URI: https://www.myawesometheme.com
Author: John Doe
Author URI: https://www.johndoe.com
Description: My Awesome Theme is a responsive, modern, and feature-rich WordPress theme designed for all kinds of websites. It comes with a custom homepage layout, multiple widget areas, and full compatibility with popular plugins.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: my-awesome-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Faculty+Glyphic&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



:root {
    --orange: #F6A608;
    --txt: #333333;
    --green: #10561B;
    --yellow: #F7CE73;
    --radius: 1.5rem;
}


*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    font-size: 1.25vw;
}

@media only screen and (max-width: 1281px) {
    html {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 22px;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 18px;
    }
}

.the_title {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    color: var(--txt);
    font-family: 'Inter';
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--green);
}

p,
li {
    line-height: 1.5;
}

ul li::marker {
    color: var(--green);
}

ul {
    padding-left: 20px;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.2;
    font-family: Faculty Glyphic;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}


h2 {
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h2.has-text-align-center {
    justify-content: center;
    display: flex;
}

h2.has-text-align-center:before {
    position: relative;
    left: 1.25rem;
    top: 0.25rem;
}

h3,
.archive h2 {
    font-size: 1.5rem;
}

h2 a,
h3 a {
    color: inherit;
}

.wp-block-latest-posts__post-title {
    color: var(--green);
}

.wp-block-latest-posts__post-title:hover {
    color: var(--orange);
}

.wp-block-latest-posts.wp-block-latest-posts__list {
    list-style-type: disc;
}

.page-template-page-hero {
    margin-top: 0;
}

.wp-block-post-excerpt__excerpt,
.wp-block-post-excerpt__more-text {
    margin-bottom: 1rem;
}

.align-center {
    text-align: center;
}

.cover-img {
    height: 100%;
    object-fit: cover;
}

.button,
.wp-block-button a,
.wp-block-post-excerpt__more-link,
input[type="submit"] {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--text);
    background: var(--orange);
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    border-radius: 0.5rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

input[type="submit"] {
    width: 100%;
}

.ghost a {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 0.5rem;
}

.button:hover,
.wp-block-button a:hover,
.wp-block-post-excerpt__more-link:hover,
.ghost a:hover,
input[type="submit"]:hover {
    color: #fff;
    background: var(--green);
    transform: translateX(10px);
    border: none;
}

blockquote {
    margin: 0 0 1rem 0;
}

.align-center {
    text-align: center;
}

header {
    position: relative;
    z-index: 10;
    background: #FFF;
}

#head .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#head {
    padding: 0.75rem;
}

#logo svg {
    max-width: 10rem;
}

.highlight {
    color: var(--green);
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.highlight-yellow {
    color: var(--orange);
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.hero {
    background-color: var(--green);
    overflow: hidden;
    padding: 7vw 0;
}

.hero h1 {
    font-size: 4rem;
    margin-top: 0;
}

.home-hero {
    background-image: linear-gradient(rgba(16, 86, 27, 0.7),
            rgba(16, 86, 27, 0.7)), url(img/hero-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.home-hero-inside {
    margin-bottom: 0;
}

.box-style,
blockquote,
.query-cta ul li {
    border-radius: var(--radius);
    border: 1px solid var(--orange);
    background: #FFF;
    padding: 0 1.5rem;
    overflow: hidden;
}

.query-cta ul li h3,
.query-cta ul li h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}

.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% + 7px);
    margin-left: -50vw;
}

.narrow {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.vertical-center {
    align-items: center;
}

.query-cta ul li figure,
.box-style figure {
    margin: -5rem;
}

.wp-block-buttons > .wp-block-button {
    margin-bottom: 1rem;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=file],
select,
textarea {
    border: 1px solid var(--orange);
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    width: 100%;
}


footer {
    background: var(--green);
    color: #FFF;
    font-size: smaller;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

footer a,
footer h3 {
    color: #FFF;
}

footer a:hover {
    color: var(--orange);
}

#menu-footer-menu {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    justify-content: space-between;
}

#menu-footer-menu li {
    padding: 1rem 0 2rem 2rem;
}

.wp-block-paragraph a {
    padding-left: 3rem;
}

.icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.icon svg path {
    fill: var(--orange);
}

.icon a:hover svg path {
    fill: #fff;
}


.social {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#copyright {
    background: var(--green);
    color: #FFF;
    font-size: smaller;
    overflow: hidden;
    margin-top: -2rem;
}

.nav-links {
    text-align: center;
    padding-top: 1.5rem;

}

.nav-links span,
.nav-links a {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background: var(--orange);
    border-radius: 50%;
    color: var(--text);
}

.box-style figure {
    margin-bottom: 1rem;
}

.wp-block-query .wp-block-post-featured-image a,
.box-style figure a,
.wp-block-post-featured-image {
    overflow: hidden;
    display: block;
}

.wp-block-query .wp-block-post-featured-image a img,
.box-style figure a img,
.wp-block-post-featured-image img {
    transition: all 0.3s ease-in-out;
    display: block;
}

.wp-block-query .wp-block-post-featured-image a:hover img,
.box-style figure a:hover img,
.wp-block-post-featured-image img:hover {
    transform: scale(1.2);
}

.service {
    padding: 3rem 0;
}

.service h2 {
    padding-bottom: 1.5rem;
}

.service-card {
    background: var(--green);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
}

.service-card svg,
.approach-card svg {
    width: 4rem;
    height: 4rem;
}

.process {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.9)), url(img/process-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 2rem 0;
}

.process h2 {
    padding-bottom: 2rem;
}

.process-card,
.approach-card {
    background: #fff;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    text-align: center;
    font-size: smaller;
}

.process-card h3,
.approach-card h3 {
    font-size: 1rem;
}

.approach-card {
    font-size: smaller;
    height: 350px;
    padding: 2rem;
    margin-bottom: 1rem !important;
}

.process-card-number {
    font-family: Faculty Glyphic;
    font-size: 1.5rem;
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial {
    background: var(--green);
    padding: 2rem 0;
    color: #fff;
}

.testimonial svg {
    display: flex;
    margin: 0 auto;
}

.blog {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-id-14 .hero,
.page-id-20 .hero {
    padding: 4rem;
}

.page-id-14 .hero h1,
.page-id-20 h1 {
    font-size: 2.5rem;
    max-width: 60rem;
    display: block;
    margin: 0 auto;
}

.pricing {
    background: var(--green);
    color: #fff;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.wp-block-image img {
    border-radius: 0.5rem;
}

.category-blog .highlight {
    padding-top: 3rem;
}

.category-blog h1 {
    margin-top: 0;
}

.about-hero {
    background-image: linear-gradient(rgba(16, 86, 27, 0.95),
            rgba(16, 86, 27, 0.95)), url(img/about.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin: 0;
}

.page-id-18 .highlight {
    padding-top: 2rem;
}

.about-list li {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border: 2px solid var(--orange);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

.about-list ul {
    list-style-position: inside;
}

.about-list li::marker {
    font-size: 1.5rem;
}

.genres li {
    display: inline-block;
    list-style: none;
    color: #fff;
    background: var(--green);
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.page-id-20 .wp-block-paragraph a {
    padding: 0;
}

.faq {
    border: 1px solid var(--orange);
    padding: 2rem;
    margin: 0.5rem !important;
    border-radius: 0.5rem;
}

.faq-box,
.page-id-18 .wp-block-list {
    margin: 0;
}

.page-id-18 .wp-block-list {
    padding-left: 0;
}

@media only screen and (max-width: 1281px) {

    .wp-block-buttons {
        display: block !important;
    }

    #head .content-box {
        flex-wrap: wrap;
    }

    #head-menu {
        width: 100%;
    }

    .wide {
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
    }

    .content-box {
        display: block;
        text-align: center;
    }
}


/*tablet nezet*/
@media only screen and (max-width: 768px) {

    h1,
    h2,
    .page-id-14 .hero h1,
    .about-hero h1,
    .page-id-20 h1 {
        font-size: 2rem !important;
    }

    h3,
    .archive h2 {
        font-size: 1.25rem !important;
    }

    .single .col-5-6 {
        text-align: left;
    }

    .recent-posts,
    .categories {
        text-align: left;
        margin-left: 1.5rem;
    }

    .query-cta ul {
        display: block;
    }

    .query-cta ul li {
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .service-card {
        margin-top: 1.5rem !important;
    }

    .process-card {
        margin-bottom: 1.5rem !important;
    }

    #menu-footer-menu {
        display: block;
        padding: 0;
    }

    #menu-footer-menu li {
        padding: 0;
    }

    .social {
        flex-direction: column;
        gap: 1rem;
    }

    .icon {
        margin-left: auto;
        text-align: center;
        padding: 0;
    }

    .wp-block-paragraph a {
        padding: 0;
    }


    .page-id-14 .hero p,
    .page-id-20 .hero p {
        font-size: 1rem !important;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-id-14 .hero,
    .page-id-20 .hero {
        padding: 1.5rem;
    }

    .category-blog p {
        padding-bottom: 0;
    }

    .about-list li {
        text-align: left;
    }

    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }

    .page-id-20 .wp-block-list li,
    .service-box ul li {
        text-align: left;
    }

    .page-id-20 .turnaround ul,
    .service-box ul {
        padding-left: 0;
        margin: 0 auto;
        width: fit-content;
    }

    .service-box ul {
        padding-left: 1rem;
    }


    /*mobil nezet*/
    @media only screen and (max-width: 480px) {

        footer {
            width: 100%;
        }

        .wp-block-spacer {
            max-height: 50px;
        }
    }
