/*NASZ CSS*/

@font-face {
    font-family: 'Excelorate';
    src: url(../fonts/Excelorate-Font.otf);
}

@font-face {
    font-family: 'GoodTiming';
    src: url(../fonts/good\ timing\ bd.otf);
}

*{
    box-sizing: border-box;
}

section{
    overflow: hidden; /* Zapobiega przewijaniu, gdy elementy wychodzą poza sekcję */
}

/*SEKCJA PIERWSZA*/
#pierwsza {
    width: 100%;
    min-height: 100vh;
    position: relative;
    
    /*tło */
    background-image: url('../img/tlo.jpg'); 
    background-size: cover;          
    background-position: center;     
    background-repeat: no-repeat;
    
}

.hero-container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    position: relative;
    margin: 0 auto;
    overflow:hidden; /*ukrywa elementy wystające poza sekcję*/
}

/* POZYCJONOWANIE (absolutne względem hero-container) */
.disco-ball { position: absolute; top: 0%; left: 10vw; width: 30vw; z-index: 1 }
.nineties { position: absolute; top: 10%; right: 15%; width: 20vw; transform: rotate(1deg); z-index: 1 }
.boom { position: absolute; bottom: 8%; left: 20%; width: 20vw; transform: rotate(-10deg); z-index: 1 }
.phone { position: absolute; bottom: 0%; right: 20%; width: 30vw; z-index: 1 }
.girl {position: absolute; right: 0; bottom: 0; width: 35vw; z-index: 0;}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero-text h1 { 
    font-family: 'Excelorate', sans-serif;
    font-size: clamp(4rem,20vw, 20rem);
    color: #F961A9;
    text-shadow: 60px 60px 60px #525151;
    margin: 0;
    transform: rotate(-5deg);
}

.hero-text p { 
    font-family: 'GoodTiming', sans-serif;
    font-size: 4rem;
    color: #fff; /* Ustaw biały kolor, żeby był widoczny na tle */
    margin-top: -20px;
    transform: rotate(-5deg);
}

/*ten pasek ktory się przesuwa*/
.marquee-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #9C499F; /*pasek */
    color: #ECFA7E;
    height: 80px;
    display: flex;
    align-items: center;
    overflow: hidden; /*ukrywa tekst wychodzący poza pasek*/
    z-index: 3;
}

.marquee-text {
    white-space: nowrap; /* tekst nie zawija się do nowej linii */
    display: inline-block;
    padding-left: 100%;
    font-family: 'GoodTiming', sans-serif;
    font-size: 3rem;
    animation: marquee 100s linear infinite; /* Animacja trwa 100 sekund */
}

@keyframes marquee {
    0% { transform: translateX(0) } 
    100% { transform: translateX(-100%); } 
}

/* SEKCJA DRUGA */
#druga {
    /* width: 100%; */
    min-height: 60vh;
    background-color: #C3AAE9; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    overflow: hidden;
}

.poster-container {
    position: relative;
    text-align: center;
    width: 100%;
    /* background-color: red; */
    /* max-width: 1000px; */
}

.poster-title {
    font-family: 'GoodTiming', sans-serif;
    font-size: 5rem;
    color: #ECFA7E;
    margin-bottom: 20px;
}

.poster-card {
    display: inline-block;
    position: relative;
}

/*plakat britney*/
.poster-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.poster-subtitle {
    font-family: 'GoodTiming', sans-serif;
    font-size: 2rem;
    color: #ECFA7E;
    margin-top: 40px;
}


/*płyty*/
.cd-left {
    position: absolute;
    top: -10%;
    left: 0;
    transform: translateX(-30%);
    width: 30vw;
    z-index: 0;
}

.cd-right {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 30vw;
    transform: translateX(50%);
    z-index: 2;
}

/*serce*/
.heart-icon {
    position: absolute;
    bottom: -8%;
    left: -25%;
    width: 500px;
    z-index: 1;
}

/* SEKCJA TRZECIA - GŁOSOWANIE */
#trzecia {
    width: 100%;
    min-height: 60vh;
    background-color: #E8F97A; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 20px;
    z-index: 0;
}

/*ty wybierasz, głosuj na hit tygodnia*/
.vote-container {
    text-align: center;
    max-width: 1200px;
}

/*ty wybierasz*/
.vote-main-title {
    font-family: 'GoodTiming', sans-serif;
    font-size: 3rem;
    color: #F961A9;
    margin-bottom: 5px;
}

