body {
    margin: 0;
    font-family: 'Concert One', sans-serif;
    background-color: #0A0A0A; /* Dark background */
    user-select: none; /* Disable text selection */
}

.container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

/* CSS for section 1 */
.section-1 {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: 100% 100%; /* Stretch background image to full size */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    background-image: url('images-webp/background-1.webp'); /* Path to the background image for section 1 */
    color: #FFFFFF; /* Text color */
    opacity: 0; /* Initial opacity */
    animation: fadeInBackground1 1s ease-in-out forwards;
    animation-delay: 0.3s; /* Animation delay */
}

@keyframes fadeInBackground1 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-1 .content {
    display: flex;
    align-items: center;
    min-width: 1400px;
    max-width: 1900px;
    margin: 0 auto; /* Center the content container */
}

.section-1 .image-container {
    max-width: 400px; /* Reduce image size */
    margin-right: 50px; /* Larger margin between image and text */
    margin-left: 15%;
    opacity: 0; /* Initial opacity */
    transform: translateY(20px); /* Initial downward offset */
}

.section-1 .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Maintain image proportions */
}

.section-1 .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF; /* White text */
    opacity: 0; /* Initial opacity */
    transform: translateY(20px); /* Initial downward offset */
}

@keyframes fadeInElement1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hello {
    font-weight: 700; /* Bold for HELLO */
    margin: 0;
    line-height: 1; /* Reduce line spacing */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Prevent content from being revealed before animation */
    display: inline-block;
    font-size: 6rem;
}

.glad {
    font-weight: 400; /* Regular for GLAD */
    font-size: 3rem; /* Text size for GLAD TO SEE YOU HERE! */
    padding-top: 10px; /* Small gap between lines */
}

/* CSS for section 2 */
.section-2 {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: 100% 100%; /* Stretch background image to full size */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    background-image: url('images-webp/background-2.webp'); /* Path to the background image for section 2 */
    color: #FFFFFF; /* Text color */
    opacity: 0; /* Initial opacity */
    animation: fadeInBackground2 1s ease-in-out forwards;
    animation-delay: 0.3s; /* Animation delay */
}

@keyframes fadeInBackground2 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-2 .content {
    display: flex;
    flex-direction: column; /* Arrange elements in a column */
    align-items: center;
    width: 800px;
    margin: 0px auto; /* Center the content container */
    margin-bottom: 5rem;
}

.section-2 .image-container {
    max-width: 400px; /* Reduce image size */
    margin: 0 auto 20px auto; /* Center the image and add margin below */
    opacity: 0; /* Initial opacity */
    transform: translateY(20px); /* Initial downward offset */
}

.section-2 .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Maintain image proportions */
}

.section-2 .text-container {
    position: relative;
    margin: 0 auto;
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0A0A0A; /* Text color */
    z-index: 2; /* Bring text to the front */
    text-align: center;
    opacity: 0; /* Initial opacity */
    transform: translateY(20px); /* Initial downward offset */
}

@keyframes fadeInElement2 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-2 .text-container::after {
    content: attr(data-text); /* Copy text */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-text-stroke: 10px #FFFFFF; /* Text stroke */
    color: transparent; /* Remove text fill color */
}

/* CSS for section 3 */
.section-3 {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: 100% 100%; /* Stretch background image to full size */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    background-image: url('images-webp/background-3.webp'); /* Path to the background image for section 3 */
    color: #FFFFFF; /* Text color */
    opacity: 0; /* Initial opacity */
    animation: fadeInBackground3 1s ease-in-out forwards;
    animation-delay: 0.3s; /* Animation delay */
}

@keyframes fadeInBackground3 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-3 .content {
    display: flex;
    flex-direction: column; /* Arrange elements in a column */
    align-items: center;
    min-width: 400px;
    max-width: 1900px;
    margin: 0px auto; /* Center the content container */
    margin-top: 50px;
}

.section-3 .social-text {
    font-size: 4rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.section-3 .social-icons {
    display: flex;
    justify-content: center;
    gap: 200px; /* Increase gap between images-webp */
}

.section-3 .social-icons img {
    width: 75px; /* Image size */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, content 0.2s ease; /* Add transition for smooth scaling and content change */
}

.section-3 .social-icons img:hover {
    transform: scale(1.2); /* Enlarge image on hover */
}

/* Specific hover styles for each icon */
.section-3 .social-icons a[href*="youtube"] img:hover {
    content: url('images-webp/icon-youtube-hover.webp'); /* Replace with the hover version of the YouTube icon */
}

.section-3 .social-icons a[href*="twitter"] img:hover {
    content: url('images-webp/icon-twitter-hover.webp'); /* Replace with the hover version of the Twitter icon */
}

.section-3 .social-icons a[id*="discord"] img:hover {
    content: url('images-webp/icon-discord-hover.webp'); /* Replace with the hover version of the Discord icon */
}

.section-4 {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('images-webp/background-4.webp');
    color: #FFFFFF;
    opacity: 0;
    animation: fadeInBackground4 1s ease-in-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInBackground4 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-4 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 1000px;
    max-width: 1000px;
    margin-bottom: 50px;
}

.section-4 .logo {
    margin-bottom: 20px;
}

.section-4 .logo img {
    max-width: 300px;
    height: auto;
}

.section-4 .subscription-text {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.1;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}

.subscription-form {
    padding: 30px;
    color: #FFFFFF;
    font-family: 'Concert One', sans-serif;
    width: 1000px;
    margin-bottom: 50px;
}

.subscription-form input[type="email"] {
    padding: 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    width: 70%;
    height: 40px;
    background-color: #1F2023;
    color: #767676;
    font-family: 'Concert One', sans-serif;
    margin-right: 10px;
    outline: none;
    box-shadow: none;
}

.subscription-form input[type="email"]:focus {
    box-shadow: 0 0 0 3px #FFBE10;
}

.subscription-form input[type="email"]::placeholder {
    color: #767676;
    font-family: 'Concert One', sans-serif;
}

.subscription-form button {
    padding: 10px 20px;
    background-color: #FFBE10;
    border: none;
    border-radius: 5px;
    font-size: 1.75rem;
    height: 65px;
    cursor: pointer;
    color: #0A0A0A;
    font-weight: 500;
    font-family: 'Concert One', sans-serif;
    width: 15%;
    text-align: center;
}

.subscription-form button:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(255, 190, 16, 0.7);
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-family: 'Concert One', sans-serif;
    color: #767676;
    margin-left: 50px;
}

