/* defining elements */
* {
  margin: 0;
  padding: 0;
}

h1 {
  padding: 10px;
  text-align: center;
}

h3 {
  text-align: center;
  size: 30px;
}

div.search {
  margin: 1em;
  display: flex;
}

p {
  size: 14px;
  padding: 20px;
}

div {
  align-items: center;
}

html,
body {
  margin: 0;
  height: 100vh;
  background-color: #43affc;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100%;
}

footer {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 1rem;
  text-align: center;
}

/* Defining Classes */
.citydate {
  text-align: center;
}

.city {
  font-size: 45px;
  margin-bottom: 0px;
}

.date {
  margin-top: 10px;
}

.currentTemp {
  font-size: 63px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conditions {
  font-size: 63px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conditionIcons {
  width: 4.5rem;
}

.conditionIconInfo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.info {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1%;
}

.buttonContainer {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #ffcd00;
  width: 100%;
  max-width: 330px;
  max-height: 600px;
  height: 450px;
  padding: 1%;
  margin-right: 30%;
  margin-left: 30%;
  padding-bottom: 3%;
}

.search {
  font-size: 24px;
  justify-content: center;
}

/* .search:hover {
  background-color: transparent;
  transform: scale(1.1);
  transition: 200ms;
} */

/* Initial Background */
.pan-top {
  -webkit-animation: pan-top 45s infinite alternate both;
  animation: pan-top 45s infinite alternate both;
}

/* Initial background animation */
@-webkit-keyframes pan-top {
  0% {
    background-position: 50% 100%;
    background-color: #399ddb;
  }
  100% {
    background-position: 50% 0%;
    background-color: #4cb3fd;
  }
}
@keyframes pan-top {
  0% {
    background-position: 50% 100%;
    background-color: #399ddb;
  }
  100% {
    background-position: 50% 0%;
    background-color: #4cb3fd;
  }
}

/* EOF */