/*
Theme Name: Dev-2022
Theme URI: https://frontendtanfolyam.hu/
Author: the WordPress team
Author URI: https://designstreet.hu/
Description: Basic Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.1
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: dev-2022

*/

@font-face {
    font-family: 'Accura';
    src: url('fonts/Accura-SemiBold.eot');
    src: url('fonts/Accura-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Accura-SemiBold.woff2') format('woff2'),
        url('fonts/Accura-SemiBold.woff') format('woff'),
        url('fonts/Accura-SemiBold.ttf') format('truetype'),
        url('fonts/Accura-SemiBold.svg#Accura-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Accura';
    src: url('fonts/Accura-RegularItalic.eot');
    src: url('fonts/Accura-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Accura-RegularItalic.woff2') format('woff2'),
        url('fonts/Accura-RegularItalic.woff') format('woff'),
        url('fonts/Accura-RegularItalic.ttf') format('truetype'),
        url('fonts/Accura-RegularItalic.svg#Accura-RegularItalic') format('svg');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Accura';
    src: url('fonts/Accura-Regular.eot');
    src: url('fonts/Accura-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Accura-Regular.woff2') format('woff2'),
        url('fonts/Accura-Regular.woff') format('woff'),
        url('fonts/Accura-Regular.ttf') format('truetype'),
        url('fonts/Accura-Regular.svg#Accura-Regular') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Accura';
    src: url('fonts/Accura-Bold.eot');
    src: url('fonts/Accura-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Accura-Bold.woff2') format('woff2'),
        url('fonts/Accura-Bold.woff') format('woff'),
        url('fonts/Accura-Bold.ttf') format('truetype'),
        url('fonts/Accura-Bold.svg#Accura-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Accura';
    src: url('fonts/Accura-BoldItalic.eot');
    src: url('fonts/Accura-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Accura-BoldItalic.woff2') format('woff2'),
        url('fonts/Accura-BoldItalic.woff') format('woff'),
        url('fonts/Accura-BoldItalic.ttf') format('truetype'),
        url('fonts/Accura-BoldItalic.svg#Accura-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}


.wp-caption {
    font-size: smaller;
}

.wp-caption-text {
    font-size: smaller;
}

.sticky {}

.screen-reader-text {}

.gallery-caption {
    font-size: smaller;
}

.bypostauthor {}

.alignright,
.align-right {
    text-align: right;
}

.alignleft,
.align-left {
    text-align: left;
}

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

/* === RESET === */

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

img {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code,
pre,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

iframe {
    display: block;
    max-width: 100%;
}

header li,
#main-menu li {
    list-style-type: none;
}

b,
strong {
    color: var(--main-color);
}

/* === RESPONSIVE TYPO === */

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

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

@media screen and (min-width: 1200px) and (max-width: 1919px) {
    html {
        font-size: 1.2vw;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 22px;
    }
}


/* === STYLE === */


:root {
    --main-color: #04aa9d;
    --hover-color: #f8d36a;
    --orange: #ff4600;
}

.ease {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    background: #0d161d;
    color: #fdfafa;
    font-family: 'Accura';
}

ul,
ol {
    padding: 0;
}

ul ul,
ul ul ul,
ol ol,
ol ol ol {
    margin: 0.5rem 0;
}

ol ol,
ol ol ol {
    padding-left: 1rem;
}

ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

ul li::marker {
    color: var(--main-color);
}

ol {
    list-style: none;
    counter-reset: my-counter;
}

ol li {
    counter-increment: my-counter;
    margin-bottom: 0.25rem;
}

ol li::before {
    content: counter(my-counter) '.';
    background: var(--main-color);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-block;
    line-height: 1.5rem;
    color: white;
    text-align: center;
    margin-right: 0.5rem;
}

p {
    line-height: 1.5;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: none;
}


h1,
h2 {

    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    background: -webkit-linear-gradient(var(--main-color), #085f5b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3,
h4 {
    font-size: 1.5rem;
    position: relative;
    font-weight: normal;
    color: var(--orange);
}

h1 a,
h2 a,
h3 a,
h4 a {
    color: inherit;
}

.home h1 {
    color: var(--orange) !important;
    -webkit-background-clip: none;
    -webkit-text-fill-color: var(--orange) !important;
    background: none;
}

blockquote {
    background: #eee;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    border-left: solid 5px var(--main-color);
}

hr {
    border: none !important;
    height: 3px;
    background: #eee;
}

table {
    border-spacing: 0;
    border: solid 1px #ddd;
}

td,
th {
    padding: 0.5rem 1rem;
    border: solid 1px #ddd;
}

th {
    background: #eee;
    text-align: left;
}


#logo a {
    display: inline-block;
}

#logo {
    max-width: 14rem;
    width: 14rem;
    margin: 0;
    position: relative;
    height: 100px;
}

#logo img {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
}

header {
    position: relative;
    z-index: 2;
}

#top-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

#hero {
    overflow: hidden;
    position: relative;
    z-index: 2;
}



#hero-img {
    position: absolute;
    overflow: hidden;
    z-index: 0 !important;
}


#hero-img:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #0d161d;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#hero-img img {
    width: 120%;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all .5s ease-in-out;
    -webkit-animation: zoomin 30s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards, fadein 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: zoomin 30s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards, fadein 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    overflow: hidden;
}

