/* -- General Style -- */
html
{
	scroll-behavior: smooth;
}
body
{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}
#nav
{
    position:fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 75px;
    width: 100%;
    height: 150px;
    background: rgba(18, 18, 18, 0.9);
    font-family: 'Lato', sans-serif;
    z-index: 100000000;
}
#nav img
{
    height: 100px;
}
.nav-links
{
    display: flex;
    justify-content: space-around;
    width: 50%;
}
.nav-links li
{
    list-style: none;
}
.nav-links a
{
    text-decoration: none;
    color: #fae7e7;
    font-size: 22px;
    transition: 0.6s;
}
.nav-links a:hover
{ 
    color: #fd7474;
    font-size: 26px;
}
.HOME_IMG
{
    height: 100vh;
    width: 100%;
    background: url(air1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation-name: animate;
    animation-direction: alternate-reverse;
    animation-duration: 30s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: ease-in-out;
}
.HOME_IMG h1
{
    font-family: verdana;
    font-size: 120px;
    color: #E6181B;
    text-shadow: 1px 1px 1px #9f1214,
        1px 2px 1px #9f1214,
        1px 3px 1px #9f1214,
        1px 4px 1px #9f1214,
        1px 5px 1px #9f1214,
    1px 10px 6px rgba(16,16,16, 0.8),
    1px 15px 8px rgba(16,16,16, 0.7),
    1px 18px 20px rgba(16,16,16, 0.7),
    1px 22px 30px rgba(16,16,16, 0.6);
    position: absolute;
    transform: translate(-50%,-50%);
    left:50%;
    top:50%;
}
#topBtn
{
	position: fixed;
	width: 50px;
	height: 50px;
	background: #9f1214;
	bottom: 50px;
	right: 50px;
	font-size:32px;
	text-align:center;
	line-height:50px;
	display: none;
}
#topBtn a
{
	color:#ffffff;
}
.BG_IMG
{
    height: 850px;
    width: 100%;
    background: url(air1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation-name: animate;
    animation-direction: alternate-reverse;
    animation-duration: 30s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: ease-in-out;
}
.BG_IMG h1
{
    font-family: verdana;
    font-size: 120px;
    color: #E6181B;
    text-shadow: 1px 1px 1px #9f1214,
        1px 2px 1px #9f1214,
        1px 3px 1px #9f1214,
        1px 4px 1px #9f1214,
        1px 5px 1px #9f1214,
    1px 10px 6px rgba(16,16,16, 0.8),
    1px 15px 8px rgba(16,16,16, 0.7),
    1px 18px 20px rgba(16,16,16, 0.7),
    1px 22px 30px rgba(16,16,16, 0.6);
    position: absolute;
    transform: translate(-50%,-50%);
    left:50%;
    top:365px;
}
.id
{
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 72px;
    margin-top:50px;
    margin-bottom: 20px;
}
.content1
{
    position: relative;
    width: 60%;
    height: 450px;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 100px;
    margin-bottom: 100px;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    box-shadow: 0px 0px 20px rgba(0,0,0,1);
}
.content2
{
    position: relative;
    width: 60%;
    height: 450px;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 100px;
    margin-bottom: 100px;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    box-shadow: 0px 0px 20px rgba(0,0,0,1);
}
.content3
{
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 50px;
    margin-bottom: 50px;
    height: auto;
    position: relative;
}
.content3::after
{
  content: "";
  display: table;
  clear: both;
}
.content3-kafelki
{
    clear: both;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0;
}
.content3-kafelki img
{
    aspect-ratio: 1/1;
    object-fit: cover;
    margin:auto;
    margin: 10px 0px 10px 0px;
    padding: 0;
}
.tile
{
    position:relative;
    width: 23%;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
.tile:hover
{
    z-index: 10;
    transform: scale(1.1);
}
.tile2
{
    position:relative;
    width: 23%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
.tile2:hover
{
    z-index: 10;
    transform: scale(1.1);
}
hr
{
    margin-top: 20px;
    margin-bottom: 50px;
    clear: both;
    width: 60%;
}
.id hr
{
    margin-top: 20px;
    margin-bottom: 50px;
    clear: both;
    width: 100%;   
}
.content3-pic
{
    width: 40%;
    float:left;
}
.content3-pic img
{
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
}
.content3-pic2
{
    width: 40%;
    float:left;
}
.content3-pic2 img
{
    margin-left: 10%;
    margin-right: 10%;
    width: 100%;
}
.content3-text
{
    width: 60%;
    font-family: verdana;
    float:left;
    color: #4F4F4F;
    font-size: 0.9em;
}
.content3-text2
{
    width: 60%;
    font-family: verdana;
    float:left;
    color: #4F4F4F;
    font-size: 0.9em;
    margin-bottom: 50px;
}
.content3-text3
{
    width: 100%;
    font-family: verdana;
    float:left;
    color: #4F4F4F;
    font-size: 0.9em;
    margin-bottom: 50px;
    position: relative;
}
.content3-text3 table tr td
{
    width: 50%;
}
.link-viessmann
{
    display: inline;
    background-color: transparent;
    padding: 0px;
    color: #E6181B;
    text-decoration: none;
}
.link-viessmann:hover
{
    background-color: transparent;
    color: #f83e51;
}
.realizacje
{
    display: inline-block;
    background-color: #E6181B;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    font-family: Verdana;
    transition: background-color 0.6s, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
.realizacje:hover
{
    background-color: #f83e51;
    transform: scale(1.1);
    z-index: 10;
}
.content-container
{
    width: 100%;
    margin:0;
    padding-top: 20px;
    padding-bottom: 20px;
}
.content-container:nth-child(odd)
{
    background-color: rgba(0, 0, 0, 0.0);
}
.content-container:nth-child(even)
{
    background-color: rgba(0, 0, 0, 0.1);
}
.content3-text3 table tr td:nth-child(2)
{
    text-align: center;
}
.content3-title-container
{
    color: #2F2F2F;
    letter-spacing: 5px;
}
.title-underline
{
    background-color: #E6181B;
    width: 50%;
    height: 3px;
    display: block;
}
.content3-text table
{
    width: 100%;
    margin-bottom: 50px;
}
.content3-text table tr td
{
    vertical-align: top;
}
.content3-text table tr a
{
    color:#E6181B;
    text-decoration: none;    
}
.content3-text table tr a:hover
{
    color:#f83e51;
    text-decoration: none;
}
.copy-link
{
    cursor: pointer;
}
#copyMessage 
{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4CAF50;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
#copyMessage.show 
{
  opacity: 1;
}
.content3-text2 table
{
    width: 100%;
    margin-bottom: 50px;
    margin-top: 30px;
}
.content3-text2 table tr td
{
    vertical-align: top;
}
.content3-text2 table tr a
{
    color:#E6181B;
    text-decoration: none;    
}
.content3-text2 table tr a:hover
{
    color:#f83e51;
    text-decoration: none;    
}
.context
{
    position: relative;
    width: 90%;
    top:5%;
    bottom:5%;
    margin-left: 5%;
    margin-right: 5%;
}
.BUILD_IMG
{
    height: 600px;
    width: 100%;
    background: url(e-mail.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer-container
{
    width: 100%;
    background: rgba(18, 18, 18, 0.9);
    color: #fff;
    text-align: center;
    clear: both;
    margin:0px;
    padding: 0px;
    box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.3);
}
.footer-container table tr td
{
    width: 50%;
    padding-left: 20px;
    padding-right: 20px;
}
.contact-footer-content table tr td:nth-child(2)
{
    text-align: left;
    font-size: 0.9rem;
}
.contact-footer-content table tr td:nth-child(2) div
{
    width: 50%;
    float:left;
}
.contact-footer-links
{
    justify-content: space-around;
}
.contact-footer-links
{
    padding:0;
}
.contact-footer-links li
{
    list-style: none;
    margin-bottom: 15px;
}
.contact-footer-links a
{
    text-decoration: none;
    color: #fae7e7;
    transition: 0.6s;
}
.contact-footer-links a:hover
{ 
    color: #fd7474;
}
.footer-container hr
{
    width: 80%;
    border-top: none;
    border-color: rgba(100, 100, 100, 0.9);;
    margin: 0 auto;
    padding: 0px;
}
.contact-footer
{
    width: 100%;
    height: 292px;
    clear: both;
    margin:0px;
    padding: 0px;
    padding-bottom: 50px;
    font-size: 1rem;
}
.contact-footer-content
{
    color: #e2e2e2;
    font-family: verdana;
    padding-top: 40px;
    padding-left: 20%;
    padding-right: 20%;
    text-align: left;
}
.contact-footer-content img
{
    width: 55%;
}
.footer
{
    width: 100%;
    clear: both;
    margin:0px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.footer-text
{
    padding-left: 20%;
    padding-right: 20%;
    text-align: left;
}
.footer-text table
{
    width: 100%;
}
.footer-text td
{
    width: 50%;
}
.footer-text td:nth-child(2)
{
    text-align: right;
}
iframe
{
    margin: 0px;
    padding :0px;
    display: block;
}
@keyframes animate
{
    0%
    {
        background: url(air1.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    20%
    {
        background: url(dirty-equipment-industrial-plant-industry-416423.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    40%
    {
        background: url(vent-wallpaper-2560x1440.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    60%
    {
        background: url(air2.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    80%
    {
        background: url(air3.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    100%
    {
        background: url(air4.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}
.burger
{
    display: none;
    cursor: pointer;
}
.burger div
{
    width: 50px;
    height: 6px;
    color: #fae7e7;
    background-color: #fae7e7; 
    margin: 10px;
    transition: all 0.5s ease;
}
@media screen and (max-width:2560px)
{
    .id
    {
        text-align: center;
        font-family: 'Lato', sans-serif;
        font-size: 72px;
        margin-top: 50px;
    }
    .content1
    {
        position: relative;
        width: 60%;
        height: 450px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 32px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 60%;
        height: 450px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 32px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
}
@media screen and (max-width:1920px)
{
    .id
    {
        text-align: center;
        font-family: 'Lato', sans-serif;
        font-size: 32px;
    }
    .content1
    {
        position: relative;
        width: 60%;
        height: 400px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 26px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 60%;
        height: 450px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 26px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
}
@media screen and (max-width:1280px)
{
    .nav-links
    {
        display: flex;
        justify-content: space-around;
        width: 60%;
    }
    .nav-links a
    {
        text-decoration: none;
        color: #fae7e7;
        font-size: 20px;
        transition: 0.6s;
    }
    .nav-links a:hover
    { 
        color: #fd7474;
        font-size: 22px;
    }
    .HOME_IMG h1
    {
        font-size: 72px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:50%;
    }
    .BG_IMG h1
    {
        font-size: 72px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:365px;
    }
    .id
    {
        text-align: center;
        font-family: 'Lato', sans-serif;
        font-size: 32px;
    }
    .content1
    {
        position: relative;
        width: 60%;
        height: 300px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 20px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 60%;
        height: 350px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 20px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
}
@media screen and (max-width:1024px)
{
    .content3-pic2
    {
        display: none;
        width: 0%;
    }
    .content3-pic
    {
        float: none;
        width: 100%;
    }
    .content3-text2
    {
        float: none;
        width: 100%;
    }
    
    .nav-links
    {
        display: flex;
        justify-content: space-around;
        width: 70%;
    }
    .nav-links a
    {
        text-decoration: none;
        color: #fae7e7;
        font-size: 12px;
        transition: 0.6s;
    }
    .nav-links a:hover
    { 
        color: #fd7474;
        font-size: 14px;
    }
    .id
    {
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .content1
    {
        position: relative;
        width: 60%;
        height: 300px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 20px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 60%;
        height: 450px;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 20px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .contact-footer-content table tr td:nth-child(2) div
    {
        width: 100%;
        text-align: right;
    }
    .contact-footer-content table tr td:nth-child(2) div:nth-child(2)
    {
        display: none;
        width: 0%;
        float:left;
    }
}
@media screen and (max-width:768px)
{
    body
    {
        overflow-x: hidden;
    }
    .nav-links
    {
        position: absolute;
        right: 0px;
        height: 400px;
        top: 134px;
        background: rgba(18, 18, 18, 0.9);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 30%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .HOME_IMG h1
    {
        font-size: 38px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:50%;
    }
    .BG_IMG
    {
        height: 500px;
    }
    .icon-left-open
    {
        margin-top: 214px;
    }
    .icon-right-open
    {
        margin-top: 214px;
    }
    .BG_IMG h1
    {
        font-size: 38px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:231px;
    }
    .id
    {
        font-size: 24px;
    }
    .content1
    {
        position: relative;
        width: 80%;
        height: 250px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 80%;
        height: 400px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .nav-links li
    {
        opacity: 0;
    }
    .nav-links a
    {
        text-decoration: none;
        color: #fae7e7;
        font-size: 12px;
        transition: 0.6s;
    }
    .nav-links a:hover
    { 
        color: #fd7474;
        font-size: 14px;
    }
    .burger
    {
        display: block;
    }
}
.nav-active
{
    transform: translateX(0%);
}
.toggle .line1
{
    transform: rotate(-45deg) translate(-10px,12px);
}
.toggle .line2
{
    opacity: 0;
}
.toggle .line3
{
    transform: rotate(45deg) translate(-10px,-12px);
}
@media screen and (max-width:425px)
{
    .HOME_IMG h1
    {
        font-size: 26px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:50%;
    }
    .BG_IMG h1
    {
        font-size: 26px;
        color: #E6181B;
        position: absolute;
        transform: translate(-50%,-50%);
        left:50%;
        top:231px;
    }
    .id
    {
        font-size: 18px;
    }
    .content1
    {
        position: relative;
        width: 80%;
        height: 300px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 80%;
        height: 550px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    #nav
    {
        height: 100px;
    }
    .nav-links
    {
        height: 200px;
        top: 84px;
        width: 30%;
    }
    #nav img
    {
        height: 50px;
    }
    .burger div
    {
        width: 25px;
        height: 3px;
        color: #fae7e7;
        background-color: #fae7e7; 
        margin: 5px;
        transition: all 0.5s ease;
    }
    .toggle .line1
    {
        transform: rotate(-45deg) translate(-5px,6px);
    }
    .toggle .line2
    {
        opacity: 0;
    }
    .toggle .line3
    {
        transform: rotate(45deg) translate(-5px,-6px);
    }
    .contact-footer-content table tr td:nth-child(1)
    {
        width: 100%;
    }
    .contact-footer-content table tr td:nth-child(2)
    {
        width: 0;
        display: none;
    }
}
@media screen and (max-width:320px)
{
    .content1
    {
        position: relative;
        width: 80%;
        height: 350px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
    .content2
    {
        position: relative;
        width: 80%;
        height: 550px;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 100px;
        margin-bottom: 100px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        box-shadow: 0px 0px 20px rgba(0,0,0,1);
    }
}
@keyframes navLinkFade
{
    from
    {
        opacity: 0;
        transform: translateX(50px);
    }
    to
    {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Realizations slider */

.slider {
  position: relative;
  width: 60%;
  height: 500px;
  margin-left: 20%;
  margin-right: 20%;
  margin-bottom: 50px;
  overflow: hidden;
  background-color: #000;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.caption {
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  clip-path: polygon(0% 0%, 100% 0%, 60% 100%, 0% 100%);
  color: #fff;
  padding: 40px;
  font-size: 1rem;
  overflow-y: auto;
  box-sizing: border-box;
  font-family: verdana;
}

.dots {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 25px;
  height: 7px;
  border-radius: 0%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active
{
    background-color: white;
}
.dot:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 700px) {
  .caption {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 100%;
    height: 40%;
    padding: 16px;
    font-size: 0.9rem;
  }
}

.fb-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 proporcje */
  height: 0;
  overflow: hidden;
}

.fb-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
