@import url(reset.css);

:root {
    --bg-primary: #14100c;
    --bg-secondary: #1f1912;
    --bg-surface: #2e251a;

    --text-primary: #fcf8f2;
    --text-muted: #b0a290;

    --accent: #f59e0b;
    --accent-hover: #fbbf24;

    --border-color: #292117;
}


html, body{
    font-family: "Verdana", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-weight: normal;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

a{
    color: var(--accent);
}

a:hover{
    color: var(--accent-hover);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;

  background-color: var(--accent, #38bdf8);
  color: var(--bg-primary, #0f172a);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  /* entrance animation */
  transition: top 0.2s ease-in-out;
}

/* Slide in when focused with tab */
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--text-primary, #f8fafc);
  outline-offset: 2px;
}


.global-main{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.container.hero{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    align-content: center;
    align-self: normal;
}

.global-footer{
    background-color: var(--bg-secondary);
    text-align: center;
}

.hero-section{
    margin: 2rem 0;
    flex: 1;
    display: flex;
}

.hero-heading{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.hero-name{
    color: var(--accent);
    font-weight: 900;
    letter-spacing: +0.06rem;
    font-size: 120%;
    text-shadow: 0px 0px 8px var(--accent);
}

.hero-main{
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    gap: 1rem;
}

.hero-description{
    flex: 2 1 500px;
}

.hero-cta{
    flex: 1 1 135px;
    min-width: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
}

.hero-cta a
{
    background-color: var(--bg-surface);
    border-radius: 1rem;
    padding: 1rem;
    padding-inline: auto;
    text-align: center;
    text-decoration: none;
    font-size: large;
}

.heading-xl {
    font-size: clamp(20px, 32px, 4vw);
    line-height: 1.1;
}

.avatar-round {
    width: 128px;
    height: 128px;
    border-radius: 50%;
}

.no-wrap{
     white-space: nowrap;
}

header{
    background-color: var(--bg-secondary);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 1rem;
  justify-content: center;
}

.nav-link{}

.nav-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1rem;
  background-color: var(--bg-surface);
  margin-left: 2rem;
  vertical-align: middle;
}

.projects-section{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
}

.projects-gallery{
    columns: 2 600px;
    margin-bottom: 2rem;
}

.project-container{
    background-color: var(--bg-surface);
    border-radius: 1rem;
    max-width: 600px;
    padding: 0rem 1rem 1rem 1rem;
    overflow: hidden;
    margin: 0rem 1rem 2rem 1rem;
}

.project-container img{
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.project-heading{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.project-link-icon{
    height: 3rem;
    margin-left: 0.5rem;
}

.project-link-icon.clearspace{
    height: 2.5rem;
}