 /* Terrica Guy - Lab 7 */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-image: url("images/mybutterfly.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.6;
  color: inherit;
}

footer {
  background-color: #ede3ff;
  color: #000;
  font-family: Papyrus, Garamond, serif;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #890ad2;
}

.w3-card h3 {
  margin-top: 0;
}

.container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.sidebar {
  background-color: #cb7cf9;
  padding: 20px;
  width: 220px;
}

.NavMenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.NavMenu li {
  margin: 10px 0;
}

.NavMenu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  display: block;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.NavMenu a.active,
.NavMenu a:hover {
  color: #000;
  background-color: #ddb1f7;
}

.content {
  flex-grow: 1;
  padding: 20px;
  background-image: url("images/purplelily.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

/* Form Styling */
form input,
form textarea,
form button {
  width: 100%;
  max-width: 300px;
  padding: 8px;
  margin-bottom: 15px;
  border: 2px solid #cb7cf9;
  border-radius: 5px;
  background: #f1dffc;
  box-sizing: border-box;
}

form button {
  background-color: #cb7cf9;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

form button:hover {
  background-color: #ffffff;
  color: #000;
}

form button:active {
  transform: translateY(0.2vw);
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f1dffc;
  color: #000;
}

th, td {
  border: 1px solid #cb7cf9;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #ddb1f7;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    text-align: center;
  }
}

/* Print Styling */
@media print {
  body {
    color: #000;
    background: #fff;
  }
  .sidebar,
  footer {
    display: none;
  }
}
