/* Base */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Plus+Jakarta+Sans:wght@700&display=swap');

body {
    background-color: #f1f1f1;
    background-size: 400px auto;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #626268;
}
body, p {
    font-size: 1.25rem;
    line-height: 1.5;
}
h1, h2, h3, a.contact-link-map {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}
p:first-child, h1:first-child, h2:first-child, h3:first-child {
    margin-top: 0;
}
p:last-child, h1:last-child, h2:last-child, h3:last-child {
    margin-bottom: 0;
}
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #1D1D1B;
    margin: 2rem 0;
}
h2 {
    font-size: 2.375rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #1D1D1B;
}
h3 {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #0033E8;
    margin: 2rem 0;
}
p {
    margin: 1rem 0;
}
.container {
    margin-left: 400px;
    margin-right: auto;
    max-width: 1040px;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Main */

.main {
    padding: 7rem 6.25rem 0;
    background-color: #FBFCFC;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.main-copy {
    margin-bottom: 7rem;
}
.contact-copy {
    margin-bottom: 5rem;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
}
.contact-block {
    min-width: 45%;
}
.contact-header {
    margin: 0 0 1rem 0;
}
.contact-paragraph {
    margin: 0;
}
.contact-paragraph-map {
    margin: 1rem 0 0 0;
}
.link-default {
    color: inherit;
}
.no-underline {
    text-decoration: none;
}
.contact-link-map {
    font-size: .875rem;
    line-height: 1.0625;
    letter-spacing: 0.01em;
    color: #1D1D1B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: .66;
    transition: all .3s ease-out;
}
.contact-link-map:hover {
    opacity: 1;
}
.contact-link-map img {
    transition: all .3s ease-out;
}
.contact-link-map:hover img {
    transform: rotate(45deg);
}
.contact-link-mail {
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    overflow: hidden;
    text-decoration: underline;
    cursor: pointer;
}
.contact-link-phone {
    text-decoration: none;
    color: inherit;
}
.contact-social {
    margin-top: 1rem;
    display: flex;
    gap: .5rem;
}
.contact-social-link {
    opacity: .66;
    transition: all .3s ease-out;
}
.contact-social-link:hover {
    opacity: 1;
}
.contact-social-img {
    width: 2rem;
    display: block;
}
.footer {
    padding: 0 6.25rem;
    background-color: #FBFCFC;
    display: flex;
    justify-content: flex-end;
    flex-grow: 2;
    align-items: flex-end;
}
.main-footer-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}
p.footer-copy {
    font-size: .875rem;
    margin: 5rem 0 2rem 0;
}
.footer-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.footer-link img {
    transition: all .3s ease-out;
}
.footer-link:hover img {
    transform: rotate(45deg);
}

/* Sidebar */

.sidebar {  /* to remove */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 400px;
    background-color: #F9DFAF;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
}
.sidebar-img {  /* to remove */
    max-width: 100%;
}
.sidebar-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 400px;
    display: flex;
    justify-content: center;
}
.sidebar-footer-link {
    text-decoration: none;
}

/* Media queries */

@media (max-width: 1400px) {
    body {
        background-size: 320px auto;
    }
    .container {
        margin-left: 320px;
    }
    .sidebar-footer {
        width: 320px;
    }
}

@media (max-width: 1200px) {
    body {
        background-size: 260px auto;
    }
    body, p {
        font-size: 1.125rem;
    }
    h1 {
        font-size: 3rem;
        margin: 1.75rem 0 2.25rem;
    }
    h2 {
        font-size: 2.125rem;
        margin: 1.5rem 0;
    }
    h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0;
    }
    .container {
        margin-left: 260px;
    }
    .main {
        padding: 6rem 5.5rem 0;
    }
    .main-copy {
        margin-bottom: 6rem;
    }
    .contact-copy {
        margin-bottom: 4rem;
    }
    .contact-wrapper {
        gap: 3rem;
    }
    .footer {
        padding: 0 5.5rem;
    }
    .footer-copy {
        margin: 5rem 0 3.5rem 0;
    }
    .sidebar-footer {
        width: 260px;
    }
}

