/*
Theme Name: Flora Theme
Theme URI: https://www.kispimasz.hu
Author: Barath Edit
Author URI: https://www.ditedesign.hu
Description: Flora 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: flora-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/



@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');




:root { --orange: #FFBF00;
    --teal: #01796F;
    --light: #FFFFEF;
    --title: #2A3937;
    --white: #FFFFFF;
    --text: #434F49;
    --lime: #BDEA4A;
    --bg-light: #ECF7EC;
    --radius: 1.5rem;
   
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
html {
    font-size: 1.25vw; /*24px  24/1920*100*/
}  
@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;
    }
}
body {
    margin: 0; 
    padding: 0;
    font-family: 'Red Hat Display', sans-serif;
    background: var(--light);
    color: var(--text);
    overflow-x: hidden;


}
img {
    max-width: 100%;
    height: auto;
}
a{
    color: var(--orange);
    text-decoration: none;
}
a:hover {
    color: var(--orange);
}
p, li {
    line-height: 1.5;
}
ul li::marker {
    color: var(--lime);
    
    
}
ol {
    padding-left: 1.5rem;
    margin: 0;
}
ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}
ol li::marker {
    color: #fff;
   /* font-size: 24px; itt tudom a számozott lista jelölő méretét állítani */
    font-weight: bold;
}
ol li:before {     /*A számozott lista jelölő hátterének beállítása*/
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--lime);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
    border-radius: 50%;

}
ul {
    padding-left: 20px;
    
    margin: 0;
}
h1, 
h2,
h3 {
   color: var(--title);
   line-height: 1.2;
}
h2 a,
h3 a {
    color: inherit;

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

h1 {
    font-size: 3rem;
    position: relative;
    margin-bottom: 0.5rem;
    z-index: 1;
}
h1.visible {
    animation: Hello 1s ease-in-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
    transform: translateX(-50px);
}
.highlight.visible {
    animation: Hello 1s ease-in-out forwards;
    opacity: 0;
    animation-delay: 0.9s;
    transform: translateX(-50px);
}
.hero h1 + p {
    animation: Hello 1s ease-in-out forwards;
    opacity: 0;
    animation-delay: 1.2s;
    transform: translateX(-50px);
}
.hero h1 + p + p {
    animation: Hello 1s ease-in-out forwards;
    opacity: 0;
    animation-delay: 1.5s;
    transform: translateX(-50px);
}
.wp-block-button.visible,
.button.visible,
.wp-block-post-excerpt__more-text.visible {
    animation: Hello 1s ease-in-out forwards;
    opacity: 0;    
    transform: translateX(-50px);
    animation-delay: 0.6s;
}
@keyframes Hello {
   
    100%{
   
    opacity: 1;
    transform: translateX(0);
    }
}
h2.visible {
    animation: Helloup 1s ease-in-out forwards;
    opacity: 0;
    transform: translateY(50px);
    animation-delay: 0.6s;
}

@keyframes Helloup {
   
    100%{
    opacity: 1;
    transform: translateY(0);
    }
}
h1.visible:before,
h2.visible:before {
    animation: Hellosize 1s ease-in-out forwards;
    opacity: 0;
    transform: scale(0);
    animation-delay: 1.6s;
}
@keyframes Hellosize {
   
    100%{
   
    opacity: 1;
    transform: scale(1);
    }
}



/*A vertical-center miatt hogy középen legyen függőlegesen*/
.page-template-page-hero h1 {
    margin-top: 0;
}

/*Itt lehet beállítani a dekor elemet (zöld karika)*/
h1:before,
h2:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    position: absolute;
    left: -0.75rem;
    top: 0.75rem;
    background: var(--lime);
    border-radius: 50%;
    outline: solid 3px var(--lime);
    outline-offset: 6px; /*a belső pötty és a karika közti hézag*/
    z-index: -1;
}

    

h2 {
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    position: relative;
}
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.25rem;
}

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

}
.button:hover, 
.wp-block-button a:hover,
.wp-block-post-excerpt__more-link:hover,
input[type="submit"]:hover {
   
    background-color: var(--title);
    color: var(--orange);
    text-transform: initial;
    border-radius: 10px;
    transform: rotate(360deg);
  
}
blockquote {
    
    margin: 0 0 1rem 0;
  
}

.align-center {
    text-align: center;
}
header {
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 10;
    padding:0;
}
#top-head{
    background: var(--lime);
    color: var(--title);
    font-size: 0.75rem;
    margin: 0.25rem 0;
    padding: 0.8rem 0;
}
#top-head .content-box, 
#head .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#head {
    padding: 0.8rem 0;
}

#top-head ul {
    display: flex;
    gap: 1.5rem;

}
#top-head a {
    color: var(--title);
}
#logo svg {
    max-width: 10rem;
}
#logo svg path{
    fill: var(--title);
}
#logo a:hover svg path {
    fill:var(--teal);
}

