/* Global Styles */
/* Most of this stylesheet was pulled straight from GPT - Because writing CSS gives my grey hairs */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url('/uploads/1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 0;
  color: #333;
}

/* Main Content Styles */
main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
  position: relative;
}

/* Footer Styles */
footer {
  background-color: rgba(0, 123, 255, 0.9);
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 1;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header Styles */
header {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav a {
  color: white;
  margin-left: 15px;
  font-weight: bold;
}

header nav form {
  display: inline;
}

header nav button {
  background-color: white;
  color: #007bff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

header nav button:hover {
  background-color: #e6e6e6;
}

/* Main Content Styles */
main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Heading Styles */
h1, h2, h3 {
  color: #333;
  margin-bottom: 20px;
}

h1 {
  font-size: 2em;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
}

/* Form Styles */
form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

form div {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

input[type="file"] {
  padding: 5px;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  align-self: flex-start;
}

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

/* List Styles */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

ul li:last-child {
  border-bottom: none;
}

/* App Listing Styles */
.app-listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.app-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  width: calc(33% - 20px);
  box-sizing: border-box;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.app-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}

.app-item h2 {
  font-size: 1.25em;
  margin-bottom: 10px;
  color: #007bff;
}

.app-item p {
  margin: 0 0 10px;
  font-size: 0.9em;
  color: #666;
}

.app-item a {
  color: #007bff;
  font-weight: bold;
}

/* Review Section */
.review-list {
  margin-top: 20px;
}

.review-list li {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.review-list strong {
  color: #333;
}

.review-list p {
  margin: 5px 0 0;
  font-size: 0.9em;
  color: #555;
}

/* Footer Styles */
footer {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
}
