/*
Theme Name: Bouncymania
Author: woiteh.com
Author URI: http://www.woiteh.com
Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

/*********   GLOBAL   *********/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body,
html {
  font-family: "Roboto", sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 24px;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.title {
  display: flex;
  justify-content: center;
}
.title h2 {
  display: block;
}
.more-link {
  display: flex;
  justify-content: center;
}
a.more {
  display: block;
  padding: 10px 30px;
  border-radius: 25px;
  color: #fff;
  border: 3px solid #f00;
  float: left;
  color: #0019a9;
  transition: ease-in-out 0.4s transform, ease-in-out 0.4s background,
    ease-in-out 0.4s color;
  text-align: center;
}
a.more:hover {
  transform: scale(1.1);
  background-color: #f00;
  color: #fff;
}

@media (max-width: 1199px) and (min-width: 992px) {
  h2 {
    font-size: 35px;
    line-height: 40px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  h2 {
    font-size: 34px;
    line-height: 35px;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 32px;
    line-height: 35px;
  }
}
@media (max-width: 575px) {
  h2 {
    text-align: center;
    font-size: 40px;
    line-height: 45px;
  }
}

/**********   HEDER   **********/

header {
  padding: 20px 0;
  color: #0019a9;
}
header .row {
  display: flex;
  align-items: center;
}
header .container {
  display: flex;
}
header .logo {
  margin-right: 30px;
  width: 330px;
}
header .logo img {
  height: 140px;
}

header .contact-bar {
  margin-bottom: 10px;
  width: 100%;
  float: left;
  font-size: 14px;
  line-height: 30px;
  color: #111;
}
header .contact-bar i {
  color: #f9e4ab;
  font-size: 20px;
  margin-right: 10px;
}
header .contact-bar .contact-bar-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
header .contact-bar span{
  color: #f9e4ab;
  margin-left: 15px;
}
header .contact-bar .wrap {
  float: right;
  background-color: #00aaea;
  padding: 5px 30px;
  border-radius: 20px;
}
header .contact-bar .contact-bar-item {
  margin-right: 30px;
  float: left;
}
header .contact-bar .contact-bar-item:last-child {
  margin-right: 0px;
}
header .contact-bar .link {
  float: right;
}
header .contact-bar .link a {
  display: block;
  padding: 5px 20px;
  color: #0019a9;
  border: 1px solid #f00;
  line-height: 18px;
  transition: ease-in-out 0.3s background, ease-in-out 0.3s color,
    ease-in-out 0.3s transform;
}
header .contact-bar .link a:hover {
  background-color: #f00;
  color: #fff;
  transform: scale(1.1);
}
header .close-menu,
header .mobile-menu {
  display: none;
}
header .mobile-menu i {
  font-size: 30px;
  float: right;
  cursor: pointer;
  padding: 15px;
}
header .main-menu nav ul {
  margin-left: 20px;
}
header .main-menu nav ul,
header .socialmedia ul {
  padding-left: 0;
  margin-bottom: 0;
  float:  right;
}
header .main-menu li,
header .socialmedia li {
  list-style: none;
  float: left;
}
header .main-menu li {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
header .main-menu li:last-child {
  margin-right: 0px;
}
header .main-menu nav li a {
  color: #444;
  display: block;
  padding: 20px 5px;
  font-size: 22px;
  line-height: 25px;
  font-weight: 400;
  transition: ease-in-out 0.3s all;
  position: relative;
  transition: ease-in-out 0.3s color, ease-in-out 0.3s transform;
 }/*
header .main-menu nav li::after {
  content: "";
  height: 15px;
  width: 15px;
  border: 3px solid #f00;
  border-radius: 50%;
  margin: 10px;
} */
header .main-menu nav li:last-child:after {
  display: none;
}
header .main-menu nav li a:hover {
  color: #ed251e;
  transform: scale(1.1);
}
header .socialmedia ul {
  float: right;
}
header .socialmedia li a {
  font-size: 24px;
  color: #ccc;
  padding: 10px 10px;
  transition: ease-in-out 0.3s color, ease-in-out 0.3s transform;
}
header .socialmedia li a:hover {
  transform: scale(1.1);
}
header .socialmedia li a.facebook:hover {
  color: #4267b2;
}
header .socialmedia li a.instagram:hover {
  color: #c13584;
}

@media (max-width: 1199px) and (min-width: 992px) {
  header .contact-bar {
    padding: 5px 10px 15px;
    font-size: 12px;
  }
  header .contact-bar .contact-bar-item {
    margin-right: 15px;
  }header .main-menu nav li{
    margin-right: 12px;
  }
  header .socialmedia li{
    margin-right: 10px;
  }
  header .main-menu nav li a {
    font-size: 20px;
  }
  header .main-menu nav li::after {
    height: 10px;
    width: 10px;
    border: 2px solid #f00;
    margin: 7px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  header .logo {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  header .container {
    display: block;
  }
  header .contact-bar .wrap,
  header .contact-bar .link {
    float: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  header .contact-bar .contact-bar-item{
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
  header .main-menu nav li a {
    font-size: 20px;
  }
  header .main-menu nav li::after {
    height: 10px;
    width: 10px;
    border: 2px solid #f00;
    margin: 7px;
  }
  header .main-menu nav ul,
  header .socialmedia ul {
    display: flex;
    justify-content: center;
    float: none;
  }
}
@media (max-width: 767px) {
  header {
    padding: 20px;
  }
  header .mobile-menu {
    display: flex;
    justify-content: right;
  }
  header .menu {
    display: none;
  }
  header .container {
    justify-content: space-between;
  }

  header .menu.mob-is-vis {
    display: block;
  }
  body {
    position: relative;
  }
  header .menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    padding: 20px;
    z-index: 9999;
  }
  header .contact-bar .wrap {
    float: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-direction: column;
  }
  header .contact-bar .link {
    float: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  header .contact-bar .contact-bar-item {
    justify-content: center;
  }
  header .close-menu {
    display: block;
    text-align: right;
  }
  header .close-menu img {
    width: 30px;
    cursor: pointer;
  }
  header .main-menu nav ul {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  header .socialmedia {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  header .main-menu nav ul li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  header .main-menu nav li a {
    padding: 15px 30px;
  }
  header .main-menu nav li::after {
    display: none;
  }
  header .contact-bar .contact-bar-item{
    flex-wrap: wrap;
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 550px) {
}

/********  END HEADER  *********/

/********  REALIZACJE  *********/

#realizacje-items{
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}
#realizacje-items.grid-4{
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
#realizacje-items .item-realizacje{
  display: block;
}
#realizacje-items .item-realizacje .img-wrap{
  display: block;
  overflow: hidden;
  position: relative;
  transition: ease-in-out 0.4s transform;
}
#realizacje-items .item-realizacje:hover .img-wrap{
  transform: scale(1.05);
}
#realizacje-items .item-realizacje .img-wrap img{
  transition: ease-in-out 1s transform;
}
#realizacje-items .item-realizacje:hover .img-wrap img{
  transform: rotate(5deg)scale(1.1);
}
#realizacje-items .item-realizacje h3{
  text-align: center;
  margin-top: 5px;
  font-size: 28px;
  line-height: 34px;
  color: #9ac323;
  transition: ease-in-out 0.4s transform;
}
#realizacje-items.grid-4 .item-realizacje h3{
  font-size: 20px;
  line-height: 24px;
}
#realizacje-items .item-realizacje:hover h3{
  transform: translateY(10px);
}
#realizacje-items .item-realizacje p{
  position: absolute;
  padding: 20px;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: ease-in-out 0.3s transform;
  color: #fff;
}
#realizacje-items .item-realizacje:hover p{
  transform: translateX(0);
}
.wp-block-button__link{
  transition: ease-in-out 0.3s background-color;
}

