* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    height: 100%;
}



.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1; 
}

@media (max-width: 768px) {
    body { 
        background: url('https://grandeconnection.pl/img/vice_bg.jpg') no-repeat center center; 
        background-size: cover; 
        background-attachment: scroll; 
    }
	.overlay { display: none; } 
}

.content {
    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 {
    margin-bottom: 20px;
}

header img {
    width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    header img {
        width: 250px !important;
        height: auto !important;
    }
}

form {
    background: rgba(0,0,0,0.65);
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
}

textarea { height: 150px; resize: none; }

button {
    padding: 10px 20px;
    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;
}

.captcha-label {
    margin-bottom: 5px;
    display: block;
}

.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);
	transform: scale(1.8);
    filter: drop-shadow(0 0 10px #7fff00)
            drop-shadow(0 0 20px #7fff00)
}

.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; 
}

.logo {
    width: 480px;
    height: 288px;
    opacity: 0.85;
    filter: contrast(125%);
    transition: width 0.3s ease, height 0.3s ease;
}

.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: 1000;
}

.footer-link {
    font-weight: bold;
    color: #7fff00;   
    text-decoration: none;  
    cursor: pointer;
}

.footer-link:hover {
    text-decoration: none;  
}

.footer .author {
    font-weight: bold;
    color: #fff;   
    text-decoration: none; 
}

.footer .author:hover {
    text-decoration: none; 
}

.logo {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}