body {
  font-family: sans-serif;
  padding: 20px;
}
a { margin-right: 10px; }
form input { margin-bottom: 10px; display: block; }

  * {
    box-sizing: border-box;
  }

  .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }
  .content {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 100px 15px 40px;
  box-sizing: border-box;
}
  h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
  }
  p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  }
  .buttons a {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s;
  }
  .buttons a:hover {
    background: #ffd633;
  }
  .socials {
    margin-top: 30px;
  }
  .socials a {
    margin: 0 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 20px;
  }
  .socials a:hover {
    color: #fff;
  }
  footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ccc;
  }

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  .main-header .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 22px;
  }
  .main-header .logo img {
    height: 40px;
    margin-right: 10px;
  }
  .nav-links {
    display: flex;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
  }
  .nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
  }
  .nav-links a:hover {
    color: #ffcc00;
  }
  .menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 20;
    transition: transform 0.3s ease;
  }

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    /* Удалить: position: relative; */
  }

  .main-header .logo {
    font-size: 18px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
  }

  .nav-links.show {
    max-height: 500px;
    opacity: 1;
  }

  .nav-links a {
    margin: 8px 0;
    font-size: 16px;
  }

  .content img {
    width: 40% !important;
  }

  h1 {
    font-size: 32px !important;
  }

  p {
    font-size: 16px !important;
  }

  .buttons a {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.content-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  animation: fadeIn 1s ease-out;
}

.logo-img {
  width: 100px;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo-img {
  width: 100px;
  margin: 0 auto 20px;
  display: block;
}

    .form-box {
      background: rgba(0,0,0,0.7);
      padding: 30px;
      border-radius: 16px;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      max-width: 400px;
      width: 90%;
      text-align: center;
    }
    .form-box h2 {
      margin-bottom: 20px;
    }
    .form-box input {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: none;
      border-radius: 6px;
    }
    .form-box button {
      padding: 10px 20px;
      font-weight: bold;
      border: none;
      background: #ffcc00;
      border-radius: 8px;
      cursor: pointer;
    }
    .form-box button:hover {
      background: #ffd633;
    }
    .form-box p {
      margin-top: 10px;
    }
    .login-page {
      min-height: 100vh;
      background: url('assets/img/background.png') no-repeat center center fixed;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-top: 100px;
    }