/*!
Theme Name: reszveteliseg_by_altkozegy
Author: Hidon
Author URI: http://hidon.hu
Description: Description
Version: 1.0.0
*/

@font-face {
	font-family: Epilogue-thin;
	font-weight: 200;
	src: url(font/Epilogue-VariableFont_wght.ttf);
}

@font-face {
	font-family: Epilogue-regular;
	src: url(font/Epilogue-VariableFont_wght.ttf);
}

@font-face {
	font-family: Epilogue-medium;
	font-weight: 600;
	src: url(font/Epilogue-VariableFont_wght.ttf);
}

@font-face {
	font-family: Epilogue-bold;
	font-weight: 700;
	src: url(font/Epilogue-VariableFont_wght.ttf);
}

@font-face {
	font-family: CrimsonText-Regular;
	src: url(font/CrimsonText-Regular.ttf);
}

@font-face {
	font-family: CrimsonText-Bold;
	src: url(font/CrimsonText-Bold.ttf);
}
:root {
    --pink: #ED3A76;
    --orange: #F68D1E;
    --blue: #00ADEE;
    --green: #37B34A;
    --darkblue: #263238;
    --gray: #8DA8B4;
    --footerblue: #070c18;
    --lightgray: #BDC0C7;
}
html {
    scroll-behavior: smooth;
    padding: 0;
    width: 100vw;
	max-width: 1920px;
    font-size: 8px;
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
body {
    margin: 0;
    padding: 0;
    font-family: Epilogue-regular; 
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
main{
    display:flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
p {
    font-size: 2.5rem;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 4rem;
    font-weight: 500;
}
.fa-solid {
    font-size: 2.5rem;
}
video {
    width: 100%;
    height: 100%;
}
header{
    background-image: linear-gradient(#ebebeb, 4%, #ffffff);
    max-width: 1440px;
    border: 0;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
    margin: 2rem;
    position: relative;
    z-index: 1;
}
header h1 {
    font-size: 5rem;
    font-weight: 500;
}
header p {
    line-height: 160%;
}
nav {
    margin: 2rem;
}
#navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 90;
}
.navleft {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#searchbar{
    display: flex;
    flex-direction: row;
    height: 50px;
    align-items: center;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    padding-left: 1rem;
    background: white;
}
#search {
    padding: 0;
    border-radius: 25px;
    background: white;
}
#search input {
    border: 0;
    line-height: 300%;
    border-radius: 25px;
    padding-left: 1.5rem;
}
#search input::placeholder {
    color: var(--gray);
    font-style: italic;
}
.searchbtn {
    background-color: white;
    border: 0;
    border-radius: 0 25px 25px 0;
}
#greensrch {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--green);
    color: white;
    border: 0;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#greensrch:hover{
    color: var(--gray);
    cursor: pointer;
}
#burger {
    display: none;
    grid-column-end: 13;
    justify-content: flex-end;
}
#burger i{
    font-size: 3rem;
}
#toggle {
    opacity: 0;
    transition-duration: 500ms;
    position: absolute;
    z-index: 999;
    background: var(--gray);
    top: 20%;
    right: 0;
    cursor: pointer;
}
#toggle ul {
    list-style: none;
    padding-left: 0;
}
#toggle ul li {
    padding: 0.4rem 2rem;
}
.active {
    opacity: 1 !important;
    display: flex !important; 
}
.activeburger .fa-solid{
    display: none;
}
.activeburger:after {
    font: var(--fa-font-solid);
    content: '\f550';
    font-size: 3rem;
}
.hero {
    grid-column: 1 / span 12;
    grid-row: 2;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 3rem;
}
.heroimg {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: start;
}
.heroimg img{
    max-width: 435px;
    height: auto;
    width: 80%;
}
#load-more-btn:hover {
    cursor: pointer;
    color: black !important;
}
.maintxt {
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.maintxt  p {
    font-size: 2rem;
    line-height: 160%;
    margin: 2rem;
}
.posttitle a{
    text-decoration: none;
    color: black;
    font-size: 2rem;
    font-weight: 500;
}
.forward {
    padding-left: 1rem;
    font-size: 1.75rem;
    padding-bottom: 2rem;
}
.taglist {
    list-style: none;
    display: flex;
    column-gap: 1rem;
    padding: 1rem 1rem;
}
.taglist li a{
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--gray);
}
.videobanner {
    background-image: url(assets/video-line.jpg);
    width: 100%;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
}
.vbantxt {
    font-size: 3rem;
    margin-top: 1.5rem;
    color: white;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
.modal iframe {
    width: 100%;
    height: 400px;
    border: none;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    color: #000;
}
.open-btn {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter:blur(20px) brightness(110%);
    border: 0px;
    border-radius: 50% / 50%;
    font-size: 2em;
    height: 3em;
    width: 3em;
    padding: 0;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
    transition: all 150ms ease-out;
        -webkit-border-radius: 50% / 50%;
        -moz-border-radius: 50% / 50%;
        -ms-border-radius: 50% / 50%;
        -o-border-radius: 50% / 50%;
    z-index: 99;
    cursor:pointer;
}  
.open-btn:hover {
    background-color: var(--pink);
}
.open-btn::after {
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.866em;
    border-radius: 5% 0 5% 5%;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
    content: ' ';
    font-size: 1.5em;
    height: 0;
    margin: -0.5em 0 0 -0.25em;
    top: 50%;
    position: absolute;
    width: 0;
    -webkit-border-radius: 5% 0 5% 5%;
    -moz-border-radius: 5% 0 5% 5%;
    -ms-border-radius: 5% 0 5% 5%;
    -o-border-radius: 5% 0 5% 5%;
}
.usefullposts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 2rem 1.5rem 2rem;
}
.usefullposts h2, .sponsors h2{
    font-size: 3rem;
}
.sponsors h2 {
    padding-left: 2rem;
}
.ufpcarousel {
    display: flex;
    flex-direction: column;
}
#ufp {
    margin-top: 3rem;
}
a#ufp {
    text-decoration: none;
    color: black;
    cursor: pointer;
}
.ufptitle {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 1.3rem;
    margin-bottom: 1rem;
}
p.ufptxt {
    font-size: 1.75rem;
    color: #7d8796;
    line-height: 120%;
}
.usemorecontainer {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: row;
    margin: 3rem 0;
}
.ufpfeatureimg{
    aspect-ratio: 16 / 9;
    height: auto;
    background-size: cover !important;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}
