/* body */
body {
  font-family: "Lucida Console";
  background-color: teal;
}

/* header */
.header {
  color: white;
  font-size: 30px;
  text-align: center;
  background: black;
  padding: 10px;
  margin-left: 10px;
}

/* images */
img {
  border-radius: 16px;
  width: 500px;
  display: block;
  margin: auto;
}

/* query form */
.queryform {
  color: white;
  width: 80%;
  border-radius: 4px;
  border: 2px solid white;
  background-color:  black;
  padding: 20px;
  margin-left: 20px;
}

form {
  display: flex;
  flex-wrap: wrap;
}

label {
  min-width: 50%;
  margin-bottom: 10px;
}

input[type=text], select {
  min-width: 45%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
}

textarea {
  font-family: Arial;
  min-width: 45%;
  height: 150px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
}

input[type=submit] {
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  label,
  input[type=text],
  input[type=submit],
  select, textarea {
    flex: 100%;
    min-width: 100%;
  }
}

/* dividers */
.divider {
   color: black;
   padding: 10px;
   margin-top: 10px;
   margin-left: 10px;
}

/* footer */
footer {
   color: black;
   text-align: center;
   padding: 10px;
   margin-top: 10px;
   margin-left: 10px;
}

/* table */
table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 2px solid white;
  color: white;
  background: black;
  text-align: left;
  padding: 5px;
}

/* navigation links at the top of the page */
.top {
  font-size: 20px;
  text-align: center;
  background: black;
  a {
    color: white;
    font-weight: bold;
  }
  a:hover {
    color: teal;
  }
}

/* navigation links at the bottom of the page */
.bottom {
  a {
    color: black;
  }
  a:hover {
    color: white;
  }
}

/* navigation links for locations */
.location {
  a {
    font-size: 20px;
    color: white;
    text-shadow: 1px 1px black;
  }
  a:hover {
    color: teal;
    text-shadow: 1px 1px black;
  }
}

/* Container holding the image and the text for locations */
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Centered text for locations */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
