@font-face {
    font-family: 'sawarabi_gothicregular';
    src: url('../fonts/sawarabigothic/sawarabigothic-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
  --dk-color: #5b3c5a;
  --mid-color: #fecee7;
  --lt-color: #ffecf6;
  --dkest-color: #1f0713;
  --blk-color: #000408;
  --accent: #3c0308;
}

body {
  font-family: 'sawarabi_gothicregular', Garamond;
  background-image: url(../backgrounds/index.png);
  background-color: var(--dk-color);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 36px;
  margin: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weatherform {
  margin: 20px;
}

.cityInput {
  font-family: 'sawarabi_gothicregular', Garamond;
  background-color: var(--lt-color);
  color: var(--dkest-color);
  padding: 10px;
  font-size: 2rem;
  font-weight: bold;
  border: 1px solid var(--accent);
  border-radius: 10px;
  margin: 20px;
  width: 300px;
}

button[type="submit"] {
  padding: 10px 20px;
  font-family: 'sawarabi_gothicregular', Garamond;
  font-weight: bold;
  font-size: 2rem;
  background-color: var(--mid-color);
  color: var(--dk-color);
  border: 1px solid var(--accent);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .15s;
}

button[type="submit"]:hover {
  background-color: var(--lt-color);
}

.card {
  background-color: var(--lt-color);
  border: 1px solid var(--accent);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0px 0px 4px var(--dk-color);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0);
  transition: transform .5s;
}

h1 {
  margin-top: 0;
  margin-bottom: 25px;
}

p {
  font-size: 1.5rem;
  margin: 5px 0;
}

.cityDisplay {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--dkest-color);
  margin-bottom: 25px;
}

.tempDisplay {
  color: var(--dk-color)
}

.humidityDisplay {
  font-weight: bold;
  margin-bottom: 25px;
}

.descDisplay {
  font-style: italic;
  font-weight: bold;
  font-size: 2rem;
}

.weatherEmoji {
  font-size: 7.5rem;
  margin: 0;
}

.errorDisplay {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--dkest-color);
}