/*
Theme Name: Denovo 
Theme URI: /
Author: WEB-TECH: Strony internetowe Kraków
Author URI: https://webtech.com.pl
Description: Motyw dla Firmy Denovo
Version: 1.0
License: Do not copy
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');

:root {
  --main-color: #e31c23;
}

* {
  margin: 0;
  padding: 0;
  font-size: 17px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  line-height: 30px;
  font-weight: 300;
}

h1 {
  text-transform: uppercase;
  margin: 10px 0;
}

h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 400;
}

h2 {
  font-size: 30px;
  color: #2f2f2f;
  font-weight: 500;
}

ul {
  list-style: none;
  padding: none;
}


a {
  text-decoration: none;
  color: black;
}

.mobile_menu {
  display: none;
}


main {
  padding: 70px 0;
}

.overlay {
  border: 5px solid var(--main-color);
  width: 85% !important;
  height: 90% !important;
  left: 7%;
  top: 5%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 100;
}

.overlay>* {
  transform: translateZ(20px);
}

.overlay h4 {
  position: absolute;
  background-color: #2c3338;
  padding: 5px 15px;
  color: white;
  backdrop-filter: blur(5px);
  bottom: 0;
  right: 0;
}

.container {
  max-width: 1200px;
  padding: 0px 15px;
  margin: 0 auto;
}

.page_header {
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e31e25;
  color: white;
  text-align: center;
}

.page_header h1 {
  font-size: 40px;
}



/* HEADER */

#masthead {
  background-color: whitesmoke;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 10px 10px -12px black;
}

#masthead .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#masthead .container .logo {
  flex: 0 1 150px;
  padding: 10px 0;
}


#masthead .container .logo img {
  width: 70px;
}

#masthead .container .lang a {
  margin: 0 2px;
}

#masthead .container .main-navigation {
  flex: 0 1 500px;
}

#menu-glowne>li>a::after {
  content: "";
  width: 0%;
  height: 2px;
  top: 25px;
  background-color: var(--main-color);
  position: absolute;
  left: 0;
  transition: .4s;
}

#menu-glowne>li>a:hover::after {
  width: 100%;
}

#masthead .container .main-navigation ul {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

#masthead .container .main-navigation ul .sub-menu {
  display: none;
}

#masthead .container .main-navigation ul .sub-menu a {
  letter-spacing: normal;
}

#masthead .container .main-navigation .menu-glowne-container ul>li.menu-item-has-children::after {
  content: '\25B6';
  rotate: 90deg;
  position: absolute;
  right: -15px;
  top: 1px;
  font-size: 10px;
}

#masthead .container .main-navigation ul > li > ul > li .sub-menu {
  position: relative!important;
  top: 0px !important;
  background: whitesmoke;
  left: 0;
  padding: 0;
}


#masthead .container .main-navigation ul > li .sub-menu {
  position: absolute!important;
  top: 40px !important;
  background: whitesmoke;
  padding: 0 30px 10px 20px !important;
  min-width: 250px;
  left: -90px;
}

#masthead .container .main-navigation ul>li.menu-item-type-taxonomy>.sub-menu li {
  transition: .4s;
}

#masthead .container .main-navigation ul>li.menu-item-type-taxonomy>.sub-menu li:hover {
  margin-left: 5px;
}

#masthead .container .main-navigation ul>li.menu-item-type-taxonomy>.sub-menu li a {
  font-size: 10px !important;
}

#masthead .container .main-navigation li a {
  font-weight: bold;
  transition: .4s;
  font-size: 12px !important;
  letter-spacing: 2px;
}

#masthead .container .main-navigation .menu-glowne-container ul li a:hover {
  color: var(--main-color);
}


/* HEADER */

/* HOME  */

.home .hero {
  height: 96vh;
  background-image: url('./assets/images/hero/1.webp');
  display: flex;
  background-attachment: fixed;
  justify-content: center;
  align-items: center;
  background-size: 100% 100%;
}

.home .hero .arrows {
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 10%;
}

.home .hero .chevron {
  position: absolute;
  width: 18px;
  height: 1px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.home .hero .chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.home .hero .chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.home .hero .chevron:before,
.home .hero .chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: var(--main-color);
}

.home .hero .chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.home .hero .chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }

  33% {
    opacity: 1;
    transform: translateY(30px);
  }

  67% {
    opacity: 1;
    transform: translateY(40px);
  }

  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}


