/*
Theme Name: kleurplaten-v2
*/

body {
    font-family: 'Roboto Slab', serif;
    background-color: #f0f8ff;
}

.navbar-brand,
h1,
h2,
h3 {
    font-weight: 700;
}

.hero {
    background-color: #f0f0f0;
}

#background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.alignleft {
    float: left;
    margin: 10px;
}

.btn-primary {
    background-color: #ff6b6b !important;
    border-color: #ff6b6b !important;
}

.btn-primary:hover {
    background-color: #ff4757 !important;
    border-color: #ff4757 !important;
}

.feature-icon {
    font-size: 3rem;
    color: #ff6b6b;
}

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

.social-icons a {
    margin: 2px 5px;
    padding: 5px 5px;
    transition: all 0.3s ease;
}

.social-icons i {
    font-size: 1.5rem;
}

/* Facebook */
.social-fanpage {
    background-color: #3b5998;
    color: white;
}

.social-fanpage:hover {
    background-color: #4c70ba;
}

/* TikTok */
.social-tiktok {
    background-color: #000000;
    color: white;
}

.social-tiktok:hover {
    background-color: #69c9d0;
}

/* YouTube */
.social-youtube {
    background-color: #ff0000;
    color: white;
}

.social-youtube:hover {
    background-color: #ff3333;
}

/* Instagram */
.social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.social-instagram:hover {
    opacity: 0.9;
}

/* Twitter */
.social-twitter {
    background-color: #1da1f2;
    color: white;
}

.social-twitter:hover {
    background-color: #4db5f5;
}

/* Pinterest */
.social-pinterest {
    background-color: #bd081c;
    color: white;
}

.social-pinterest:hover {
    background-color: #d50c22;
}

.social-icons-container {
    position: fixed;
    right: 5px;
    top: 60%;
    transform: translateY(-60%);
    z-index: 1000;
}

.social-toggle {
    position: fixed;
    right: 8px;
    top: 37%;
    transform: translateY(-37%);
    z-index: 99;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-toggle:hover {
    background-color: #ff4757;
}

@media (max-width:769px) {
    .alignleft {
        float: unset;
        display: flex;
        margin: auto;
    }
}

@media (max-width: 991px) {
    .social-icons-container {
        display: none;
    }

    .social-toggle {
        display: flex !important;
    }

    .social-icons-container.show {
        display: block;
    }

    #searchBtn {
        margin-top: 0.5rem;
    }
}

.search-box {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 1000;
    background-color: #f8f9fa;
}

.search-box.show {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.25rem;
	max-width: var(--max-width);
	margin: auto;
}

.gallery-item {
    margin: 5px;
}

#progress-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    background: #cfc9c4;
    flex-direction: column;
}

#progress-box .progress {
    width: 95%;
    margin: auto;
}

#progress-box .adsbygoogle {
    display: block;
    width: 100%;
    height: 300px;
    margin-top: 1rem;
}

.gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
    cursor: pointer;
}

.fullscreen-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
}

.fullscreen-slider img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

#slider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
}

/* Thumbnail Slider */
.thumbnail-slider {
    position: absolute;
    bottom: 10px;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
}

#gallery-2 img {
    width: 100% !important;
    height: auto;
}

.thumbnail-slider img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.thumbnail-slider img.active {
    border-color: #fff;
    transform: scale(1.1);
}

.thumbnail-slider img:hover {
    transform: scale(1.2);
}

#next-image,
#prev-image {
    position: absolute;
}

#next-image {
    right: 20px;
}

#prev-image {
    left: 20px;
}

#close-slider {
    position: absolute;
    top: 10px;
    right: 20px;
}

.page-numbers.current,
.page-numbers:hover {
    background: #FFF;
}

.page-numbers {
    padding: 4px 10px;
    border: 1px solid;
    margin: 5px;
    text-decoration: unset;
    border-radius: 5px;
    color: #e74c3c;
    background: #F0F8FF;
}

.toc-h2 a,
.toc-h3 a,
.toc-h4 a {
    text-decoration: none;
    color: rgb(33, 37, 41);
}

#single-content h2 {
    font-size: 1.5rem;
}

#single-content h3 {
    font-size: 1.2rem;
}

#single-content p {
    line-height: normal;
}

.toc-h2 {
    font-size: 1.25rem;
}

.toc-h2,
.toc-h3 {
    font-weight: 500;
}

.toc-h3,
.toc-h4 {
    font-size: 1rem;
}

.toc-h4 {
    padding-left: 1rem;
}

.toc-h3:hover a,
.toc-h4:hover a,
.rank-math-breadcrumb>p>a:hover {
    color: #e74c3c;
}

.toc-h2 a,
.toc-h3 a,
.toc-h4 a {
    text-decoration: none;
    color: rgb(33, 37, 41);
}

.toc-h2 {
    font-size: 1.25rem;
}

.toc-h2,
.toc-h3 {
    font-weight: 500;
}

.toc-h3,
.toc-h4 {
    font-size: 1rem;
}

.toc-h4 {
    padding-left: 1rem;
}

.toc-h3:hover a,
.toc-h4:hover a,
.rank-math-breadcrumb>p>a:hover {
    color: #e74c3c;
}

.table-of-contents {
    position: sticky;
    top: 130px;
}

.aligncenter {
    margin: auto;
}

.aligncenter,
.alignnone {
    display: grid;
}

#single-content .wp-block-embed__wrapper {
    margin: auto;
}

#switch-lang {
    position: fixed;
    bottom: 5px;
    left: 5px;
    z-index: 9999;
}

#switch-lang .pll-switcher-select {
    font-size: 18pt;
    background: #FE4657;
    color: #FFF;
}

.beauty-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(270deg, #0dcaf0, #FE4657, #B2DDCF, #0dcaf0);
    background-size: 600% 600%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.beauty-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.beauty-button:active {
    transform: scale(0.95);
}

#gallery .gallery-item:hover {
    cursor: pointer;
}

#gallery .gallery-item {
    margin: 0;
}

#gallery .gallery-item .card {
    position: relative;
    width: 100%;
    /* 4:3 ratio = 75% */
    padding-bottom: 75%;
    background: #f0f0f0;
}

#gallery .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.gallery-item .hover-share-container {
    position: absolute;
    z-index: 2;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: auto;
}

.gallery-item:hover .ffp-fav-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.ffp-fav-btn {
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 3.5rem;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease-out,
        transform 0.3s ease-out,
        visibility 0.3s ease-out;
    animation: heartBeat 0.8s ease-in-out infinite;
}

.ffp-fav-btn:before {
    content: "🤍";
    display: inline-block;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    transition: border-color .2s, box-shadow .2s;
}

.ffp-fav-btn.favorited:before {
    content: "❤️";
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    75% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}
.btn-outline-info{
	color:#000 !important;
}
.scroll-top{position:fixed;bottom:1.25rem;right:1.25rem;display:none;padding:.6rem .9rem;border:2px solid #000;border-radius:999px;background:#FFF;color:red;box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, .15);z-index:20}.scroll-top.show{display:inline-flex;align-items:center;justify-content:center}
