/* General Body and Sections */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #f4f4f4;
  padding-top: 50px; /* same as header height */

}

/* Sections */
section {
  padding: 40px 20px;
  border-bottom: 1px solid #ddd;
}

/* Inputs and textareas */
input, textarea {
  display: block;
  margin: 10px 0;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

/* Side toggle button */
#sideToggleBtn {
  position: fixed;
  top: 60px;
  right: 20px;
  font-size: 26px;
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1100;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#sideToggleBtn:hover {
  background-color: #555;
}

/* Side panel */
.side-panel {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1099;
  top: 0;
  right: 0;
  background-color: #222;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.3s;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Side nav inside side panel */
.side-panel nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.side-panel nav ul li {
  margin: 20px 0;
  padding-left: 20px;
}

.side-panel nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

.side-panel nav ul li a:hover {
  background-color: #444;
  padding-left: 25px;
  border-radius: 3px;
}

/* Login area at bottom of side panel */
#sideLogin {
  padding: 20px;
  border-top: 1px solid #444;
}

#sideLogin h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: normal;
  font-size: 18px;
}

#sideLogin input {
  margin-bottom: 10px;
}

#sideLogin button {
  width: 100%;
  padding: 8px;
  background-color: #333;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

#sideLogin button:hover {
  background-color: #555;
}

/* Admin section */
#admin {
  background-color: white;
  padding: 20px;
  margin: 20px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Modal (if you still want to keep it) */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  padding: 20px;
  margin: 15% auto;
  width: 300px;
  border-radius: 5px;
}
#topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px; /* adjust height as needed */
  background-color: #000; /* black background */
  color: white;
  display: flex;
  align-items: center;
  padding-left: 20px;
  box-sizing: border-box;
  z-index: 1200; /* higher than side panel and toggle button */
  font-family: 'Brush Script MT', cursive, sans-serif; /* optional, for signature style */
  font-size: 24px; /* adjust size */
  user-select: none;
}

#topHeader .signature {
  font-weight: normal;
  padding-top: 5px;
  /* Add any other styling you want for the signature */
}
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#topHeader .signature img {
  animation: slideInFromLeft 1.5s ease-out forwards;
  height: 50px;
  width: auto;
  max-width: 100%;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When section becomes visible */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.about-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-text {
  flex: 0 1 350px;
  min-width: 250px;
}

.about-photo-box {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap:12px;
  min-width: 0px;
}

.MePhoto {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ChicagoPhoto {
  width: 120px;
  height: 120px;
  border-radius: 0%;
  align-self: flex-start; /* This moves it to the top of the container */
}
/* Flex container to hold text and photos side-by-side */
.education-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* allows stacking on smaller screens */
  margin-top: 20px;
}

/* Text section styles */
.education-text {
  flex: 1;
  min-width: 250px;

}

/* Photos aligned to the right */
.edu-photo-box {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-right: 200px;
}

/* Shared photo styling */
.PurduePhoto,
.CreightonPhoto {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.CreightonTag {
  width: 120px;
  height: 120px;
  border-radius: 0%;
  align-self: flex-start; /* This moves it to the top of the container */
}
.PurdueTag {
  width: 120px;
  height: 120px;
  border-radius: 10%;
  align-self: flex-start; /* This moves it to the top of the container */
}
.visit-farmland-btn {
  background: #2196f3;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.2s;
  margin-top: 12px;
  position: relative;
  outline: none;
}
.visit-farmland-btn:hover,
.visit-farmland-btn:focus {
  background: #4fa3f7;
  color: #fff;
}
.visit-farmland-btn:hover::after {
  content: '\2192'; /* Unicode right arrow */
  display: inline-block;
  margin-left: 12px;
  font-size: 1.2em;
  color: #fff;
  vertical-align: middle;
  transition: opacity 0.2s;
  opacity: 1;
}
.visit-farmland-btn.selected::after,
.visit-farmland-btn:active::after,
.visit-farmland-btn:focus::after {
  content: '';
}
section h1, #about h1, #resume h1, #education h1, #projects h1 {
  display: block;
  width: 100%;
  padding: 16px 0 16px 24px;
  color: #fff;
  background: #0a2342;
  font-family: inherit;
  font-weight: 400;
  font-size: 2.1rem;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(10,35,66,0.08);
  letter-spacing: 1px;
  border-radius: 0;
  border-left: none;
}

@media (max-width: 700px) {
  #topHeader {
    font-size: 16px;
    height: 40px;
    padding-left: 8px;
  }
  #topHeader .signature img {
    height: 36px;
  }
  .about-container,
  .education-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .about-photo-box,
  .edu-photo-box {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: 0;
  }
  .about-photo-box img,
  .edu-photo-box img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  section {
    padding: 16px 4vw;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1.1rem;
  }
  .visit-farmland-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
  }
  .side-panel nav ul li {
    margin: 12px 0;
    padding-left: 10px;
  }
  .side-panel nav ul li a {
    font-size: 16px;
  }
  .PurdueTag,
  .CreightonTag,
  .ChicagoPhoto,
  .Tryit {
    display: none !important;
  }
  section h1, #about h1, #resume h1, #education h1, #projects h1 {
    font-size: 1.3rem;
    padding: 10px 0 10px 12px;
  }
}

@media (max-width: 500px) {
  #topHeader {
    font-size: 13px;
    height: 32px;
    padding-left: 4px;
  }
  #topHeader .signature img {
    height: 24px;
  }
  section {
    padding: 10px 2vw;
  }
  h1 {
    font-size: 1.1rem;
  }
  .visit-farmland-btn {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .PurdueTag,
  .CreightonTag,
  .ChicagoPhoto,
  .Tryit {
    display: none !important;
  }
}
