/* Body & general */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #111;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  font-family: Arial, sans-serif;
}

/* Nav and socials container */
.nav-and-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Navigation */
nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  margin: 0 0.75rem;
}

nav a:hover {
  text-decoration: none;
}

/* Social links */
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  margin-left: 0.75rem;
}

.social-links a span {
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  padding-left: 0.25rem;
  white-space: nowrap;
  line-height: 1;
}

.social-links a:hover {
  color: #0af;
}

/* Container */
.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

/* Headings */
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Contact */
.contact {
  margin-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;

  /* Align contact full viewport width and flush left */
  position: relative;
  left: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Links */
a {
  color: #0af;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
  .nav-and-socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .social-links {
    justify-content: flex-start;
    width: 100%;
  }
  
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


#menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hide nav on small screens */
@media (max-width: 600px) {
  #menu-toggle {
    display: block;
  }
  
  .nav-and-socials {
    display: none;
    flex-direction: column;
    background-color: #111;
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 0;
  }
  
  .nav-and-socials.open {
    display: flex;
  }
  
  nav {
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
  }
  
  .social-links {
    justify-content: flex-start;
    padding-left: 1rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 400px) {
  header {
    flex-wrap: wrap;
    padding: 1rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  animation: avatarIn .5s cubic-bezier(.2,.8,.2,1) .05s both;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover effect */
.avatar:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 2px rgba(160,140,255,.22) inset;
  filter: saturate(1.06) contrast(1.02);
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    rgba(160,140,255,0) 0%,
    rgba(160,140,255,.22) 30%,
    rgba(120,190,255,.25) 50%,
    rgba(160,140,255,.0) 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.avatar:hover::after {
  opacity: .7;
  animation: spinRing 6s linear infinite;
}

@keyframes spinRing { to { transform: rotate(360deg);} }
@keyframes avatarIn { from { opacity:0; transform:scale(.94);} to { opacity:1; transform:scale(1);} }

.logo {
font-family: "Inter", sans-serif;
font-size: 12.5px;
font-weight: 200;
letter-spacing: 1px;
text-transform: uppercase;
opacity: .8;

}

.logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

html {
  font-size: 80%; /* ~15% smaller site */
}

  .brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 8px;
}
.brand-link:hover {
  opacity: .9;
}