@keyframes pulse {
  to {
    opacity: 1;
  }
}

.home .hero .slider_text {
  background: #0000001c;
  z-index: 1;
  width: 50%;
  justify-content: center;
  display: flex;
  align-items: center;
  color: white;
  padding: 40px;
  flex-direction: column;
  text-align: center;
  backdrop-filter: blur(7px);
}

.home .hero .slider_text h1 {
  font-size: 35px;
}



#about {
  padding: 100px 0 50px 0;
}

#about .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#about .container>div {
  padding: 0 15px;
  flex: 1 1 40%;
}

#about .container>div.right {
  padding: 0 15px;
  flex: 1 1 60%;
}

#about .container>div h3 {
  font-size: 20px;
  text-transform: capitalize;
  margin: 30px 0 20px 0;
}

#about .container div.left p {
  margin-bottom: 30px;
}

#about .container h2:before {
  content: 'O Nas';
  position: absolute;
  left: 38px;
  top: -15px;
  width: 178%;
  font-size: 70px;
  color: gray;
  font-weight: 400;
  text-transform: uppercase;
  opacity: .1;
  font-family: "Montserrat", sans-serif;
}

#about .container h2:after {
  content: '';
  background-image: url('./assets/images/divider.webp');
  display: block;
  width: 33%;
  height: 3px;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  bottom: -15px;
}

#about .frame {
  background-color: transparent;
  position: absolute;
  width: 90%;
  height: 93%;
  left: 33px;
  top: 15px;
  z-index: 1;
  border: 5px solid var(--main-color);
  transition: .4s;
}

#about .container>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#products {
  padding: 200px 0 0 0
}

#products .container h2 {
  text-align: center;
  margin-bottom: 50px;
}

#products .container .filters {
  display: flex;
  justify-content: center;
}

#products .container .filters span {
  cursor: pointer;
  padding: 5px 10px;
  margin: 2px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
}

#products .container .filters span::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: .4s;
}

#products .container .filters span:hover::after {
  content: '';
  width: 100%;
}

#products .container h2:before {
  content: 'Nasza Oferta';
  position: absolute;
  top: -15px;
  left: 30%;
  font-size: 70px;
  color: gray;
  font-weight: 400;
  text-transform: uppercase;
  opacity: .1;
  font-family: "Montserrat", sans-serif;
  margin: auto;
}

#products .container h2:after {
  content: '';
  background-image: url('./assets/images/divider.webp');
  display: block;
  width: 33%;
  height: 3px;
  left: 93px;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  bottom: -15px;
  margin: auto;
}

#products .all_foils {
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

#products .all_foils>a {
  display: block;
  margin: 10px;
  flex: 0 1 30%;
  min-height: 400px;
}

#products .all_foils>a .overlay h3 {
  background-color: #88383bb8;
  padding: 15px 50px;
  color: white;
  backdrop-filter: blur(5px);
}

#products .all_foils>a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery{
  margin: 50px 0;
}


#gallery h2{
  text-align: center;
  margin: 50px 0;
}

#gallery  h2:after {
  content: '';
  background-image: url('./assets/images/divider.webp');
  display: block;
  width: 33%;
  height: 3px;
  left: 93px;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  bottom: -15px;
  margin: auto;
}

#gallery .photoblocks-gallery{
  margin-top: 30px;
}

#cta {
  margin: 0 0 100px 0;
  padding: 100px 0;
  background-image: url('./assets/images/cta/cta_back.webp');
  background-attachment: fixed;
  background-size: cover;
  z-index: 1;
}


#cta>.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#cta>.container>div {
  flex: 1 1 30%;
  padding: 10px;
  margin: 10px;
}

#cta>.container:first-of-type {
  margin-bottom: 40px;
}


#cta>.container:first-of-type * {
  color: white;
  display: flex;
  font-size: 20px;
  padding: 20px;
  top: -20px;
}

#cta>.container:first-of-type i{
  font-size: 30px;
  left: -15px;
}

#cta>.container:first-of-type h4 {
  font-size: 50px;
  font-weight: 100;
  padding: 20px 0 0 20px;
  z-index: 1;
  width: 55%;
}


#cta>.container:first-of-type h4:before {
  content: "";
  position: absolute;
  left: 0;
  top: -15px;
  height: 100px;
  width: 50px;
  background-color: var(--main-color);
  z-index: -1;
  transition: .4s;
}

