/* CSS file for all HTML files */
/* HTML 5 support */
header,
section,
footer,
nav,
article {
  display: block;
}

/* end */
html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: Verdana, sans-serif;
  margin: 0;
}

header {
  background-color: #8c7874;
  display: flex;
  flex-direction: row;
  padding-bottom: 10px;
  align-items: center;
  flex-wrap: wrap;
}

#headerTitle {
  margin-left: 10px;
}

#headerTitle > * {
  margin: 5px;
}

header h1 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 38px;
  font-weight: lighter;
}

header h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: lighter;
}

#owl {
  margin: 10px 10px 10px 20px;
}

#owl img {
  width: 100px;
}

#loginContainer {
  margin: auto 20px auto auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

#login {
  padding-left: 30px;
  padding-right: 30px;
}

nav {
  display: inline-block;
  padding: 0px;
  border: none;
  margin: 0;
  width: 100%;
  background-color: #47aa7d;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  float: left;
}

nav li:last-child {
  float: right;
}

nav a {
  display: block;
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition-duration: 0.3s;
}

nav a:hover {
  background-color: #349a6c;
}

.dropdownContent {
  display: none;
  position: absolute;
  background-color: #7dd9afcc;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdownContent a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdownContent a:hover {
  background-color: #c9ffe5cc;
}

.dropdown:hover .dropdownContent {
  display: block;
}

.selected {
  background-color: #2b7755;
}

#menuIcon {
  display: none;
}

div.line {
  width: 30px;
  height: 4px;
  background-color: #282828;
  margin: 5px 0;
}

main {
  margin: 0px 20px 10px;
  font-size: 16px;
  min-height: 500px;
}

main h1 {
  font-size: 32px;
  font-weight: lighter;
  text-align: center;
  margin: 10px;
}

main h2 {
  font-size: 24px;
  font-weight: lighter;
  text-align: center;
}

.button {
  display: inline-block;
  background-color: #cecece;
  border: none;
  padding: 10px;
  color: #000;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition-duration: 0.3s;
  margin: 5px;
}

.button:hover {
  background-color: #bcbcbc;
}

.button:active {
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  background-color: #878686;
}

#loginContainer div {
  padding: 10px;
}

footer {
  background-color: #8c7874;
  padding: 10px;
  display: flex;
}

address {
  line-height: 1.5;
  font-style: normal;
}

footer div {
  flex-grow: 1;
}

footer div > * {
  text-align: center;
  font-size: 12px;
}

#facebook {
  display: block;
  text-decoration: none;
  color: #000;
}

#facebook img {
  height: 30px;
  width: auto;
  position: relative;
  top: 10px;
}

@media all and (max-width: 850px) {
  header h1 {
    font-size: 30px;
  }

  header h2 {
    font-size: 16px;
    width: 200px;
  }

  nav a {
    font-size: 14px;
    padding: 10px 6px;
  }
}

@media all and (max-width: 683px) {
  nav li:not(:first-child) {
    display: none;
  }

  nav a {
    padding: 10px 16px;
  }

  #menuIcon {
    float: right;
    display: block;
    position: relative;
    right: 5px;
    top: 2px;
  }

  nav.down {
    position: relative;
  }

  nav.down #menuIcon {
    position: absolute;
    top: 2px;
    right: 5px;
  }

  nav.down li {
    float: none;
    display: block;
    text-align: left;
  }

  .dropdown:hover .dropdownContent {
    display: none;
  }
}
@media all and (max-width: 550px) {
  #loginContainer {
    flex-direction: row;
    margin: auto;
  }
  header {
    justify-content: center;
  }
}