@media (max-width: 992px) {
    body {
        background-size: 200px auto;
    }
    body, p {
        font-size: 1.125rem;
    }
    h1 {
        font-size: 3rem;
        margin: 1.75rem 0 2.25rem;
    }
    h2 {
        font-size: 2.125rem;
        margin: 1.5rem 0;
    }
    h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0;
    }
    .container {
        margin-left: 200px;
    }
    .main {
        padding: 5rem 4.5rem 0;
    }
    .main-copy {
        margin-bottom: 5rem;
    }
    .contact-copy {
        margin-bottom: 3.5rem;
    }
    .contact-wrapper {
        gap: 3rem;
    }
    .contact-header {
        margin-bottom: .75rem;
    }
    .footer {
        padding: 0 4.5rem;
    }
    .footer-copy {
        margin: 4.5rem 0 3.5rem 0;
    }
    .sidebar-footer {
        width: 200px;
    }
}

@media (max-width: 768px) {
    body {
        background-size: 160px auto;
    }
    body, p {
        font-size: 1rem;
    }
    h1 {
        font-size: 2.5rem;
        margin: 1.5rem 0 2rem;
    }
    h2 {
        font-size: 2rem;
        margin: 1.25rem 0;
    }
    h3 {
        font-size: 1.125rem;
        margin: 1.5rem 0;
    }
    .container {
        margin-left: 160px;
    }
    .main {
        padding: 4rem 3rem 0;
    }
    .main-copy {
        margin-bottom: 4rem;
    }
    .contact-copy {
        margin-bottom: 3rem;
    }
    .contact-wrapper {
        gap: 2.5rem;
    }
    .contact-header {
        margin-bottom: .5rem;
    }
    .footer {
        padding: 0 3rem;
    }
    .footer-copy {
        margin: 4rem 0 3rem 0;
    }
    .sidebar-footer {
        width: 160px;
    }
}

@media (max-width: 576px) {
    body {
        background-size: auto 240px;
    }
    body, p {
        font-size: 1rem;
    }
    h1 {
        font-size: 2.25rem;
        margin: 1.5rem 0 2rem;
    }
    h2 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    h3 {
        font-size: 1rem;
        margin: 1rem 0;
    }
    .container {
        margin-left: 0;
        margin-top: 240px;
    }
    .main {
        padding: 4rem 1.25rem 3rem;
    }
    .main-copy {
        margin-bottom: 4rem;
    }
    .contact-copy {
        margin-bottom: 2.5rem;
    }
    .contact-wrapper {
        grid-template-columns: auto;
        gap: 2rem;
    }
    .contact-header {
        margin-bottom: .5rem;
    }
    .contact-paragraph-map, .contact-paragraph-phone {
        margin-top: .5rem;
    }
    .contact-link-phone {
        text-decoration: underline;
    }
    .footer {
        display: block;
        padding: 2rem 1.25rem 1.25rem;
        border-top: solid 1px #CFD0D2;
    }
    .main-footer-copy {
        display: block;
    }
    p.footer-copy {
        margin: 0;
    }
    .sidebar-footer {
        position: relative;
        width: auto;
        justify-content: left;
        padding: 0 1.25rem 2rem;
        background-color: #FBFCFC;
    }
    .sidebar-footer .link-default {
        color: #626268;
    }
}

/* Theme 01 - uniwersalny */