#cta>.container:last-of-type {
  margin-bottom: -300px;
}

#cta>.container:last-of-type>div {
  background-color: white;
  padding: 35px;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.20);
  transition: .4s;
}

#cta>.container:last-of-type>div:hover {
  box-shadow: 0 0 14px 0px var(--main-color);
}

#cta>.container:last-of-type>div>img {
  width: 40px;
}

#cta>.container:last-of-type>div>h3 {
  margin: 20px 0;
}

#cta>.container:last-of-type>div>h3:after {
  content: '';
  background-image: url('./assets/images/divider.webp');
  display: block;
  width: 33%;
  height: 3px;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  bottom: -7px;
}


#contact {
  margin-top: -100px;
  padding: 250px 0 0 0;
}

#contact .container:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 60%;
  left: -35%;
  top: -20%;
  opacity: .6;
  background-image: url('./assets/images/icon-dot.png');
  z-index: 0;
}
#contact .container {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#contact .container h2:before {
  content: 'Kontakt';
  position: absolute;
  top: -15px;
  left: 10%;
  font-size: 70px;
  color: gray;
  font-weight: 400;
  text-transform: uppercase;
  opacity: .1;
  font-family: "Montserrat", sans-serif;
  margin: auto;

}

#contact .container h2:after {
  content: '';
  background-image: url('./assets/images/divider.webp');
  display: block;
  width: 220px;
  height: 5px;
  left: 0;
  margin: 0;
  position: absolute !important;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  bottom: -15px;
  margin: auto;
}


#contact>.container>div.left {
  flex: 1 1 65%;
  background-color: #ffffff8f;
  padding: 40px;
  z-index: 1;
}

#contact>.container>div.right {
  flex: 1 1 35%;
  padding: 40px;
  display: flex;
  align-self: center;
  flex-direction: column;
}

#contact>.container>div.right *{
  margin-bottom:20px;
}

#contact>.container>div.right h3 {
  font-size: 25px;
  margin-top: 20px;
}


#contact>.container>div * {
  width: 100%;
  border: none;
  background-color: transparent;
}

#contact form {
  margin-top: 60px;
}

#contact>.container form>div:not(form > div:last-of-type) {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

#wpcf7-f49-o1>form>div:nth-child(2)>label:nth-child(1) {
  margin-right: 20px;
}

#contact>.container>div input:not(input[type=submit]),
#contact>.container>div textarea {
  padding: 10px 5px;
  outline: none;
  color: #777777;
  background-color: transparent;
  border-bottom: 1px solid var(--main-color);
}

#contact>.container>div textarea {
  height: 100px;
}

#wpcf7-f49-o1>form>div:nth-child(5)>input {
  padding: 10px 35px;
  background-color: #2f2f2f;
  color: white;
  border-radius: 40px;
  width: auto;
  text-transform: uppercase;
  cursor: pointer;
  transition: .4s;
}

#wpcf7-f49-o1>form>div:nth-child(5)>input:hover {
  background-color: var(--main-color);
}

.home #about {
  margin: 100px 0 0 0;
}



/* HOME  */



/* PRODUCT PAGE  */


.single-post .page_header p {
  margin: 20px 0;
  font-size: 15px;
  font-weight: 100;
  text-transform: capitalize;
  font-family: 'Montserrat', sans-serif;
}

.single-post .page_header > .container{
 display: flex;
 justify-content: center;
 align-items: center;
 flex-wrap: wrap;
 flex-direction: column;
}
.single-post .page_header > .container img {
  width: 200px;
  margin: 15px 0 0 0;
}


.single-post .page_header .main_photo {
  max-width: 500px;
  display: block;
  margin: auto;
}

.single-post .first   {
  margin-bottom: 150px ;
}

.single-post .first .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}



.single-post .first .container > div  {
  flex: 1 1 45%;
}

.single-post .first .container > div.photo  {
 min-height: 450px;
 background-size: contain;
 background-attachment: fixed;
 background-position: bottom;
 margin-right: 30px;
}

.single-post .container > div.text{
  display: block!important;
}

.single-post .first .container > div.text  {
 padding: 40px 20px ;
 display: flex;
 flex-wrap: wrap;
 align-self: center;
}

.single-post .first .container > div.text h2{
 margin-bottom: 20px;
}


