/*
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
*/

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    cursor: pointer !important;
}

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

.aligncenter {
    text-align: center;
}

.alignleft {
    text-align: left;
}

.bg-color {
    position: relative;
    /* Ez szükséges a pseudo-elem helyes pozicionálásához */
    margin-right: -1rem !important;
    margin-left: -1rem !important;
}

.bg-color::before {
    content: '';
    /* Szükséges a pseudo-elem megjelenítéséhez */
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            /* Felső rész teljesen fehér */
            rgba(255, 255, 255, 0) 20%,
            /* Áttetsző középső rész kezdete */
            rgba(255, 255, 255, 0) 80%,
            /* Áttetsző középső rész vége */
            rgba(255, 255, 255, 1) 100%
            /* Alsó rész teljesen fehér */
        ),
        url('../myfive/img/bg_color.jpg');
    /* Háttérkép hozzáadása */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    /* Az elem helyzetét a szülőhöz igazítja */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* A háttérkép a szöveg mögött maradjon */
}


.bg-after {
    margin: 0 1rem !important;
}

@media only screen and (min-width:1441px) {
    background-size: cover !important;
}

.copyright a {
    color: #957083;
    text-decoration: none;
}

.copyright a:hover {
    color: #281822;
}

#logo {}

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

#logo img {
    display: block;
    width: 50px !important;
    height: auto;

}

.wp-block-site-logo img {
    width: 50px !important;
    box-shadow: 1px 2px 3px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 2px 3px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 2px 3px rgba(40, 34, 24, 0.2);
    border-radius: 50%;
    padding: 0.2rem;
}


footer h2 {
    color: #FFF9F3;
    text-align: center;
}

footer a span,
footer p a {
    color: #FFF9F3 !important;
    cursor: pointer !important;
}

footer a span:hover,
footer p a:hover {
    color: #957083 !important;
    cursor: pointer !important;
}

footer p a {
    text-decoration: none;
    cursor: pointer !important;
}

footer ul li a span,
footer ul li a {
    font-weight: 500 !important;
    cursor: pointer !important;
}


.GDPR {
    padding-bottom: 1rem;
}

.gyik-box {
    max-width: 1000px;
}

.gyik-box h3 {
    color: #957083;
}

.gyik-box h3:hover {
    color: #281822;
}

.gyik-box .faq-content {
    background-color: white;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    padding: 2rem !important;
    border-radius: 8px;
    border: none !important;
}

h1 {
    position: relative;
}

h1:after {
    content: "";
    height: 3px;
    width: 200px;
    display: block;
    background: #C59C79;
    position: absolute;
    bottom: -1rem;
}

.kivetel a {
    text-decoration: none;
}

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.vertikalis-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

@media only screen and (max-width: 959px) {
    .wp-block-columns {
        flex-direction: column !important;
    }
}

/* 1200px szélesség alatti nézetekben az oszlopok egy sorba kerülnek */
@media only screen and (max-width: 1200px) {
    .wp-block-columns {
        display: block !important;
        /* Az oszlopokat egy blokkba rendezi */
    }

    .wp-block-column {
        width: 100% !important;
        /* Minden oszlop 100%-os szélességű lesz */
        margin-bottom: 20px !important;
        /* Térköz az oszlopok között */
    }
}


/*Gombok*/

.btn {
    background: #957083;
    color: white !important;
    border: none;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 1rem 2.1rem;
    transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
    display: inline-block;
    cursor: pointer;
    width: auto;
    min-width: 10rem;
    outline: none;
    vertical-align: middle;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
}

.btn-arrow {
    position: relative;
    transition: background-color 300ms ease-out;
}

.btn-arrow span {
    display: inline-block;
    position: relative;
    transition: all 300ms ease-out;
    will-change: transform;
    color: white !important;
}


.btn-arrow svg {
    stroke-width: 5;
    stroke: transparent;
}


