/* ---- Fonty ---- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

@font-face {
    font-family: 'Kosmos';
    src: url('../fonts/Kosmos-Regular.woff') format("woff");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'icons';
    src:  url('../fonts/icons.woff?d7e0ve') format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-i-cookie:before {
    content: "\e900";
  }
  .icon-i-cookies:before {
    content: "\e901";
  }
  .icon-i-eko:before {
    content: "\e902";
    margin-top: 20px;
    font-size: 16px;
  }
  .icon-i-kask:before {
    content: "\e903";
    font-size: 16px;
  }
  .icon-i-kontakt:before {
    content: "\e904";
  }
  .icon-i-logo:before {
    content: "\e905";
  }
  .icon-i-michal:before {
    content: "\e906";
  }
  .icon-i-oferta:before {
    content: "\e907";
  }
  .icon-i-portfolio:before {
    content: "\e908";
  }
  .icon-i-wycena:before {
    content: "\e909";
  }
  .icon-s-moon:before {
    content: "\e90a";
  }
  .icon-s-sun:before {
    content: "\e90b";
  }


/* ---- Zmienne ---- */

:root {
    --body-color: #fff;
    --text-color: #000;
    --gradient1-color: linear-gradient(180deg, rgb(239, 239, 239) 0%, rgba(255, 255, 255, 1) 100%);
}

