﻿/*
Theme Name: Nektonik 2024
URI: https://nektonik.hu
Author: Kuzmann Zsóka és Kuzmann Eszter
Author URI: https://nektonik.hu
Description: Nektonik 2024 WordPressTheme
Version: 3.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nektonik-basic
*/

/*  -------------------------------------------------------------------- GLOBAL */

body {
    background-image: url(img/beton-bckgr.png);
    background-repeat: repeat;
    position: relative;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 67px;
}

main {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.center-box {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    min-width: 300px;
}

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

.center-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------- TYPOGRAPHY */

/*
font-family: 'Archivo', sans-serif;
font-family: 'Red Hat Text', sans-serif;
*/

html {
    font-size: 20px;
}

body {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    color: #011120;
    line-height: 1.4;
}

code {
    font-family: 'Inconsolata', monospace;
    font-weight: 400;
    white-space: pre-wrap;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    line-height: 1.1;
    color: #FFF;
}

@media screen and (min-width:600px) {
    h1 {
        font-size: 40px;
    }
}
@media screen and (min-width:900px) {
    h1 {
        font-size: 50px;
    }
}

h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin: 1.2em 0 .8em 0;
    line-height: 1.2;
}

h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 600; 
    font-size: 28px;
    text-align: left;
    margin: 1em 0 .8em 0;
    line-height: 1.2;
}

h4 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
}

.uppercase {
    text-transform: uppercase;
}