.btn-arrow svg {
    position: absolute;
    width: 1.1em;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 300ms ease-out;
    will-change: right, opacity;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: #957083;
    color: white;
}

.btn-arrow:hover span {
    transform: translate3d(-1rem, 0, 0);
}

.btn-arrow:hover svg {
    opacity: 1;
    right: -2rem;
}

.price-button .btn {
    display: block;
    font-size: 1.2rem;
}



.elerhetosegeim a,
.egyedi-bejegyzesek a {
    text-decoration: none;
}

.elerhetosegeim a:hover,
.egyedi-bejegyzesek a:hover {
    color: #281822;
}

.footer-btn {
    padding-left: 0;
}

.footer-btn .btn {
    padding: 0.5rem 1.8rem;
    font-size: 0.85rem;
}

.footer-btn .btn span:hover {
    color: white;
}

.gotop {
    width: 3rem;
    height: 3rem;
    line-height: 2rem;
    background: #957083;
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

.gotop:hover {
    border: solid 1px #281822;
}

.gotop svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.gotop svg path {
    fill: #ffffff;
}

#rolam-kapcsolodo h4 a {
    text-decoration: none !important;
}

#rolam-kapcsolodo h4 a:hover {
    color: #281822 !important;
}

.rolam-btn {
    background: none;
    color: #957083 !important;
    border: solid 1px #957083;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.5rem 2.1rem;
    transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
    display: inline-block;
    cursor: pointer;
    width: auto;
    min-width: 10rem;
    outline: none;
    vertical-align: middle;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /*box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);*/
}

.rolam-btn:hover {
    border: none;
}

.rolam-gomb .btn-arrow span {
    color: #957083 !important;
}

.rolam-gyik .gyik-box h4 {
    color: #957083 !important;
    font-weight: 400 !important;

}

.rolam-gyik .gyik-box h4:hover {
    color: #281822 !important;

}

.rolam-gyik .gyik-box .faq-content {
    background-color: white;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.2);
    padding: 1rem !important;
    border-radius: 8px;
    border: none !important;
    font-size: 1rem !important;
}


/*Galéri lapozás átalakítása és áthelyezése*/

/* Navigáció pozícionálása bal oldalra, középre */
.cb-carousel .nav {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    /* Függőleges elrendezés */
}

/* Alapértelmezett pontok stílusa (nem aktív) */
.cb-carousel .nav div {
    width: 15px !important;
    /* Kör mérete */
    height: 15px !important;
    /* Kör mérete */
    border: 1px solid #957083 !important;
    /* Körvonal színe */
    border-radius: 50%;
    /* Kerek forma */
    background: none !important;
    /* Átlátszó belső */
    cursor: pointer !important;
    /* Kéz ikon a kattinthatóság jeleként */
    transition: background 0.3s ease, border-color 0.3s ease;
    /* Szép átmenet az aktív állapotnál */
}

/* Aktív pont (tele kör) */
.cb-carousel .nav div.active {
    background: #957083 !important;
    /* Telt szín */
    border-color: #957083 !important;
    /* Körvonal színe azonos a háttérszínnel */
}

.kontakt-text {
    margin: auto;
}

/* Főoldal tartalmi része */

/* Wrapper elem a háttérhez */
.photo-blokk-wrapper {
    position: relative;
    /* Szükséges az ::after pozicionálásához */
    margin: 2.5rem;

}

