.niz{
    font-weight: 500;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px; /* Размер шрифта */
    color: #ffffff;
  margin-top: -5.9%;

  }
  @media screen and (max-width: 376px) {
    .niz {
      font-size: 17px;
      margin-top: -6.99%;
    }
  }
  
 .auth{
    font-size: 20%;
    margin: 0 0 20px;
    font-size: 27px;
    color: #333333;
 } 
    header {  
      background-color: #dd003b;  /* Цвет фона */
      position: fixed;
      border-bottom-right-radius: 15px;
      border-bottom-left-radius: 15px;
      height: 10%;
      width: 100%; /* Чтобы header занимал всю ширину экрана */
      top: 0;
      text-align: center;
      align-items: center; /* Центрирование содержимого по вертикали */
    }
    
    header h1 {
      font-weight: 500;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 30px; /* Размер шрифта */
      color: #ffffff;
      margin-top: 8px;

    }
    
    /* style.css */
body {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
    width: 80%;
    text-align: center;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    font-family: 'Bebas Neue', sans-serif;
    width: 80%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 5px rgba(110, 142, 251, 0.5);
}

.login-container button {
    font-family: 'Bebas Neue', sans-serif;
    width: 70%;
    font-weight: 900;
    padding: 12px 15px;
    margin-top: 20px;
    background: #dd003b;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-container button:hover {
    background: #9c2333;
}

#error-message {
    font-family: 'Bebas Neue', sans-serif;
    opacity: 0;
    color: #ff4d4d;
    font-size: 16px;
    margin-top: 15px;
    display: none;
}

.iconpng {
    height: 90px;
    width: 203px;
    width: auto; /* Сохранение пропорций */
    transition: transform 0.2s, filter 0.2s;
}

.imgc {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}


.iconpng:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.imgc:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip {
    position: absolute;
    bottom: 100px; /* Расстояние над иконкой */
    background: #333333; /* Темный фон для текста */
    color: #ffffff; /* Белый текст */
    padding: 15px 25px;
    border-radius: 10px; /* Закругленные углы */
    margin-left: 25px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    /* white-space: nowrap; Текст в одну строку */
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тень для объема */
}

@media (max-width: 768px) {
    .login-container {
        width: 80%;
    }
}