/* div {
  border: solid 1px red;
} */

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-family: 'Open Sans', sans-serif;
  background: #2d2d2d;
  background-image: url('https://source.unsplash.com/1600x900/?landscape');
  background-size: cover;
  font-size: 120%;
}

.card {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2em;
  border-radius: 30px;
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 520px;
  margin: 1em;
  color: white;
}

.search {
  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  height: 44px;
  width: 44px;
  cursor: pointer;
  outline: none;
  background: #9797975b;
  color: rgb(191, 191, 191);
  transition: 0.2s ease-in-out;
}

button:hover {
  color: rgb(0, 0, 0);
  background: #ffffff;
}

input.search-bar {
  margin: 0.3em;
  border: none;
  outline: none;
  padding: 0.4em 1em;
  border-radius: 24px;
  background-color: #9797975b;
  color: white;
  font-family: inherit;
  font-size: 105%;
  width: calc(50% - 100px);
  letter-spacing: 0.05em;
}

h2.city {
  padding-left: 28px;
  letter-spacing: 0.05em;
}

h1.temperature {
  padding-left: 28px;
  letter-spacing: 0.05em;
}

.attribute {
  padding-left: 28px;
  margin: 0.5em;
  font-family: 'Fredoka', sans-serif;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.05em;
}

.icon {
  padding-left: 18px;
}

.icons {
  width: 40px;
  height: 40px;
  padding-top: 20px;
  opacity: 0.7;
}

.icons:hover {
  opacity: 0.4;
  width: 40px;
  height: 40px;
}

.contacts {
  bottom: 25px;
  left: 5px;
  display: flex;
  position: fixed;
}
