@font-face{
	font-family: "ST"; 
	src: url("/static/fonts/ShineTypewriter.ttf") format("truetype");
}

@font-face{
	font-family: "ft"; 
	src: url("/static/fonts/Fragmentcore.otf") format("truetype");
}

@font-face{
	font-family: "BC"; 
	src: url("/static/fonts/BarberChop.otf") format("truetype");
}

@font-face{
	font-family: "FC"; 
	src: url("/static/fonts/Fontzilla Comic.ttf") format("truetype");
}

@font-face{
	font-family: "LM"; 
	src: url("/static/fonts/LEMONMILK-Medium.otf") format("truetype");
}

.space {
	margin-top: 40px;
}
body{
	background-color:#ede0d4;
}

h1 {
  color: #414833;
  font-family: BC;
  margin-top: 15px;
  margin-bottom: 10px;
}

h2 {
  color: rgb(60, 46, 46);
  font-family: FC;
  margin-top: 8px;
  margin-bottom: 6px;
}

h3 {
  color: #414833;
  font-family: BC;
  font-size: 80px;
  justify-content: center;
}

.hcont {
    display: flex;
    align-items: flex-start;
    justify-content: center; 
    width: 100%;
    max-width: 1100px;      /* Limits total width to keep it readable */
    margin: 10px auto;      /* "auto" centers the whole container on the page */
    padding: 0;             /* Remove container padding to let 'margin: auto' do the work */
    box-sizing: border-box;
    gap: 120px;             /* This is your ONLY gap control - perfectly centered */
}

.hcont .text {
    flex: 1;                /* Both sides take up exactly equal space */
    width: auto;            /* Let flex handle the width */
    padding: 0;             /* Remove the lopsided padding */
    box-sizing: border-box;
}

.title {
	text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.center {
	text-align: center;
}
/* Text block */
.text h1,
.text h2,
.text p {
    margin: 0;
}

/* Image */
.image img {
    height: auto;        /* Maintains aspect ratio */
    width: 100%;         /* Takes up the full width of its container div */
    max-width: 400px;    /* Won't grow larger than 400px */
    display: block;      /* Removes bottom whitespace/gap */
}
.image iframe {
  width: 100%;      /* Use 100% of the container's width */
  max-width: 800px; /* Optional: keeps it from getting too wide on big screens */
  height: 1100px;   /* A standard US Letter page is roughly 1100px tall */
  border: 1px solid #ccc;
}

/* Optional: responsive for small screens */
@media (max-width: 600px) {
    .hcont {
        flex-direction: column; /* stack text above image */
        align-items: center;    /* center content */
        padding: 0 40px;        /* smaller padding on mobile */
    }


}
hr.lines {
  border: none; /* Remove default border */
  border-top: 5px solid #d6ccc2; /* Add a solid top border as the line */
  margin: 18px 40px; /* Add space above and below */
  width: auto; /* Control the length of the line */
  margin-left: 40px;
  margin-right: 40px;
}


.header {
    display: flex;
   justify-content: center;      /* top-align text with image */
    gap: 20px;                      /* space between text and image */
    width: 100%;      
	margin-top: 10px;              
    /* Add spacing from screen edges */
    padding: 0 40px;  /* 40px left and right padding */
    box-sizing: border-box; /* ensures padding is included in width */
    flex-wrap: wrap;
}

a {
  display: inline-block;        /* allows padding & background sizing */
  padding: 12px 24px; 
  color: #9F8383; /* Sets the default text color for all links */
  text-decoration: none; /* Removes the default underline */
  font-weight: bold; /* Makes the link text bold */
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 20px;
  font-family: LM;
  margin-top: 40px;
}

a:hover {
  color: #66545e; /* Changes the text color to orange */ /* Adds an underline on hover */
  background-color: #a39193;
}

.site-footer {
  margin-top: 60px;
  padding: 30px 15px;
  background-color: #3D2B1F;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content p {
  margin-bottom: 10px;
  color: #EFDECD;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 30px;
}

.project-card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.tech-stack {
  margin: 12px 0;
  font-size: 0.85rem;
  color: #555;
}

.project-links a {
  margin-right: 12px;
  font-weight: bold;
}

.tag {
  display: inline-block;
  background: #e6f0ff;
  color: #0047ab;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-right: 6px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-links {
  list-style: none;
  padding: 0;
}

.contact-links li {
  margin: 10px 0;
}

form {
  max-width: 500px;
  margin-top: 30px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

button {
  padding: 10px 20px;
  cursor: pointer;
}

button {
  display: inline-block;
  padding: 10px 20px;
  color: #9F8383;
  background-color: transparent;
  border: none;
  font-weight: bold;
  font-size: 20px;
  font-family: LM;
  cursor: pointer;
  margin-top: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
padding: 6px 14px;
  font-size: 0.9rem;
  width: auto;       /* prevents it from stretching */
  align-self: center; /* if inside a flex container */
}

button:hover {
  color: #66545e;
  background-color: #a39193;
}
.contact-form {
  margin: 0 auto;
  text-align: left;
}
.contact-form {
  background-color: #d6ccc2; /* faded gray that matches your hr lines */
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 600px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #b1a595;   /* soft faded gray */
  border: 1px solid #bbb;
  border-radius: 6px;
  font-family: inherit;
}

textarea {
  resize: vertical;
  margin-bottom: 8px;
}

.availability {
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: italic;
  color: #6f6a63;
  text-align: center;
}

ul {
  margin-top: 6px;
  margin-bottom: 10px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

/* Specific override for the contact page container */
.hcont.contact-container {
    justify-content: center;
    padding: 0; 
}

/* Fix the box itself */
.contact-form {
    flex: 0 1 600px; /* Don't force 50% width; use 600px instead */
    width: 100%;
    padding: 30px 40px !important; /* Force internal padding for the gray box */
    margin: 20px auto;
    background-color: #d6ccc2; 
    border-radius: 12px;
}

/* Ensure form labels and inputs align nicely */
.contact-form label {
    display: block;
    font-family: FC;
    margin-bottom: 5px;
    color: #414833;
}

.contact-form button {
    margin-top: 15px;
    background-color: #b1a595;
    color: #3D2B1F;
    border-radius: 6px;
    padding: 10px 20px;
}

/* Removes link styling but keeps the card clickable */
.project-card-link {
    text-decoration: none;
    color: inherit; /* Keeps your text black/gray instead of blue */
    display: block;
    transition: transform 0.2s ease-in-out;
}

/* Adds a slight "lift" effect when you hover over it */
.project-card-link:hover {
    transform: translateY(-5px);
}

.project-card-link:hover .project-card {
    border-color: #007bff; /* Optional: highlights the border on hover */
}