/*
Theme Name: Elevar
Theme URI: /
Author: WEB-TECH: Strony internetowe Kraków
Description: Motyw dla Firmy Budowlanej Elevar
Version: 1.0
License: Do not copy
*/


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

:root {
  --main-background: #cf2137;
}

* {
  position: relative;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  position: relative;
  font-family: 'Source Sans Pro', sans-serif;
  box-sizing: border-box;
  line-height: 25px;
  font-weight: 300;
}

h1 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 300;
}

h2 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 300;
}

h3 {
  font-weight: 300;
}

hr {
  margin: 20px 0;
}



strong {
  font-weight: bold;
}


.mobile_menu {
  display: none;
}

a {
  font-weight: bold;
  text-decoration: none;
  color: black;
}

.frame {
  width: 93%;
  height: 90%;
  border: 7px solid var(--main-background);
  position: absolute;
  z-index: 10;
  top: 4%;
  left: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d
}

.frame h3 {
  background-color: black;
  transform: translateZ(20px);
  padding: 10px 30px;
  color: white;
  text-transform: uppercase;
}

.container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

/* HEADER */
#masthead {
  padding: 0 0 10px 0;
  box-shadow: 0 0 21px -7px black;
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
}

.header_contact {
  padding: 15px 0;
  margin-bottom: 15px;
  background-color: var(--main-background);
}

.header_contact .container {
  display: flex;
  justify-content: space-between;
}

.header_contact a {
  color: white;
  font-weight: 400;
}

.header_contact a i {
  font-size: 12px;
}
#masthead>.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#masthead>.container .logo {
  flex: 0 0 auto;
}

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

#masthead>.container .logo h1:before {
  content: '';
  height: 60px;
  width: 40px;
  border: 6px solid var(--main-background);
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: -1;
}

#masthead>.container .main-navigation {
  flex: 1 1 auto;
  align-items: center;
  display: flex;
  justify-content: center
}

#masthead>.container #menu-glowne {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding: 0;
  margin: 0;
}

#masthead>.container .main-navigation a {
  text-transform: uppercase;
  font-size: 12px;
  position: relative;
  transition: .4s;
  font-weight: 500;
}


#masthead>.container .main-navigation .menu-glowne-container {
  width: 100%;
}

#masthead>.container .main-navigation a:hover {
  color: var(--main-background);
}
#masthead>.container .main-navigation li.current-menu-item a {
  color: var(--main-background);
  font-weight: bold;
}



#masthead>.container .main-navigation a::after {
  content: '';
  width: 0;
  height: 3px;
  background-color: var(--main-background);
  position: absolute;
  bottom: -10px;
  left: 0;
  transition: .4s;
}

#masthead>.container .main-navigation a:hover:after {
  width: 100%;
}

#masthead>.container .lang {
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* HEADER */

/* HOME  */

.home .hero {
  height: 600px;
  width: 100%;
  background-attachment: fixed;
  background-image: url('./assets/images/hero/1.webp');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.home .hero .overflow {
  background-color: #00000060;
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute;

}

.home .hero .container {
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 1;
}

.home .hero .container .frame {
  position: absolute;
  width: 180px;
  height: 45%;
  left: 10%;
  top: 30%;
  z-index: 0;
  border: 15px solid var(--main-background);
}

.home .hero .container h1 {
  font-size: 100px;
  display: block;
  margin-bottom: 50px;
  text-transform: uppercase;
  color: white;
}

.home .hero .container h2 {
  font-size: 30px;
  display: block;
  text-transform: uppercase;
  color: white;
  margin-left: 5px;
}


/* PAGE */



.page .about {
  margin: 50px 0;
  padding: 40px 0;
  background-color: #f8f8f8;
}

.home .about {
  margin: 50px 0;
  padding: 40px 0;
  background-color: white;
}

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

.about>.container>div {
  flex: 45%;
  align-self: center;
  padding: 40px 0;
}
.about>.container>div.right a {
  border: 1px solid var(--main-background);
  padding: 5px;
  background: var(--main-background);
  color: white;
  text-transform: uppercase;
  transition: .4s;
  margin-top: 20px;
  display: block;
  width: 155px;
  text-align: center;
}

.about>.container>div.right a:hover {
  border: 1px solid var(--main-background);
  color:var(--main-background);
  background: transparent;
}

.about>.container>div.right a i {
 position: relative;
 margin-left: 5px;
 transition: .4s;
}
.about>.container>div.right a:hover i {
 position: relative;
 margin-left: 20px;
}


.about>.container>div.left {
  align-self: center;
  margin-right: 45px;
  padding: 0;
}

.about>.container>div.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
  transition: .4s;
}


