/* Base Styles & Typography */
body {
    font-family: ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
   -webkit-font-smoothing: antialiased; /* Better font rendering */
   -ms-text-size-adjust: 100%;
   -webkit-text-size-adjust: 100%;
   -moz-osx-font-smoothing: grayscale;
}

/* Light Mode (Default) */
body {
    background-color: #ffffff;
    color: #000000;
}

/* Dark Mode Detection */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }
}

/* Layout Constraints */
header {
    width: 65%;
    margin-bottom: 3rem;
}

main {
    width: 65%;
}

a {
    color: inherit;
}

footer {
    width: 65%;
    margin-top: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    main, header, footer {
        width: 95%;
    }
    body {
        padding: 1rem;
    }
}

/* Form styles for the contact page */
.form-wrap {
  width:80%;
  max-width:900px;  
}
label{
  display:block;
  margin-bottom:8px;  
}
input[type="text"],
input[type="email"],
textarea{
  width:100%;
  padding:5px 24px;
  border:1px solid currentColor;
  background:transparent;
  color:inherit;
  resize:vertical;
  margin-bottom:18px;
  min-height:44px;
}
textarea{min-height:160px;padding-top:14px}
button[type="submit"]{
  padding:16px 26px;
  border:1px solid currentColor;
  background:transparent;
  color:inherit;
  cursor:pointer;
  font-weight:500; 
  text-transform:uppercase;
}

@media (max-width: 768px) {
    .form-wrap {
      width: 80%;      
      max-width: 500px;
    }
}