html {
  /* font-family: "PT Sans", Helvetica, Arial, sans-serif; */
  font-family: 'Nunito', sans-serif !important;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 58em) {
  html {
    font-size: 20px;
  }
}


/* All headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Google Sans Code", monospace;
  font-weight: 500;
}

/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 */

.sidebar {
  text-align: center;
  padding: 1rem 1rem;
  color: rgba(255,255,255,.5);
  background-color: #557039;
}
@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 18rem;
    text-align: left;
  }
}

/* Sidebar links */
.sidebar a {
  color: #fff;
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-family: "Google Sans Code", monospace;
  font-size: 1.8rem;
  text-align: center;
}

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 0.5rem;
}
.sidebar-nav-item {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: underline;
}
.sidebar-nav-item.active {
  font-weight: bold;
}

/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 48em) {
  .sidebar-sticky {
    position: absolute;
    right:  1rem;
    bottom: 1rem;
    left:   1rem;
  }
}


/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
  padding-top:    4rem;
  padding-bottom: 4rem;
}

@media (min-width: 48em) {
  .content {
    max-width: 38rem;
    margin-left: 20rem;
    margin-right: 2rem;
  }
}

@media (min-width: 64em) {
  .content {
    margin-left: 22rem;
    margin-right: 4rem;
  }
}


/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */

@media (min-width: 48em) {
  .layout-reverse .sidebar {
    left: auto;
    right: 0;
  }
  .layout-reverse .content {
    margin-left: 2rem;
    margin-right: 20rem;
  }
}

@media (min-width: 64em) {
  .layout-reverse .content {
    margin-left: 4rem;
    margin-right: 22rem;
  }
}

/* Override Hyde post text and background */
.content, 
.content .post {
  background-color: #f5f3e4 !important; /* cream */
  color: #403f3c !important; /* dark text */
}

.content .post p,
.content .post li {
  color: #403f3c !important; /* paragraph and list text */
  font-size: 0.9rem;
}

/* All links inside posts */
.content .post a,
.content .post a:visited,
.content .post a code {
    color: #171714 !important; /* black links */
}

.content .post a:hover,
.content .post a:focus {
    color: #000000 !important; /* hover black as well */
}

/* Site description styling */
.sidebar-about .lead {
    font-size: 0.9rem !important;   /* adjust size as desired */
    color: #adb39d !important;      /* replace with any color you want */
    font-weight: 400;    /* optional: normal weight */
    line-height: 1;    /* optional: spacing for readability */
    text-align: center;
}

.sidebar-nav-item {
  margin: 0;
  padding: 0.1rem 0;
  line-height: 1.2;
  text-align: center;
}

.round {
  border-radius: 50% !important;
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
}

/* Resize images */
.sidebar img {
  max-width: 80%;
  height: auto;
}
.icon {
  width: 40px !important;
  height: 40px !important;
  padding: 5px !important;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Contact form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 15px;
}

.contact-form input, 
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}


/* Container styling */
.contact-form {
  max-width: 600px;
  margin: 2rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

/* Label styling */
.contact-form label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* Input and Textarea styling */
.contact-form input, 
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* Focus state - highlights the box when typing */
.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* Textarea specific height */
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Button styling */
.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-form button:active {
  transform: scale(0.98);
}