.second_about {
  margin: 50px 0;
  padding: 40px 0;

}


.second_about>.container {
  display: flex;
  justify-content: space-between;
}

.second_about>.container>div {
  flex: 45%;
  align-self: center;
  padding: 40px 0;
}

.second_about>.container .left {
  margin-right: 60px;
}

.second_about>.container>div.right {
  flex: 45%;
  align-self: center;
  padding: 0;

}

.second_about>.container>div.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
  transition: .4s;
}

.offer {
  margin: 50px 0;
  padding: 50px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.offer .services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.offer hr {
  margin: 10px auto;
  width: 100px;

}

.offer .services a {
  flex: 1 1 30%;
  margin: 10px;
  height: 325px;
}

.offer .services a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.cta {
  margin: 50px 0;
  padding: 40px 0;
  background-image: url('./assets/images/map.svg');
  background-size: contain;
  height: 250px;
}

.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.cta .container>div {
  text-align: center;
  flex: 1 1 45%;
}



.cta .container a {
  margin: 20px 0;
  display: block;
  font-weight: 300;
  font-size: 25px;
}

/* PAGE  */
.page_header {
  height: 150px;
  flex-wrap: wrap;
  align-self: center;
}

.page_header .container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

}

.page_header h1 {
  font-size: 35px;
  align-self: center;
  flex: 1 1 100%;
  text-align: center;
}

.page_header h2 {
  margin: 0;
  font-size: 20px;
  align-self: center;
  max-width: 700px;
  text-align: center;
}


.single-services .page_header {
  padding: 20px 0;
  height: auto!important;
  margin-bottom: 20px;
}
.single-services .page_header h2{
  font-size: 16px;
  text-transform:none;
  max-width: 70%;
}



.page-id-11 .offer,  .page-id-9 .about {
  margin-top: 0;
}


.page-id-15 .wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.page-id-15 .wrapper > div {
  flex: 1 1 50%;
}

.page-id-15 .wrapper > div p {
  line-height: 25px;
  margin: 5px 0;
}
.page-id-15 .wrapper > div.left i {
  margin-right: 10px;
}

.page-id-15 .wrapper > div.right input {
  padding: 7px 10px;
  width: 100%;
  font-family:inherit;
  border:1px solid lightgray;
}

.page-id-15 .wrapper > div.right textarea{
  padding: 10px;
  width: 100%;
  font-family:inherit;
  border:1px solid lightgray;
}
.page-id-15 .wrapper  h2,
.page-id-15 .wrapper  h3{
    font-size: 25px;
    text-transform: uppercase;
}
.page-id-15 .wrapper  .map{
   margin-top: 20px;
}
.page-id-9 .about>.container>div.left {
  align-self: center;
  margin-right: 45px;
  padding: 0;
  flex: 0 1 45%;
}

.page-id-9 .about>.container>div.left img {
  width: 60%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
  transition: .4s;
  margin: auto;
  display: block;
}


#wpcf7-f75-o1 > form > div:nth-child(2) > p{
  display: flex;
  width: 100%;
  justify-content: space-between;

}
#wpcf7-f75-o1 > form > div:nth-child(2) > p span{
 flex: 1 1 50%;
}
#wpcf7-f75-o1 > form > div:nth-child(2) > p span:first-of-type{
  margin-right: 5px;
}


