/* Resets */
html, body, ul, li, h1, h2, p {
  margin: 0;
  padding: 0;
}

/* Declares font family, text colour and adds a subtle pattern to the background */
body {
  font-family: 'Quicksand', sans-serif;
  color: #d6d6d6;
  background-image: url('img/texture.png');
  background-color: #1c1c1c;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Make container centered in page and center text inside <div> */
.container {
  position: flex;
  max-width: 500px;
  text-align: center;
  justify-content: center;
  align-content: center;
}

/* Makes image a circle and sizes it to 40% of the outside container */
.container img { 
  max-width: 90%;
  border-radius: 50%;
}

/* Clears bullet points and places <li> items next to each other instead of stacked on top and changes font */
li {
  display: inline;
  list-style: none;
  padding: 0 4px;
  font-family: "VT323", monospace;
}


/* Remove default hyperlink styling, add our own colours and change font-size*/
a, a:visited {
  color:#d6d6d6;
  font-size: 30px;
  text-decoration: none;
}

/* This changes the link colour when someone hovers their mouse over it */
a:hover {
  color: #959595;
}

/* Style our header tags */
h1, h2, h3 {
  font-weight: 700;
}

h1 {
  font-size: 40px;
  margin: 10px 0 0
}

h2 {
  font-size: 30px;
  color: #959595;
  
}

h3 {
  margin-bottom: 5px
}

/* Adds some space around our bio */
p {
  padding: 20px 0;
  font-size: 20px
    
}

/* Style our 'available' and 'unavailable' classes */
.available, .unavailable {
  width: 60%;
  margin:20px auto 20px;
  border-radius: 3px;
  padding: 10px 0;
  font-size: x-large;
}

.available {
  color: #fff;
  background-color: #6a6a6a;
}

.unavailable {
  color: #999;
  background-color: #eee;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  border: 1px solid #ccc;
  width: 250px;
  font-size: 1rem;
  text-align: center
}

.newsletter-form button {
  background: #6a6a6a;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #ccc;
  color: #6a6a6a;
}

#response-message {
  color: #ccc;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
