html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: navfont1;
  src: url("/fonts/SourceCodePro-Bold.ttf.woff");
}

@font-face {
  font-family: navfont2;
  src: url("/fonts/JetBrainsMono-Bold.woff2");
}

/* Premium Color Palette */
:root {
  --bg-primary: #faf8f3;
  --bg-secondary: #f5f3ed;
  --text-primary: #2a2520;
  --text-secondary: #6b6459;
  --accent-primary: #8b7d5b;
  --accent-light: #a89968;
  --border-color: #e8e3d8;
  --shadow-sm: 0 2px 8px rgba(42, 37, 32, 0.08);
  --shadow-md: 0 4px 16px rgba(42, 37, 32, 0.12);
  --shadow-lg: 0 8px 24px rgba(42, 37, 32, 0.15);
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-size: 16px;
  width: 100%;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:link, a:visited {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover, a:active {
  color: var(--accent-light);
  opacity: 0.9;
}

main {
  font-size: 17px;
  width: 100%;
}

section {
  padding-top: 100px;
  padding-left: 20%;
  padding-bottom: 70px;
  padding-right: 20%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

h1 {
  padding-top: 20px;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0.75rem 0 1.25rem 0;
  line-height: 1.85;
  color: var(--text-secondary);
}

#spanfooter {
  font-size: 13px;
  float: left;
  padding: 8px 15px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#spanfooter:hover {
  opacity: 1;
}

footer div {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  color: var(--bg-primary);
  background-color: var(--text-primary);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.content{
visibility: hidden;
position:fixed;
margin-left: 100%;
}

.showmeinmobile{
display:none;}


#home {
  padding-top: min(max(30vh, 80px), 300px);
}

#home h1 {
  font-size: 3.5rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0.5rem 0 1rem 0;
}

#home p {
  font-size: 1.3rem;
  font-family: inherit;
  color: var(--text-secondary);
  margin: 1rem 0;
  font-weight: 400;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}


#undercons{
    position: fixed;
    top:0px; 
    margin:0; 
    z-index: 100;
}


.btn {
  background-color: var(--accent-primary);
  border: none;
  color: white;
  padding: 14px 32px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.3px;
}

.btn:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

#contacts {
  text-align: center;
}

#contacts span a img {
  width: 60px;
  padding: 40px;
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#contacts span a:hover img {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

#projects h3 {
  display: list-item;
  margin-left: 20px;
  color: var(--text-primary);
}

#projects p {
  padding-left: 20px;
  color: var(--text-secondary);
}

#downloadidwrapperdiv{
margin-right:-60px;}