#wpcf7-f75-o1 > form > div:nth-child(4) > p > input{
  width: 120px;
  border:none;
  outline: none;
  background-color: var(--main-background);
  color:white;
  float: right;
  cursor: pointer;
}





/* PAGE  */

/* HOME  */


/* FOOTER */


.cookies-banner {
  position: fixed;
  background: whitesmoke;
  width: 300px;
  padding: 10px 20px;
  bottom: 20px;
  box-shadow: 1px 3px 11px -3px black;
  left: 10px;
  z-index: 100;
  font-size: 13px;
}

.cookies-banner span {
  position: absolute;
  right: 15px;
  top: 5px;
  cursor: pointer;
}

#scroll_to_top {
  position: fixed;
  z-index: 1000;
  border: 1px solid var(--main-background);
  bottom: 30px;
  right: 30px;
  width: 30px;
  text-align: center;
  cursor: pointer;
  height: 30px;
}

#scroll_to_top i {
  color: var(--main-background);
}

footer {
  background-color: #f8f8f8;
  padding: 30px 0 10px 0;
  margin-top: 10px;
}


footer .copy {
  border-top: 1px solid rgb(228, 228, 228);
  padding: 10px 0 10px 0;

}

footer .copy .container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

footer .copy .container a {
  font-weight: 300;
  margin-left: 10px;

}

footer div.site-info.container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;

}

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

footer div.site-info.container>div:first-of-type p {
  max-width: 70%;
}

footer a,
footer p {
  margin: 0;
  line-height: 25px !important;
  font-weight: 300;
}

footer h2 {
  font-size: 20px;
}

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

/* FOOTER */



@media all and (max-width:794px) {



  .cookies-banner {
    width: 90%;
  }

  .header_contact .container{
    justify-content: space-around;
  }

  #masthead>.container .logo{
    flex: 1 1 100%;
    text-align: center;
    order: 0;
  }

  #masthead>.container .lang{
    flex:1 1 100%;
    text-align: center;
    order: 1;
    margin-bottom: 20px;
  }

  #masthead>.container .main-navigation{
    display: none;
    order:3;
    margin: 20px 0;
  } 
  #masthead>.container .mobile_menu {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 30px;
    order:2;
  }
  .home .hero {
    height: 450px;
    background-size: cover;
  }
  .home .hero .container h1 {
    font-size: 50px;
    margin-bottom: 23px;
   }
   .home .hero .container h2 {
    font-size: 25px;
   }

   .home .about, 
   .second_about,
   .page .about{
    margin: 20px 0;
    padding: 20px 10px;
   }

   .about hr,   
   .second_about hr
   {
    width: 100%!important;
   }

   .about>.container, 
   .cta .container,
   .second_about>.container {
    flex-wrap: wrap;
   }

   .about>.container>div.left,
   .second_about>.container .left{
    margin-right: 0;
   }

   footer{
    padding: 10px;
   }

   .offer .services a, 
   .page-id-15 .wrapper > div,
   footer div.site-info.container>div,
   .cta .container > div{
    flex: 1 1 100%;
   }

   .page-id-15 .wrapper > div{
    padding: 10px;
   }

   .offer h2{
    font-size: 20px;
   }

   .single-services .page_header h2 {
    max-width: 85%;
   }

   .hero > .container {
    text-align: center;
   } 
   .hero > .container .slogan{
    left: 10%;
   }

   .page-id-9 .about>.container>div.left,
   .second_about>.container .left {
    margin-right: 0px;
    flex: 1 1 100%;
  }

  .page-id-9 h2{
    font-size: 20px;
    text-align: center;
  }
  
  .page-id-9 .about>.container>div.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    margin: auto;
    display: block;
  }

  .second_about>.container>div{
    padding: 10px 0;
  }

}