:root {
    --base-color: #eee;
    --base-variant: #fefefe;
    --text-color: #555555;
    --vetessy-color: #4db848;
    --vetessy-color-dark: #297028;
    --vetessy-color-light: #76D56D;
    --secondary-text: #eaeaea;
    --accent-color: -webkit-linear-gradient(0deg, var(--vetessy-color-light), var(--vetessy-color-dark));
    --contrast: black;
    --hamburger-bar-width: 1.3rem;
    --hamburger-bar-height: .15rem;
    --hamburger-gap: .3rem;
    --hamburger-animation-timing: 200ms ease-in-out;
    --hamburger-height: calc(var(--hamburger-bar-height) * 3 + var(--hamburger-gap) * 2);
    --success: #34ab34;
    --grey: #bebebe;
    --disabled: #ddd;
}

.darkmode {
    --base-color: #444;
    --base-variant: #666;
    --text-color: #eee;
    --vetessy-color: #4db848;
    --vetessy-color-dark: #297028;
    --vetessy-color-light: #76D56D;
    --secondary-text: white;
    --accent-color: linear-gradient(0deg, var(--vetessy-color-light), var(--vetessy-color));
    --contrast: white;
    --success: #679a48;
    --grey: grey;
    --disabled : #666;
}

html, body {
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100%;
    font-family: Inter, Roboto, Segoe UI, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    max-width: 100%;
    scroll-behavior: smooth;
}

html *::selection {
        background: var(--vetessy-color);
        color: #fff;
}

body {
    color: var(--text-color);
    background-color: var(--base-color);
    background-image: url("../images/liliom-vonal-ff-tr.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    height: calc(100svh - 3.5rem);
}

main {
    min-height: calc(100svh - 3.5rem);
    margin-top: 3rem;
}

#vetessy-logo {
    height: 5rem;
    transition: height .3s ease-in-out, top .3s ease-in-out;
    position: absolute;
    top: 2.9rem;
    left: 1rem;
    transform: translate(0, -50%);
}

.scrolled-vetessy-logo {
    height: 4.5rem !important;
    top: 2.4rem !important;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    z-index: 50;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--base-variant);
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.3);
    height: 3.5rem;
    transition: height .3s ease-in-out;
}

.scrolled {
    height: 3rem;
}

header *, #share-container * {
    text-decoration: none;
    color: var(--text-color);
}

.main-email a, .main-email i {
    text-decoration: none;
    color: var(--secondary-text);
    margin-top: 2rem;
}

.main-email .subtitle {
    margin-block: 0;
}

#header-nav {
    display: flex;
    padding-inline: 1rem;
    height: 100%;
    margin-left: 8rem;
    margin-right: auto;
    align-items: center;
    transition: height .3s ease-in-out;
}

#header-nav a {
    display: flex;
    height: 3.40rem;
    align-items: center;
    padding-inline: .5rem;
    white-space: nowrap;
    transition: height .3s ease-in-out, background-color .1s ease-in-out, border-bottom-color .1s ease-in-out;
    border-bottom: .1rem solid transparent;
    font-size: .9rem;
    font-weight: 300;
}

#header-nav a:hover {
    color: var(--contrast);
    background-color: rgba(50, 50, 50, 0.1);
}

.scrolled-header-nav {
    height: 3rem !important;
}

.active-header-link {
    border-bottom: .1rem inset var(--vetessy-color) !important;
    color: var(--vetessy-color);

    &:hover {
        color: var(--vetessy-color) !important;
    }
}

header > div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger-menu {
    --x-width: calc(var(--hamburger-height) * 1.41421356237);

    display: none;
    flex-direction: column;
    gap: var(--hamburger-gap);
    padding-left: 1rem;
    width: calc(var(--hamburger-bar-width) + 1rem);
    align-items: center;
    cursor: pointer;
    z-index: 52;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
    border: 1px solid var(--text-color);
    box-shadow: 0 0 0 1px var(--base-variant);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
    content: '';
    box-sizing: border-box;
    width: var(--hamburger-bar-width);
    height: var(--hamburger-bar-height);
    background-color: var(--text-color);
    border-radius: 4rem;
    transform-origin: left center;
    transition: opacity var(--hamburger-animation-timing), width var(--hamburger-animation-timing), rotate var(--hamburger-animation-timing),
    translate var(--hamburger-animation-timing), background-color var(--hamburger-animation-timing);
}

