* {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Dodajemy, aby elementy miały pełną szerokość i wysokość */
}

body {
    background-color: #F8F8F8;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px; /* Dodajemy padding dla estetyki */
    min-height: 100vh;
}

.main h1 {
    font-weight: 500;
    font-size: 36px;
    text-align: center;
}

.main h2 {
    font-weight: 300;
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.main p {
    font-size: 16px;
    text-align: center;
}

.formRow {
    display: flex;
    gap: 12px; /* odstęp między polami */
    flex-wrap: wrap; /* pozwala zawinąć na małych ekranach */
  }
  

.formInput {
    flex: 1;
    margin: 16px 0px;
    position: relative;
    width: 420px; 
}
.formInput label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #A6A6A6;
}
.formInput input {
    width: 100%;
    padding: 20px;
    border: 1px solid #A6A6A6;
    border-radius: 8px;
    color: #555;
    font-size: 18px;
}
.formInput input:focus {
    border: 1px solid #49505E; 
    outline: none; 
}
.formInput input::placeholder {
    color: #A6A6A6;
}
.formInput input:focus::placeholder {
    color: transparent;
}
.showPasswordBtn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer; 
}
.showPasswordBtn i {
    font-size: 20px;
    color: #A6A6A6;
    margin-top: 26px;
}
button[type="submit"] {
    background-color: #49505E;
    color: white;
    padding: 20px 15px;
    margin: 32px 0px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}
button[type="submit"]:hover {
    background-color: #49505eac;
}
.ifreg a {
    color: black;
    text-decoration: none;
    font-weight: 600;
}
.checkpass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}
.check {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}
.check .checkbox {
    margin-right: 12px;
    margin-top: 2px;
    width: 30px; /* Ustaw rozmiar szerokości */
    height: 30px; /* Ustaw rozmiar wysokości */
    border-radius: 4px;
    border: 2px solid #A6A6A6;
    cursor: pointer;
}
.check a {
    text-decoration: none;
    color: #49505E;
}
.check a:hover {
    text-decoration: none;
    color: #49505E;
    cursor: pointer;
}
.check .errorMessage {
    padding: 15px;
    color: red;
    font-weight: 600;
}




@media screen and (max-width: 600px) {
    .main {
        padding: 10px; /* Redukujemy padding dla mniejszych ekranów */
    }
}

@media screen and (max-width: 600px) {
    .formInput {
        width: 300px; 
    }
    .formInput label {
        font-size: 14px;
    }
    .formInput input {
        padding: 18px;
        font-size: 16px;
    }
    button[type="submit"] {
        font-size: 16px;
    }
    .ifreg p {
        font-size: 14px;
    }
    .main {
        padding: 16px;
    }
    .main h1 {
        font-size: 32px;
    }
    .main h2 {
        font-size: 18px;
        max-width: 250px;
    }
    .main p {
        font-size: 14px;
        text-align: center;
    }

    .check .checkbox {
        margin-right: 5px;
        margin-top: 0px;
        width: 16px; /* Ustaw rozmiar szerokości */
        height: 16px; /* Ustaw rozmiar wysokości */
        border-radius: 4px;
        border: 1px solid #A6A6A6;
    }

    .formRow {
        display: block;
        gap: 12px; /* odstęp między polami */
        flex-wrap: wrap; /* pozwala zawinąć na małych ekranach */
      }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #49505E;
    color: #ecf0f1;
  }
  
  .logo img {
    height: 90px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  nav a {
    text-decoration: none;
    color: #ecf0f1;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #3498db;
  }