
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Blokada poziomego scrolla */
    font-family: Verdana;
    background-color:rgba(0, 0, 0, 0.7);
    background-size: cover;
    color: #ffffff;
    text-align: center;
	position: relative;
}

/* HEADER */
header {
    width: 100vw; /* Header ma dokładnie szerokość okna */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0px 20px; /* Usunięcie zbędnego paddingu poziomego */
    z-index: 1000;
    background-color:rgba(0, 0, 0, 1);
	position: fixed;
	top:0;
}
	

/* LOGO */
.logo {
    position: fixed;
    top: 10px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
	padding:10px;
	margin:10px;
}
.logoimg{
	width:700px;
	position: relative;
	z-index: 9999;
}

/* JĘZYKI */
.lang {
    position: absolute;
    top: 10px;
    right: 20px;
    white-space: nowrap;
	padding:10px;
}

.lang a {
    color: white;
    margin: 0 5px;
    font-weight: bold;
}

/* MENU */
nav {
    margin-top: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* OVERLAY */
.overlay {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Overlay jest teraz tej samej szerokości co header */
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
    pointer-events: none;
}

/* HERO - BANER */
.hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    flex-direction: column;
    z-index: 2;
}
.about-hero{
    position: relative;
    justify-content: left;
    font-size: 14px;
    color: white;
    z-index: 2;
}
.about-hero-header{
    font-size: 30px;
    text-shadow: 2px 2px 6px black;
	position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgb(251, 0, 255), #9d00ff);
    padding: 10px;
    color: white;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}
.about-hero-header:hover{
	text-shadow: 1px 1px 4px white;
    transition: all 0.2s ease-in-out;
}
/* INFO BOXY */
.info-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    flex-wrap: wrap; /* Dzięki temu nie wychodzą poza ekran */
}

