/* -------  General Styles ------- */

body {
  font-family: "Lato", sans-serif;
  color: #6b1a22;
}

h2 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 10px 15px 10px;
  text-align: center;
}

h3 {
  font-size: 18px;
  font-weight: 500;
}

p {
  line-height: 1.5em;
  margin: 0;
}

section {
  padding: 20px;
}

section.alternate-background {
  background-color: #a35766;
  color: #ecdbc9;
}

main img {
  width: 500px;
}

img {
  display: flex;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  margin-bottom: 20px;
}


/* ---  Groups & Items --- */

/* -------  Navigation ------- */

header {
  background-color: #83092e;
  padding: 20px 20px 0 20px;
  text-align: center;
}

header nav {
  display: flex;
  justify-content: center;
}

header nav ul {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.logo {
  font-family: "Tangerine", cursive;
  font-size: 72px;
  color: #ecdbc9;
}

header nav ul li {
  list-style-type: none;
}

header nav ul li a {
  color: #ecdbc9;
  text-decoration: none;
  padding: 0 20px 0 0;
}

header nav ul li a:hover {
  color: #bdbdbd;
  text-decoration: none;
}

/* -------  Join Form ------- */
form {
  display: flex;
  flex-direction: column;
  border: 2px solid #6b1a22;
  padding: 10px;
  max-width: 500px;
  max-height: 300px;
}

form label {
  font-weight: bold;
}

form div {
  display: flex;
  justify-content: space-between;
}

form select,
form input {
  margin-bottom: 20px;
  width: 180px;
}

form button {
  background-color: #83092e;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 15px;
  width: 100%;
}

/* -------  Footer ------- */

footer {
  background-color: #83092e;
}

footer p {
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* -------  Media Query ------- */

@media all and (min-width: 480px) {

header {
  display: flex;
  text-align: left;
  justify-content: space-between;
}

section.join {
  display: flex;
  flex-direction: row;
}

.logo {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 30px;
}

div.form {
  margin: auto;
  display: flex;
  flex-direction: column;
}

main img.item-double {
  flex: 2;
  padding: 0 0 0 0;
  margin: 0 20px 0 0;
  max-width: 800px;
  max-height: 500px;
}

div.about {
  display: flex;
  flex-direction: row;
}

div.about img {
  flex: 1;
  padding: 0 0 0 0;
  margin: 0 20px 0 0;
  max-width: 300px;
  max-height: 200px;
}

div.about div {
  flex: 2;
  margin: auto;
}

div.download {
  display: flex;
  flex-direction: row;
}

div.download img {
  flex: 1;
  padding: 0 0 0 0;
  margin: 0 20px 0 0;
  max-width: 800px;
  max-height: 500px;
}

div.downloadtheapp {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: auto;
}

div.blog1 {
  display: flex;
  flex-direction: row;
}

div.blog1 div {
  flex: 1;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
}

div.blog1 div img {
  max-width: 800px;
  max-height: 500px
}

}