*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-position:center ;
    background-size: cover;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/castrol/A521_CPP_Side_99999-99999-rgb.jpg);
    background-attachment:fixed;
}
@supports (background-image: url("image.webp")) {
  .header{
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/castrol/A521_CPP_Side_99999-99999-rgb.webp);
  }
}
nav
{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav #telefon
{
    display: inline-block;
}
nav .fa
{
    display: none;
}
.nav-links
{
    text-transform: uppercase;
    flex: 1;
    text-align: center;
}
.nav-links ul li
{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a
{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.nav-links ul li::after
{
    content: '';
    width: 0%;
    height: 2px;
    background: #fd2617 50%;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after
{
    width: 100%;
}
.text-header
{
    text-align: center;
    width: 100%;
    color: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
}
.text-header h1
{
    font-size: 90px;
}
.text-header p
{
    padding: 10px 0 40px 0;
    font-size: 25px;
    color: #fff;
}
/*-----------------------------------------BTN--------------------------------------------------*/
.zajrzyj
{
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 0 40px #c73a3a;
    border: none;
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.zajrzyj:hover
{
    transition: 1s;
    background: #ad281f;
    color: #fff;
}
.zajrzyj::before, .zajrzyj::after {
    content: '';
    border: 2px solid #c73a3a;
    border-radius: 5px;
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
    animation: rotating 3s infinite linear;
}
.zajrzyj::after {
    animation-delay: 1.5s;
}
@keyframes rotating {
    0% {clip-path: inset(96% 0 0 0);}
    20% {clip-path: inset(0 96% 0 0);}
    50% {clip-path: inset(0 0 96% 0);}
    75% {clip-path: inset(0 0 0 96%);}
    100% {clip-path: inset(96% 0 0 0);}
}
@media(max-width:1400px)
{
    .text-header h1 
    {
        font-size: 24px;
    }
    .text-header p
    {
    font-size: 15px;
    }
    .nav-links ul li
    {
        display: block;
    }
    .header
    {

        background-position:right;
    }
    .nagranie{
        background-position:right;
    }
    .nav-links
    {
        position:absolute;
        background:rgb(39, 38, 54);
        height: 0;
        width: 200px;
        top: 0;
        text-align: left;
        right: 0;
        z-index: 2;
        transition: 1s;
        overflow: hidden;
    }
    nav .fa
    {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
    }
    nav #telefon
    {
        padding: 35px;
    }
    .nav-links ul
    {
        text-align: center;
        padding: 30px;
    }
    .JBC
    {
        width: 100%;
        height: auto;
    }
}
/*-----------------------------OFFER---------------------------------*/
.offer{
    background: white;
    min-height: 100vh;
    width: 100%;
    text-align: center;
}
.offer h2{
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 3vh;
    font-size: 6vh;
}
.karta{
    width: 40vh;
    height: 60vh;
    background-color: rgb(27, 27, 37);
    border-radius: 4%;
    margin: 1.5% 1.5% 3% 1.5%;
    text-align: center;
    display: inline-block;
}
.karta img{
    width: 20.83vh;
    height: 13.14vh;
    border-radius: 8%;
    margin: 4%;
}
.karta h2{
    color: rgb(200, 80, 80);
    font-size: 4vh;
}
.karta p span{
    color: white;
    line-height: 2;
    font-size: 2.5vh;
    
}
.karta:hover{
    transform: translateY(-10px);
    transition-duration: 0.5s;
    box-shadow: 0 0 15px red;
}
/*-----------------------------FILMY-------------------------*/
#filmy{
    text-align: center;
    margin-bottom:4vh;
}
#filmy video{
    box-shadow: 0 0 8px white;
    border-radius: 1%;
    height: 25vw;
    width: auto;
    margin: 1vh;
    display: inline-block;
}
@media(max-width:992px)
{
    #filmy video{
        height: 45vw;
        width: auto;
        margin: 1vh 0 1vh 0;
    }
}
/*-----------------------------------------SLIDER--------------------------------------------------*/
@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-207px * 7))}
}
	.slide-track {
		animation: scroll 43s linear infinite;
		display: flex;
	}
	.slide{
		margin: 0 2vh 0 2vh;
		background-color: white;
	}
	.slide img{
		width: 30vh;
		height: auto;
		padding: 1vh;
		
		box-shadow: 0 0 2px black;
	}
	#Partnerzy{
		overflow: hidden;
		background: white;
		padding-bottom: 4vh;
	}