.box {
    z-index: 1;
    width: 230px;
    height: 160px;
    background: linear-gradient(to bottom, rgb(195, 0, 255), #8400ff);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: 100% 200%; /* Powiększenie gradientu */
    background-position: top; /* Domyślna pozycja */
    transition: all 0.3s ease-in-out;
}

.box:hover {
    width: 240px;
    background-position: bottom; /* Przesunięcie gradientu */
}

.box-desc{
    font-size: 15px;
    font-weight: 700;
    margin: 5px;
}
.box-desc:hover{
    text-shadow: 1px 1px 4px white;
    transition: all 0.2s ease-in-out;

}
.americancars{
    margin: 0;
}
.site{
    text-shadow: 1px 1px 4px white;
	background: linear-gradient(to bottom, rgb(195, 0, 255), #8400ff);
	padding:10px;
	border-radius:10px;
	text-decoration:none;
}
.nav-link {
    position: relative;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 6px black;
	background: linear-gradient(to bottom, rgb(195, 0, 255), #8400ff);
	padding:10px;
	border-radius:10px;
	text-decoration:none;
}

.nav-link:hover{
    text-shadow: 1px 1px 4px white;
    transition: all 0.2s ease-in-out;
}

.hero-header{
    margin-bottom: 0px;
}
.hero-desc{
    text-decoration: none;
    color: rgb(207, 207, 207);
    text-shadow: 2px 2px 6px black;
    font-size: 15px;
    margin-top: 0px;
}

.box-link{
    position: relative;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 6px black;
}
.box-link:hover{
    text-shadow: 1px 1px 4px white;
    transition: all 0.2s ease-in-out;
}

/* STOPKA */
footer {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgb(251, 0, 255), #9d00ff);
    padding: 10px;
    color: white;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.other{
    z-index: 1;
    position: relative;
    text-shadow: 2px 2px 6px black;
	background: linear-gradient(to bottom, rgb(195, 0, 255), #8400ff);
	padding: 10px;
	font-size:30px;
}
.other:hover{
    text-shadow: 1px 1px 4px white;
    transition: all 0.2s ease-in-out;

}


.hamburger {
    position: absolute;
    top: 15px;
    left: 20px;
    display: none;
    width: 25px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Odstęp między obrazkiem a tekstem */
    max-width: 80%;
    margin: auto;
    text-align: left;
    margin-top: 100px;
    margin-bottom: 100px;
	background-image: linear-gradient(to bottom, #df73e0, #c383d7, #ac8dc7, #9e94b1, #979797);
    border-radius: 10px;
	padding-top:20px;
	padding-bottom:20px;
}

.about-img {
    width: 40%; /* Obrazek zajmuje 40% szerokości */
    max-width: 400px;
    height: auto;
    border-radius: 10px; /* Zaokrąglenie rogów */
}

.about-text {
    width: 60%; /* Tekst zajmuje 60% szerokości */
    font-size: 20px;
    line-height: 1.5;
    padding: 20px;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
}
.text-box{
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    font-size: 20px;
	width: 60%;
}
.offer-container{
    margin-top: 100px;
    margin-bottom: 100px;
    width: 60%;
    margin: auto;
	background-image: linear-gradient(to bottom, #df73e0, #c383d7, #ac8dc7, #9e94b1, #979797);
	border-radius: 10px;
	padding-top:20px;
	padding-bottom:20px;
	max-width: 80%;
    justify-content: center;
	display: flex;
    align-items: center;
}

.offer-desc{
    font-size: 14px;
}
.arrow{
    color: gold;
    font-weight: bold;
}
.desc-title{
    color: #e100ff;
    font-weight: bold;
}
.prizes{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    flex-wrap: wrap; 
}
.products{
    text-align: center;
    background-image: linear-gradient(to bottom, #df73e0, #c383d7, #ac8dc7, #9e94b1, #979797);
    border-radius: 10px;
    padding-top: 10px;
    font-size: 18px;
	padding:20px;
    flex-wrap: wrap; 
	display: flex;
	justify-content: center;
	gap: 20px;
}
.prizes-text-box{
    text-align: center;
    background-image: linear-gradient(to bottom, #df73e0, #c383d7, #ac8dc7, #9e94b1, #979797);
    border-radius: 10px;
    padding-top: 10px;
    font-size: 18px;
    width: 300px;
	padding:20px;
}
.prizes-text-boxes{
    text-align: center;
    padding-top: 10px;
    font-size: 18px;
    width: 300px;
	padding:20px;
}
.prizes-img{
    border-radius: 10px;
    margin-top: 10px;
}
.formularz{
	background-color: rgba(0, 0, 0, 0.7);
	text-align:center;
	font-size: 12px;
    line-height: 1.5;
    padding: 20px;
	border-radius: 10px;
}
.offer-link{
    color: #e100ff;
}
.contact-desc{
    color: #e100ff;
}
.prizes-img{
    transition: transform 0.3s ease;
    cursor: pointer;
}
  
.prizes-img:active {
    transform: scale(1.5);
}
.offer-img{
    margin-top: 15px;
    border-radius: 10px;
}
.seles-offer-link{
    color: #e100ff;
    font-size: 15px;
    font-weight: bold;
}
/* RESPONSYWNOŚĆ */
@media (max-width: 1100px) {
    header {
        flex-direction: column;
        align-items: center;
        width: 100vw; /* Upewniamy się, że header nie przekracza szerokości ekranu */
        padding: 10px 0;
    }

    .logo {
        position: absolute;
        top: 0px;
        left: 20px;
        
    }

    .lang {
        position: absolute;
        top: 10px;
        right: 35px;
    }

    nav {
        margin-top: 60px;
    }

    .info-boxes {
        flex-direction: column;
        align-items: center;
    }
    
}
@media (max-width: 750px){
    nav {
        max-height: 0;  /* Początkowo ukryte */
        opacity: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
        text-align: center;
        width: 100%;
        margin-top: 100px;
        transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    }
    
    nav.open {
        max-height: 500px; /* Dostosuj wysokość do zawartości */
        opacity: 1;
        padding: 10px 0;
    }
    

    nav ul {
        flex-direction: column; /* Elementy w pionie */
        gap: 15px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }
    .logo{
        display: none;
    }
    .hamburger{
        display: flex;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-img {
        width: 90%; /* Obrazek szerszy na małych ekranach */
    }

    .about-text {
        width: 100%;
    }

}
@media (max-width: 480px) {

  body, html {
    font-size: 14px;
    background-color: black !important;
  }

  header {
    padding: 10px 0;
    position: static; /* Header przestaje być fixed, nie zasłania treści */
	background-color: black !important;
  }

  .hero {
    height: auto;
    padding: 20px 10px;
    font-size: 24px;
    text-align: center;
  }

  .about-hero-header {
    font-size: 20px;
    padding: 8px;
    margin-top: 10px;
  }
  .logo{
	width:300px;
  }
  .text-box,
  .about-text,
  .offer-container,
  .prizes-text-box {
    width: 90%;
    font-size: 16px;
  }

  .about-img,
  .prizes-img,
  .offer-img {
    width: 70% !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }

  .lang {
    position: static;
    margin-top: 10px;
  }

  .prizes {
    flex-direction: column;
    gap: 10px;
  }

  .prizes-text-box {
    width: 90%;
    font-size: 16px;
  }

  .formularz {
    font-size: 14px;
    padding: 15px;
  }

  .other {
    font-size: 22px;
    padding: 10px;
  }

  .nav-link,
  .box-link,
  .seles-offer-link {
    font-size: 14px;
  }

  nav.open {
    margin-top: 20px;
  }
  nav ul li a {
    line-height: 2.5; /* większy odstęp dla dotykowego ekranu */
  }
}
