* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */

body {
  font-family: "Helvetica", sans-serif;
  line-height: 1.3;
  color: #C3DBC5;
  background: #0D1B1E; /* rich black */
  padding: 20px;
}


/* Nav Bar */

.navbar {
  display:flex;
  justify-content: center;
  align-items: center;
  background:#0D1B1E;
  z-index: 1000;
  padding: 1rem 2rem;
  gap: 2rem;
  position: sticky;
  top: 0;
  font-size: 1rem;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}


.navbar a {
  text-decoration: none;
  color: #fff;
  font-family: "Helvetica", sans-serif;
  font-weight: normal;
}


/* <--- Hero Section ---> */

 .hero-section {
  max-width: 800px;
  margin: 0 auto 0 0.5rem; /* left padding, but not centered */
}
 

/* Evalyn Fondren text */

 .hero-section h1 {
  font-family: "Geneva", sans-serif;
  font-size: 8rem;
  color:#86361D;
  padding: 0rem 6rem;
  text-align: left;
 }

 /* Hello, I'm text */

 .hero-section h4 {
  font-family: "Garamond", sans-serif;
  font-size: 4rem;
  font-weight: normal;
  color:#C3DBC5;
  padding: 0rem 6rem;
  text-align: left;
 }

 /* Software Developer text */

 .hero-section h5 {
  font-family: "Garamond", sans-serif;
  font-size: 3rem;
  line-height: 1.3;
  color:#C3DBC5;
  padding: 0rem 2rem;
  text-align: right;
  font-weight: normal;
 }

 .hero-btn {
  display: block;
  margin: 1rem auto 0 auto;
}

.btn {
  display: inline-flex;       /* flexbox so we can center */
  align-items: center;         /* vertical center */
  justify-content: center;     /* horizontal center */
  font-weight: bold;
  color: #0D1B1E;
  text-decoration: none;
  border-radius: 8px;
  background: #C3DBC5;
  width: 150px; 
  height: 40px; 
  margin: 0.5rem;
  font-size: 1.2rem;
}


.btn:hover {
  background-color: #AFCFB2;   /* slightly darker green on hover */
  color: #0D1B1E;
}

.hero {
  position: relative;
}

.hero-img {
  position: absolute;
  right: 10rem;
  top: 3rem;  
  width: 300px;
  border-radius: 25px;
  text-align: center
}

/* Sections */

section {
  padding: 6rem 1rem;
  text-align: center;
}

section h2 {
 padding: 4rem 2rem;
 text-align: center;
 font-size: 5rem;

}

#about {
  padding: 1rem 7rem;
  text-align: center;
  font-size: 1.8rem;
}


/* Skills Grid */

#skills .skills-grid {
  flex-wrap: wrap;
  display: flex;
  font-size: 2rem;
  gap: 2rem;
  max-width: 1200px;
  width: 90%;
  margin: 5rem auto 2rem auto;
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

#skills .skill-item {
  flex: 0 0 30%;   
  display: flex;
  margin-top: 4rem;
  flex-direction: column;  
  align-items: center;     
  text-align: center;
}



#skills img {
  max-width: 50px;
}

#skills i {
  color: #C3DBC5;  /* light green/white text for dark bg */
}

/* DJANGO ICON ONLY*/

.tech-icon {
  width: 32px;
  height: 32px;
  color: var(--icon-color); /* or any color */
}

.tech-icon:hover {
  color: var(--accent-color);
}

/* DJANGO ICON ONLY^^^^*/


/* Projects */

#projects h4 { 
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  color: #C3DBC5;

}


.project-card {
  background: #0D1B1E;
  padding: 2rem;
  margin: 1rem auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 2px solid #C3DBC5;
}

.card-1 { margin-left: 200px; }
.card-2 { margin-left: 350px; }
.card-3 { margin-left: 500px; }

.project-card:hover {
  border-color: #AFCFB2;
}

.project-card a {
  color: #C3DBC5;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

#contact {
  font-size: 1rem;
  font-weight: bold;
  color:#C3DBC5;
  margin-bottom: 6rem;
}

#contact a {
  color: #0D1B1E;     
  text-decoration: none;  
  font-weight: bold;     
  margin-right: 20px;
}

/* Footer */

footer {
  text-align: center;
  padding: 2rem;
  background: #fff;
  margin-top: 2rem;
}



/* Small phones (portrait) */
@media (max-width: 780px) {
 
  .navbar ul {            
  flex-direction: row;      
  background: #0D1B1E;        
  width: 100%;                 
  text-align: center;
  padding: 0;
  gap: 2rem;
  flex-wrap: nowrap;
  justify-content: center;
  }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 0.8rem;
  background: #0D1B1E;
  z-index: 1000; 
} 

.navbar a {
  font-size: 0.9rem;
  white-space: nowrap;
}
 

body {
  padding-top: 60px; 
  padding-left: 0;
  padding-right: 0;
}

.hero-section .btn  {
  margin: 2rem auto 0 auto;  
  display: block;
}

hero section {
  max-width: 90%;
  margin: 0 auto;       
  text-align: center;   
  padding: 0 1rem;
}

.hero-section h1 {
  text-align: center;  
  padding: 0 1rem;     
  margin: 0 auto;
  font-size: 4rem;
  font-weight: bold;     
}

.hero text {
  text-align: center;
  margin: 0 auto;
}

.hero-section h4 {
  font-size: 2rem;
  text-align: center;
}

.hero-section h5 {
  font-size: 1.5rem;
  text-align: center;
}

.hero-img {
position: static;
display: block;
margin: 2rem auto; 
 width: clamp(200px, 30vw, 400px);
border-radius: 25px; 
max-width: 90%
}

section {
padding: 1rem 4rem;
text-align: center;
}

section h2 {
 font-size: 2.5rem;
 padding: 2rem 1rem;
}


#about {
  font-size: 1rem;
  padding: 1rem 1rem; 
  line-height: 1.4;
}


.project-card {
  max-width: 90%;
  margin: 1rem auto;
}

#contact {
  margin-top: 3rem;
   
}

footer {
  padding: 3rem 1rem; 
}

#skills .skills-grid {
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center items horizontally */
}

#skills .skill-item {
  flex: 0 0 100%;           /* full width */
  max-width: 300px;         /* optional: prevents it from being too wide */
  margin-top: 2rem;
}


}


/* Small laptops */
@media (max-width: 1024px) {
  body {
    font-size: 20px;
  }

  .hero-img {
    width: 350px;
  }

}


/*  screens bigger than MacBook Air */
@media (min-width: 1440px) {

  .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  flex: 1 1 50%;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 25px;
}


.card-1,
.card-2,
.card-3 {
  margin-right: 1 !important; 
}

section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

#about p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.7;
}

#projects {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-list {
  display: grid;
  grid-template-columns:repeat(2, minmax(300px, 1fr));
  gap: 3rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}


@media (max-width: 900px) {
  .project-list {
    grid-template-columns: 1fr;
  }
}

}