.single-post .first .container .frame {
  background-color: transparent;
  position: absolute;
  width: 90%;
  height: 90%;
  left: 5%;
  top: 4%;
  z-index: 1;
  border: 5px solid var(--main-color);
  transition: .4s;
}


.single-post .second  {
  padding: 100px 0;
  background-color: var(--main-color);
}

.single-post .second .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.single-post .second .container:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 60%;
  left: -35%;
  top: 0%;
  background-image: url('./assets/images/icon-dot.png');
  z-index: 0;
  opacity: .5;
}


.single-post .second .container > div  {
  flex: 1 1 45%;
}

.single-post .second .container > div.photo  {
 min-height: 450px;
 background-size: contain;
 background-attachment: fixed;
 background-position: bottom;
 margin-right: 30px;
}

.single-post .container > div.photo img{
  width: 100%;
  /* max-height: 450px;  */
  height: 100%;

}

.single-post .second .container > div.text  {
 padding: 40px 20px ;
 display: flex;
 flex-wrap: wrap;
 align-self: center;
 color:white;
}

.single-post .second .container > div.text h2{
 margin-bottom: 20px;
 color:white;
}



.single-post .second .container .frame {
  background-color: transparent;
  position: absolute;
  width: 90%;
  height: 90%;
  left: 5%;
  top: 5%;
  z-index: 1;
  border: 5px solid whitesmoke;
  transition: .4s;
}



.single-post .third   {
  margin: 150px 0;
}

.single-post .third .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}



.single-post .third .container > div  {
  flex: 1 1 45%;
}

.single-post .third .container > div.photo  {
 min-height: 450px;
 background-size: contain;
 background-attachment: fixed;
 background-position: bottom;
 margin-right: 30px;
}

.single-post .container > div.text{
  display: block!important;
}

.single-post .third .container > div.text  {
 padding: 40px 20px ;
 display: flex;
 flex-wrap: wrap;
 align-self: center;
}

.single-post .third .container > div.text h2{
 margin: 20px 0;
}

.single-post .third .container > div.text img{
 margin: 20px 0;
 max-width: 250px;
}
.single-post .third .container .frame {
  background-color: transparent;
  position: absolute;
  width: 90%;
  height: 90%;
  left: 5%;
  top: 5%;
  z-index: 1;
  border: 5px solid var(--main-color);
  transition: .4s;
}

.single-post #productCta {
  background-color: var(--main-color);
  padding: 100px 0;
}

.single-post #productCta h2 {
  color:white;
}

.single-post #productCta .container:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 60%;
  left: -35%;
  top: 0%;
  background-image: url('./assets/images/icon-dot.png');
  z-index: 0;
  opacity: .5;
}

.single-post #productCta .container {
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 align-items: center;
}
.single-post #productCta .container > div {
 flex: 1 1 45%;
}

.single-post .gallery {
  margin-top: 100px ;
  text-align: center;
}

.single-post .gallery h2 {
  margin-bottom: 50px ;
}

/* CATEGORY  */

.category .all_foils {
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.category .all_foils>a {
  display: block;
  margin: 10px;
  flex: 0 1 30%;
  min-height: 400px;
}

.category .all_foils>a .overlay h2 {
  background-color: #e31c238d;
  padding: 15px 50px;
  color: white;
  backdrop-filter: blur(5px);
  font-size: 15px;
  font-weight: 100;
}

.category .all_foils>a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PAGE */
.page-id-7 #contact{
  padding: 40px 0;
}

.page-id-7 #contact .container:before {

  top: 10%;

}

.page-id-458  #content h2{
     margin:10px 0;
    padding: 10px 0;
}
.page-id-458  #content h3{
    margin:10px 0;
    padding: 10px 0;
}

.page-template-default #about {
  padding: 45px 0 50px 0;
}

.cookies-banner {
  max-width: 300px;
  padding: 20px;
  position: fixed;
  bottom: 15px;
  z-index: 1000;
  left: 10px;
  display: none;
  border:1px solid lightgray;
  background-color: rgba(255, 255, 255, 0.9);
}

.cookies-banner a {
  font-weight: bold;
  font-size: 12px;
  line-height: 20px;
}

.cookies-banner p {
  font-size: 12px;
  line-height: 20px;
}

.cookies-banner span {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}

