@media (max-width: 600px) {

  span#textlogo {
    font-size: 0.9rem;
  }

  div#header-container {
    padding: 1.4rem;
  }

  header a {
    display: none;
  }
  
  h1.heroname {
    font-size: 2rem;
  }
  p.herotext {
    font-size: 0.9rem;
    margin-bottom: 2rem; /* spacing */
  }

  .herosection {
    max-width: 600px;
  }
  .background {
    display: flex; flex-direction: column ; justify-content: center; align-items: flex-start;
    z-index: 2;
    padding: 0.5rem;
  }
  p.herolabel {
    font-size: 0.8rem;
    text-wrap: wrap;
  }

  footer nav span{
    font-size: 0.7rem;
    width: min-content;
  }
  form#emailForm {
    width: 100%;
    justify-content: end
    ;
    gap: 1rem
  }
  input#emailInput {
    font-size: 0.8rem;
    min-width:1px;
    flex-grow: 2;
    padding:0.65rem 1.05rem;
  }
  button#submitBtn {
    font-size: 0.8rem;
    padding:0.65rem 1.05rem;
  }
}
@media (prefers-color-scheme: light) {
  :root {
    --text: #10100e;
    --background: #f7f7f3;
    --primary: #ffe500;
    --secondary: #dbd176;
    --accent: #dbc81f;
    --on-primary: #10100e;
  }
  header {
      background: linear-gradient(0deg, rgba(0,0,0,0), rgba(0,0,0,0.2));
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f1ef;
    --background: #0c0c08;
    --primary: #ffe500;
    --secondary: #897f24;
    --accent: #e0cd24;
    --on-primary: #10100e;
  }
  header a {
    border: 1px solid var(--text);
  }
  header {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2));
  }
  
}

/* color themes */


html, body {
  height: 100%;
  width: 100vw;
  margin:0;
  padding:0;
  font-family: 'Cascadia Code', monospace;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background-color: var(--background);
  color: var(--text);
}

#header-container {
  display: flex;
  position: relative;

  height: fit-content;

  padding: 2rem;
  
  justify-content: space-between;
  align-items: center;
}

header {
  display: block;
  position: fixed;
  top:0;

  width: 100vw;
  z-index:2;
}

#text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

nav {
  display:inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.button{
  text-decoration: none ;
  color: var(--text);
  font-size: 1.063rem;
  padding: 0.625rem;
  background-color: rgba(0, 0, 0, 0.1);
  margin-left:0.625rem;
  margin-right:0.625rem;
  padding-left:1.25rem;
  padding-right:1.25rem;
  border-radius: 3.125rem;
  transition: 0.2s;
}


.button:hover {
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 1.25rem white;
  color:white;
}

#textlogo {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text);
  text-wrap: nowrap;
}




footer {
  padding: 2rem;
  background-color: black;
  color:white;
}

footer nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}


.heroname {
  font-size: 4rem; font-weight: 700; margin: 0 0; line-height: 1.1;
}
.herotext {
  font-size: 1.15rem; margin-bottom: 2rem; opacity:0.85;
}
.herolabel {
  font-size: 1.1rem; opacity:0.85;  font-weight: bold; color: var(--accent);
  margin-bottom: 0.5rem;
}
.herosection {
  max-width: 600px;
}
.background {
  display: flex; flex-direction: column ; justify-content: center; align-items: flex-start;
  z-index: 2;
  padding: 8vw;
}

#emailForm {
  display:flex; flex-wrap: wrap; gap:0.5rem; margin-bottom:2rem; flex-direction: row;
  justify-content: start;
}
#emailInput {
  font-family:'Cascadia Code', monospace; font-size:1rem; padding:0.75rem 1.25rem; border-radius:2rem; border:1px solid var(--secondary); background:rgba(255,255,255,0.7); outline:none; min-width:220px;
}
#submitBtn {
  font-family:'Cascadia Code', monospace; font-size:1rem; padding:0.75rem 1.5rem; border-radius:2rem; background:var(--primary); color:var(--on-primary); border:none; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.08); position:relative; overflow:hidden; transition:background 0.2s;
}

/* sections */

.SectionContent {
  width:min-content;
  height:min-content;
}

section {
  height:fit-content;
  padding: 1rem;
  /* scroll-snap-align: start; */
}

.empty-section {
  padding:100px;
  padding-top:5rem;
  /* border-radius: 50px; */
  justify-content: space-between;
  /* border: 1px solid var(--text); */
}

/* easy tailwindcss like classes */

.primary {
  background-color: var(--primary);
}
.secondary {
  background-color: var(--secondary);
}
.accent {
  background-color: var(--accent);
}
.text {
  color: var(--text);
}


button {
  font-family: 'Cascadia Code, monospace';
  padding: 0.625rem;
  font-size: large;
  border-radius: 3.125rem;
  border: none;
  padding: 0.625rem;
  /* background-color: rgba(0, 0, 0, 0.1);
  margin-left:0.625rem;
  margin-right:0.625rem; */
  padding-left:1.25rem;
  padding-right:1.25rem;
  border-radius: 3.125rem;
}

/* Accent conic gradient background shape */
.accent-conic-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 60vw;
  background: conic-gradient(
    from 120deg at 60% 40%, 
    var(--primary) 0%,

    var(--accent) 100%
  );
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.4;
  z-index: 1;
}
