/*
Theme Name: MyFive
Theme URI: https://frontendtanfolyam.hu/
Author: FrontendTanfolyam
Author URI: https://frontendtanfolyam.hu/pocsik-emese-frontend-fejleszto/
Description: Basic Block Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myfive
*/

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

body {
    overflow-x: hidden;
}

.highlight-list {
    list-style: none;
    padding: 30px;
    margin: 0;
}

.highlight-list li {
    position: relative;
    font-weight: bold;
    margin-bottom: 1rem;
    overflow: hidden;
}

.highlight-list li span {
    position: relative;
    z-index: 1;
    padding-left: 1.5rem;
    display: inline-block;
    cursor: pointer;
}

.highlight-list li span:hover {
    color: white;
}

/* before elem - kezdetben csak egy kis csík bal oldalon */
.highlight-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 16px;
    background: linear-gradient(45deg, #387E9F, #5AB9E4);
    transition: width 0.6s ease;
    z-index: 0;
    border-radius: 3px;
}

/* hoverre - a before elem "kitágul" és mögé kerül a szövegnek */
.highlight-list li:hover::before {
    width: 80%;

}

.custom-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-checklist li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1rem;

    color: #000;
    line-height: 1.4;
}

img {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    will-change: transform;
    display: inline-block;
}

img:hover {
    transform: scale(1.03);
    /* enyhe nagyítás */
}

.wp-block-button .wp-block-button__link {
   display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(to right, #97182D, #AB4335);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.4s ease;
}


.wp-block-button .wp-block-button__link:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #AB4335, #D54A4A);
}
.property-card img {
    padding: 0px 10px 10px 0px;
}
li.wp-block-post .ingatlanok {
    margin: 0, 10px, 10px, 0;
}
.property-card {
  background: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.property-title {
    padding-top: 40px;
    padding-bottom: 20px;
}
.wp-block-query-title {
 text-align: center;
    padding-top: 80px;
    margin-bottom: 40px;
}
.wp-block-post-title {
    padding: 10px!important;
    margin-bottom: 20px!important; 
    margin-top: 0!important;
}
.wp-block-post-featured-image img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}


.custom-checklist li::before {
    content: "";
    position: absolute;
    top: 0.1rem;
    left: 0;
    width: 1.3rem;
    height: 1.3rem;
    background-image: url("img/pipa.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


@media screen and (max-width: 1199px) {
    body {
        font-size: 18px;

    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}

.center-box {
    width: 90%;
    max-width: 1640px;
    margin: 0 auto;

    overflow: hidden;
}

.price {
    text-align: center;

}

#logo {
    text-align: center;
}

#logo a {
    display: block;
    margin: 1.5rem 0;
}


#logo svg {
    display: block;
    max-width: 180px;
    height: auto;
}

h2 {
    position: relative;
    /* A ::before pseudo-element pozicionálásához szükséges */
    font-size: 2rem;
    /* A szöveg mérete */
    font-weight: bold;
    /* Szöveg félkövér megjelenítése */

}

.services {
    border: 4px solid transparent !important;
    border-radius: 12px;
    /* vagy amit szeretnél */
    background-image:
        linear-gradient(white, white),
        /* belső háttér */
        linear-gradient(45deg, #387E9F, #5AB9E4);
    /* border gradient */
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

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

.wp-block-cb-faqs .faq-label {
    cursor: pointer;
    margin: 0;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 0;
    border-bottom: solid 10px #F2EBE7 !important;
}

.wp-block-cb-faqs .faq-content {
    display: none;
    padding: 0 1rem;
    border: solid 1px #F2EBE7 !important;
    margin-bottom: 1rem;
}

.wp-block-cb-faqs .faq-label img {
    width: 80px !important;
    transition: transform .25s ease, filter .25s ease, box-shadow .25s !important;
    filter: grayscale(40%) !important;
}

.wp-block-cb-faqs .faq-label img:hover {
    transform: translateY(-4px) scale(1.05) !important;
    filter: grayscale(0%) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15) !important;
}


div.wpforms-container-full,
div.wpforms-container-full *,
#wpforms-480 {
    background-color: #F2EBE7;
    padding: 20px;
}

.wpforms-required-label {
    display: none;
}

div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
    background: linear-gradient(to right, #97182D, #AB4335) !important;
    color: #fff !important;
    border: solid 3px #fff !important;
    border-radius: 50px !important;
}
div.wpforms-container-full input[type=submit]:hover,
div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full .wpforms-page-button:hover,
.wp-core-ui div.wpforms-container-full input[type=submit]:hover,
.wp-core-ui div.wpforms-container-full button[type=submit]:hover,
.wp-core-ui div.wpforms-container-full .wpforms-page-button:hover {
        background: #fff !important;
    color: #97182D !important;
    border: solid 3px #97182D !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}


.wp-block-cb-tabs .tab-content {}

.tab-labels {}

.tab-labels .active {}

.tab2 .tab-content {}

.tab2 .tab-labels {}

.tab2 .tab-labels .active {}

div.wpforms-container-full,
div.wpforms-container-full,
#wpforms-151 {
    background-color: #F2EBE7;
    border-radius: 20px 20px 20px 20px !important;
    box-shadow: 20px 20px 30px 0px rgba(0, 0, 0, 0.25);
}



/*
h2::before {
   content: "";
    display: inline-block;
    width: 15px;
    height: 40px;
    background-image: url(img/decor.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    
    transform: translateY(-50%);
    transform: translateX(-130%);
   
}
*/

#go-to-top {
    background: #262121;
    /* line-height: 2rem; */

    padding: 10px;
    position: fixed;
    bottom: 0;
    right: 1rem;
    /* padding: 0.5rem; */
    cursor: pointer;
    z-index: 10000;
    font-size: large;
    color: #fff;

}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {}

@media only screen and (min-width: 600px) {
    .header li:hover {
        z-index: 2;
        color: #fff;
        position: relative;


    }


    .header li::after {
        content: "";
        background-color: #2B6684;
        /* A kívánt háttérszín */
        display: block;
        position: absolute;
        width: 110%;
        height: 400px;
        color: #fff;
        left: 0;
        opacity: 0;
        /* Alapállapotban rejtett */
        transition: opacity 0.3s ease-in-out;

    }

    .header li {
        position: relative;
        padding: 10px;
    }

    .header li:hover::after {
        opacity: 1;
        /* Hover állapotban megjelenik */
        color: #fff;
        z-index: -1;
    }

    header {
        position: sticky !important;
        top: 0;
        z-index: 999;
    }

    .hero {
        max-width: 800px;
    }



}

@media only screen and (min-width: 1199px) {}

@media only screen and (min-width: 1200px) {}

@media only screen and (min-width: 1275px) {}

@media only screen and (min-width: 769px) {

    main h2 {
        transition: all 0.6s ease-in-out;
        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition: all 0.6s ease-in-out;
        -o-transition: all 0.6s ease-in-out;
        transform: scale(1.2);
        opacity: 0;
        transform-origin: top center;
    }

    main h2:first-of-type {
        opacity: 0;
        transform: scale(1);
    }

    main h2.screen {
        transform: scale(1);
        opacity: 1;
    }


    main .picture {
        opacity: 0;
        transform: translateX(-50px);
        /* Balra indul */
        transition: all 0.6s ease-in-out;
    }

    main .picture::first-of-type {
        opacity: 0;

        transform: translateX(0);
        /* Alaphelyzetbe csúszik */
    }

    main .picture.slide-in {
        opacity: 1;
        transform: translateX(0);
        /* Alaphelyzetbe csúszik */
    }
}


}
