/* HomePage.css
   External style sheet for Final Project IST239
   Dark mode / tech-professional theme
*/

/* basic page setup */
* {
  box-sizing: border-box;
}

body {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* header at the top of the page */
header {
  background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
  border-bottom: 1px solid #30363d;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


/* keeps photo/name/email above the turtle */
.profileContent {
  position: relative;
  z-index: 1;
}

header h1 {
  color: #58a6ff;
  margin: 0;
  font-size: 2.2em;
  letter-spacing: 0.03em;
}

/* the photo and name section */
.profile {
  text-align: center;
  padding: 20px;
}

.profile img {
  width: 220px;
  height: auto;
  border: 3px solid #58a6ff;
  border-radius: 8px;
  display: block;
  margin: 0 auto 15px auto;
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}


.profile p {
  font-size: 15px;
  color: #8b949e;
  font-family: 'Consolas', 'Courier New', monospace;
}
/*welcome message formatting */
#welcomeMsg {
  color: #58a6ff;
  font-size: 20px;
  font-weight: normal;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  margin-top: 8px;
}



/* navigation dropdown */
nav#dropdownNav {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  max-width: 700px;
  margin: 20px auto;
  padding: 18px 20px;
  text-align: center;
}

nav#dropdownNav label {
  color: #8b949e;
  font-size: 0.95em;
  margin-right: 10px;
}

nav#dropdownNav select {
  background-color: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 0.95em;
}

nav#dropdownNav button {
  background-color: #238636;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 7px 18px;
  margin-left: 8px;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

nav#dropdownNav button:hover {
  background-color: #2ea043;
}

nav#dropdownNav p#navDescription {
  color: #8b949e;
  font-size: 0.9em;
  margin-top: 12px;
  font-style: italic;
}

/*
   Three column liquid layout
   Using percentages instead of fixed pixels
   so the columns resize with the browser window
*/

.container {
  width: 100%;
  padding: 20px 0 40px 0;
}

.container::after {
  content: "";
  display: block;
  clear: both;
}

.column {
  float: left;
  width: 31%;
  margin: 0 1%;
  padding: 15px;
  box-sizing: border-box;
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
}

.column a {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #58a6ff;
  text-decoration: none;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.column a:hover {
  background-color: #1f2937;
  color: #79c0ff;
}

.column a:first-of-type {
  margin-top: 0;
}

.column p {
  font-size: 13.5px;
  color: #8b949e;
  padding: 0 10px;
  margin-top: 2px;
}

/* stack the columns on small screens instead of
   squishing them too narrow */
@media (max-width: 700px) {
  .column {
    width: 100%;
    margin: 10px 0;
    float: none;
  }
}

/* the footer at the very bottom of the page */
footer {
  background-color: #161b22;
  border-top: 1px solid #30363d;
  color: #8b949e;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
}

footer p {
  margin: 4px 0;
}