/*
Theme Name: Community Development
Author: Maciej Noworyta
Author URI:
*/

:root {
    --primary-black: #000000;
    --primary-dark: #10463A;
    --primary-green: #0A4F3D;
    --primary-green-light: #41745F;
    --primary-sun: #F1BE3C;
    --primary-beige: #F2EFE8;
    --primary-off-white: #FAF8F3;
    --primary-white: #FFFFFF;

    --secondary-rose: #AE6797;
    --secondary-cyn: #AF7C67;
    --secondary-fall: #DFA964;
    --secondary-sand: #DBCAB6;
    --secondary-gras: #9BC17E;
    --secondary-turq: #8BC4C5;
    --secondary-sky: #9BB9E0;
    --secondary-sea: #6679AA;
    --secondary-alert: #FF3232;
}

a, abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, time, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: inherit;
    font-style: inherit;
}

article, aside, canvas, details, figcaption, figure, footer, header, menu, nav, section, summary {
    display: block;
}

a, ins, del {
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

strong {
    font-weight: 700;
}

caption, th {
    text-align: left;
}

* {
    outline: none;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 300ms ease-out 0s;
}

a:hover, a:focus {
    color: var(--primary-green);
    text-decoration: underline;
    outline: none;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: 'Manrope', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.375;
    color: var(--primary-green);
    background: var(--primary-off-white);
    padding: 0;
    margin: 0;
}

body.menu-open,
body.overflow-hidden {
    overflow-y: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.transition {
    opacity: 0.85;
    -webkit-transition: all 300ms ease-out 0s;
    -moz-transition: all 300ms ease-out 0s;
    -o-transition: all 300ms ease-out 0s;
    transition: all 300ms ease-out 0s;
}

.transition:hover {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

.container-large {
    max-width: 1760px;
}

.container-small {
    max-width: 1300px;
}

.container-x-small {
    max-width: 1060px;
}

.container-fluid {
    max-width: 100%;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-empty {
    text-align: center;
}

.section-empty p {
    font-weight: 700;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 965px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.section-heading .title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.4px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.section-heading p {
    margin: 0;
    padding: 0;
}

.fancybox__dialog .f-html {
    padding: 0 !important;
}

p {
    padding: 5px 0;
    margin: 0 0 15px;
    line-height: 1.55;
}

p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}


.slicknav_menu {
    display: none;
}

#main {
    padding-top: 132px;
}


#main.single-investment {
    background: var(--primary-beige);
}

/* Error 404 */
.error-404 {
    text-align: center;
}

.error-404 .button {
    margin-top: 40px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
    }
}

@keyframes change-background {
    0% {
        background-color: rgba(0, 0, 0, 0.1);
    }

    70% {
        background-color: rgba(0, 0, 0, 0.2);
    }

    100% {
        background-color: rgba(0, 0, 0, 0.1);
    }
}

/* Pomocniczne */
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 0px 25px 0px 25px;
}

.alignleft {
    float: left;
    margin: 0px 25px 0px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 25px 25px;
}

a img.alignnone {
    margin: 5px 25px 25px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 25px 25px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

@media (max-width: 1440px) {
    .container {
        max-width: 1367px;
    }

    .container-x-small {
        max-width: 1060px;
    }
}

@media (max-width: 1280px) {
    html, body {
        font-size: 16px;
    }

    .container {
        max-width: 1240px;
    }

    .section-heading .title {
        font-size: 32px;
    }

    #main {
        padding-top: 100px;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-heading .title {
        font-size: 24px;
    }

    #main {
        padding-top: 88px;
    }
}

@media (max-width: 768px) {}

@media (max-width: 576px) {}