@media (max-width: 767px)  and (min-width: 551px) {
  #realizacje-items{
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
@media (max-width: 550px) {
  #realizacje-items{
    grid-template-columns: 1fr 1fr !important;
  }
}
/********  END REALIZACJE  *********/

#page-content .spectra-image-gallery__layout--grid{
  grid-gap: 20px;
}

/*******   FOOTER    *******/
footer {
  background-color: #e1f5ff;
  padding-top: 30px;
  font-size: 16px;
  line-height: 24px;
}
footer ul {
  padding-left: 0;
}
footer img {
  width: 80%;
}
footer ul li {
  list-style: none;
  margin-bottom: 10px;
}
footer i {
  margin-right: 5px;
  color: #3daae0;
}
footer h4 {
  color: #3daae0;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 5px;
}
footer p {
  margin-bottom: 0;
}
footer p span:first-child {
  width: 120px;
  margin-right: 10px;
  display: inline-block;
}
footer ul.kontakt{
  margin-top: 10px;
}
footer ul.menu,
footer ul.menu-lista{
  margin-top: 10px;
}
footer ul.menu li{
  margin-bottom: 5px;
  transition: ease-in-out .3s transform;
}
footer ul.menu li:hover{
  transform: translateX(10px);
}
footer ul.menu li a{
  color: #666;
  transition: ease-in-out .3s color;
}
footer ul.menu li:hover a{
  color: #3daae0;
}
footer ul.menu-lista li{
  display: inline-block;
  margin-bottom: 2px;
}
footer ul.menu-lista li::after{
  content: ", ";
}
footer ul.menu-lista li:last-child:after{
  content: ".";
}
footer ul.menu-lista li a{
  color: #666;
  transition: ease-in-out .3s color;
}
footer ul.menu-lista li a:hover{
  color: #3daae0;
}
footer .footer-copyright {
  background-color: #3daae0;
  color: #0c5e89;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 0;
  margin-top: 20px;
}
footer .footer-copyright p {
  margin-bottom: 0;
  line-height: 24px;
}
footer .footer-copyright a {
  color: #0c5e89;
  font-weight: 500;
  transition: ease-in-out 0.4s color;
}
footer .footer-copyright a:hover {
  color: #f00;
}
footer .footer-copyright .woiteh {
  text-align: right;
}

@media (max-width: 1199px) and (min-width: 992px) {
  footer {
    font-size: 14px;
    line-height: 20px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
}
@media (max-width: 767px) {
  footer,
  footer .woiteh {
    text-align: center;
  }
  footer .footer-copyright .woiteh {
    margin-top: 10px;
  }
  footer .row > div {
    margin-top: 20px;
  }
  footer .row > div:first-child {
    margin-top: 0;
  }
  footer .footer-copyright .row p {
    text-align: center;
  }
  footer p span:first-child {
    width: auto;
  }
}
@media (max-width: 550px) {
}