/*-----------------------------FOOTER/FILMY-------------------------*/
.nagranie
{
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/castrol/Castrol-19.jpg);
    width: 100%;
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    position: relative;
    background-attachment:fixed;
    padding-top: 50px;
}
@supports (background-image: url("image.webp")) {
  .nagranie{
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/castrol/Castrol-19.webp);
  }
}
.footer-box .fa {
    margin-right: 8px;
    font-size: 25px;
    width: 40px;
    height: 40px;
    padding-top: 7px;
    text-align: center;
    border-radius: 2px;
    background-image: linear-gradient(to right,#211E8D,#581E8D);
}
.footer-box p {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-align: center;
}
hr
{
    background-color: #fff;
}
.copyright
{
    color: #fff;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
}
.social-icons img
{
    width: 60px;
    transition: 0.5s;
}
.social-icons a:hover img{
    transform: translateY(-10px);
}
#gmap_canvas
{
    position: relative;
    text-align: center;
}
.JBC2
{
    width: 42%;
    height: auto;
}
@media(max-width:992px)
{
    .footer-box p
    {
        margin: 5px 5px;
        text-align: center;
    }
    .mapa{
        margin: 2vh 0 2vh 0;
    }
    .footer-box img {
        text-align: center;
    }
    .JBC2
    {
        width: 45%;
        height: auto;
    }
}

.ue{
    width: 100%;
    text-align: center;
    
}
.kartaUE{
    display: inline-block;
}
.kartaUE img{
    padding: 1vh;
}
/*------------------------------------MAPA-------------------------------------------*/
.up
{
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}
.up a
{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.up::after
{
    content: '';
    width: 0%;
    height: 2px;
    background: #fd2617;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.up:hover::after
{
    width: 40%;
}
.up:hover{
    color: white;
}


/*------------------------------------COOKIES-------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(27, 27, 37);
  padding: 15px;
  z-index: 1000;
  font-family: Arial, sans-serif;
  text-align: right;
}
.cookie-banner p{
    text-align: center;
    font-size: x-large;
    padding: 0;
    margin: 0;
    color: white;
}
.cookie-banner p a{
    text-decoration: none;
    font-size: small;
}
.cookie-banner button {
  margin-left: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #3743f1;
  color: #fff;
}

.cookie-panel {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(27, 27, 37);
  padding: 15px;
  border: 2px solid #ccc;
  color: white;
  border-radius: 15px;
  z-index: 1001;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
  text-align: center;
}
.cookie-panel p a{
    text-decoration: none;
    font-size: small;
}
#save-settings{
    margin-left: 5px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #3743f1;
    color: #fff;
}

#cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(27, 27, 37);
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
/*------------------------------------POPRAWKI-------------------------------------------*/
/* #PromoHeader{
    color: rgb(255, 46, 46);
    font-weight: 700;
    font-size: 5vh;
    animation: pulse 1.5s ease-in-out infinite;
    opacity: 0;
}
@keyframes pulse {
      0% {
        opacity: 0.5;
      }
      50% {
        opacity: 1;
      }
      100% {
        opacity: 0.5;
      }
    }
#PromoContent{
    color: white;
    font-weight: 500;
    font-size: 3vh;
}
#PromoDiv{
    margin-top: 2vh;
    width: 50vh;
    height: 23vh;
    background-color: rgb(27, 27, 37);
    border-radius: 2.5%;
    text-align: center;
    display: inline-block;
}
#PromoFooter{
    color: rgb(187, 187, 187);
    font-size: 1.5vh;
}
@media(max-width:992px)
{
    #PromoDiv{
        width: 90vw;
    }
} */