body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    overflow-x: hidden;
}

.section {
    margin: 20px auto;
    padding: 20px;
    max-width: 1000px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

.profile-section {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 10px auto;
    display: block;
    border: 3px solid #4caf50;
}

.profile-content h1 {
    font-size: 2em;
    margin: 10px 0;
    color: #4caf50;
}

.profile-content p {
    font-size: 1em;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 600px;
}

.profile-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    cursor: pointer;
}

.profile-links a {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.profile-links a:hover {
    background-color: #3e8e41;
}

.crypto-section {
    text-align: center;
}

.crypto-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #4caf50;
}

.btc-price {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #4caf50;
    font-weight: bold;
    text-align: center;
}

.crypto-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center; 
}

.crypto-card {
    flex: 0 0 calc(20% - 10px); 
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #4caf50;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px #4caf50;
}

.crypto-card p {
    margin: 5px 0;
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
}

.button-section {
    flex: 1 1 calc(33.33% - 20px);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button-section img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    border-radius: 10px;
}

.button-section h2 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #4caf50;
}

.button-section p {
    flex-grow: 1;
    margin: 10px 0 20px;
    color: #ccc;
}

.button-section a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 15px;
    cursor: pointer;
}

.button-section a:hover {
    background-color: #4caf50;
    transform: translateY(-2px);
}


#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1; 
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 40px; 
    height: 40px;
    background-image: url('snieg.png'); 
    background-size: cover;
    opacity: 0.8;
    animation: fallSnow linear infinite;
}


@keyframes fallSnow {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.weather-section {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #4caf50;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 1000px;
}

.weather-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #4caf50;
}

#weather-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    
}

.weather-day:first-of-type p.current {
    display: block;
}

.weather-day:not(:first-of-type) p.current {
    display: none;
}

.weather-day:not(:first-of-type) p.range {
    display: block;
}

.weather-day:first-of-type p.range {
    display: none;
}

.weather-day {
    background-color: #1a1a1a;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    text-align: center;
    color: white;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.weather-day:hover {
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px #4caf50;
}

.weather-day img {
    width: 50px;
    margin: 10px 0;
}

.weather-day h3 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #4caf50;
}

.weather-day p {
    font-size: 0.9rem;
    margin: 5px 0;
    color: white;
}

#age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(8px); /* Zamazanie tylko tła */
}

.popup {
    background: black;
    padding: 20px;
    border: 2px solid #4caf50;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1001;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
}

button:hover {
    background-color: #3e8e41;
}


	