body.dark-theme {
    --body-color: #111111;
    --text-color: #fff;
    --gradient1-color: linear-gradient(180deg, #202020 0%, #111111 100%);
}

.body-theme {
    background-color: var(--body-color);
    color: var(--text-color);
    transition: 0.3s;
}


/* ---- Wspólne ----- */

html,
body {
    width: 100%;
    height: 100%;
    min-height: 98vh;
    font-family: "Outfit", sans-serif;
}

body {
    max-width: 1920px;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;

}

main {
    min-height: calc(100vh - 12em);
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
}

h1 {
    font-family: 'Kosmos', sans-serif;
    font-size: 45px;
    font-weight: 600;
}

h2 {
    font-family: 'Kosmos', sans-serif;
    font-size: 36px;
}

h3 {
    font-family: 'Kosmos', sans-serif;
    font-size: 22px;
}

h4 {
    font-family: 'Kosmos', sans-serif;
    font-size: 18px;
}

h5 {
    font-family: 'Kosmos', sans-serif;
    font-size: 17px;
}

h6 {
    font-family: 'Kosmos', sans-serif;
    font-size: 16px;
}

@media (max-width: 800px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    h6 {
        font-size: 16px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

p {
    line-height: 25px;
}

.text-left {
    text-align: left;
}

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

.text-right {
    text-align: right;
}

/* --------------- Forms --------------- */


input[type="text"],
input[type="email"],
input[type="tel"],
textarea
{
    border: 2px solid var(--text-color);
    background-color: var(--body-color);
    color: var(--text-color);
    width: 100%;
    padding: 19px 15px;
    border-radius: 10px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: 25px;
    height: 25px;
    border: 2px solid var(--text-color);
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    background-color: transparent;
}
  
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid var(--text-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

input[type="radio"] {
    width: 25px;
    height: 25px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    background-color: transparent;
}
  

  input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 11px;
    height: 11px;
    background-color: var(--text-color);
    border-radius: 50%;
}

.wpcf7-list-item {
    margin: 1em 0 1em 1em;
}

.wpcf7-submit, 
button, .button {
    margin: 6px 0 0 6px;
    padding: 25px 45px;
    border: 2px solid var(--text-color);
    background-color: var(--body-color);
    color: var(--text-color);
    box-shadow: 10px 10px var(--text-color);
    transition: box-shadow 0.3s, margin 0.3s;
    border-radius: 10px;
}


.wpcf7-submit:hover, button:hover, .button:hover {
    box-shadow: 3px 3px var(--text-color);
    margin: 7px 0 0 7px;
}

label {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    vertical-align: middle;
}
   
.wpcf7-not-valid-tip {
    font-size: 1em;
    border-radius: 50px;
    border-top-left-radius: 0;
    color: #dc3232;
    border: 2px solid #dc3232;
    box-shadow: 5px 5px #dc3232;
    display: table;
    padding: 2px 10px;
    margin: 10px 0 0 10px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #ffb900;
    border: 2px solid #ffb900;
    border-radius: 50px;
    box-shadow: 5px 5px #ffb900;
    padding: 8px 10px;
    display: table;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: 50px;
    color: #46b450;
    border: 2px solid #46b450;
    box-shadow: 5px 5px #46b450;
    padding: 8px 10px;
    display: table;
}

@media (max-width: 1024px) {

    .kontaktform {
        margin-left: 1px;
        margin-right: 5px;
    }
}
 

/* ---- Header ----- */

.dark-theme .logo, .dark-theme .logo2 {
    filter: invert(1) grayscale(100%);
}

.site__content {
    padding: 20px 20px 0 130px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 122px;
    height: 100%;
    z-index: 100;
}

.header .logo {
    position: absolute;
    top: 25px;
    left: 38px;
    z-index: 100;
    width: 46px;
    height: auto;
}

.logoimg {
    width: 47px;
    height: 46px;
}

.header .logo2 {
    position: absolute;
    top: 95px;
    left: 47px;
    z-index: 100;
    width: 29px;
    height: auto;
}

.mgkimg {
    width: 29px;
    height: 211px;
}

.title-image {
    width: 100%;
    height: auto;
}

@media all and (min-width: 800px) {
    .admin-bar .header .logo {
        top: 72px;
    }
}

@media all and (max-width: 800px) {
    .admin-bar .header {
        top: 32px;
    }
    .header .logo2 {
        display: none;
    }
}

.header .logo a {
    display: block;
    font-weight: 700;
    font-size: 24px;
}

.header .logo a img {
    width: auto;
}

.header .burger {
    width: 34px;
    height: 24px;
    position: absolute;
    bottom: 40px;
    left: 44px;
    z-index: 100;
    cursor: pointer;
}

.header .darkswitch {
    position: absolute;
    bottom: 85px;
    left: 53px;
    z-index: 100;
    cursor: pointer;
}

.header .burger span {
    background: var(--text-color);
}

.header .burger span {
    height: 4px;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header .burger span:nth-child(1) {
    top: 0;
    width: 100%;
    border-radius: 2px;
}

.header .burger span:nth-child(2) {
    top: 50%;
    margin-top: -2px;
    width: 80%;
    border-radius: 2px;
}

.header .burger span:nth-child(3) {
    bottom: 0;
    width: 50%;
    border-radius: 2px;
}

.header .burger:hover span {
    width: 100%;
}

.header .burger.active span:nth-child(2) {
    width: 0;
}

.header .burger.active span:nth-child(1) {
    width: 100%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    margin-top: -2px;
}

.header .burger.active span:nth-child(3) {
    width: 100%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -2px;
}

.header .toggle__filters {
    display: none;
    width: 16px;
    height: 24px;
    position: absolute;
    bottom: 124px;
    left: 50%;
    z-index: 100;
    margin-left: -8px;
    cursor: pointer;
}

.header .toggle__filters span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    left: 6px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header .toggle__filters span:nth-child(1) {
    top: 0;
}

.header .toggle__filters span:nth-child(2) {
    top: 50%;
    margin-top: -2px;
}

.header .toggle__filters span:nth-child(3) {
    bottom: 0;
}

.header .toggle__filters:hover span:nth-child(1) {
    left: -1px;
}

.header .toggle__filters:hover span:nth-child(2) {
    left: 12px;
}

.header .toggle__filters:hover span:nth-child(3) {
    left: 3px;
}

.nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* ---- Menu ---- */

.nav.visible {
    opacity: 1;
    visibility: visible;
    background-color: var(--body-color);
    padding-top: 10%;
}

.nav .menu {
    width: auto;
    height: auto;
    padding-left: calc(20% + 130px);
    padding-right: 20%;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.nav .menu-item {
    list-style: none;
    text-align: left;
    font-family: 'Kosmos', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    width: calc(50% - 10px);
    margin-bottom: 100px; 
}

.nav .menu-item a {
    font-weight: 800;
}

.menu-item-description {
    font-family: "Outfit", sans-serif;;
    opacity: 0.3;
    display: block;
    width: 220px;
    font-size: 13px;
    padding: 10px 0;
    font-weight: 300;
    letter-spacing: 2px;
}

#menu-item-412-en, #menu-item-411-pl {
    font-size: 16px;
}

#menu-item-412-en a img, #menu-item-411-pl a img {
    border: 1px solid var(--text-color);
    padding: 7px;
    margin-right: 10px;
    border-radius: 3px;
    vertical-align: middle;
    margin-top: -2px;
}

@media (max-width: 600px) {
    .nav .menu-item {
        list-style: none;
        text-align: left;
        padding-left: 0;
        width: auto;
        float: none;
    }
}

@media (max-width: 1123px) {
    .nav .menu {
        padding-left: 15%;
        padding-right: 5%;
    }
}    

@media (max-width: 768px) {

    .site__content {
        padding: 60px 5px 0 5px;
    }

    main {
        min-height: calc(80vh - 10.5em);
    }

    .header {
        width: 100%;
        height: 65px;
        background-color: var(--body-color);
    }
    .header .logo {
        top: 10px;
        left: 20px;
    }

    .header .burger {
        width: 24px;
        height: 20px;
        top: 21px;
        right: 15px;
        bottom: auto;
        left: auto;
    }
    .header .darkswitch {
        width: 24px;
        height: auto;
        top: 24px;
        right: 55px;
        bottom: auto;
        left: auto;
    }
    .header .burger span {
        height: 3px;
    }
    .header .burger span:nth-child(2) {
        margin-top: -1px;
    }
    .header .burger.active span:nth-child(1) {
        margin-top: -1px;
    }
    .header .burger.active span:nth-child(3) {
        margin-bottom: -1px;
    }
    .header .toggle__filters {
        height: 16px;
        top: 27px;
        right: 66px;
        bottom: auto;
        left: auto;
    }
    .nav.visible {
        padding-top: 25%;
    }
    
    .nav .menu {
        padding-left: 15%;
        padding-right: 5%;
    }

    .nav .menu li a {
        font-size: 25px;
    }

    .menu-items {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .nav .menu-item {
        width: 100%;
        margin-bottom: 30px; 
    }
}

@media (max-width: 499px) {
    .nav .menu {
        padding-left: 12%;
        padding-right: 3%;
    }
}

/* ---- Footer ---- */

.footer {
    margin-top: 65px;
    padding-bottom: 25px;
}

.footer h5 {
    position: relative;
}

.footer h5 span {
    display: inline-block;
    position: relative;
    z-index: 2;
    min-width: 100px;
}

.footer h5:before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
}

.footer a {
    opacity: 0.8;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.footer .social_footer {
    width: 95%;
    text-align: right;
    margin-top: 20px;
    font-size: 17px;
}

.footer .social_footer a {
    margin-left: 18px;
}

.stopka {
    padding: 0;
    font-size: 12px;
    letter-spacing: 1px;
}

.footpp {
    font-size: 10px;
    letter-spacing: 2px;
    color: #999999;
}

.footcop {
    text-align: center;
    line-height: 25px;
}

ul.cmdztxt li {
    list-style: circle;
    margin-left: 30px;
    padding-bottom: 7px;
}

.mgkreacjafooter {
    font-family: 'Kosmos', sans-serif;
    font-size: 16px;
}

.footermenu {
    align-items: center;
}

ul#menu-stopka, ul#menu-footer {
    margin: 0;
    padding: 0;
    list-style: none;
}

li#menu-item-14:before, li#menu-item-421:before {
    font-family: 'icons';
    content: "\e900";
    font-size: 12px;
    margin-right: 7px;
    vertical-align: middle;
}

.footermenu .menu-item {
    float: left;
    list-style: none;
    text-align: left;
    padding: 10px 20px 0 0;
    font-size: 10px;
    letter-spacing: 2px;
}

@media (max-width: 768px) {

    .stopka {
        letter-spacing: 2px;
    }

    .footer .social_footer {
        width: 100%;
        text-align: center;
    }

    nav.footermenu {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
    }

    nav.footermenu .menu-item {
        text-align: center;
    }

    .footer .social_footer a {
        margin: 0 20px 0 20px;
    }

    .footer .social_footer {
        line-height: 60px;
        font-size: 24px;
        margin: 0;
        padding: 0;
    }
}



/* ---- Home page ---- */

.tloszare {
    background: var(--gradient1-color);
    border-radius: 10px;
}





/* ---- responsive ---- */

@media (max-width: 1278px) {
    h1.oferta {
        width: 85%;
        font-size: 40px;
    }
}    

@media (max-width: 768px) {

    .wpcf7-submit, button {
    padding: 18px 25px;
    }

    .tloszare {
        margin: 8px;
    }

    h1.oferta {
        font-size: 28px;
        padding: 1px;
    }

    .cf7-congrid {
        width: 100%;
    }

    .gridboxof2 {
        text-align: left;
    }

    .gridboxof img.svg-element, .gridboxof2 img.svg-element {
        width: 30px;
        height: auto;
    }

    .gridboxof h2 {
        font-size: 25px;
    }

    .gridboxof p, .gridboxof2 p {
        margin-left: 10px;
        font-size: 15px;
    }

    .accordion {
        margin: 0;
    }

}