.checkbox-container label {
    font-size: 1.5rem;
    color: #767676;
    font-family: 'Concert One', sans-serif;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #FFBE10;
    border: 2px solid #FFBE10;
    background-color: #1F2023;
    margin-right: 10px;
}

.checkbox-container a {
    color: #FFBE10;
    text-decoration: none;
    cursor: pointer; /* Change to pointer to indicate clickability */
}


.checkbox-container a:hover {
    text-decoration: underline;
}

.cursor {
    display: inline-block;
    width: auto;
    background-color: transparent;
    position: relative;
    margin-left: 5px;
    animation: blink .5s steps(1) infinite; /* Slower blink animation */
    color: #FFBE10; /* Change cursor color to yellow */
    text-shadow: 2px 2px 3px rgba(255, 190, 16, 0.25); /* Yellow shadow for cursor */
}

.cursor-hidden {
    display: inline-block;
    visibility: hidden;
    animation: none; /* Disable blink animation for cursor-hidden class */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: transparent; /* Transparent background */
    z-index: 10;
    cursor: pointer; /* Cursor indicates clickability */
    opacity: 0; /* Initial opacity */
    transform: translateY(-20px); /* Initial downward offset */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    pointer-events: none; /* Disable clicks when hidden */
}

.footer.visible {
    pointer-events: auto; /* Enable clicks when visible */
}

.symbol img {
    width: 6rem; /* Adjust size as needed */
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.symbol:hover img {
    transform: scale(1.1); /* Enlarge by 10% on hover */
}

.hidden {
    display: none;
}

.hidden-section {
    color: #FFFFFF;
    line-height: 1.5;
    font-family: 'Concert One', sans-serif;
    overflow-y: auto;
    width: 40vw;
    height: 85vh;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scrollbar-color: #FFBE10 #141414; /* Kolor przewijaka: żółty kciuk na ciemnym tle */
    width:64vw;
}

.hidden-section::-webkit-scrollbar {
    width: 8px;
}

.hidden-section::-webkit-scrollbar-thumb {
    background-color: #FFBE10; /* Kolor kciuka przewijaka */
    border-radius: 10px;
}

.inner-container {
    max-width: 800px;
    width: 100%;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hidden-section.scroll-active .inner-container {
    justify-content: flex-start;
}

.hidden-section h1, .hidden-section h2 {
    color: #FFBE10; /* Kolor nagłówków: żółty */
}

.hidden-section h1 {
    font-size: min(3vw, 3rem);
    margin-bottom: 20px;
}

.hidden-section h2 {
    font-size: min(2vw, 2.5rem);
    margin-top: 20px;
    margin-bottom: 10px;
}

.hidden-section p {
    font-size: min(1.5vw, 1.5rem);
    margin-bottom: 15px;
    color: #FFFFFF; /* Kolor tekstu: biały */
}

.hidden-section a {
    color: #FFBE10;
    text-decoration: none;
}

.hidden-section a:hover {
    text-decoration: underline;
}

.section-privacy {
    display:none;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    font-size: 3rem;
    background-size: 100% 100%; /* Stretch background image to full size */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    background-image: url('images-webp/background-privacy.webp'); /* Path to the background image for section 2 */
}

.checkbox-container a {
    color: #FFBE10;
    text-decoration: none;
    cursor: pointer;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Popup styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* On top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with more opacity */
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 500px;
    max-width: 500px;
    transform: translate(-50%, -50%);
    background-color: #FFBE10; /* Yellow background for popup */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: #0A0A0A; /* Black text color */
    position: relative;
    z-index: 2;
}

.popup-content::after {
    content: attr(data-text); /* Copy text attribute from HTML to create a shadow effect */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    padding: 30px;
    color: transparent; /* Remove text fill color */
    -webkit-text-stroke: 10px #FFFFFF; /* Second, larger stroke for a more prominent effect */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #0A0A0A; /* Close button color */
}