body.theme-01 {
    background-color: #030303;
    background-image: url('../img/img-theme-01.png');
}
.theme-01 .sidebar-footer-copy {
    color: #FBFCFC;
}
@media (max-width: 576px) {
    body.theme-01 {
        background-image: url('../img/img-theme-01-sm.png');
    }
    .theme-01 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 02 - biuro */

body.theme-02 {
    background-color: #F4F6F5;
    background-image: url('../img/img-theme-02.png');
}
.theme-02 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-02 {
        background-image: url('../img/img-theme-02-sm.png');
        background-position: right top;
    }
    .theme-02 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 03 - finanse */

body.theme-03 {
    background-color: #F9DFAF;
    background-image: url('../img/img-theme-03.png');
}
.theme-03 .sidebar-footer-copy {
    color: #83704D;
}
@media (max-width: 576px) {
    body.theme-03 {
        background-image: url('../img/img-theme-03-sm.png');
    }
    .theme-03 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 04 - prawo */

body.theme-04 {
    background-color: #FBF6F2;
    background-image: url('../img/img-theme-04.png');
}
.theme-04 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-04 {
        background-image: url('../img/img-theme-04-sm.png');
    }
    .theme-04 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 05 - ubezpieczenia */

body.theme-05 {
    background-color: #C4BAB2;
    background-image: url('../img/img-theme-05.png');
}
.theme-05 .sidebar-footer-copy {
    color: #FFFFFF;
}
@media (max-width: 576px) {
    body.theme-05 {
        background-image: url('../img/img-theme-05-sm.png');
    }
    .theme-05 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 06 - moda */

body.theme-06 {
    background-color: #EAEBED;
    background-image: url('../img/img-theme-06.png');
}
.theme-06 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-06 {
        background-image: url('../img/img-theme-06-sm.png');
    }
    .theme-06 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 07 - moda dziecieca */

body.theme-07 {
    background-color: #003050;
    background-image: url('../img/img-theme-07.png');
}
.theme-07 .sidebar-footer-copy {
    color: #FBFCFC;
}
@media (max-width: 576px) {
    body.theme-07 {
        background-image: url('../img/img-theme-07-sm.png');
    }
    .theme-07 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 08 - fitness */

body.theme-08 {
    background-color: #F0ECED;
    background-image: url('../img/img-theme-08.png');
}
.theme-08 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-08 {
        background-image: url('../img/img-theme-08-sm.png');
    }
    .theme-08 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 09 - sport */

body.theme-09 {
    background-color: #DCDDCF;
    background-image: url('../img/img-theme-09.png');
}
.theme-09 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-09 {
        background-color: #949590;
        background-image: url('../img/img-theme-09-sm.png');
        background-position: right top;
    }
    .theme-09 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 10 - beauty */

body.theme-10 {
    background-color: #E8D2B4;
    background-image: url('../img/img-theme-10.png');
}
.theme-10 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-10 {
        background-image: url('../img/img-theme-10-sm.png');
    }
    .theme-10 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 11 - wellness */

body.theme-11 {
    background-color: #DCDDDF;
    background-image: url('../img/img-theme-11.png');
}
.theme-11 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-11 {
        background-color: #9D9086;
        background-image: url('../img/img-theme-11-sm.png');
        background-position: right top;
    }
    .theme-11 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 12 - dietetyka */

body.theme-12 {
    background-color: #C0DFCA;
    background-image: url('../img/img-theme-12.png');
}
.theme-12 .sidebar-footer-copy {
    color: #7EA791;
}
@media (max-width: 576px) {
    body.theme-12 {
        background-image: url('../img/img-theme-12-sm.png');
    }
    .theme-12 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 13 - medycyna */

body.theme-13 {
    background-color: #F3F4F6;
    background-image: url('../img/img-theme-13.png');
}
.theme-13 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-13 {
        background-image: url('../img/img-theme-13-sm.png');
    }
    .theme-13 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 14 - psychologia */

body.theme-14 {
    background-color: #CFB3BF;
    background-image: url('../img/img-theme-14.png');
}
.theme-14 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-14 {
        background-image: url('../img/img-theme-14-sm.png');
    }
    .theme-14 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 15 - budownictwo */

body.theme-15 {
    background-color: #E8FBFB;
    background-image: url('../img/img-theme-15.png');
}
.theme-15 .sidebar-footer-copy {
    color: #5FB1B1;
}
@media (max-width: 576px) {
    body.theme-15 {
        background-image: url('../img/img-theme-15-sm.png');
        background-position: right top;
    }
    .theme-15 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 16 - remonty */

body.theme-16 {
    background-color: #ECEEEB;
    background-image: url('../img/img-theme-16.png');
}
.theme-16 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-16 {
        background-image: url('../img/img-theme-16-sm.png');
    }
    .theme-16 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 17 - wnetrza */

body.theme-17 {
    background-color: #E9EAE5;
    background-image: url('../img/img-theme-17.png');
}
.theme-17 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-17 {
        background-image: url('../img/img-theme-17-sm.png');
    }
    .theme-17 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 18 - meble */

body.theme-18 {
    background-color: #CEC1B2;
    background-image: url('../img/img-theme-18.png');
}
.theme-18 .sidebar-footer-copy {
    color: #FBFCFC;
}
@media (max-width: 576px) {
    body.theme-18 {
        background-image: url('../img/img-theme-18-sm.png');
    }
    .theme-18 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 19 - rosliny */

body.theme-19 {
    background-color: #F6F6F8;
    background-image: url('../img/img-theme-19.png');
}
.theme-19 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-19 {
        background-image: url('../img/img-theme-19-sm.png');
        background-position: right top;
    }
    .theme-19 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 20 - IT */

body.theme-20 {
    background-color: #040406;
    background-image: url('../img/img-theme-20.png');
}
.theme-20 .sidebar-footer-copy {
    color: #FBFCFC;
}
@media (max-width: 576px) {
    body.theme-20 {
        background-image: url('../img/img-theme-20-sm.png');
        background-position: center top;
    }
    .theme-20 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 21 - internet */

body.theme-21 {
    background-color: #070C12;
    background-image: url('../img/img-theme-21.png');
}
.theme-21 .sidebar-footer-copy {
    color: #FBFCFC;
}
@media (max-width: 576px) {
    body.theme-21 {
        background-image: url('../img/img-theme-21-sm.png');
    }
    .theme-21 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 22 - gastronomia */

body.theme-22 {
    background-color: #23CDD8;
    background-image: url('../img/img-theme-22.png');
}
.theme-22 .sidebar-footer-copy {
    color: #FFFFFF;
}
@media (max-width: 576px) {
    body.theme-22 {
        background-color: #5DDEE4;
        background-image: url('../img/img-theme-22-sm.png');
        background-position: right top;
    }
    .theme-22 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 23 - piekarnia */

body.theme-23 {
    background-color: #F5F6F8;
    background-image: url('../img/img-theme-23.png');
}
.theme-23 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-23 {
        background-image: url('../img/img-theme-23-sm.png');
    }
    .theme-23 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 24 - motoryzacja */

body.theme-24 {
    background-color: #0B0B0B;
    background-image: url('../img/img-theme-24.png');
}
.theme-24 .sidebar-footer-copy {
    color: #FFFFFF;
}
@media (max-width: 576px) {
    body.theme-24 {
        background-image: url('../img/img-theme-24-sm.png');
    }
    .theme-24 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 25 - nieruchomosci */

body.theme-25 {
    background-color: #9B7241;
    background-image: url('../img/img-theme-25.png');
}
.theme-25 .sidebar-footer-copy {
    color: #FFFFFF;
}
@media (max-width: 576px) {
    body.theme-25 {
        background-image: url('../img/img-theme-25-sm.png');
        background-position: right top;
    }
    .theme-25 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 26 - eventy */

body.theme-26 {
    background-color: #010109;
    background-image: url('../img/img-theme-26.png');
}
.theme-26 .sidebar-footer-copy {
    color: #FFFFFF;
}
@media (max-width: 576px) {
    body.theme-26 {
        background-image: url('../img/img-theme-26-sm.png');
    }
    .theme-26 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 27 - sprzatanie */

body.theme-27 {
    background-color: #C1FDF3;
    background-image: url('../img/img-theme-27.png');
}
.theme-27 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-27 {
        background-color: #A7E5D8;
        background-image: url('../img/img-theme-27-sm.png');
        background-position: right top;
    }
    .theme-27 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 28 - edukacja */

body.theme-28 {
    background-color: #90CBD7;
    background-image: url('../img/img-theme-28.png');
}
.theme-28 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-28 {
        background-image: url('../img/img-theme-28-sm.png');
        background-position: right top;
    }
    .theme-28 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 29 - zwierzeta */

body.theme-29 {
    background-color: #F8CF01;
    background-image: url('../img/img-theme-29.png');
}
.theme-29 .sidebar-footer-copy {
    color: #000000;
}
@media (max-width: 576px) {
    body.theme-29 {
        background-image: url('../img/img-theme-29-sm.png');
    }
    .theme-29 .sidebar-footer-copy {
        color: inherit;
    }
}

/* Theme 30 - turystyka */

body.theme-30 {
    background-color: #DBDCDA;
    background-image: url('../img/img-theme-30.png');
}
.theme-30 .sidebar-footer-copy {
    color: #6A6A71;
}
@media (max-width: 576px) {
    body.theme-30 {
        background-image: url('../img/img-theme-30-sm.png');
    }
    .theme-30 .sidebar-footer-copy {
        color: inherit;
    }
}