.hamburger-menu input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
    transition: margin-left var(--hamburger-animation-timing);

    &:hover {
        margin-left: .4rem;
    }
}

.hamburger-menu:has(input:checked)::before {
    rotate: 45deg;
    width: var(--x-width);
    translate: 0 calc(var(--hamburger-bar-height) / -2);
    background-color: var(--secondary-text);
}

.hamburger-menu:has(input:checked)::after {
    rotate: -45deg;
    width: var(--x-width);
    translate: 0 calc(var(--hamburger-bar-height) / 2);
    background-color: var(--secondary-text);
}

.hamburger-menu input:checked {
    opacity: 0;
    width: 0;
}

.sidebar {
    transition: translate var(--hamburger-animation-timing);
    translate: -100%;
    padding: .5rem 0;
    padding-top: calc(var(--hamburger-height) + 5rem);
    background-color: #454545;
    min-width: fit-content;
    width: 20rem;
    max-width: 50dvw;
    min-height: 100lvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 51;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.3);
}

.sidebar nav a {
    padding-block: .5rem;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 1rem;
    font-size: large;
    padding-inline: 1rem;
    transition: background-color 100ms ease-in-out;

    &:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.sidebar nav a i {
    min-width: 2rem;
}

.sidebar nav * {
    color: var(--secondary-text);
}

.hamburger-menu:has(input:checked) + .sidebar {
    translate: 0;
}

footer {
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--base-variant);
    padding-bottom: 1rem;
    height: max-content;
    padding-top: 3rem;
}

footer * {
    color: var(--text-color);
    font-weight: 300;
}

footer a {
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

footer nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    gap: 1rem;
}

footer p:first-of-type {
    color: lightgrey;
    text-align: center;
}

#footer-motto {
    font-weight: 200;
    font-style: normal;
    border-bottom: 1px solid var(--vetessy-color-light);
    padding-block: .7rem;
    text-align: center;
    width: 40%;
    font-size: xx-large;
    margin-bottom: 2rem;
    background: var(--accent-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#social-links {
    min-width: fit-content;
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: auto;
    margin-top: 3rem;
    gap: .8rem;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(-1.5rem);
}

#social-links .fa-brands, #social-links .fa-square-rss {
    color: grey;
}

#social-links .fa-brands:hover, #social-links .fa-square-rss:hover {
    color: var(--vetessy-color);
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#home-bg-1 {
    background-image: url("../images/vetessy-homepage-2.jpg");
}

#home-bg-2 {
    background-image: url("../images/vetessy-homepage.jpg");
}

#home-bg-3 {
    background-image: url("../images/vetessy-group-2.jpg");
}

.home-bg {
    /* overflow: hidden;
    background-image: var(--bg-img);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 100svh;
    width: 100%;
    position: relative;
    margin-bottom: 15rem;
    box-shadow: 0 -5rem 5rem -1rem rgba(0, 0, 0, 0.4) inset;
    display: none; */
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-attachment: fixed;
    box-shadow: 0 -6rem 6rem -1.5rem rgba(0, 0, 0, 0.4) inset;
}

.active-home-bg {
    opacity: 1;
}

#home-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2.5rem, 6vw, 2.8rem);
    color: var(--secondary-text);
    font-weight: 200;
    text-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.8),2px 2px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    text-align: center;
    width: fit-content;
    cursor: default;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
    filter: blur(5px);
    animation-delay: 300ms;
}

#home-text::after {
    content: '';
    opacity: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent-color);
    height: .1rem;
    transform: translate3d(-100%, 0, 0);
    animation: underlineSlideIn 2s forwards;
    animation-delay: 300ms;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes underlineSlideIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#cta-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

