/*
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=Inter:wght@100..900&display=swap');

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

:root {
    --text: rgba(31, 42, 37, 0.65);
    --titlegreen: #445751;
    --green: #7A9B91;
    --white: #FDFDFD;
    --grey: #E6E6E6;
    --background: #F6F6F6;
    --decor: #BFBFBF;
}
html {
    font-size: 1.1vw;
    color: var(--text);
    margin-top: 0!important;
}

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

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

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

body {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    background-color: var(--background);
}


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

a {
    text-decoration: none;
    color: var(--green);
}
.wpcf7-form a {
    text-decoration: none;
    color: var(--text);
}
.wpcf7-form a:hover{
    text-decoration: none;
    color: var(--green);
}

p {
    line-height: 160%;
    font-size: 20px;
}
li {
    font-size: 18px;
}

h1 {
    font-size: 3rem;
    position: relative;
    font-family: "Abril Fatface", serif;
    text-transform: uppercase;
    color: var(--titlegreen);
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}
h2 {
    font-size: 3rem;
    position: relative;
    font-family: "Abril Fatface", serif;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    color: var(--titlegreen);
}

h3 {
    font-size: 1.875rem;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    margin: 30px 0 20px 0;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

footer h3, .footer-hu h3{
    font-family: "Abril Fatface", serif;
    font-size: 1.5rem;
    color: var(--titlegreen);
    font-weight: bold;
}
.home h1 {
    margin: -50px 0 10px 0;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.home-h1::before, .page-id-16 h1::before, .page-id-14 h1::before, .dalma h1::before, .page-id-370 h1::before {
    content: url('img/decor.svg');
    display: inline-block;
    width: 88px;
    height: 101px;
   position: relative;
   left: 30px;
   top: 10px;
   margin-left: -88px;
}
.faq h2::after, .my-story h2::after {
    content: url('img/decor-right.svg');
    display: inline-block;
    width: 88px;
    height: 101px;
    position: relative;
    left: -30px;
    top: 10px;
}


details summary {
    list-style: none;
    -webkit-details-marker: none;
    display: flex;
    align-items: center;
}
details {
    font-size: 18px;
    padding: 15px;
    border-bottom: 1px solid var(--grey);
    color: var(--titlegreen);
}
details p {
    font-size: 18px;
    color: var(--text);
}
summary::-webkit-details-marker, .none, .is-hidden, .page-id-420 footer, .page-id-376 footer, .page-id-360 footer, .page-id-370 footer, .hero-text.nyitva, .page-id-352 footer, .page-id-352 .faq h2::after, .page-id-376 .faq h2::after, .page-id-370 h1::before, .page-id-360 h1::before, .page-id-663 footer, .page-id-665 footer, .page-id-655 footer {
    display: none!important;
}
details summary::before {
    content: "";
    background: url('img/arrow.svg') no-repeat center;
    background-size: contain;
    width: 18px; /* Adjust to match icon size */
    height: 26px;
    margin-right: 8px; /* Adjust spacing */
    display: inline-block;
}
details[open] summary::before {
    background: url('img/arrow-open.svg') no-repeat center;
    background-size: contain;
}

.align-centr, h1.align-centr + p  {
    text-align: center;
}
.attachment-post-thumbnail {
border-radius: 45px;

}
.abril {
    font-family: "Abril Fatface", serif;
   font-weight: 900;
}

.hero-text {
    margin-left: 80px!important;

}
.hero-left {
    margin-left: 55px;
    margin-bottom: 0;
    margin-top: 120px;
    font-size: 18px;
}
.button, input[type=submit], .wp-block-button__link, .wp-block-post-excerpt__more-text{
    display: inline-block;
    margin-top: 15px;
    padding: 14px 22px;
    color: #fff;
    background-color: var(--green);
    border: none;
    border-radius: 1.25rem;
    font-size: 1.125rem;
    line-height: 1;
    transition: all 0.3s ease-in-out;
}
.wp-block-query .wp-block-post-excerpt__more-link{
    color: white;
}
.wp-block-query .wp-block-post-excerpt__more-link:hover{
    color: var(--green);
}