.usemore {
    background-color: var(--green);
    border-radius: 10px;
    border: 0px;
    padding: 10px 20px;
    width: 200px;
}
.usemore a{
    text-decoration: none;
    color: white;
}
.usemore a:hover {
    cursor: pointer;
    color: var(--lightgray);
}
.banner {
    background-image: url(assets/banner_hands_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    -ms-border-radius: 35px;
    -o-border-radius: 35px;
    color: white;
    margin: 2rem;
}
.banner h2 {
    padding-top: 6rem;
    margin: 5rem 2rem;
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 120%;
}
.banner p{
    display: flex;
    padding-top: 2rem;
    margin: 5rem;
    flex-direction: row;
    align-content: center;
    font-size: 1.875rem;
}
.banner a {
    text-decoration: none;
    color: white;
}
.banner a:hover {
    cursor: pointer;
    color: var(--lightgray);
}
.long-arrow {
    display: inline-block;
    position: relative;
    top: 7px;
    margin: 1px;
    width: 10px;
    height: 10px;
    border-top: 3px solid white;
    border-left: 3px solid white;
    transform-origin: center;
    transform: rotate(135deg);
    margin-left: 120px;
    margin-bottom: 2rem;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
}
 .long-arrow::after {
    content: "";
    display: block;
    width: 3px;
    height: 89px;
    background-color: white;
    transform: rotate(-45deg) translate(30px, 11px);
    -webkit-transform: rotate(-45deg) translate(30px, 11px);
    -moz-transform: rotate(-45deg) translate(30px, 11px);
    -ms-transform: rotate(-45deg) translate(30px, 11px);
    -o-transform: rotate(-45deg) translate(30px, 11px);
}
.sponsors {
    width: 100%;
}
.sponsorscarousel {
	display: flex;
	flex-direction: row;
    padding: 2rem;
}
#splogo{
	list-style: none;
	aspect-ratio: 4 / 3;
    width: 60%;
	background-size: contain !important;
	background-repeat: no-repeat !important;
}
footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--footerblue);
    color: var(--lightgray);
    font-size: 1.2rem;
    line-height: 200%;
    width: 100%;
    margin-top: 5rem;
}
footer a {
    text-decoration: none;
    color: var(--lightgray);
    font-size: 1.2rem;
}
footer a:hover {
    cursor: pointer;
    color: var(--pink);
}
.footerup {
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.footerup, .footerdown {
    display: flex;
    flex-direction: column;
    margin: 4rem;
}
.footerdown {
    flex-direction: column-reverse;
    margin-bottom: 3rem;
    gap: 2rem;
}
.footerup ul {
    list-style: none;
    padding-left: 0;
}
.footerdown p {
    font-size: 1.2rem;
    font-weight: 100;
}
.footerlogo {
    grid-row: 2;
    grid-column: 0 /span 3;
}
.footertxt {
    grid-row: 2;
    grid-column: 3 / span 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.footertxt p {
    margin: 0;
    line-height: 145.5%;
    font-size: 1.2rem
}
.footersm {
    display: flex;
    gap: 2rem;
}
.footersm a {
    cursor: pointer;
}
.footersm i {
    color: white;
    padding-right: 1rem;
    font-size: 2rem;
}
.footersm p {
    margin: 0;
    font-weight: 300;
}

/* Subpages */
#navigation {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--green);
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#subnavbar {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    width: 100%;
}
.post {
    align-items: flex-start;
    margin-top: 3rem;
    max-width: 992px;
    padding: 3rem;
}
h1.posttitle {
    font-size: 4rem;
    font-weight: 500;
    padding-left: 0;
    padding-top: 2rem;
}
.content h2 {
    font-size: 3rem;
}
.content h3 {
    font-size: 2.6rem;
}
.content p {
    font-size: 1.75rem;
    line-height: 140%;
    font-weight: 300;
}
.cat {
    margin-right: 1rem;
    background: var(--green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}
.cat a {
    text-decoration: none;
    font-size: 1.75rem;
    color: white;
    cursor: pointer;
}
.cat a:hover {
    color: var(--lightgray)
}
.postfeatureimg {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
    margin: 0 auto;
}
.postdetail {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}
.postdate {
    font-style: italic;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.postdate::before {
    font: var(--fa-font-solid);
    content: '\f073';
    font-size: 0.8rem;
    padding-right: 8px;
    font-weight: 100;
}
.postdate p{
    font-size: 1rem;
}
.postcategory p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.postscarousel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1440px;
}
#postscontent {
    width: 30%;
    border: 1px solid;
    border-radius: 25px;
}
.postimg {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
    border-radius: 25px 25px 0 0 ;
    -webkit-border-radius: 25px 25px 0 0 ;
    -moz-border-radius: 25px 25px 0 0 ;
    -ms-border-radius: 25px 25px 0 0 ;
    -o-border-radius: 25px 25px 0 0 ;
    background-size: cover !important;
	background-repeat: no-repeat !important;;
}
.posttitle, .posttxt {
    padding: 1rem;
    margin: 0
}
.posttxt {
    line-height: 100%;
}
.posttxt a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 300;
    font-size: 1.75rem;
}
#post-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
	gap: 3rem;
	justify-content: space-evenly;
    margin: 0 3rem;
}
.postcontent {
	border: 1px solid black;
	border-radius: 25px;
    max-width: 426px;
    padding-bottom: 2rem;
}
#load-more-posts {
	margin-top: 3rem;
}
.morebtn {
	background-color: var(--green);
	border-radius: 15px;
	color: white;
	padding: 0.5rem 1rem;
	cursor: pointer;
}
.morebtn:hover {
	color: var(--gray);
}

