* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background: linear-gradient(135deg, #121A29FF, #1e2838, #121A29FF);
  font-family: Helvetica, sans-serif;
}

.container {
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  padding-top: calc(10vh + 20px);
}

/* ── HEADER ── */
.header {
  display: flex;
  height: 10vh;
  min-height: 56px;
  align-items: center;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgb(18, 26, 41);
  border-bottom: 1px solid #364153;
  padding: 0 2vw;
}

.logo_header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.5vw, 8px);

  text-decoration: none;
  color: aliceblue;
  font-size: clamp(14px, 1.5vw, 22px);
  white-space: nowrap;
}

#logo_img {
  height: clamp(32px, 10vh, 75px);
  width: auto;
  object-fit: contain;
}

.action {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
}

.notif {
    position: relative;
    width: clamp(32px, 5vh, 48px);
    height: clamp(32px, 5vh, 48px);
    border: 1px solid #364153;
    background-color: #1e2939;
    border-radius: 15px;
}

.notif-icon {
  font-size: clamp(16px, 3vh, 32px);
  color: aliceblue;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.notif:hover .notif-icon{
  color: #457de1;
}

.notif:hover {
  background-color: #364153;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;

  text-decoration: none;
  margin-right: clamp(8px, 1.5vw, 20px);
  width: clamp(80px, 7vw, 130px);
  height: clamp(32px, 5vh, 48px);
  border-radius: 10px;

  border: 1px solid #364153;
  background-color: #1e2939;

  color: aliceblue;
  font-family: sans-serif;
  font-size: clamp(11px, 0.9vw, 15px);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.profile:hover {
  background-color: #364153;
  color: #457de1;
}

.add_task {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  width: clamp(120px, 10vw, 180px);
  height: clamp(32px, 5vh, 48px);
  border-radius: 10px;

  border: 1px solid #364153;
  background: linear-gradient(135deg, #5082ec, #1f52b8, #0b3ca8);

  text-decoration: none;
  color: aliceblue;
  font-family: sans-serif;
  font-size: clamp(11px, 0.9vw, 15px);
  cursor: pointer;
  white-space: nowrap;
}

.add_task:hover {
  box-shadow: 0px 0px 10px #1f52b8;
}

.login_a {
  display: flex;
  justify-content: center;
  align-items: center;

  width: clamp(80px, 7vw, 130px);
  height: clamp(32px, 5vh, 48px);
  border-radius: 10px;

  background: linear-gradient(135deg, #5082ec, #1f52b8, #0b3ca8);
  text-decoration: none;
  color: aliceblue;
}

.login_a:hover {
  box-shadow: 0px 0px 10px #1f52b8;
}

/* ── FOOTER ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  min-height: 15vh;
  width: 100%;
  background-color: rgb(18, 26, 41);
  padding-top: clamp(20px, 5vh, 50px);
  padding-bottom: clamp(16px, 3vh, 36px);
  border-top: 1px solid #364153;
  margin-top: 50px;
}

.bottom {
  color: #666e7e;
  font-size: clamp(10px, 0.8vw, 14px);
  text-align: center;
  padding: 0 5vw;
}

.soсial {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-bottom: clamp(12px, 3vh, 30px);
}

.soсial a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(28px, 2.5vw, 40px);
  height: clamp(28px, 2.5vw, 40px);

  border: 1px solid #364153;
  color: #99a1af;
  text-decoration: none;
  border-radius: 50%;
  background-color: #1e2939;
  font-size: clamp(16px, 1.8vw, 24px);
}

.soсial a:hover {
  background-color: #2b3545;
}

.social-title {
  margin-bottom: 20px;
  color: #99a1af;
}

/* ── TABLET (768px) ── */
@media (max-width: 768px) {
  .logo_header span:not(#logo_img) {
    display: none; /* прячем текст логотипа, оставляем картинку */
  }

  .add_task b {
    display: none; /* прячем текст кнопки, оставляем иконку */
  }

  .add_task {
    width: clamp(36px, 8vw, 56px);
    padding: 0;
  }

  .profile b {
    display: none;
  }

  .profile {
    width: clamp(36px, 8vw, 56px);
    padding: 0;
  }
}

/* ── MOBILE (480px) ── */
@media (max-width: 480px) {
  .header {
    padding: 0 3vw;
  }

  .navigation {
    gap: 12px;
  }

  .footer {
    min-height: auto;
    padding: 20px 5vw;
    gap: 16px;
  }
}