.button:hover, input[type=submit]:hover, .wp-block-button__link:hover, .wp-block-post-excerpt__more-text:hover {
    background-color: transparent;
   outline: 1px solid var(--green);
   outline-offset: 1px;
    color: var(--green);
}
.contact-button div a{
    background-color: transparent;
    border: 1px solid var(--white);
}
.contact-button div a:hover{
    background-color: var(--green);
  color: var(--white);
  border: none;
  outline: none;
}
.power p a{
    color: #1F2A25;
}
/***/

.full-wide {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-bottom: 0;
}
.heropic-bg {
    background-image: url("img/heropic.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
   width: 57%!important;
   height: 95vh;
   margin-top: -125px!important;
   margin-right: -60px!important;
}

.home .wp-block-columns-is-layout-flex {
    gap: 0;
}

.power .wp-block-column:last-child, .column-right {
    margin-right: 60px!important;
}
.power .wp-block-column:first-child {
    margin-right: 30px;
}
.column-left {
    margin-left: 60px!important;
}

.athlete-bg {
    background-image: url("img/athleteandcoaches.webp");
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 100vw;
    background-position: center;
}
.bg-team {
    background-image: url("img/workshops.webp");
}
.parent-bg {
    background-image: url("img/parents.webp");
}
.page-id-567 p {
    margin-bottom: 120px;
}
.service-section, .box, .power, .carousel-div, .blog-mainpage, .faq, .dalma, .my-story, blockquote, #athlete, 
.archive h1, .page-id-14 h1, .page-id-239 h1, .page-id-3 h1, .single h1, .single .wp-block-query, .page-id-370 h1, .page-id-14 .inform, 
.page-id-567 p
{
    margin-top: 120px!important;
}
#coach, #team, #parent{
    padding-top: 80px;
}
.page-id-10 .carousel-div, .page-id-376 .carousel-div{
    margin-top: 0!important;
}
.service-card {
    border: 1px solid var(--green);
    border-radius: 45px;
    overflow: hidden;
}
.service-card .second-column {
    padding: 0 15px 15px 30px;
}

.box {
    height: 394px;
    display: flex;
    align-items: center;
    padding: 0 60px;
    flex-direction: column;
}
blockquote {
    height: 260px;
    background-color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
}
blockquote p {
    font-size: 2rem;
    max-width: 1290px;
}
.contact {
    justify-content: center;
    background-image: url('img/contact.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}
.contact-2 {
    background-image: url('img/contact-2.webp');
}

.card {
    border: 1px solid var(--green);
    border-radius: 45px;
    overflow: hidden; 
    padding: 0 0 25px 0!important;
   position: relative;
   min-height: 100%!important;
} 
.wp-block-post-excerpt__more-text {
    position: absolute;
    bottom: 25px;
}
.card-text {
    padding:10px 30px 20px 30px ;
    margin-bottom: 45px;
}
.price-container {
    border: 1px solid var(--decor);
    border-radius: 45px;
    background-color: var(--white);
    padding: 25px 25px 15px 25px;
    margin-bottom: 120px;
}
.price-container p {
    margin: 0;
}
.price-container :where(.wp-block-columns) {
    margin-bottom: 10px!important;
}

.white-bg {
    background-color: var(--white);
}
.price-grey {
    background-color: var(--background);
}
.blog-mainpage figure img, .archive .card a img, .single .card figure img{
    height: 365px;
    object-fit: cover;
}
.blog-h2 {
    font-size: 1.875rem;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    text-transform: none;
    color: var(--green);
}
.page-id-14 .card h2, .page-id-370 .card h2 {
    font-size: 1.3rem;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}
.page-id-14 .card, .page-id-370 .card  {
    padding: 0 15px 5px 25px!important;
}
.faq {
   max-width: 615px;
    margin: 0 auto;
}

.carousel_track {
    text-align: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
   height: 220px;
    transition: transform 250ms ease-in;
    
}
.carousel_track-container {
   height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-div {
    background-color: var(--grey);
    padding: 60px 100px 20px 100px;
    height: 340px;
}
.carousel-div h2 {
    margin: 0 0 20px 0;
}
.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: fit-content;
}
.carousel_button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
}
.carousel_button a {
    color: var(--green);
    background-color: transparent;
}
.carousel_button a:hover {
    border: none;
    outline: none;
}
.carousel__button--left {
    left: 0;
    margin-left: 30px!important;
}
.carousel__button--left div, .carousel__button--right div {
    position: relative;
}
.carousel__button--right {
    right: 0;
    margin-right: 30px!important;
}

.carousel-nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;

}
.carousel-indicator  {
  padding: 10px;
width: 12px;
height: 12px;
border: 0;
border-radius: 50%;
  background-color: var(--decor);
  margin: 0 10px;
  cursor: pointer;
 
}
.carousel-indicator.current-slide {
    background-color: var(--green);
}

