/* Global styles */
* {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  padding: 5px;
  margin: 5px;
}

body {
  margin: 0;
  padding: 0;
}

/* Header styling */
header {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

#webname {
  background-color: #92ad70;
  color: white;
  margin: 0;
  padding: 10px;
  text-align: left;
}

nav {
  display: flex;
  padding: 5px;
  background-color: white;
}

/* Navigation styling */
nav a {
  text-decoration: none;
  color: #92ad70;
  margin-right: 15px;
}

nav a:hover {
  color: #4a7023;
}

/* Main content styling */
.main {
  padding: 20px 10px;
}

/* Flexbox layout styling */
.mainLayout {
  padding: 20px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 30px;
}

.mainLayout > div {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 400px;
  margin: 15px;
  text-align: center;
}

/* Table styling */
th {
  padding: 12px 0;
  background-color: #92ad70;
  color: white;
  width: fit-content;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Table cell styling */
td {
  padding: 10px 15px;
  text-align: center;
}

/* Contact table specific styling */
#item2 table {
  margin: 30px auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
}

#item2 table th {
  padding: 15px 20px;
  text-align: center;
}

#item2 table td {
  padding: 12px 20px;
  text-align: center;
}

/* Add specific styling for contact information table */
.main table {
  margin: 20px 0 20px 0;
  border-collapse: collapse;
  width: 80%;
  max-width: 600px;
}

.main table td a {
  color: #4a7023;
  text-decoration: none;
}

.main table td a:hover {
  text-decoration: underline;
}

/* Form styling */
form * {
  display: block;
  margin: auto;
  text-align: center;
}

input[type="submit"] {
  background-color: #92ad70;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Form validation styling */
input:invalid, textarea:invalid {
  border: 1px solid #d9534f;
}

input:valid, textarea:valid {
  border: 1px solid #92ad70;
}

.validation-message {
  color: #d9534f;
  font-size: 0.9em;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

/* Footer styling */
footer {
  padding: 10px;
  margin-top: 20px;
}

/* Fun page styling */
/*
#funList {
  display: none;
}
*/

#showListButton {
  background-color: #92ad70;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 400;
  transition: background-color 0.3s;
}

#showListButton:hover {
  background-color: #4a7023;
}

/* Bio container styling */
#bio-container {
  margin: 15px 0;
  max-width: 800px;
}

#shortBio, #longBio p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.bio-button {
  background-color: #92ad70;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 400;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.bio-button:hover {
  background-color: #4a7023;
}

/* Fun image styling */
.funIMG {
  border-radius: 100%;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* YouTube video styling */
#item3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

#item3 h3 {
  margin-bottom: 15px;
  color: #4a7023;
}

#item3 iframe {
  max-width: 100%;
  border: 3px solid #92ad70;
  border-radius: 10px;
}

/* Advice container styling */
#item4 .container {
  display: inline-block;
  border-radius: 10%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
  margin: 15px auto;
  max-width: 500px;
}

#item4 h2 {
  color: #4a7023;
  margin-bottom: 15px;
}

#item4 #adviceText {
  margin: 15px 0;
  line-height: 1.5;
  min-height: 50px;
}

#item4 button {
  background-color: #92ad70;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 400;
  transition: background-color 0.3s;
}

#item4 button:hover {
  background-color: #4a7023;
}

/* Google Maps styling */
.map-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
}

.map-container iframe {
  max-width: 100%;
  border: 3px solid #92ad70;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 