* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { height: 100%; font-family: Arial, sans-serif; }

.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://grandeconnection.pl/img/bg_css.png') repeat;
    opacity: 0.65;
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 20px;
}

header h1 { font-size: 3rem; margin-bottom: 15px; }
header p { margin-bottom: 25px; }

@media (max-width: 600px) {
    .content header h1 {
        font-size: 1.5rem !important; /* wymusza zmianę */
    }
    .content header p {
        font-size: 0.9rem !important;
    }
}


form {
    background: rgba(0,0,0,0.65);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
}

input[type=email] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #7fff00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { background: #6ae600; }

.status {
    margin-top: 15px;
    font-weight: bold;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    z-index: 101; 
}

.footer .author {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.home-button {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 1000;
}

.home-button img {
    width: 40px;
    height: auto;
    display: block;
    transition: 0.3s;
}

.home-button img:hover {
    transform: scale(1.8);
    filter: drop-shadow(0 0 10px #7fff00)
            drop-shadow(0 0 20px #7fff00);
}

.captcha-label {
    margin-bottom: 5px;
    display: block;
    font-weight: bold;
}

form button {
    margin-top: 1em; 
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 15px auto;
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: center;
    }
}