#home-cta {
    width: 100%;
    background-color: var(--vetessy-color-dark);
    margin: 1rem 0;
    box-shadow: 0 0 .8rem rgba(0, 0, 0, 0.6);
}

#home-secondary-cta {
    width: 100%;
    border: 1px solid var(--vetessy-color);
    transition: border .5s;

    &:after {
        background-color: transparent;
    }

    &:hover {
        border: 1px solid transparent;
    }
}

.cta {
    text-align: center;
    color: var(--secondary-text);
    text-decoration: none;
    padding: .7rem 1rem;
    border-radius: 10rem;
    width: fit-content;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: all .3s;
    display: inline-block;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
    animation-delay: 1000ms;

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--vetessy-color-dark);
        border-radius: 10rem;
        z-index: -2;
    }
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--vetessy-color);
        transition: all .3s;
        border-radius: 10rem;
        z-index: -1;
    }
    &:hover {
        color: #fff;
        &:before {
            width: 100%;
        }
    }
}

#home-arrow-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 0);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: block;
    animation: pulse 2.5s infinite;
    animation-timing-function: linear;
    transition: color .2s ease-in-out;

    &:hover {
        animation: none;
        color: rgba(255, 255, 255, 0.7);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    25% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.1;
    }
    75% {
        opacity: 0.35;
    }
    100% {
        opacity: 0.6;
    }
}

#blog, #events {
    width: 80%;
    margin: 8rem auto 12rem auto;
}

#blog-posts-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.blog-post {
    background: var(--base-variant);
    width: 30%;
    border-radius: .3rem;
    color: var(--text-color);
    box-shadow: 0 0 .15rem rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: .3rem .5rem .2rem .5rem;
    text-decoration: none;
    position: relative;
}

.blog-post::after {
    content: '';
    width: 60%;
    height: 0;
    background: var(--vetessy-color);
    position: absolute;
    bottom: -.1rem;
    left: 20%;
    border-bottom-right-radius: .2rem;
    border-bottom-left-radius: .2rem;
    transition: height .2s ease-in-out, bottom .2s ease-in-out;
}

.blog-post:hover::after {
    height: .4rem;
    bottom: -.4rem;
}

.blog-post:first-of-type {
    box-shadow: 0 0 .7rem rgba(0, 0, 0, 0.3);
}

.blog-post:first-of-type:before {
    content: 'Legújabb';
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 0;
    left: 50%;
    padding: .1rem 2rem;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 150, 0, 0.2);
    border: 1px solid var(--vetessy-color);
    border-radius: 10rem;
    backdrop-filter: blur(10px);
    font-size: small;
    color: var(--vetessy-color);
}

#home-pagination {
    margin: 2rem auto;
}

.visible-post {
    display: flex;
}

.blog-post:hover .blog-post-title {
    color: var(--vetessy-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.blog-post-title {
    font-weight: bold;
    font-size: large;
    padding-bottom: .3rem;
    align-self: flex-start;
}

.blog-post-content {
    text-align: justify;
    width: 100%;
    min-height: 13rem;
    position: relative;
    font-weight: 300;
}

.blog-post-date {
    font-size: .8rem;
    font-weight: 300;
}

.blog-author-img {
    width: 2rem;
    height: 2rem;
    border-radius: 10rem;
    margin-right: .3rem;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: small;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
}

.blog-post-blur {
    width: 100%;
    max-height: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, transparent, var(--base-variant));
    margin-top: -5rem;
}

.blog-post-footer {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 1rem auto 1rem auto;
    justify-content: space-between;
}

#stats {
    /*position: absolute;
    bottom: -10rem;
    left: 50%;
    width: 70%;
    height: 10rem;
    margin-inline: auto;
    transform: translate(-50%, -50%);*/
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
}

.stat-block {
    background-color: var(--base-variant);
    width: 20%;
    height: 10rem;
    border-radius: .8rem;
    font-size: large;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 .2rem .4rem rgba(0, 0, 0, 0.2);
}

