/*
Theme Name: My Awesome 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=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --blue: #091E5C;
    --lightblue: #30AFB7;
    --beige: #EBE4D2;
    --red: #C0081B;
    --body-bg: #EBE4D2;
    --body-txt: #091E5C;
    --title: #091E5C;
    --teal: #003A3A;
    --radius: 1.5rem;
    /* --green: #03A47C; */
}

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

html {
    font-size: 1.4vw;
}

/*@media only screen and (max-width: 1025px) {
    html {
        font-size: 1.4vw;
    }*/

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

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

body {
    background: var(--body-bg);
    color: var(--body-txt);
    margin: 0;
    padding: 0;
    font-family: "Urbanist", sans-serif;
    /*font-size: 22px; */
}

#logo img {
    max-width: 30%;
    height: auto;
}

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

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

#top-head a {
    color: var(--beige);
}

a:hover {
    /* color: var(--lightblue); */
    text-decoration: underline;
}

p b,
/*p strong, */
li b {
    color: var(--body-txt);
}

p,
li {
    line-height: 1.5;
}

ul {
    padding-left: 20px;
    list-style-type: square;
}

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

ol {
    padding-left: 1.5rem;
}

ol li::marker {
    color: var(--blue);
    font-weight: bold;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}


h1,
h2,
h3 {
    font-family: "Lora", serif;
    color: var(--title);
    font-weight: bold;
}

h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
}

/* h1 {
    animation: hello 0.6s ease-in-out forwards;
    opacity: 0;
    transform: translateX(-50px);
    animation-delay: 0.6s;
} */


h2 {
    font-size: 2rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

h2:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    var(--radius) position: absolute;
    left: -0.75rem;
    top: 0.75rem;
    background: var(--lightblue);
    border-radius: 50%;
    outline: solid 3px var(--lightblue);
    outline-offset: 6px;
    z-index: -1;
}

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 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    unicode-bidi: isolate;
}

h1 {
    opacity: 0;
    animation: hello 1s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 1s;
}

@keyframes hello {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.home h2 {
    text-transform: uppercase;
}

.home h1 {
    margin-top: 0.5rem;
}

.wp-block-button__link,
.wp-block-button__link wp-element-button,
.button,
input[type=submit] {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--beige);
    background: var(--blue);
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.wp-block-button__link:hover,
.wp-block-button__link wp-element-button:hover,
.button:hover,
input[type=submit]:hover {
    background: var(--red);
    transform: translateX(10px);
}


/* .button:hover {
    color: var(--lightblue) !important;
} */

blockquote {
    background: var(--lightblue);
    padding: 0.5rem 1rem;
    margin-left: 0;
    color: #091E5C;
    border-left: solid 5px var(--lightblue);
}

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

header {
    position: relative;
    z-index: 10;
    background-color: var(--blue);
    color: var(--beige);
    box-shadow: box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
}

#top-head {
    background-color: var(--blue);
    color: var(--beige);
    font-size: 1rem;
    padding-top: 0.25rem;
}

#top-head a:hover {
    color: var(--lightblue);
    text-decoration: underline;
}

#top-head ul {
    display: flex;
    font-size: smaller;
    gap: 1.5rem;
    margin: 0.25rem 0;
}

#top-head ul {
    display: flex;
}

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

#logo png {
    max-width: 10rem;
    height: auto;
}

:where(figure) {
    margin: 0 0 1em;
    margin-top: 1rem;
}

.hero {
    /* background: url('img/hatterkep.png'); */
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
}

.box-style {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: var(--beige);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.30);
    padding: 0rem 1rem;
    margin: 1rem 0;
    overflow-x: hidden;
}

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

.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% - 9px);
    margin-left: calc(-50vw + 18px);
    /* overflow-x: hidden; */
}

.home-hero {
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.80);
}

/* .content-box {
    padding-bottom: 1rem;
} */

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

.wp-block-post-template {
    list-style: none;
    margin-bottom: 2rem;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=file],
select,
textarea {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    padding: 0.5rem;
    /* border-radius: 2rem; */
    margin-bottom: 1rem;
    width: 100%;
}

footer {
    background: var(--blue);
    color: var(--beige);
    font-size: smaller;
}

footer a,
footer h3 {
    color: var(--beige);
}

.nav-links {
    text-align: center;
    margin: 2rem 0;
}

.nav-links span,
.nav-links a {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background: #fff;
    border: solid 1 px #ddd;
}

#copyright {
    background: var(--blue);
    color: var(--beige);
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    overflow: hidden;
    font-size: smaller;
}

#hamburger {
    display: none;
}


@media only screen and (max-width: 1281px) {
    /* #head .content-box {
        display: block;
    } */

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

    #head-menu {
        width: 100%;
        border-top: solid 1px #ddd;
        margin-top: 0.75rem;
    }

    #hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.5rem;
        height: 1.5rem;
        background: var(--beige);
        color: var(--blue);
        border-radius: 50%;
        padding: 0.5rem;
        transition: all 0.3s ease-in-out;
    }

    #hamburger.nyitva {
        background: var(--blue);
    }

    /* #hamburger svg {
        display: block;
        width: 100%;
        height: auto;
    } */

    #hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background: var(--blue);
        border-radius: 2px;
    }

    #hamburger.nyitva {
        background: var(--blue);
        justify-content: center;
    }

    
    #hamburger.nyitva span {
        background: var(--beige);
        transition: all 0.3s ease-in-out;
    }

    #hamburger.nyitva span:nth-of-type(2) {
        display: none;
    }

    #hamburger.nyitva span:nth-of-type(1) {
        transform: rotate(45deg);
        margin-bottom: -2px;
    }

    #hamburger.nyitva span:nth-of-type(3) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    #main-menu {
        max-height: 0;
        opacity: 0;
        transition: all 0.8s ease-in-out;
    }
    
     #main-menu.nyitva {
        max-height: 1000px;
        opacity: 1;
    }
    
        
    .wide {
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
    }
}


@media only screen and (max-width: 768px) {
    #top-head .content-box {
        display: block;
    }

    .query-cta ul {
        display: block;
    }
#hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.5rem;
        height: 1.5rem;
        background: var(--beige);
        color: var(--blue);
        border-radius: 50%;
        padding: 0.5rem;
        transition: all 0.3s ease-in-out;
    }

    #hamburger.nyitva {
        background: var(--blue);
    }

    /* #hamburger svg {
        display: block;
        width: 100%;
        height: auto;
    } */

    #hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background: var(--blue);
        border-radius: 2px;
    }

    #hamburger.nyitva {
        background: var(--blue);
        justify-content: center;
    }

    
    #hamburger.nyitva span {
        background: var(--beige);
        transition: all 0.3s ease-in-out;
    }

    #hamburger.nyitva span:nth-of-type(2) {
        display: none;
    }

    #hamburger.nyitva span:nth-of-type(1) {
        transform: rotate(45deg);
        margin-bottom: -2px;
    }

    #hamburger.nyitva span:nth-of-type(3) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    #main-menu {
        max-height: 0;
        opacity: 0;
        transition: all 0.8s ease-in-out;
    }
    
     #main-menu.nyitva {
        max-height: 1000px;
        opacity: 1;
    }
    
    .query-cta ul li {
        margin-bottom: 1rem;
    }

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


@media only screen and (max-width: 480px) {
    #top-head .content-box {
        display: block;
        text-align: left;
    }
}
