* {
  box-sizing: border-box;
}

/* major elements */

html, body {
  overflow-x: hidden;
  width: auto;
}

html {
  margin: -15px;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #C6AE80;
  font-size: 16px;
}

header, main {
  padding: 15px;
}

header {
  color: white;
  background-color: #5B6C5D;
}

header ul, h1, h3, .center {
  text-align: center;
}

h2, li {
  padding: 10px;
}

h3 {
  margin: 0;
}

form {
  padding: 10px 0 10px 0;
}

select {
  padding: 0;
  margin: 3px 0 2px 0;
}

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

/* inputs and labels */

.button {
  background-color: #5BC0EB;
  border: 1px solid black;
  color: black;
  text-decoration: none;
  border-radius: 12px;
  padding: 5px;
}

input {
  font-size: 16px;
  float: left;
}

input[type="text"] {
  margin: 0;
  padding: 1px 0 0 0;
}

label, .item, .loader-item-2 {
  padding: 5px 0 0 0;
}

label {
  float: left;
  clear: left;
  width: 140px;
  text-align: left;
}

button:hover {
  cursor: pointer;
}

/* groups */
 
.group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item {
  flex: 1;
}

.item-2 {
  flex: 1;
  padding: 10px 0 0 0;
}

.loader-group {
  display: flex;
  flex-direction: row;
  height: 50px;
}

.loader-item-1 {
  flex: 1;
  margin: 0;
  padding: 1px 0 0 0;
}

.loader-item-2 {
  flex: 1;
  margin: 0;
}

/* classes */

.active-alert, .error-message {
  color: darkred;
  font-weight: bold;
}

.font-max-results {
  font-size: 16px;
}

.hidden {
  display: none;
}

.results-li, .results-forecast {
  background-color: #DFD2B9;
  border-radius: 25px;
  margin: 20px 5px;
}

.results-forecast {
  padding: 1px 1px 1px 10px;
}

/* media responsiveness */

@media all and (min-width: 600px) {
  .wide-group {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0;

  }

  .wide-item {
    flex: 1;
  }

  .double-wide-item {
    flex: 2;
  }
}