/* Ensure the container is centered */
.small-logo-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%; /* Ensures it spans the full width */
    margin-bottom: 20px; /* Space below the logo */
}

/* Center the actual logo */
.small-logo {
    width: 200px; /* Adjust as needed */
    height: auto;
    padding-bottom: 40px;
    display: block; /* Ensures proper centering */
    margin: 0 auto; /* Centers it within the container */
}

.name-contact-doodle {
    width: 175px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    position: relative; /* Needed for precise positioning */
    display: block;
    margin-left: auto; /* Pushes it to the right */
    margin-right: -40px; /* Increase negative value to push it further */
    transform: translate(-80px, -10px); /* Moves right and slightly up */
    opacity: 0.6;
}

.contact-wrapper {
    max-width: 600px;
    margin: 80px auto; /* Increased top margin for spacing */
    padding: 20px;
    text-align: center;
}

/* Contact Title - Adds More Space Below */
.contact-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 20px; /* Adjusts space below "Contact" */
}

/* Contact Description - Adds More Space Below */
.contact-wrapper p {
    font-size: 1.2rem; 
    margin-bottom: 30px; /* Adds spacing before "Name:" */
}

/* Labels - Ensures Proper Spacing */
label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: left;
    font-family: 'Lekton', sans-serif;
}

/*.contact-wrapper button {
    width: 100%;
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-wrapper button:hover {
    background: #555;
}*/

/* 📝 Input Fields - Make Them Look Like Faded Notebook Lines */
input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none; /* Removes harsh default borders */
    border-bottom: 2px solid rgba(0, 0, 0, 0.3); /* Faded underlining like notebook lines */
    background-color: transparent; /* Blends into the paper */
    font-size: 1rem;
    font-family: 'Lekton', sans-serif;
    transition: all 0.3s ease-in-out; /* Smooth animation for hover & focus */
    outline: none; /* Removes blue highlight on click */
}

/* 🖊️ Ink Effect on Hover/Focus */
input:hover, textarea:hover,
input:focus, textarea:focus {
    border-bottom: 2px solid black; /* Darkens line when typing */
    background-color: rgba(0, 0, 0, 0.05); /* Subtle paper-darkening effect */
}

/* ✍️ Placeholder Styling */
input::placeholder, textarea::placeholder {
    font-style: italic;
    color: rgba(0, 0, 0, 0.4); /* Light ink look */
}

.bottom-links {
  grid-column: 1 / span 2;
  grid-row: 5;
  text-align: center;
  margin-top: 60px;
  font-size: 1.1rem;
}
.bottom-links a {
  text-decoration: none;
  color: #000;
  margin: 0 10px;
}
.bottom-links a:hover {
  text-decoration: underline;
}

#response-message {
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Lekton', monospace;
    color: black;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    width: 100%; /* Ensures it doesn't shift around */
    min-height: 1.5em; /* Reserves space for the text to prevent shifting */
    margin-top: 20px; /* Space below button */
}

/* Typewriter Animation */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; } /* Ensures expansion without pushing content */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards, typewriter 1.5s steps(20, end) forwards;
}

/* Style the Send Message link */
#send-message {
    background: none;
    border: none;
    color: black;
    font-size: 1.2rem;
    font-family: 'Lekton', sans-serif;
    text-align: left;
    cursor: pointer;
    padding: 0;
    margin-right: 10px; /* Space between text and doodle */
    text-decoration: none; /* Remove default underline */
    transition: all 0.2s ease-in-out;
}

/* Underline on hover */
#send-message:hover {
    text-decoration: underline;
}

/* Remove default button styling */
#send-message:focus {
    outline: none;
}

/* Wrap Send Message and Doodle */
.send-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

/* Doodle next to Send Message */
.send-contact-doodle {
    width: 80px; /* Adjust as needed */
    height: auto;
    opacity: 0.6;
}