#scroll_to_top {
  position: fixed;
  right: 40px;
  bottom: 20px;
  border: 1px solid var(--main-color);
  z-index: 1000;
}

#scroll_to_top i {
  padding: 20px 7px;
  cursor: pointer;
  color:var(--main-color);
}

footer {
  padding: 80px 0 20px 0;
  background: black;
  color: white;
}

footer .site-info {
  display: flex;
  justify-content: space-between;
}

footer .site-info > div{
  flex: 0 1 30%;
}

footer .site-info > div h3 {
  margin-bottom: 10px;
  border-bottom: 2px solid;
  width: 100px;
  padding-bottom: 10px;
}

footer #menu-footer a {
  color: white;
}

footer .copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 20px;
  margin-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.211);
}

footer .copy * {
  font-size: 12px;
  color: white;
  text-transform: uppercase;
}


/* MEDIA  */

@media all and (max-width:794px) {
  .container{
      padding: 0;
  }
  main{
      padding: 20px 10px;
  }

  footer{
    padding: 10px;
  }
  
   .home #about{
    margin: 0;
   }
    
    h2:before,
    h2:after{
      display: none!important;
    }

    #products .all_foils>a,
    .category .all_foils>a,
    #contact>.container>div,
    #about .container>div{
      flex:1 1 100%!important;
      padding: 0!important;
    }

    #products .all_foils>a{
      margin: 10px 0;
    }

    #products{
      padding:30px 0;
    }

    .home .hero .slider_text {
      width: 90%;
    }

    #about .frame {
  
      width: 80%;
      height: 90%;
      left: 10%;
      top: 4%;
  }

  footer .site-info{
    flex-wrap: wrap;
  }

  footer .site-info > div{
    flex: 1 1 100%;
  }

  .mobile_menu{
    display: flex;
    flex: 1 1 100%;
    order: 1;
    justify-content: center;
    margin: 10px 0;
  }
 .mobile_menu i{
    font-size: 25px;
    cursor: pointer;
  }

  #masthead {
    padding: 10px;
  } 

  #masthead .container{
    flex-wrap: wrap;
  }  
  
  #masthead .container .lang{
   justify-content: center;
   display: flex;
   flex:1 1 100%;
  } 

  #masthead .container .logo{
    flex:1 1 100%;
    order: 0;
  }

  #masthead .container .logo img{
    display: block;
    width: 200px;
    margin: auto;
  }

  #masthead .container .main-navigation {
    flex: 1 1 100%;
    order:2;
    display: none;
  }  


  #masthead .container .main-navigation ul{
    flex-wrap: wrap;
  } 
  #masthead .container .main-navigation ul > li{
    flex:1 1 100%;
  }

  #masthead .container .main-navigation .menu-glowne-container ul>li.menu-item-has-children:hover>.sub-menu{
    position: relative!important;
    margin: 0 0 10px 10px!important;
    top:5px!important;
    padding: 0!important;
    left: 0!important;
  }

  #masthead .container .main-navigation .menu-glowne-container ul>li.menu-item-has-children::after{
    right: 15px;
  }

  #cta{
    margin:0 0 100px 0;
  }

  #contact>.container>div *{
    overflow: hidden;
  }


  .single-post .first{
    margin: 20px 0;
  }

  .single-post .container > div{
    flex:1 1 100%!important;
  }
  .single-post  .container > div.photo{
    margin-right: 0!important;
    height: auto;
  } 
  .single-post  .container > div.photo img{
    height: 100%;
    object-fit: cover;
  }

  .single-post .second{
    padding: 40px 0;
  }

  .single-post .third{
    margin: 50px 0;
  }

  .single-post .gallery {
    margin-top: 50px ;
  }

  .single-post #productCta .container:before {
    width: 100%;
  }

  .single-post #productCta h2 {
    text-align: center;
    margin: 0px 0 40px 0;
   }
  .page_header {
    height: auto;
    padding: 30px 0;
    margin: 0 10px;
  }
  .page_header h1{
    font-size: 30px;
    line-height: 30px;
  }

  .home .hero{
    height: 60vh;
  }

  .single-post .page_header h1::after{
    display: none;
  }

  #cta>.container:first-of-type *{
    margin:10px 0;
  }

  #cta>.container:first-of-type h4{
    font-size: 30px;
  }
  #cta>.container:first-of-type i {
    font-size: 21px;
    left: -15px;
    top: -25px;
}
  
}