.login-main {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-box {
  width: min(100%, 390px);
  text-align: center;
}

.login-box h1 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.google-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #3c4043;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.facebook-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #1877f2;
  border-radius: 4px;
  color: #fff;
  background: #1877f2;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.facebook-button:hover,
.facebook-button:focus-visible {
  background: #166fe5;
  outline: none;
}

.facebook-button__icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.seznam-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #de0000;
  border-radius: 4px;
  color: #fff;
  background: #de0000;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.seznam-button:hover,
.seznam-button:focus-visible {
  background: #c90000;
  outline: none;
}

.seznam-button__icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #de0000;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.google-button:hover,
.google-button:focus-visible {
  border-color: #c6c8ca;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.28);
  outline: none;
}

.google-button__icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.notice {
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.notice--small {
  font-size: 13px;
}

.user-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.user-card__avatar {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.user-card__name,
.user-card__email {
  margin: 0;
}

.user-card__name {
  font-size: 18px;
  font-weight: 600;
}

.user-card__email {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.logout-link {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  text-decoration: none;
}

.test-link {
  display: inline-block;
  margin-right: 14px;
  color: var(--blue);
  font-size: 14px;
  text-decoration: none;
}

.user-id {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.logout-link:hover,
.logout-link:focus-visible,
.test-link:hover,
.test-link:focus-visible {
  text-decoration: underline;
}
