* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  color: #f0f0f0;
  background-color: #333;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
}

.header :first-child{
  margin-right: auto;
}

.header-link {
  color: #fff;
  margin-left: 2rem;
}

a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.header-logo {
  color: #fff;
  font-size: 24px;
}

.content-container{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #feb058b3;
  padding-top: 1.5rem;
}

form {
  min-width: 400px;
  background-color: rgba(0, 0, 0, 0.53);
  color: #fff;
  margin: 1rem;
    padding: 1.25rem 2rem;
    border-radius: .5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

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

textarea,
input[type="text"],
input[type="password"],
input[type='date'] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #ffffffcd;
  font-weight: bold;
  font-size: 1.25rem;
 
}
button[type="submit"],
input[type="submit"] {
  background-color: #feb058b3;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: #ff8800;
}

.footer{
  color: #f0f0f0;
  background-color: #333;
  padding: 1rem;
  display: flex;
  justify-content: center;
  
}

.footer img {
  filter: invert(100%);
  -webkit-filter: invert(100%);
}

.hero-content {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: .04rem;
}

.hero {
  background-color: #f0f0f0;
  background-image: url('/images/jed-villejo-bEcC0nyIp2g-unsplash.jpg');
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.photo-credit{
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: .75rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 10px;
}

.photo-credit a {
  color: #fff;
  text-decoration: none;
  font-size: .75rem;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  
}

.hero p {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 8px 8px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: .75rem 1.25rem;
  border-radius: 5px;
  transition: scale background-color 0.2s ease-in-out;
  margin: .75rem;
}

.btn:hover {
  background-color: #0062cc;
}

a:hover{
  transition: scale 0.2s ease-in-out;
  transform: scale(1.1)
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
  padding: 1.25rem 2rem;
  background-color: rgba(0, 0, 0, 0.53);
  border-radius: .5rem;
}

.error p, .error {
  color: rgba(255, 0, 0, 0.724);
  font-weight: bold;
  margin-bottom: 1rem;
}

.message{
  background: linear-gradient(to right, rgba(0, 0, 0, 0.53) 0%, rgba(0, 0, 0, .20) 50%,  rgba(0, 0, 0, 0.53) 100%);
  color: #fff;
  font-weight: bold;
  margin: 1rem;
  padding: 1.25rem 2rem;
  width: 85%;
  display: flex;
  flex-direction: column;
  border-radius: .5rem;
}

.textbox {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-word;
 
}

.message-box {
  display: flex;
  gap: .5rem;
  align-items: baseline;
}

.admin-link{
  margin-top: auto;
  margin-bottom: .5rem;
  align-self: flex-end;
  margin-left: 1rem;
  margin-bottom: 1rem;
  margin-right: 1rem;
}

.delete-button{
  min-width: 100px;
  width: fit-content;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  
}