main {
    background: #0d161d;
    position: relative;
    z-index: 1;
}

body:not(.home) main {
    padding: 3rem 0;
}

.post-meta ul {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    font-size: smaller;
}

.post-meta ul li {
    display: inline-block;
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

.post-tags a,
.tagcloud a {
    display: block;
    float: left;
    padding: 0.15rem 0.25rem;
    border: solid 2px transparent;
    font-size: small !important;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: var(--main-color);
    color: #fff;
}

.post-tags a:hover,
.tagcloud a:hover {
    background: #000;
}

.accordion {
    margin: 0 0 2rem 0;
    clear: both;
}

.accordion .accordion-content {
    display: none;
}

.accordion .accordion-title h2,
.accordion .accordion-title h3,
.accordion .accordion-title h4 {
    margin: 0;
}

.accordion .accordion-title {
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
    border-bottom: solid 1px #ddd;
    color: inherit;
    padding: 0.65rem 0.5rem 0.65rem 2rem;
    position: relative;
}

.accordion .accordion-title:after {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    display: inline-block;
    height: 0.6rem;
    width: 0.6rem;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -0.3rem;
    transform: rotate(45deg);
    vertical-align: top;
}

.accordion .accordion-title.active,
.accordion .accordion-title:hover {
    color: var(--main-color);
}

.accordion .active h4 {
    border-bottom: none;
}

.accordion .accordion-title.active:after,
.accordion .accordion-title:hover:after {
    transform: rotate(135deg);
    left: 0.25rem;
    margin-top: -0.35rem;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.accordion .accordion-content {
    margin: 0;
    padding: 1rem 2rem;
    overflow: hidden;
    border-bottom: solid 1px #ddd;
}

.accordion .accordion-content p {
    line-height: 1.4 !important;
}

.accordion .accordion-content p:last-of-type {
    margin: 0 !important;
}

.light-bg {
    background: #eee;
    padding-top: 6vw;
    padding-bottom: 6vw;
}

footer {
    background: #eee;
    font-size: smaller;
    padding: 0;
    color: #444;
    text-align: center;
}

footer li {
    display: block;
}

#social li {
    display: inline-block;
    border-radius: 50%;
    margin: 0px 1em;
}

#social li a svg {
    width: 1.5rem;
    height: 100%;
}

#brands {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 3rem;
}

#brands img {
    display: inline-block;
    width: auto !important;
    max-width: 160px !important;
    margin: 0px 1rem;
}

#copyright {
    padding: 0.75rem 0;
    text-align: center;
    font-size: smaller;
}




#gotop {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: var(--main-color);
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

#gotop svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

#gotop svg path {
    fill: #fff;
}

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

    h1,
    h2 {
        font-size: 2rem;
    }
}


.wp-block-video {
    margin: 0 !important;
}

.border {
    border: solid 0.5rem var(--main-color);
    padding: 1rem;
    position: relative;
}



.white {
    background: #f3f3f3;
    color: #444;
}

.white-card {
    background: #fff;
    font-size: smaller;
    color: #444;
    padding: 1.5rem;
    border-radius: 1rem;
}

.white-card b,
.white-card strong {
    color: #444;
}

.white-card img {
    filter: grayscale(1);
    border-radius: 50%;
    max-width: 140px;
    margin: 0 auto;
    display: block;
}

.white-card h3 {
    background: #e0fffc;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.white-card .row {
    --gap: 1rem;
}

.white-card a:hover {
    color: #000;
}

h3.line-left:before,
h3.line-right:before {
    content: "";
    display: block;
    width: 120%;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    bottom: -1rem;
    left: 0;
    z-index: 3;
}

h3.line-right:before {
    left: auto;
    right: 0;
}

.border-text {
    position: relative;
    padding-left: 1.5rem;
}

.border-text:before {
    content: "";
    display: block;
    width: 2px;
    height: calc(100% + 4rem);
    background: var(--main-color);
    position: absolute;
    left: 0.5rem;
    bottom: 0;
    z-index: 3;
}