*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('tlopanel.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.header {
    display: flex;
    height: 10vh;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    justify-content: space-between;
    align-items: center;
    color: rgb(231, 36, 36);
    padding: 1vh 5vw;
}

.header img {
    height: auto;
    max-width: 40vw;
    object-fit: cover;
}

.wrapper {
    width: 30vw; /* Standardowa szerokość dla laptopów */
    max-width: 80vw;
    padding: 5vh 5vw;
    background-color: transparent;
    border: 0.2vw solid black;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 1vw rgba(0, 0, 0, .2);
    color: #fff;
    border-radius: 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) { /* Tablet i mniejsze ekrany */
    .wrapper {
        width: 70vw; /* Szersze na tabletach */
    }
}

@media (max-width: 480px) { /* Smartfony */
    .wrapper {
        width: 90vw; /* Pełna szerokość na telefonach */
        padding: 3vh 4vw; /* Mniejsze paddingi */
        border-radius: 5vw;
    }
}

/* Tekst w nagłówku */
.wrapper h1 {
    text-align: center;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .wrapper h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .wrapper h1 {
        font-size: 1.2rem;
    }
}

/* Style dla pól input */
.wrapper .pole {
    position: relative;
    width: 120%;
    height: 6vh;
    margin-bottom: 2vh;
}

.pole input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 0.2vw solid rgb(34, 34, 34);
    border-radius: 5vw;
    font-size: 1rem;
    padding: 1.5vh;
    color: white;
}

@media (max-width: 480px) {
    .pole input {
        font-size: 0.9rem;
        padding: 1vh;
    }
    .pole i {
    scale: 80%;
    }
}

@media (max-width: 480px) {
    .wrapper .pole {
        width: 100%;
}
}

input::placeholder,
textarea::placeholder {
    font-size: 1rem;
	color: white;
}

@media (max-width: 768px) {
    input::placeholder,
    textarea::placeholder {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    input::placeholder,
    textarea::placeholder {
        font-size: 0.7rem;
    }
}

.pole i {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.wrapper .zapamietaj {
    justify-content: space-between;
    font-size: 1rem;
    margin: 3vh 0 2vh;
}

.wrapper .przycisk {
    width: 80%;
    height: 5vh;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 5vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    border: 0.2vw solid #333;
}

@media (max-width: 768px) { /* Tablet i mniejsze ekrany */
    .wrapper .przycisk {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) { /* Smartfony */
    .wrapper .przycisk {
        font-size: 0.8rem;
    }
}

.przycisk:hover {
    background-color: #979797;
    color: #fff;
}

.wypformularz {
    margin-top: 3vh;
    font-size: 1rem;
    display: inline-block;
    padding: 1vh 5vw;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border: 0.2vw solid #333;
    border-radius: 1vw;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

.wypformularz:hover {
    background-color: #979797;
    color: #fff;
}

.przycisk:active {
    background-color: lightgrey;
    transform: translateY(0.2vh);
    transition: 0.1s;
}

.wrapper .rejestracja {
    font-size: 1rem;
    text-align: center;
    margin: 3vh 0 2vh;
}

.rejestracja p a {
    color: cyan;
    text-decoration: none;
}

.rejestracja p a:hover {
    text-decoration: underline;
    color: rgb(7, 196, 196);
}

.liniadolna {
    width: 100%;
    border: 0.1vw solid white;
    height: 1px;
}