.stat-block span {
    font-size: xx-large;
    font-weight: bold;
    margin-top: .7rem;
}

.header-image {
    width: 100%;
    height: 20rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.5);
}

.header-image h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-text);
    font-size: clamp(2.5rem, 8vw, 4rem);
    text-shadow: 0 0 3rem black;
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 200;
}

#blog-header-image {
    background-image: url("../images/vetessy-group-2.jpg");
}

#support-header-image {
    background-color: var(--base-color);
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.1);
    padding-top: 3rem;
}

#about-us-container {
    width: 65%;
    margin-inline: auto;
    text-align: justify;
}

.about-side-info {
    width: 35rem;
    max-width: 100%;
    margin-inline: auto;
    border-left: .4rem solid var(--vetessy-color);
    border-radius: .3rem;
    padding: 1.5rem 1rem 1.5rem 1rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.1);
    margin-block: 5rem;
    background-color: var(--base-variant);
}

#leaders {
    width: 60%;
    margin: 10rem auto 0 auto;
}

.leader-image-frame {
    width: 8rem;
    height: 8rem;
    min-height: 8rem;
    min-width: 8rem;
    border-radius: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--vetessy-color);
    position: relative;
    align-self: flex-start;
}

.leader-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    width: 100%;
    margin-top: 2rem;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 3rem;
    transition: scale .5s ease-in-out;
    gap: .5rem;
}

.leader-block img {
    width: 95%;
    height: 95%;
    border-radius: 7.5rem;
    object-fit: cover;
}

.leader-name {
    width: max-content;
    min-width: 5.5rem;
    margin-bottom: 0;
}

.introduction {
    margin-left: 3rem;
    text-align: justify;
}

.leader-music, .leader-email, .leader-email * {
    font-size: small;
    width: max-content;
    color: var(--text-color);
    margin: 0;
}

#about-stats {
    width: 80%;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-us-p {
    display: flex;
    align-items: center;
    min-height: 7rem;
    transition: opacity 2s ease-out, transform 2s ease-out;
    transform: translateY(6rem);
}

.history-year {
    font-weight: bold;
    min-height: 5rem;
    height: 5rem;
    min-width: 5rem;
    width: 5rem;
    border: .1rem solid var(--vetessy-color);
    border-radius: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
    text-align: center;
    line-height: normal;
}

.row {
    display: flex;
    justify-content: left;
    width: 80%;
    margin-inline: auto;
}

.row-counter {
    width: 1.5rem;
    margin-left: .5rem;
    text-align: right;
}

.row-name {
    width: 50%;
    margin-left: 1.5rem;
    text-wrap: none;
    text-align: left;
}

.row-year {
    align-self: flex-end;
    width: 6rem;
    margin-left: .5rem;
}

#theme-switch img{
    color: var(--text-color);
    padding-right: 1rem;
    cursor: pointer;
    height: 1.3rem;
}

#theme-switch img:last-child {
    display: none;
}

.darkmode #theme-switch img {
    display: none;
}

.darkmode #theme-switch img:last-child {
    display: block;
}

#blog-site-content {
    width: 60%;
    margin: 6rem auto 12rem auto;
    background-color: var(--base-variant);
    border-radius: .3rem;
    padding: 3rem;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.2);
}

#blog-site-content h2 {
    font-size: 3rem;
    margin-bottom: 5rem;
}

#blog-site-content img {
    max-width: 100%;
    object-fit: cover;
}

#blog-site-content iframe {
    max-width: 100%;
}

#blog-site-content .separator-line:last-of-type {
    margin-bottom: 5rem;
}

.separator-line {
    width: 60%;
    margin: 1rem auto;
    height: 1px;
    background-color: var(--vetessy-color);
}

#labels-container {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

#labels-title {
    font-weight: 300;
}

.label {
    background-color: var(--base-color);
    border-radius: 5rem;
    padding: .1rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: .2s ease-in-out;
    font-weight: 300;
}

.label:hover {
    background-color: var(--grey);
}