/* FORM */
.nf-form-fields-required {
    display:none;
}
form {
    padding-top: 3rem;
    position: relative;
}
input {
    border: 1px solid var(--lightgray);
}
textarea {
    border-radius: 10px;
    border: 1px solid var(--lightgray);
}
input#nf-field-15 {
    background-color: var(--green);
    color: white;
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    left: 50%;
    transform: translate(-50% , 0);
}
/*Usefull posts*/
#lotsofpost {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-evenly;
    margin: 0 3rem;
    align-items: center;
}
.article-list {
    margin-top: 3rem;
}
.usefullarticles {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.usefull {
    display: flex;
    flex-direction: column;
    column-gap: 2rem;
    align-items: center;
    text-decoration: none;
}
.usefullimg {
    aspect-ratio: 16 / 9;
    background-size: cover !important;
    max-width: 426px;
    height: auto;
    border-radius: 25px;
    width: 100%;
}
.ufdetails {
    width: 100%
}
.usefulltitle {
    font-size: 2rem;
    color: black;
    font-weight: 500;
    padding-left: 1rem;
}
.usefulltxt {
    padding-left: 1rem;
}
.ufdetails p {
    color: var(--gray);
    font-size: 2rem;
}
.page-numbers {
    padding: 0 0.5rem;
    color: var(--gray);
    font-size: 1.2rem;
}
.current {
    background-color: var(--pink);
    color: white;
}
.pagination a {
    text-decoration: none;
}
/*Search page*/
h1.page-title {
    font-size: 2rem;
}
.nopagetitle {
    font-size: 8rem;
    background: -webkit-linear-gradient(#ED3A76, #F68D1E, #00ADEE, #37B34A);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    font-weight: 800;
}
/* Media Queries */
@media screen and (min-width: 576px) {
    .heroimg {
        width: 50%
    }
    .heroimg img{
        width: 100%
    }
    .banner h2 {
        margin: 5rem;
    }
}
@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }
    p {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 6.875rem;
    }
    h2 {
        font-size: 6.875rem;
        font-weight: 500;
    }
    .fa-solid {
        font-size: 1rem;
    }
    #searchbar {
        display: flex;
        padding: 0 1rem;
    }
    #search {
        display: flex;
    }
    #greensrch {
        width: 20px;
        height: 20px;
    }
    header h1 {
        font-size: 6.875rem;
    }
    #post-container {
        flex-direction: row;
    }
    .postcontent {
        width: 30%;
        max-width: 426px;
        min-height: 500px;
    }
    .posttitle a{
        font-size: 1.5625rem;
    }
    .posttxt a {
        font-size: 0.9375rem;
    }
    .taglist {
        padding: 0 1rem;
    }
    .taglist li a {
        font-size: 0.667rem
    }
    #tags {
        background-color: #F3F3F4;
        padding: 0.3rem 0.5rem;
        border-radius: 30px;
    }
    .post {
        padding: 0;
    }
    .maintxt {
        margin: 0;
    }
    .content p{
        font-size: 1rem;
    }
    .maintxt p {
        font-size: 3.125rem;
    }
    .open-btn {
        height: 4em;
        width: 4em;
    }
    .open-btn::after {
    border-width: 0.5em 0 0.5em 0.866em;
    margin: -0.5em 0 0 -0.375em;
    }
    .hero {
        display: flex;
        flex-direction: row;
        margin: 3rem;
    }
	.herotxt {
    	width: 70%;
	}
    .heroimg {
        justify-content: center;
    }
    .usefullposts {
        align-items: flex-start;
    }
    .ufptitle {
        font-size: 2rem;
    }
    p.ufptxt {
        font-size: 0.9375rem;
    }
    .banner {
        background-position: center bottom;
    }
    .banner h2 {
        margin-bottom: 3rem;
    }
    .banner p{
        margin-top: 1rem;
    }
    footer {
        font-size: 0.8125rem;
        align-items: center;
    }
    footer a {
        font-size: 0.8125rem;
    }
    .footerup, .footerdown {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto;
        max-width: 1440px;
    }
    .footerup {
        margin: 4rem 4rem 0 4rem;
    }
    .footerdown {
        margin: 0 4rem 4rem 4rem;
        column-gap: 0;
    }
    .footerdown p {
        font-size: 0.75rem;
    }
    .footermenuleft {
        grid-row: 1;
        grid-column: 0 / span 3
    }
    .footermenumid {
        grid-row: 1;
        grid-column: 4 / span 3
    }
    .footercontact {
        display: grid;
        grid-row: 1;
        grid-column-end: 13 !important;
        grid-column: span 2;
        justify-content: end;
    }
    .footertxt p {
        font-size: 0.75rem
    }
    .footersm {
        display: grid;
        grid-row: 2;
        grid-column-end: 13 !important;
        grid-column: span 2;
        row-gap: 0;
    }
    .footersm i {
        font-size: 1.3rem;
    }
    .usefulltitle {
        font-size: 1.25rem;
    }
    .ufdetails p {
        font-size: 0.9375rem;
    }
    .cat a {
        text-decoration: none;
        font-size: 1rem;
    }
    .usefull {
        flex-direction: row;
        column-gap: 2rem;
        align-items: center;
        text-decoration: none;
    }
    .usefullimg {
        width: 60%;
    }
    .ufdetails {
        width: 40%
    }
    .nopagetitle {
        font-size: 18rem;
    }
}
@media screen and (min-width: 992px) {
    .ufpcarousel {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .ufpfeatureimg {
        max-width: 426px;
    }
    #ufp {
        width: 30%;
    }
}
@media screen and (min-width: 1200px) {
    main {
        max-width: 1440px;
    }
}