.carousel-green {
    background-color: var(--green);
    color: var(--white);
}

.contact-form {
        background: url("img/form-2.webp");
        background-repeat: no-repeat;
        background-size: cover;
        border: 0;
        border-radius: 45px;    
        margin-bottom: 120px; 
}

.wpcf7 {
  max-width: 800px;
   padding: 80px 150px;
   align-content: center;
   text-align: center;
   margin: 0 auto;
}

input[type=text], 
input[type=tel],
input[type=email], textarea, select {
    background-color: #fff;
    border: 1px solid var(--green);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    width: 100%;
    color: var(--text);
    outline: none;
}
::placeholder {
    color: var(--text);
    font-family: inherit!important;
    font-size: 18px;
}
.wpcf7-list-item-label, .wpcf7-list-item-label a {
    color: var(--white);
}
.footer-hu {
    padding-left: 60px!important;
}
footer li, .footer-hu li {
    list-style-type: none;
    font-size: 16px;
    padding-bottom: 20px;
    line-height: 122%!important;
}
footer ul {
    padding-left: 0;
}
footer, .footer-hu {
    background-color: var(--grey);
    padding: 30px 60px 30px 0;
}
footer h3 a, .footer-hu h3 a{
    color: var(--titlegreen);
}
footer li a, .footer-hu p a {
    color: var(--text);
}
footer h3 a:hover, footer li a:hover, .footer-hu h3 a:hover, .footer-hu p a:hover  {
    color: var(--green);
}
footer figure, .footer-hu figure{
    transition: all 0.3s ease-in-out;
}
footer figure:hover, .footer-hu figure:hover {
transform: scale(1.1);
}
footer figure, .footer-hu figure {
    display: inline-block;
}

.fem {
    border-top:1px solid var(--green);
    text-align: center;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 0;
}
.heropic-bg.nyitva {
    background-image: url("img/grey.webp");
    height: 85vh;
    margin-top: -240px!important;
}
.hide-2 {
    opacity: 0;
    transform: translateY(30%);
    transition: all 1s;
}
.hide {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    transform: translateX(0);
}
.show-2 {
    opacity: 1;
    transform: translateY(0);
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--white);
    border-radius: 20px;
    background-color: var(--white);
}
.page-id-3 li, .page-id-239 li, details li, .carousel-div li {
    line-height: 160%;
}
details li{
    color: var(--text)!important;
}
.carousel-div li {
    line-height: 190%;
}


@media only screen and (max-width: 1200px) {
    .dalma, .my-story, #athlete, .faq, .archive h1, .single h1, .page-id-14 h1, .page-id-3 h1, .page-id-239 h1 {
        margin-top: 40px!important;
    }
    .home-h1::before, .page-id-16 h1::before, .page-id-14 h1::before {
        margin-left: -40px;
    }
    .hero-left {
        margin-left: 85px;
        margin-top: 60px;
    }
    h1, h2 {
        font-size: 2.7rem;
    }
    .hero-text p {
        font-size: 16px!important;
    }

    .button, input[type=submit], .wp-block-button__link, .wp-block-post-excerpt__more-text {
        font-size: 1.5rem;
    }
    p {
       font-size: 18px; 
    }
    .price-container {
        padding: 15px;
    }
    #coach, #team, #parent {
        padding-top: 40px;
    }
    .blog-mainpage figure img, .archive .card a img, .single .card figure img {
        height: 265px;
    }
    .footer-flex h4 {
        font-size: 1.7rem!important;
    }
    .box {
        height: 240px;
    }
    .carousel-div {
        height: 370px;
    }
    .carousel_track {
        height: 240px;
    }

}