#breadcrumbs {
    margin-top: 7rem;
    margin-left: 3rem;
    padding-left: 1rem;
    border-left: 3px solid var(--vetessy-color);
    padding-block: .3rem;
    font-weight: 400;
}

#breadcrumbs * {
    color: var(--text-color);
}

#calendar, #apply-form, #events-iframe-container {
    width: 60%;
    max-width: 100%;
    height: max(50svh, 30rem);
    margin: 8rem auto;
    position: relative;
    overflow: hidden;
}

#apply-form {
    height: 100%;
    width: 100%;
    margin: 0;
}

#events-iframe-container {
    margin: 0 auto;
}

#events-iframe-container iframe, #calendar iframe, #apply-form iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#apply-form {
    height: calc(100svh - 3.5rem);
}

.iframe-darkmode {
    filter: invert(80%);
}

#calendar, #events-iframe-container {
    border-radius: 1rem;
    box-shadow: 0 0 .2rem rgba(0, 0, 0, 0.3);
}

.subhead {
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin: 0 auto 4rem auto;
    display: block;
    width: fit-content;

    &::after {
        content: '';
        margin-top: .5rem;
        width: 6rem;
        height: .1rem;
        background: var(--vetessy-color);
        display: block;
        margin-inline: auto;
    }
}

.subhead span {
    display: block;
    font-weight: 200;
    font-size: x-large;
    width: fit-content;
    margin-inline: auto;
}

.subtitle {
    font-size: clamp(2.7rem, 3.5vw, 4rem);
    margin-top: 8rem;
    margin-bottom: 4rem;
    overflow-wrap: break-word;
    font-weight: 200;
}

.pagination {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 6rem auto 0 auto;
    max-width: 80%;
}

#prev-post, #next-post {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#next-post {
    left: auto;
    right: 0;
}

.pagination-btn {
    border: 1px solid #b2b2b2;
    border-radius: 3rem;
    padding: .5rem 2rem;
    color: var(--text-color);
    margin-inline: .6rem;
    cursor: pointer;
    text-decoration: none;
    transition: .1s all;
    white-space: nowrap;
    display: block;
    width: fit-content;
    background-color: var(--base-color);
}

.pagination-btn:hover {
    border: 1px solid var(--vetessy-color);
}

.transparent {
    background-color: transparent;
}

.disabled-btn {
    background-color: transparent;
    border: 1px solid var(--disabled);
    color: var(--disabled);
    cursor: default;
}

.disabled-btn:hover {
    border: 1px solid var(--disabled);
}

#rbpa-main {
    background-image: url("../images/rbpa-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: max-content;
}

#support-info {
    background-color: rgba(0, 50, 0, 0.2);
}

#rbpa-title-img {
    display: block;
    width: 10rem;
    height: 10rem;
    margin-inline: auto;
}

#support-header-image h1 {
    text-align: center;
}

.support-site-content {
    width: 60%;
    margin: 0 auto;
    padding: 4rem 0 2rem 0;
}

.support-site-content p {
    margin-top: 0;
}

.support-site-content span {
    font-weight: bold;
}

#szja-block {
    text-align: center;
    margin: 4rem auto 6rem auto;
}

#szja-block p:last-of-type {
    font-weight: bold;
}

.foundation-static-container {
    margin-top: 4rem;
    width: 100%;
    padding-block: 5rem;
    background-color: var(--base-color);
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.foundation-static-container h3{
    font-size: xx-large;
    margin-top: 0;
    text-align: center;
}

.foundation-static-container p {
    max-width: 60%;
    margin-inline: auto;
}

#mb {
    margin-bottom: 10rem
}

#foundation-contact {
    width: fit-content;
    margin-inline: auto;
}

#foundation-contact * {
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    margin: .2rem;
}

#foundation-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

#foundation-cta {
    margin: 4rem auto 0 auto;
}

#about-us-main, #gallery-main {
    padding-bottom: 10rem;
    width: 100%;
    margin: 3rem auto 0 auto;
}