.highlight {
    color: var(--teal)
}
.hero {
    background-color: var(--bg-light);
    overflow: hidden;
}

.box-style,
blockquote,
.query-cta ul li {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(1, 122, 111, 0.20);
    padding: 0 1.5rem;
    overflow: hidden;

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

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

.portfolio ul {
    display: block;
    column-count: 3;
}

.portfolio ul li {
    break-inside: avoid;
    position: relative;
}

.portfolio ul li figure {
    border-radius: var(--radius);
    overflow: hidden;
}
.portfolio ul li h3 {
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: var(--white);
    margin: 0;              
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    pointer-events: none;
    transition: all 0.5s ease-in-out;   /*A pinterestes képek feliratának mozgási sebessége*/

}
.portfolio ul li:hover h3 {
    padding: 2rem 1rem 1.5rem 1rem;
}
.portfolio ul li:hover h3:before {
    height: 7rem;
}
/*sötétszürke animált árnyék beállítása a kezdőoldalon a pinterestes résznél*/

.portfolio ul li h3:before {
    content: '';
    display: block;
    background: #000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 4rem;     /*4 rem magasra fut fel az árnyék*/
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s ease-in-out;    /*árnyék mozgásának sebessége*/
}

body .team {
    display: block;
    column-count: 2;
    gap: 1.25em!important;
}
body .team .wp-block-image {
    margin-bottom: 1.25em!important;
    border-radius: var(--radius);
    overflow: hidden;
}

.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% + 9px);
    margin-left: -50vw;
}
.lime-bg {
    background-color: var(--lime);
    padding: 10vw 0;
    color: var(--title);
   
}

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

}   
.vertical-center {
    align-items: center;
}
.home-hero{
    background-image: url(img/heroo.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
.wp-block-buttons> .wp-block-button {
    margin-bottom: 1rem;
}


input[type=text],
input[type=tel],
input[type=email],
input[type=file],
textarea,
select {
    border: 2px solid var(--orange);
    background: var(--lime) ;
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    padding: 0.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    width: 100%;
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=file]:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color:var(--title)!important;
}




footer {
    background: var(--teal);
    border-top: 3px solid var(--lime);
    color: var(--white);
    font-size: smaller;
    padding: 5rem 0 3rem 0;
}
footer a,
footer h3 {
    color: var(--white);
}
#copyright {
    background: var(--teal);
    color: var(--white);
    font-size: smaller;
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    overflow: hidden;

}



.nav-links {
    text-align: center;
    margin: 3rem 0;
}
/* lapozó formázása*/

.nav-links span, .nav-links a {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border: solid 2px var(--lime);
    background: var(--white);
    border-radius: 5px;
    font-weight: bold;
}
.wp-block-post-featured-image{
    
    border-radius: var(--radius);
}

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

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

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

/*.wp-block-query:hover,*/
.wp-block-post-featured-image a:hover img,  /*.portfolio ul li:hover img,figure img:hover */
.box-style figure a:hover img {

    transform: scale(1.2);
}



/*.portfolio ul li img {
    transition: transform 0.5s ease-in-out;
}  */


@media only screen and (max-width: 1281px) {
.home-portfolio,
 .home-portfolio .wp-block-buttons {
    display: block!important;
}
.home-portfolio-txt {
    text-align: center;
}
.home-portfolio h2 {
    justify-content: center;
    display: flex;
}
.home-portfolio h2:before {
    position: relative;
    left: 1.25rem;
    top: 0.25rem;
}
#head .content-box {
    flex-wrap: wrap;
}   
#head-menu {
    width: 100%;
    
    margin-top: 0.75rem;
}



.wide {
    width: 100vw;
   
    left: 50%;
    
}
}  
@media only screen and (max-width: 1023px) {
    #top-head .content-box {
        display: block;
        text-align: center;
    }


    
}
@media only screen and (max-width: 768px) {
    .home-hero {
      background-position: right bottom-30vw;
      background-size: 190% auto;
      padding-bottom: 75vw;
       
    }
    h1 ,h2 {
    font-size: 2rem;
    }
    h3 , .archive h2 {
    font-size: 1.25rem;
    }
    .query-cta ul {
        display: block;
    }
    .query-cta ul li {
        margin-bottom: 1rem;
    }
    .portfolio ul {
        column-count: 2;
    }
}
@media only screen and (max-width: 480px) {
     #top-head .content-box {
        text-align: left;
     }
    
    
    #top-head ul {
        display: block;
        margin: 0;
        padding: 0;

    }
    #top-head ul li {
       
        margin: 0;
        padding: 0;
        padding: 0.25rem 0;
    }
    footer .column-4 > div {
        width: 100%;
    }
    .wp-block-spacer {
        max-height: 50px;
    }
  .portfolio ul {
        column-count: 1;
    }
}