@font-face {font-family: SF Display; font-weight: bold; src: url('../font/SFUIDisplay-Bold.ttf');} 
@font-face {font-family: SF Display; font-weight: 300; src: url('../font/SFUIDisplay-Light.ttf');}
@font-face {font-family: SF Display; font-weight: 200; src: url('../font/SFUIDisplay-Thin.ttf');}
@font-face {font-family: SF Display; font-weight: 100; src: url('../font/SFUIDisplay-Ultralight.ttf');}

/* ---------------- Base ---------------- */
:root {  --header-height: 70px;
  --footer-height: 50px;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  font-family: SF Display; Helvetica, Calibri, Arial, sans-serif;
  color: #333;
}

a {color: #333; text-decoration: none;}
a:hover { color: #008CBA; }

hr {height: 1px; background-color: #ccc; border: none;} 

h2 {font-family: SF Display, San Francisco, Helvetica, sans-serif; color: #999;}

.main {
  font-family: SF Display; Helvetica, Calibri, Arial, sans-serif;
  color: #333;
  padding: calc(var(--header-height) + 40px) 20px calc(var(--footer-height) + 20px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  padding: 50px;
}

/* ---------------- Header ---------------- */
header.site-header {
  font-family: SF Display; Helvetica, Calibri, Arial, sans-serif;
  font-size: 14px;
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* align nav to right */
  z-index: 1000;
  padding: 0 20px;
}

.header-links {
  font-family: SF Display; Helvetica, Calibri, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  display: flex;
  gap: 20px;
}
.header-links a {
  font-size: 14px;
  font-weight: 500;
}
.header-links a:hover {color: #008CBA;}

/* ---------------- Logo ---------------- */
.logo img {
  display: block;
  margin: 0 auto 30px;
  padding-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left, center, right */
  align-items: center;
  width: 100%;
  animation: fadeIn 0.4s ease-out; /* quick fade */
}
.center-content {
  justify-self: center; /* keeps logo centered */
}
.right-content {
  justify-self: end; /* keeps links pushed to the right */
}

.button {
  font-family: SF Display, San Francisco, Helvetica, sans-serif;
  background-color: #3366cc;
  color: #fff;
  padding: 6px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 16px;
}
.button.button1 {background: #333; color: #fff; border: 1px solid #f5f5f5;}
.button.button1:hover {background: #3366cc; color: #fff; border: 1px solid #ccc;}
.button.button1:active {background: #ccc; color: #fff; border: 1px solid #ccc;}

.button.button2 {background: #333; color: #fff; border: 1px solid #f5f5f5;}
.button.button2:hover {background: #3366cc; color: #fff; border: 1px solid #ccc;}
.button.button2:active {background: #ccc; color: #fff; border: 1px solid #ccc;}



/* Switch link (register <-> login) */
.switch-link {
  font-family: SF Display, Calibri, Helvetica, Arial, sans-serif;
  display: block;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #333;
}

.switch-link a {
  color: #333;
  text-decoration: none;
}

.switch-link a:hover {
  color: #3366cc;
  text-decoration: underline;
}

/* Switch link (register <-> login) */
.switch-link {
  font-family: SF Display, Calibri, Helvetica, Arial, sans-serif;
  display: block;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #333;
}

.switch-link a {
  font-family: SF Display, Calibri, Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.switch-link a:hover {
  font-family: SF Display, Calibri, Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #3366cc;
  text-decoration: none;
}


.placeholder {
  visibility: hidden;
}

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

.main {
  animation: fadeIn 0.4s ease-out;
}