.main-email {
    width: 100%;
    font-size: x-large;
    text-align: center;
    margin: 10rem auto 4rem auto;
    background-color: var(--vetessy-color);
    padding-block: 3rem;
    color: var(--secondary-text);
    font-weight: 300;
}

.about-us-block {
    text-align: center;
    margin-top: 13rem;
}

#facebook-cta {
    margin: 3rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    background-color: rgb(24, 119, 242);
    color: white;
    width: fit-content;
    padding: .7rem 1rem;
    border-radius: 4rem;
    text-decoration: none;
}

.about-us-block h3 {
    margin-bottom: 0;
}

.fb-page-mobile {
    display: none;
}

.embed-container {
    margin-inline: auto;
}

.embed-container > div, .embed-container > iframe {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 0 auto;
    border-radius: .3rem;
}

#landing-socials-container {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
    gap: 2rem;
}

#landing-socials-container blockquote {
    max-width: 60%;
}

#gallery {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
}

#gallery-title {
    font-size: xx-large;
    margin-top: 5rem;
}

#gallery-title, #photos-in-album, #album-created {
    text-align: center;
}

#photos-in-album, #album-created {
    color: gray;
}

#gallery-sidebar {
    width: 25%;
    height: 100%;
    background-color: var(--base-variant);
    border-radius: .3rem;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.1);
    margin-right: 1rem;
    font-weight: 300;
}

#gallery-sidebar * {
    text-decoration: none;
    color: var(--text-color);
}

#gallery-sidebar a {
    margin-left: 1rem;
}

#gallery-sidebar a:hover {
    text-decoration: underline;
}

#gallery-sidebar ul {
    padding-left: 1.5rem;
    list-style: none;
}

#gallery-sidebar ul li::before {
    content: '';
    width: 1rem;
    height: 1rem;
    display: inline-block;
    background-image: url("../images/liliom-vonal-ff.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#gallery-sidebar li {
    margin-bottom: .5rem;
}

#gallery-sidebar h3 {
    border-bottom: 1px solid var(--base-color);
}

.folder {
    width: 20rem;
    min-height: 8rem;
    height: fit-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .3rem;
    color: var(--text-color);
    background-color: var(--base-variant);
    text-decoration: none;
    margin: 1rem;

    &:hover {
        background-color: var(--base-color);
    }

    &:hover span {
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }
}

.inverted-folder {
    background-color: var(--base-color);
}

.folder span {
    margin: auto auto;
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 90%;
    text-align: center;
}

.folder p {
    font-size: .7rem;
    font-weight: 200;
    margin: auto .5rem .5rem auto;
}

.album {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 20rem;
    height: 15rem;
    margin-inline: 1rem;
    text-decoration: none;
}

.album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .3rem;
}

#gallery-images-list {
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    margin: 0 auto 12rem auto;
    flex-wrap: wrap;
}

#gallery-images-grid {
    width: 60%;
    margin: 0 auto 12rem auto;
    columns: 3 12rem;
    column-gap: .7rem;
    align-items: start;
}

.gallery-image-wrapper {
    width: 15rem;
    height: 15rem;
    display: inline;
    overflow: hidden;
    position: relative;
    transition: opacity .7s;
}

#gallery-images-grid img, #landing-grid img {
    width: 100%;
    object-fit: cover;
    border-radius: .2rem;
    display: block;
    margin-bottom: 0.7rem;
    transform: translateY(6rem);
}

.album-title {
    background-color: var(--base-variant);
    color: var(--text-color);
    max-width: 100%;
    min-width: 70%;
    margin: -1rem auto 0 auto;
    padding: .4rem .7rem;
    border-radius: .3rem;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.4);
}

.post-top-bar {
    margin-bottom: 3rem;
    font-weight: 300;
    font-size: .9rem;
}

#share-container {
    width: fit-content;
    margin: 2rem auto;
    min-width: 50dvw;
    display: flex;
    justify-content: center;
}

#share-via {
    text-align: center;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
    transform: translateY(0) !important;
}

