/*
Theme Name: Trécs
Theme URI: https://www.myawesometheme.com
Author: Répássy-Králik Eszter
Author URI: https://www.kralikeszter.hu
Description: Ez az első egyedi sablonom, amit a TRÉCS számára készítettem el.
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:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=League+Spartan:wght@100..900&display=swap');
:root {
    --purple: #9E1BFF;
    --title: #282828;
    --body-txt: #6E6470;
    --gray: rgba(96, 88, 101, 0.05);
    --body-bg: #fff;
    --light-purple: rgba(158, 27, 255, 0.05);
    --magenta: #ff1bee;
    --radius: 0.25rem;
    --lime: #7cff1b;  
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
html {
    font-size: 1.25vw; /* 24px */
}
@media only screen and (max-width: 1281px) {
    html {
        font-size: 22px;
    }
}
@media only screen and (max-width: 768px) {
    html {
        font-size: 20px;
    }
}
@media only screen and (max-width: 480px) {
    html {
        font-size: 18px;
    }
}
body {    
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: var(--body-bg);
    color: var(--body-txt);
}
header {
    background: #FFFFFF;
    position: relative;
    z-index: 10;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--purple);
    text-decoration: none;
}
a:hover {
    color: var(--lime);
}
p,
li {
    line-height: 1.5;
}
ul {
    padding-left: 20px;
    list-style-type: disc;
}
ul li::marker {
    color: var(--purple);
}
ol {
    padding-left: 1.5rem;
}
ol li::marker {
    font-weight: bold;
}
ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}
h1,
h2,
h3 {
    color: var(--title);
    line-height: 1.2;
    font-family: "League Spartan", sans-serif;
}
h1 {
    font-size: 3rem;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}
h2 {
    font-size: 2.25rem;
    margin-top: 0;
    position: relative;
    margin-bottom: 0.5rem;
}
h2.has-text-align-center {    
    display: flex;
    justify-content: center;
}
h3,
.archive h2 {
    font-size: 1.5rem;
}
h2 a, 
h3 a {
    color:inherit;
}
blockquote {    
    margin: 0 0 1rem 0;
}
.page-template-page-hero h1 {
    margin-top: 0;
}
.wp-block-post-excerpt__excerpt {
    margin-bottom: 1rem;
}
.wp-block-post-excerpt__more-text {
    margin-bottom: 1.5rem;
}
.button,
input[type=submit],
.wp-block-button a,
.wp-block-post-excerpt__more-link,
.submitbutton {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    color: #fff;
    background: var(--purple);
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    border-radius: var(--radius);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.button:hover,
input[type=submit]:hover,
.wp-block-button a:hover,
.wp-block-post-excerpt__more-link:hover {
    color: #fff;
    background: var(--lime);
    transform: translateX(10px);   
}
#iframe-idopontfoglalo {
    display: none;
}
.align-center {
    text-align: center;
}
#top-head {
    background: var(--lime);
    color: var(--title);
    font-size: 0.75rem;
}
#top-head .content-box,
#head .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#head {
    padding: 0.75rem 0;
}
#top-head ul {
    display: flex;
    gap: 1.5rem;
    margin: 0.35rem 0;
}
#top-head a {
    color: var(--title);
}
#logo svg {
    max-width: 12rem;
}
#logo svg path {
    fill: var(--purple);
}
#logo a:hover svg path {
    fill: var(--lime);
    }
.highlight {
    color: var(--purple);
    font-weight: bolder;
}
.hero {    
    overflow: hidden;
    padding: 8vw 0 15vw 0;
    text-align: center;
}
.home-hero {
    background-image: url(img/hero-kep.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.home-hero .wp-block-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}
.single-page {    
    overflow: hidden;
    padding: 8vw 0 8vw 0;
}
.single-page-hero {
    background-image: url(img/hero-kep.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.cta {    
    overflow: hidden;
    padding: 12vw 0;
    display: flex;
    align-items: left;    
}
.cta-background {
    background-image: url(img/szamitogep-asztalon.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.cta .wp-block-group__inner-container {
    background: #fff;
    padding: 2rem;
    max-width: 30rem;
    margin: 0 0 0 5rem;
    border-radius: var(--radius);
    width: 100%;    
}
.box-style,
.query-cta ul li,
blockquote {
    border-radius: var(--radius);
    border: 3px solid var(--purple);
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(1,122,111,0.20);
    padding: 0 1.5rem;
    overflow: hidden;
}
.query-cta figure,
.box-style figure {
    margin: -1rem -3rem 0 -3rem;
}
.hatter p {
    display: inline-block;
    background: var(--light-purple);
    color: var(--purple);
    font-weight: bolder;
    float: right;
    padding: 0.75rem 3rem;
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: 0px 2px 10px 0px rgba(1,122,111,0.20);
    text-transform: uppercase;
}
/*Hátterek*/
.gray {
    overflow: hidden;
    padding: 8vw 0 4vw 0;
    background: var(--gray);
}
.purple {    
    overflow: hidden;
    padding: 8vw 0 4vw 0;
    background: var(--light-purple);
}
.gradient {
    overflow: hidden;
    padding: 8vw 0 4vw 0;
    background-image: url(img/hero-kep.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% + 9px);
    margin-left: -50vw;
    overflow-x: hidden;
}
.sidebar {
    background: var(--light-purple);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}
.narrow {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}
.vertical-center {
    align-items: center;
}
.query-cta ul li h3,
.query-cta ul li h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}
.wp-block-buttons>.wp-block-button {
    margin-bottom: 1rem;
}
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;
}
input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
    border: 1px solid rgba(0,0,0, 0.10);
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(1,122,111,0.20);
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}
.nav-links {
    text-align: center;
    margin: 3rem 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 1px #ddd;
}
footer {
    background: var(--purple);
    color: #fff;
    font-size: smaller;
    padding: 5rem 0 1rem 0;
}
footer a,
footer h3 {
    color: #fff;
    
}
footer ul {
    list-style-type: none;
    padding-left: 0;
}
footer figure {
    display: inline;
}
footer figure img {
    width: auto;
    max-height: 50px!important;
}
#copyright {
    background: var(--purple);
    border-top: 1px solid var(--light-purple);
    color: #fff;
    font-size: smaller;
    overflow: hidden;
}
/*Reszponzív*/
@media only screen and (max-width: 1281px) { 
    #head .content-box {
        flex-wrap: wrap;
    }
    
    #head-menu {
        width: 100%;       
    }
    .wide {
        width: 100vw;
        left: 50%;    
    }
    .query-cta ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .query-cta ul li {
        flex: 0 0 calc(50% - 10px);
        box-sizing: border-box;
    }
}
@media only screen and (max-width: 1023px) {
    #top-head .content-box {
        display: block;
        text-align: center;
    }
    
    .cta .wp-block-group__inner-container {
        margin: 0 1rem;
        max-width: 100%;         
    }
    .te-es-trecs {
        text-align: center;
    }
    .te-es-trecs div {
        display: block;
        width: 100%;
    }
    .te-es-trecs div p {
        float: none;
    }    
}
@media only screen and (max-width: 768px) {
    h1, h2 {
        font-size: 2rem;
    }
    .query-cta ul {
        display: block;
    }
    .query-cta ul li {
        margin-bottom: 1rem;
    }    
    h3 {
        font-size: 1.25rem;
    }
    .order {
        flex-direction: column;
    }
    .elso {
        order:1;
    }
    .masodik {
        order: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.25rem 0; 
    }  
    .wp-block-spacer {
        max-height: 50%;
    } 
    
}