.strong {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.yellow-text {
    color: #FFC843;
}

.yellow-first-letter::first-letter {
    color: #FFC843;
}

.green-text {
    color: #05CE7C;
}

.green-first-letter::first-letter {
    color: #05CE7C;
}

.red-first-letter::first-letter {
    color: #FF0000;
}

.blue-text {
    color: #00B3E3;
}

.blue-first-letter::first-letter {
    color: #00B3E3;
}

.orange-first-letter::first-letter {
    color: #FF6B00;
}

.white-text {
    color: #FFF;
}

.pink-text {
    color: #DA3AB3;
}

.page-text-center {
    margin-left: auto;
    margin-right: auto;
}

/* szürke pöttyvégű elválasztó felette */
.sectionline-up {
    position: relative;
    border-top: 1px solid #9EA9AA;
}
.sectionline-up::before,
.sectionline-up::after {
    content: "";
    position: absolute;
    background-color: #9EA9AA;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    display: block;
    top: -2px;
}
.sectionline-up::before {
    left: -2px;
}
.sectionline-up::after {
    right: -2px;
}

/* szürke pöttyvégű elválasztó alatta */
.sectionline-down {
    position: relative;
    border-bottom: 1px solid #9EA9AA;
}
.sectionline-down::before,
.sectionline-down::after {
    content: "";
    position: absolute;
    background-color: #9EA9AA;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    display: block;
    bottom: -2px;
}
.sectionline-down::before {
    left: -2px;
}
.sectionline-down::after {
    right: -2px;
}

/* ---------------------------------------------------------- LOGO & NAVIGATION */
/* TOP-NAV: logo and navigation */

header {
    background: #0F1919;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* mobil nézetben állandó a fenti menü */
header .top-nav {
    text-align: center;
    padding: 15px 0;
    z-index: 10;
    height: 67px;
}

.nav-logo {
    background: url(img/nektonik-logo-darkbckgr.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    width: 160px;
    height: 37px;
    display: inline-block;
}

/* checkbox nem jelenik meg */
#nav-toggle {
    display: none;
}

/* checkbox label-je a hamburger ikon */
.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 15px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    width: 25px;
    height: 2px;
    background: #9EA9AA;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* lenyitáskor animáció */
.main-nav {
    background: #0F1919;
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    width: 100%;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
    -webkit-transform-origin: top;
    transform-origin: top;
    -webkit-transition: -webkit-transform 400ms ease-in-out;
    transition: -webkit-transform 400ms ease-in-out;
    transition: transform 400ms ease-in-out;
    transition: transform 400ms ease-in-out, -webkit-transform 400ms ease-in-out;
    border-top: 1px solid #9EA9AA;
}

.top-nav .main-nav a {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    font-size: 20px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    color: #FFFFFF;
}

.top-nav .main-nav a:hover,
.top-nav .main-nav a:focus {
    color: #00B3E3;
}

.top-nav .main-nav li:first-of-type {
    margin-top: 15px;
}

.top-nav .main-nav li {
    margin-left: 15px;
    margin-bottom: 15px;
}

#nav-toggle:checked ~ .main-nav {
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
}

.top-nav .main-nav ul.sub-menu {
    display: none;
}

/* látható menü innentől */
@media screen and (min-width: 975px) {
    header .top-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .top-nav .main-nav {
        -webkit-transform: none;
        transform: none;  
        position: static;
        width: auto;
        display: block;
        border-top: none;
    }
    /* hover animáció */
    .top-nav .main-nav li {
        -webkit-transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
        transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .top-nav .main-nav li:not(.current_page_item, .current_page_parent):hover,
    .top-nav .main-nav li:focus {
        color: #00B3E3;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    /* az aktuálisan megnyitott oldal címének formázása a menüben */
    header .top-nav .current_page_item > a,
    header .top-nav .current_page_parent > a {
        color: #00B3E3;
    }
    #nav-toggle {
        display: none;
    }
    .nav-toggle-label {
        display: none;
    }
    .top-nav .main-nav ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .top-nav .main-nav li {
        margin-left: 35px;
        margin-bottom: 0;
        padding-top: 8px;
    }
    .top-nav .main-nav li:first-of-type {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------- FOOTER */

.footer-box {
    padding: 2rem 0;  
}

.footer-logo {
    background: url(img/nektonik-logo.png) no-repeat;
    display: block;
    width: 50%;
    max-width: 150px;
    height: 50px;
    background-size: contain;
}

.footer-fb {
    background: url(img/facebook-logo.png);
}

.footer-insta {
    background: url(img/instagram-logo.png);
}

.footer-fb,
.footer-insta {
    display: inline-block;
    height: 25px;
    width: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    margin-right: .5em;
}

footer h4 {
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-top: 1rem;
}

footer .footer-box a.footer-button {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background: none;
    padding: 0;
    position: relative;
    padding-right: 1.4em;
    color: #0F1919;
    text-decoration: none;
    display: inline-block;
    margin-top: .5em;
}

footer .footer-box a.footer-button:hover {
    color: #00B3E3;
}

footer .footer-box a.footer-button::after {
    content: "";
    position: absolute;
    display: block;
    background-image: url(img/blue-button-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    height: .8em;
    width: .8em;
    top: 26%;
}

.footer-email {
    color: #00B3E3;
    text-decoration: none;
}

@media (min-width: 700px) {
    .footer-logo {
        max-width: 250px;
        margin-bottom: 1rem;
    }
    .footer-fb,
    .footer-insta {
        height: 32px;
        width: 32px;
    }
    footer h4:first-of-type {
        margin-top: 0;
    }
    footer .footer-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    footer .footer-box > div {
        width: 50%;
    }
}

/* ------------------------------------------------------------------ COPYRIGHT */

footer .copyright {
    font-size: .8rem;
    padding: .8em 0;
}

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

footer .copyright a:hover {
    color: #00B3E3;
}

@media(min-width: 500px) {
    footer .copyright .footer-menu ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    footer .copyright .footer-menu ul li {
        position: relative;
        padding-right: 1em;
        margin-right: .5em;
    }
    footer .copyright .footer-menu ul li::after {
        position: absolute;
        content: "/";
        right: 0;
    }
    footer .copyright .footer-menu ul li:last-of-type {
        padding-right: 0;
        margin-right: 0;
    }
    footer .copyright .footer-menu ul li:last-of-type::after {
        display: none;
    }
}

/* --------------------------------------------------------------------- BUTTON */

.fp-button {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
    text-transform: uppercase;
    margin: 1em 0 2em 0;
    color: #011120;
}

.fp-button:hover {
    color: #00B3E3;
}

.button-arrow {
    position: relative;
    padding-right: 1.3em;
    display: inline-block;
}

.button-arrow::after {
    content: "";
    position: absolute;
    display: block;
    background-image: url(img/blue-button-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    height: .8em;
    width: .8em;
    top: 26%;
}

/* ---------------------------------------------------------------------- LINKS */

.content a,
.more-to-read a {
    color: inherit;
}

.content a:hover,
.more-to-read a:hover {
    color: #00B3E3;
}

/* ----------------------------------------------------- SINGULARS TOP DIAGONAL */
.top-dark-bg {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #0F1919), color-stop(50%, transparent));
    background: linear-gradient(to bottom, #0F1919 50%, transparent 50%);
    margin-bottom: 8vw;
}

.diagonal {
    --skew-angle: -4deg;
    --background: linear-gradient(45deg, #0F1919, #0F1919);
    position: relative;
    isolation: isolate;
    padding: 5vw 0 5vw 0;
}

.diagonal::after {
    position: absolute;
    content: '';
    background: var(--background);
    inset: 0;
    -webkit-transform: skewY(var(--skew-angle));
    transform: skewY(var(--skew-angle));
    z-index: -1;
}

main .title-backgr {
    background: #0F1919;
    color: #FFF;
}

.title-plus-image {
    margin-bottom: 2em;
}

.main-image {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.main-image::after {
    content: "";
    display: block;
    padding-bottom: 45%;
}

.main-image img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.title-projectdata {
    margin-top: 2rem;
}

@media(min-width: 1100px) {
    .title-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: row;
        -webkit-box-pack:justify;
        -ms-flex-pack:justify;
        justify-content:space-between; 
        -webkit-box-align: start; 
        -ms-flex-align: start; 
        align-items: flex-start;
    }
    .title-box > * {
        max-width: 48%;
    }
    h1.title-plus-image {
        margin-bottom: 0;
    }
}

/* --------------------------------------- FRONT-PAGE TRANSPARENT GREY DIAGONAL */

.diagonal-grey {
    --skew-angle: -4deg;
    --background: linear-gradient(45deg, rgba(217,217,217,.25), rgba(217,217,217,.25));
    position: relative;
    isolation: isolate;
    padding: 5vw 0 3vw 0;
}

.diagonal-grey::after {
    position: absolute;
    content: '';
    background: var(--background);
    inset: 0;
    -webkit-transform: skewY(var(--skew-angle));
    transform: skewY(var(--skew-angle));
    z-index: -1;
}

/* ----------------------------------------------------------- CONTENT ELEMENTS */

.content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.content p {
    margin-bottom: 1rem;
}

/* felsorolás */
.content ul li {
    position: relative;
    margin-left: 20px;
}

.content ol li {
    margin-left: 20px;
}

.content ul li::before {
    position: absolute;
    content: "";
    left: -20px;
    top: .5rem;
    width: .5rem;
    height: .5rem;
    background-color: #00B3E3;
    border-radius: 50%;
}

.content ol,
.content ul {
    margin-bottom: 1.2rem;
}

.content ul li,
.content ol li {
    padding-left: .5rem;
    margin-bottom: .4rem;
}

.content ol {
    list-style-position: outside;
}

.content li:last-of-type {
    margin-bottom: 0;
}

/* YT videó */
figure.is-type-video {
    width: 100%;
    max-width: 800px;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

figure.is-type-video iframe {
    margin: 0 auto;
}

/* kép és galéria */
img[class*="wp-image-"] {
    width: auto;
    height: auto;
}

figure.wp-block-image,
div.wp-block-image {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

figure.wp-block-image figcaption,
figure.wp-block-gallery figcaption {
    font-size: 0.9rem;
    margin: 0 auto;
}

figure.wp-block-image figcaption {
    margin-top: .5rem;
}

figure.wp-block-gallery {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: rgba(15,25,25,.6);
    padding: 8px;
    text-align: left;
}

/* média és szöveg blokk */
.wp-block-media-text {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.wp-block-media-text .wp-block-media-text__content {
    -ms-flex-item-align: start;
    align-self: flex-start;
}

/* idézet */
blockquote.wp-block-quote {
    --skew-angle: -4deg;
    --background: linear-gradient(45deg, #0F1919, #0F1919);
    position: relative;
    isolation: isolate;
    padding: 2rem 2rem 3vw 2rem;
    text-align: left;
    color: #FFF;
    /*    padding: 2rem 1rem;*/
    margin: 6vw 0;
}

blockquote.wp-block-quote::after {
    position: absolute;
    content: '';
    background: var(--background);
    inset: 0;
    -webkit-transform: skewY(var(--skew-angle));
    transform: skewY(var(--skew-angle));
    z-index: -1;
}

blockquote.wp-block-quote::before {
    content: "";
    position: absolute;
    background: #0F1919;
    width: 100%;
    left: 0;
    top: -3.1vw;
    height: 50%;
    z-index: -1;
}

blockquote.wp-block-quote p:first-of-type {
    color: #05CE7C;
    font-weight: 700;
    font-size: 1rem;
}

blockquote.wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: italic;
}

blockquote.wp-block-quote > *:first-child {
    position: relative;
    padding-top: 2.5rem;
}

blockquote.wp-block-quote > *:first-child::before {
    position: absolute;
    content: "";
    top: -1rem;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(img/green-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.more-to-read {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* gombok */
.wp-block-button__link {
    background-color: #0F1919 !important;
    color: #FFF !important;
    margin-bottom: 1.5rem;
    font-family: 'Archivo', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-right: 2.5em;
    border-radius: 0;
    z-index: 1;
}

.wp-block-button__link::before {
    content: "";
    position: absolute;
    display: block;
    background-image: url(img/white-button-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 1.3em;
    height: .8em;
    width: .8em;
    top: 38%;
}

.wp-block-button__link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:  #00B3E3;
    z-index: -1;
    -webkit-transition: -webkit-transform 100ms ease-in;
    transition: -webkit-transform 100ms ease-in;
    transition: transform 100ms ease-in;
    transition: transform 100ms ease-in, -webkit-transform 100ms ease-in;
}

.wp-block-button__link::after {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    transform-origin: right;
}

.wp-block-button__link:focus::after,
.wp-block-button__link:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left;
    transform-origin: left;
}

.is-content-justification-center {
    width: 100%;
    max-width: 800px;
}

/* --------------------------------------------------- TEMPLATE-PART: BLOG-CARD */

.blog-card {
    margin-bottom: 1rem;
}

.blog-card-img {
    display: block;
    width: 100%;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.blog-card-cat {
    text-transform: uppercase;
    color: #FF6B00;
    font-size: .6rem;
    text-decoration: none;
}

.blog-card h4 a {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    color: #0F1919;
}

.blog-card h4 a:hover {
    color: #00B3E3;
}

.hover-zoom-in {
    overflow: hidden;
}

.hover-zoom-in img {
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}

.hover-zoom-in:hover img {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

/* ------------------------------------------------ TEMPLATE-PART: RANDOM POSTS */

.random-posts {
    padding: 5rem 0 3rem 0;
}

.random-posts .button-arrow {
    text-decoration: none;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    color: #0F1919;
}

.random-posts .button-arrow:hover {
    color: #00B3E3;
}

/* ---------------------------------------------- TEMPLATE-PART: PORTFOLIO-CARD */

.portfolio-card {
    margin-bottom: 1rem;
}

.portfolio-card-img {
    display: block;
    width: 100%;
    margin-bottom: .8em;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.portfolio-card h4 a {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    color: #0F1919;
}

.portfolio-card h4 a:hover {
    color: #00B3E3;
}

/* portfolio card on main page */
.portfolio-card-wide-img {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.portfolio-card-wide-img img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.portfolio-card-wide-img::after {
    content: "";
    display: block;
    padding-bottom: 56.25%;
}

/* ----------------------------------------------------------------- PAGINATION */

.pagination {
    text-align: center;
    margin: 1em 0 2em 0;
    padding: .8em 0;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    grid-column: 1 / -1;
}

.pagination a {
    text-decoration: none;
    color:  #0F1919;
}

.pagination .page-numbers {
    margin: 0 .8em;
}

.pagination .current {
    background: #0F1919;
    color: #FFF;
    padding: 0 .5em;
}

/* -------------------------------------------------------------- TO-TOP BUTTON */

.to-top {
    background: #00B3E3;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.to-top::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 15px;
    left: 13px;
    border-top: 4px solid #0F1919;
    border-left: 4px solid #0F1919;
    border-radius: 2px;
}

/* -------------------------------------------------------------------- 404.PHP */

.content-404 {
    --skew-angle: -4deg;
    --background: linear-gradient(45deg, rgba(217,217,217,.25), rgba(217,217,217,.25));
    position: relative;
    isolation: isolate;
    padding: 7vw 0 3vw 0;
    margin-top: -8vw;
}

.content-404::after {
    position: absolute;
    content: '';
    background: var(--background);
    inset: 0;
    -webkit-transform: skewY(var(--skew-angle));
    transform: skewY(var(--skew-angle));
    z-index: -1;
}

/* ----------------------------------------------------------------------- HOME */

.blog-archive-title-text {
    color: #FFF;
    max-width: 800px;
    margin: 1rem 0 0 0;
}

.blog-cats {
    max-width: 800px;
}

.blog-archive-title-cat {
    padding-right: 1em;
    margin-right: 2rem;
    margin-top: 1rem;
    letter-spacing: 1px;
    color: #FFF;
    text-transform: lowercase;
    text-decoration: none;
}

.blog-archive-title-cat:hover {
    color: #00B3E3;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem 2rem;
}

/* --------------------------------------------------------------- BLOG ARCHIVE */

.archive-title h1 {
    display: inline;
}

.archive-title h2 {
    display: inline;
    font-family: 'Red Hat Text', sans-serif;
    color: #FFF;
    font-weight: 400;
    font-size: 1rem;
}

/* ---------------------------------------------------------- PORTFOLIO ARCHIVE */

.portfolio-posts-33 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem 2rem;
}


/* portfolio on front-page */
.portfolio-posts-50 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem 2rem;
}

@media(min-width: 1000px) {
    .portfolio-posts-50 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
        gap: 2rem 2rem;
    }
}

/* --------------------------------------------------- CONTACT FORM ON FRONT-PAGE */

.fp-contact-box {
    position: relative;
    color: #FFF;
    padding-bottom: 4rem;
}

@media(min-width: 800px) {
    .fp-contact-box::after {
        position: absolute;
        content: "";
        bottom: 0;
        left: 0;
        width: 8rem;
        height: 8rem;
        background-image: url(img/blue-icon.svg);
        background-repeat: no-repeat;
        background-size: contain;
    }
}

.fp-contact p {
    margin-bottom: 1.2rem;
}

.wpcf7 { 
    font-family: inherit;
}

.wpcf7 input {
    background: transparent;
    width: 100%;
    border-bottom: 1px solid #9EA9AA;
    margin-bottom: 1em;
    padding-bottom: .2rem;
}

.wpcf7 textarea {
    width: 100%;
    min-height: 100px;
    padding-top: .2rem;
    margin-bottom: 1em;
    resize: none;
    background: transparent;
}

input:focus-visible,
textarea:focus-visible {
    border-bottom: 2px solid #00B3E3;
    outline: transparent;
}

.wpcf7-not-valid-tip {
    color: #05CE7C;
}

.wpcf7 input[type="submit"] {
    margin-top: 1rem;
    padding: 10px 0;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    height: unset;
    cursor: pointer;
    background: #00B3E3;
}

.wpcf7 input[type="submit"]:hover {
    background: #05CE7C;
}

.wpcf7 input[type="checkbox"] {
    display: none;
}

.wpcf7-form > p {
    margin-bottom: 0;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item-label {
    position: relative;
    margin-left: 25px;
}

.wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid #FFC843;
    background: transparent;
    cursor: pointer;
    left: -25px;
    top: 5px;
}

.wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: url(img/check-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7 form.failed .wpcf7-response-output {
    border: 1px solid #FF4338;
    margin: 0;
    width: 100%;
    padding: 0.8em 0.5em;
    margin: 1em 0;
}

@media(min-width: 800px) {
    .fp-contact-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .fp-contact-flex > div {
        width: 48%;
    }
}

/* ---------------------------------------------------------------- FRONT-PAGE */

/* hero */

.hero-box {
    margin-bottom: 2rem;
}
@media(min-width: 700px) {
    .hero-box {
        margin-bottom: 3rem;
    }
}
@media(min-width: 1100px) {
    .hero-box {
        margin-bottom: 1rem;
    }
}

.hero-title h1 {
    font-size: 26px;
    margin-bottom: 1em;
    max-width: 700px;
}
@media(min-width: 400px) {
    .hero-title h1 { font-size: 32px;}
}
@media(min-width: 600px) {
    .hero-title h1 { font-size: 40px;}
}
@media(min-width: 750px) {
    .hero-title h1 { font-size: 50px;}
}
@media(min-width: 1100px) {
    .hero-title h1 { font-size: 42px;}
}
@media(min-width: 1200px) {
    .hero-title h1 { font-size: 45px;}
}
@media(min-width: 1300px) {
    .hero-title h1 { font-size: 50px;}
}

.sun-icon {
    display: inline-block;
    background: url(img/sun-icon.svg) no-repeat;
    width: .8em;
    height: .8em;
}

.thunder-icon {
    display: inline-block;
    background: url(img/thunder-icon.svg) no-repeat;
    width: .7em;
    height: .7em;
}

.hero-title p {
    margin-bottom: 1.2em;
    max-width: 700px;
}

.hero-title a {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0 0 1em 0;
    color: #FFFFFF;
    position: relative;
    padding: 0 1.3em 0 0;
    display: inline-block;
    background: none;
    text-align: left;
    cursor: pointer;
}
@media(min-width: 400px) {
    .hero-title a { font-size: 25px;}
}
@media(min-width: 600px) {
    .hero-title a { font-size: 40px;}
}
@media(min-width: 750px) {
    .hero-title a { font-size: 50px;}
}
@media(min-width: 1100px) {
    .hero-title a { font-size: 35px;}
}

.hero-title a::after {
    content: "";
    position: absolute;
    display: block;
    background-image: url(img/blue-button-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    height: .8em;
    width: .8em;
    top: 26%;
}

.hero-title a:hover {
    color: #00B3E3;
}

.main-image {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.main-image::after {
    content: "";
    display: block;
    padding-bottom: 80%;
}

.main-image img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.hero .main-image img {
    -o-object-position: center 0%;
    object-position: center 0%;
}

@media(min-width: 1100px) {
    .hero-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .hero-box > div {
        width: 48%;
    }
}

/* customers */
.fp-customers {
    margin-bottom: 3rem;
}
@media(min-width: 800px) {
    .fp-customers {
        margin-bottom: 4rem;
    }
}

.fp-customers-flex a {
    min-width: 100px;
    max-width: 120px;
}

.fp-customers-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* services */
.fp-services-box {
    position: relative;
}

@media(min-width: 600px) {
    .fp-services-box::after {
        display: block;
        position: absolute;
        content: "";
        background-image: url(img/green-icon2.svg);
        background-repeat: no-repeat;
        background-size: contain;  
        top: -2rem;
        right: 0;
        width: 5rem;
        height: 5rem; 
    }
}

.fp-services h2 {
    font-size: 24px;
    margin-bottom: 1.5em;
}
.fp-services h3 {
    font-size: 20px;
}
@media(min-width: 420px) {
    .fp-services h2 {
        font-size: 36px;
    }
    .fp-services h3 {
        font-size: 28px;
    }
}

.fp-services a {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0;
    color: #0F1919;
    position: relative;
    padding: 0 1.3em 0 0;
    display: inline-block;
    background: none;
    text-align: left;
    cursor: pointer;
}

.fp-services a::after {
    content: "";
    position: absolute;
    display: block;
    background-image: url(img/blue-button-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    height: .8em;
    width: .8em;
    top: 26%;
}

.fp-services a:hover {
    color: #00B3E3;
}

.fp-services p {
    padding-left: 2em;
    max-width: 700px;
}

.fp-services-flex {
    margin-bottom: 2rem;
}

@media(min-width: 1200px) {
    .fp-services-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;

    }
    .fp-services-flex h3 {
        margin-top: 0;
    }
    .fp-services p {
        padding-left: 0;
    }
    .fp-services-flex > * {
        width: 48%;
    }
}

/* munkáink */
.fp-portfolio {
    margin-top: 5rem;
}

.fp-portfolio .fp-button {
    margin: 0.5em 0 1em 0;
}

/* testimonials */

.fp-testimonials {
    margin: 4rem 0 2rem 0;
}

.testimonial-box {
    position: relative;
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-box-orange::before {
    position: absolute;
    display: block;
    content: "";
    background: url(img/orange-icon.svg) no-repeat center;
    background-size: contain;
    width: 2rem;
    height: 2rem;
    left: 0;
    top: 0;
}

.testimonial-box-green::before {
    position: absolute;
    display: block;
    content: "";
    background: url(img/green-icon.svg) no-repeat center;
    background-size: contain;
    width: 2rem;
    height: 2rem;
    left: 0;
    top: 0;
}

.testimonial-box .testimonial-kiemelt {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-box .testimonial-person {
    display: inline-block;
    position: relative;
    padding-right: 1em;
    margin-right: .2em;
}

.testimonial-box .testimonial-person::after {
    content: " / ";
    color: #FF6B00;
    position: absolute;
    right: 0;
    bottom: 0;
}

.testimonial-box .testimonial-person + p {
    display: inline-block;
    margin-bottom: 1.2rem;
}

.testimonial-box .testimonial-text {
    margin-bottom: 1.2rem;
}

.testimonial-box a {
    color: #0F1919;
}

.testimonial-box a:hover {
    color: #00B3E3;
}

@media(min-width:860px) {
    .fp-testimonials-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .testimonial-box {
        width: 48%;
    }
}

/* rólunk */
.fp-aboutus .main-image img {
    -o-object-position: center 18%;
    object-position: center 18%;
}

.aboutus-flex p {
    margin-bottom: 1.2em;
}

@media(min-width: 860px) {
    .aboutus-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .aboutus-flex > div {
        width: 48%;
    }
}

.front-page + footer .footer-box.sectionline-up {
    border-top: none;
}
.front-page + footer .footer-box.sectionline-up::before,
.front-page + footer .footer-box.sectionline-up::after {
    display: none;
}

/* ----------------------------------------------------------- RECAPTCHA BADGE */

.grecaptcha-badge {
    display: none;
}

/* --------------------------------------------------------- TABLE OF CONTENTS */

div#ez-toc-container {
    background: rgba(217,217,217,.25);
    max-width: 800px;
    padding: 1rem;
    border-radius: 0;
}

.ez-toc-title-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

p.ez-toc-title {
    margin-bottom: 0;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-left: 1rem;
}

.ez-toc-title-toggle {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.ez-toc-icon-toggle-span {
    color: #0F1919;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ez-toc-icon-toggle-span .list-377408 {
    fill: #0F1919 !important;
    color: #0F1919 !important;
    width: 1.25rem;
    height: 1.25rem;
}

.ez-toc-icon-toggle-span .arrow-unsorted-368013 {
    fill: #00B3E3 !important;
    color: #00B3E3 !important;
    width: 1rem;
    height: 1rem;
}

#ez-toc-container nav > ul {
    padding-top: 1rem;
}

#ez-toc-container nav ul li a {
    text-decoration: none;
    color: #00B3E3;
    font-weight: 400;
}

#ez-toc-container nav ul li a:hover {
    text-decoration: underline;
}

#ez-toc-container nav .ez-toc-heading-level-3 {
    padding-left: 1rem;
}

#ez-toc-container nav > ul li::before {
    display: none;
}

#ez-toc-container nav ul,
#ez-toc-container nav ul li,
#ez-toc-container nav ul li ul {
    margin-left: 0;
    padding-left: 0;
    margin-bottom: .2rem;
}

/* ---------------------------------------------------------- MAILERLITE FORMS */

/* főoldal */

.fp-newsletter {
    margin-bottom: 2rem;
    padding-bottom: 5vw;
}

.fp-newsletter-box {
    position: relative;
}

@media(min-width: 850px) {
    .fp-newsletter-box::after {
        position: absolute;
        content: "";
        bottom: -2rem;
        left: 0;
        width: 6rem;
        height: 6rem;
        background-image: url(img/yellow-icon.svg);
        background-repeat: no-repeat;
        background-size: contain;
    }
}

.fp-newsletter p {
    margin-bottom: 1.2rem;
}

.ml-subscribe-form {
    font-family: 'Red Hat Text', sans-serif !important;
}

.ml-subscribe-form:not(.fp-newsletter .ml-subscribe-form) {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

@media(min-width: 850px) {
    .frontpage-newsletter-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .frontpage-newsletter-flex > div {
        width: 48%;
    }
}

.front-page .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
    padding: 0 !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox .label-description::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox .label-description::after,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::after {
    display: none !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox label,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label {
    cursor: pointer;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox label::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label::before {
    display: block;
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 4px;
    left: 0;
    border: 1px solid #FFC843;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox label:has(> input[type="checkbox"]:checked)::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label:has(> input[type="checkbox"]:checked)::before  {
    background: url(img/check-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ----------------------------------------------------- CONTACT FORM BLOKK */

.wpcf7:not(.fp-contact-form .wpcf7) {
    margin: 2rem 0;
    background: rgba(217,217,217,.25);
    padding: 1rem;
}

.wpcf7-list-item-label:not(.front-page .wpcf7-list-item-label)::before {
    border: 1px solid #00B3E3;
}


.wpcf7 input[type="submit"] {
    color: #FFF;
}

/* ------------------------------------------------------------- INSTA PAGE */

.insta-title {
    background: #0F1919;
    text-transform: uppercase;
    text-align: center;
    padding: 1em 0;
}

.insta-menu li {
    padding: 1rem .6rem;
    line-height: 1.3;
}

.insta-menu li:not(:last-of-type) {
    position: relative;
    border-bottom: 1px solid #9EA9AA;
}

.insta-menu li::before,
.insta-menu li::after {
    content: "";
    position: absolute;
    background-color: #9EA9AA;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    display: block;
    bottom: -2px;
}

.insta-menu li::before {
    left: -2px;
}
.insta-menu li::after {
    right: -2px;
}

.insta-menu li a {
    color: #0F1919;
    text-decoration: none;
}

.insta-menu li a:hover {
    color:  #00B3E3;
}