#success-msg {
    position: fixed;
    width: fit-content;
    top: 7rem;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: .5rem 2rem;
    border-radius: .3rem;
    background-color: var(--success);
    text-align: center;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.3);
    transition: opacity .5s ease-out, transform .5s ease-out;
    color: var(--secondary-text);
}

#gyulesrend {
    margin: 3rem auto;
    border-radius: 1rem;
    font-size: clamp(0.5rem, .9vw, 1rem);
    width: clamp(150px, 80%, 900px);
    background-color: var(--base-variant);
    box-shadow: 0 0 .2rem rgba(0, 0, 0, 0.3);
    border-collapse: separate;
    border-spacing: 0;
}

#gyulesrend * {
    border: none;
}

#gyulesrend td {
    padding: .6rem;
    border-bottom: 1px solid var(--vetessy-color);
}

#gyulesrend tr:last-of-type td {
    border-bottom: none;
}

#gyulesrend tr td:first-of-type {
    font-weight: bold;
}

#gyulesrend th {
    background-color: var(--vetessy-color);
    color: #fefefe;
    position: sticky;
    top: 3rem;
}

#gyulesrend th:first-of-type {
    background-color: var(--vetessy-color);
    color: #eee;
    border-top-left-radius: .5rem;
}

#gyulesrend th:last-of-type {
    background-color: var(--vetessy-color);
    color: #eee;
    border-top-right-radius: .5rem;
}

#attention {
    width: fit-content;
    height: fit-content;
    padding: .5rem 1rem;
    margin-inline: auto;
    position: sticky;
    top: 3.5rem;
    background-color: rgba(0, 145, 250, 1);
    z-index: 48;
    border-radius: 5rem;
    font-size: .8rem;
    margin-top: 3rem;
    color: var(--secondary-text);
}

.sub-btn {
    text-align: center;
    color: var(--text-color);
    padding: .7rem 1.4rem;
    text-decoration: none;
    border-radius: 10rem;
    width: fit-content;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin: 5rem auto 0 auto;
    display: block;
    border: 1px solid transparent;
    transition: .1s all;
    font-weight: 300;

    &:hover {
        border-color: var(--vetessy-color);
    }
}

.sub-btn i {
    margin-right: .5rem;
}

#home-gallery-picks {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#home-gallery-picks .folder {
    word-wrap: break-word;
}

#landing-us-wrapper {
    background-color: var(--base-variant);
    width: 100%;
    padding: 4rem 0;
}

#landing-grid {
    width: 80%;
    margin: 0 auto 12rem auto;
    columns: 4 12rem;
    column-gap: .7rem;
    align-items: start;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 3rem;
}

.slider-images {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 7rem 0;
}

.slider-img {
    width: 6dvw;
    height: 30dvw;
    cursor: pointer;
    position: relative;
    transition: 0.7s ease;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .2rem;
}

.slider-images .slider-img:first-child, .slider-images .slider-img:last-child {
    height: 20dvw;
}

.slider-images .slider-img:nth-child(2), .slider-images .slider-img:nth-child(6) {
    height: 25dvw;
}

.slider-images .slider-img:nth-child(3), .slider-images .slider-img:nth-child(5) {
    height: 28dvw;
}

.active-img {
    width: 45dvw;
    height: 30dvw !important;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}












































#footer-top-dark, #block-top-dark, #block-bottom-dark {
    display: none;
}

.darkmode #footer-top-dark, .darkmode #block-top-dark, .darkmode #block-bottom-dark {
    display: block;
}

.darkmode #footer-top-light, .darkmode #block-top-light, .darkmode #block-bottom-light {
    display: none;
}

.block-top {
    margin-top: 5rem;
}

.block-border {
    display: block;
    width: 100%;
    height: fit-content;
    position: relative;
    z-index: 40;
}

#error-site {
    width: 100%;
    height: 90svh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#error-site * {
    text-align: center;
}

#error-site img {
    width: 6rem;
}

.gallery-info {
    font-size: x-large;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65%;
}

#development {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    width: 100%;
    margin-bottom: 10rem;
}