/*głosuj na git tygodnia*/
.vote-sub-title {
    font-family: 'GoodTiming', sans-serif;
    font-size: 4rem;
    color: #F961A9;
    margin-bottom: 40px;
}

.vote-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Dzięki temu miniatury przejdą do nowej linii na telefonie */
}

/*linki do teledysków*/
.video-link {
    display: block;
    width: 350px;
    border: 5px solid #F961A9;
    text-decoration: none;
    transition: transform 0.2s;
}

.video-link:hover {
    transform: scale(1.05);
}

.video-link img {
    width: 100%;
    display: block;
    height: 140px; /* ujednolicona wysokość */
    object-fit: cover;
}

/*tytuły piosenek*/
.song-title {
    display: block;
    background: #C0C0C0;
    padding: 15px;
    text-align: center;
    font-family: 'GoodTiming', sans-serif;
    color: #F961A9;
    font-weight: bold;
    border-top: 3px solid #F961A9;
}

/*ptzycisk głosuj*/
.submit-vote {
    padding: 20px 60px;
    background-color: #F961A9;
    color: #ECFA7E;
    font-family: 'GoodTiming', sans-serif;
    font-size: 2rem;
    border: 5px solid #9C499F;
    cursor: pointer;
    margin-top: 20px;
}

/*wyniki głosowania ogłosimy...*/
.vote-footer {
    margin-top: 30px;
    font-family: 'GoodTiming', sans-serif;
    font-size: 0.9rem;
    color: #F961A9;
}

/* SEKCJA CZWARTA */
#czwarta {
    width: 100%;
    min-height: 100vh;
    background-color: #F0B8CD; /* Różowe tło */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    position: relative;
}

/*flash news: miesięczny raport pop*/
.news-container {
    width: 100%;
    max-width: 1200px;
}

/*flash news: miesieczny raport pop!*/
.news-main-title {
    font-family: 'GoodTiming', sans-serif;
    font-size: 3rem;
    color: #ECFA7E;
    text-align: center;
    margin-bottom: 40px;
}

/*kolumny news*/
.news-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.news-card {
    flex: 1;
    padding: 20px;
}

/*gorąco*/
.highlight { 
    background-color: #ECFA7E; 
    font-family: 'GoodTiming', sans-serif;
    font-size: 2rem;
    color: #F961A9;
} 

/*gadzet miesiaca*/
.gadget { 
    background-color: #a0a0a0; 
    font-family: 'GoodTiming', sans-serif;
    font-size: 2rem;
    color: #9C499F;
}    

/*zdjęcie britney spears*/ 
.news-img{
    width: 200px;
    margin-top: 10px;
    
} 

/*zdjęcia telefonu*/
.gadget-img {
    position:absolute;
    width: 550px;
    left: 60%;
}

/*czy wiesz ze.. justin timerlake*/
.trivia-box {
    background-color: #F961A9;
    padding: 30px;
    text-align: center;
    color: #fff;
    font-family: 'GoodTiming', sans-serif;
    font-size: 2rem;
}

/*czy wiesz ze...*/
.trivia-box h3 { margin-bottom: 10px; }

/*stopka*/

/*cala stopka*/
#footer {
    width: 100%;
    background-color: #9C499F; /* Główny fiolet */
    color: #fff;
    font-family: 'GoodTiming', sans-serif;
    padding-top: 40px;
    margin-top: 0;
}

.footer-main {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px 40px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col {
    max-width: 250px;
}

/* Styl dla nowego loga */
.footer-logo-full {
    width: 200px; /* Dostosuj szerokość w zależności od wielkości pliku */
    display: block;
    margin-bottom: 15px;
}

/* Styl dla opisu pod logiem */
.footer-col p {
    margin: 5px 0;
}

/* Pasek autorski na samym dole */
.footer-bottom {
    background-color: #F961A9; /* Różowy pasek */
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.7rem;
    color: #fff;
    border-top: 2px solid #fff;
}

.footer-bottom p {
    margin: 2px 0;
}



@media (max-width: 768px) {
    .hero-text p{
        font-size: 3rem;
    }
    .disco-ball{
        left: -5vw;
    }
    .footer-main{
        flex-direction: column;
        gap: 2rem;
    }
    .news-columns{
        flex-direction: column;
    }
    .news-card img{
        width: 100%;
    }
}