@media only screen and (max-width: 1025px){
    h1, h2 {
        font-size: 2rem;
    }
    .hero-text p.hero-left {
        font-size: 14px!important;
    }
    .hero-text p {
        font-size: 18px!important;
    }
    .button, input[type=submit], .wp-block-button__link, .wp-block-post-excerpt__more-text {
        font-size: 1.2rem;
    }
    
  blockquote, .service-section, .power {
        margin-top: 80px!important;
    }
    .card-text  {
        padding: 0 15px 15px 15px;
    }
    
    .price-container h3 {
        margin-top: 10px; 
    }
    .price-container {
        margin-bottom: 60px;
    }
    .home-h1::before, .page-id-16 h1::before, .page-id-14 h1::before {
        margin-left: -50px;
    }
 
    .hero-text {
        flex-basis: 55%;
        margin-top: 60px!important;
        margin-left: 20px!important;
    }
    .home-h1::before, .hero-p-dis {
        display: none;
    }
    .home-h1 {
        margin-top: 0!important;
    }
    .hero-left {
        margin: 20px 0 5px 0;
    }
   .heropic-bg {
    height: 50vh;
    margin-right: 0!important;
   }
   .carousel_track {
    height: 300px;
   }
   .carousel-div {
    height: 430px;
}
   

}



@media only screen and (max-width: 780px) {
    .order-change {
        order: 2;
    }
    .athlete-bg {
        height: 400px;
    }
  
    .heropic-bg {
        background-image: url("img/phone.webp");
        background-position: right bottom;
       z-index: -50;
       height: 85vh;
       margin-top: -325px!important;
       margin-left: -50px!important;
    }
    .hero-text {
        margin-top: 0!important;
        margin-left: 10px!important;
        color: var(--white);
    }
    .home-h1 {
        color: var(--white);
    }
    .power .alignleft {
        display: none;
    }
    .power .wp-block-column:last-child {
        padding-left: 15px;
    }
     .column-right {
        padding-left: 15px;
        margin-right: 15px!important;
    }
   .column-left {
        margin-left: 15px!important;
        padding-right: 15px;
    }
    .carousel_track {
        height: 360px;
       }
    
    .carousel-div {
        padding: 15px 60px 10px 60px;
        height: 480px;
    }
    .carousel-div li {
        font-size: 16px;
    }
    .blog-mainpage .columns-3 {
        display: block;
    }
    .blog-mainpage .columns-3 li {
        padding-bottom: 15px ;
    }
  
    .faq h2 {
        margin-left: 40px;
    }
    .page-id-14 h1 {
        margin-left: -40px;
    }
    .wpcf7 {
        padding: 40px 40px;
    }
    .wpcf7-spinner {
        display: block;
    }
    h1, h2 {
        font-size: 1.8rem;
    }
    .carousel__button--left, .page-id-352 .faq h2, .page-id-376 .faq h2,  {
        margin-left: 0!important;
    }
    .carousel__button--right {
        margin-right: 0!important;
    }
  

}

@media only screen and (max-width: 480px) {
    .athlete-bg {
        height: 300px;
    }
 
    .footer-outside > .wp-block-group__inner-container , .footer-flex > .wp-block-group__inner-container {
        flex-direction: column;
    }
    .footer-flex > .wp-block-group__inner-container {
        gap: 20px;
    }
    .wpcf7 {
        padding: 40px 20px;
    }
    .box {
    padding: 0 15px;
    }
    .contact h2 {
       margin: 0;
    }
    .carousel-div {
        height: 660px;
    }
    .carousel_track {
        height: 540px;
    }
    .page-id-14 .inform {
        margin-top: 40px;
    }
 
}