.photo-blokk-wrapper::after {
    content: "";
    position: absolute;
    top: 1rem;
    /* Az elcsúsztatás lefelé */
    left: 2rem;
    /* Az elcsúsztatás jobbra */
    width: 100%;
    height: 100%;
    background-color: #957083;
    /* A háttérszín */
    z-index: 0;
    /* A teljes blokk mögé kerül */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

@media only screen and (max-width: 519px) {
    .photo-blokk-wrapper {
        margin: 1rem 1rem 1rem 0;

    }
}

/* A photo-blokk maga */
.photo-blokk {
    position: relative;
    /* Tartalomhoz kötött pozicionálás */
    background-color: white;
    /* A blokk fehér háttere */
    z-index: 1;
    /* Magasabb rétegre helyezve, mint az ::after */
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-text {
    position: relative;
    z-index: 100;
    left: 2rem;
    margin-top: 1rem;
}

.photo-blokk-wrapper .btn {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

.wrapper-text {
    word-break: normal;
    /* Szavakon belül nem töri meg a szöveget */
    overflow-wrap: break-word;
}

.photo-content {
    display: block;
}

.velemeny-szabalyzat {
    padding-top: 1rem;

}

.velemeny-szabalyzat a {
    color: #957083;
    font-size: 16px;
    text-decoration: none;

}

.velemeny-szabalyzat a:hover {
    color: #281822;
}

.contact-list {
    margin: auto !important;
}

@media only screen and (max-width: 1199px) {
    .contact-list {

        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100px;
    }
}

/* Blog sablon */

.wp-block-post-excerpt__more-text .btn span {
    color: #ffffff !important;
}

.cimke a {
    text-decoration: none !important;
    color: #957083 !important;
    background-color: #ffffff !important;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    padding: 0.5rem;
    border-radius: 8px;
    margin: 0.5rem;
}

.cimke a:hover {
    color: #281822 !important;
}

.last-blogpost a {
    text-decoration: none;
}

.last-blogpost a:hover {
    color: #281822 !important;
}

.bejegyzes-mintasablon li {
    padding: 1.5rem;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
}

.rolam-img {
    max-width: 400px;
}

.content-box {
    max-width: 1240px;
}

.boritokep {
    min-height: 80vh !important;
}

.rolam-link a {
    text-decoration: none !important;
}

.about-card {}

.about-card {
    max-width: 900px !important;
    /* állítsd a tartalomszélességedhez */
    margin-left: auto !important;
    margin-right: auto !important;
}



/* Kismama fotózások */

.kismama-tabla {
    padding: 2rem;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    max-width: 960px;
}


@media only screen and (max-width: 959px) {
    .kismama-tabla {
        margin: 0 2rem !important;
    }

    .pricing-plan .wp-block-column {
        width: auto !important;
    }
}

.borito a {
    text-decoration: none !important;
}

.borito a:hover {
    color: #281822;
}

/* Kismama ruhák */
.tab-content {
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    border: none !important;
}

.tab-labels {
    background: white !important;
    padding: 0.5rem !important;
    box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    border-radius: 8px;
}

.tab-labels li {
    color: #957083 !important;
    font-size: 1.5rem;
}

.tab-labels li.active {
    color: #281822 !important;
    border: none !important;
    box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -webkit-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    -moz-box-shadow: 1px 3px 4px rgba(40, 34, 24, 0.2);
    border-radius: 8px !important;

}

.tab-labels li:hover {
    color: #281822 !important;
}

@media screen and (max-width: 519px) {
    .tab-content {
        margin: 0 -2rem;
    }
}

/* Ikonok */

.ikon {
    width: 50px;
    height: auto;
    max-height: 60px;
}

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

    .wp-block-social-links,
    .wp-block-social-links.has-normal-icon-size {
        display: none !important;
    }
}

/* Köszönöm oldal */

.thx-blokk ul li {
    list-style-type: none !important;
}

.thx-blokk ul li a {
    text-decoration: none !important;
}


.thx-blokk .wp-block-latest-posts__post-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
}

.thx-blokk .wp-block-latest-posts__post-excerpt {
    line-height: 1.5;
    font-size: 18px;
    font-weight: 400;
}

/* Hírlevél feliratkozó és sikeres feliratkozás oldal */

.hirlevel a {
    text-decoration: none;
}

.feliratkozom-btn {
    background-color: transparent !important;
}
