* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: capitalize;
}
body {
  z-index: -2;
  background-image: url(/images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  width: 100dvw;
}
.layer {
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
}
h1 {
  font-size: 5rem;
  font-weight: 100;
  color: #200e3a;
  font-family: "Lemon", serif;
  text-shadow: 5px 6px 6px rgb(125 82 218);
}
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 50%;
}
.home {
  position: absolute;
  right: 30px;
  top: 30px;
  border: black 2px solid;
  background: transparent;
  outline: none;
  padding: 7px 10px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
}
.home:hover {
  background-color: aliceblue;
}
.home:active {
  transform: scale(0.9);
}
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
}
.icon > img {
  height: inherit;
}
form {
  display: flex;
  align-items: center;
  justify-content: center;
}

#city {
  font-size: 1.3em;
  font-weight: 600;
  text-transform: capitalize;
  font-family: "Bebas Neue", sans-serif;
  padding-right: 50px;
  outline: none;
  border: 2px solid black;
  border-radius: 10px;
  padding: 10px 20px;
}
.submit {
  width: 50px;
  height: 50px;
  position: relative;
  right: 50px;
  outline: none;
  border: none;
  border-left: none;
  background: transparent;
  cursor: pointer;
}
.submit:active {
  transform: scale(0.9);
}
.main {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}
.info {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  align-items: start;
  justify-content: space-evenly;
  /* border: 5px solid black; */
  border-radius: 20px;
  height: 80%;
  width: 40%;
}
.gridChild {
  border: 4px solid black;
  border-radius: 12px;
  display: flex;
  color: rgb(125 82 218);
  align-items: center;
  padding: 10px 20px;
}
.gridChild > p {
  color: #200e3a;
}
.weather {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  font-family: "Ubuntu", sans-serif;
  border: 5px solid black;
  border-radius: 20px;
  padding: 0px 20px;
  color: #200e3a;
}

h6 {
  font-size: 1.1rem;
  color: rgb(111, 47, 2);
}
p {
  color: white;
  font-size: 20px;
  text-align: center;
  font-weight: 100;
}
.region > p {
  font-size: 5rem;
  font-weight: 600;
  animation: glow infinite 2s;
  font-family: "Bebas Neue", sans-serif;
}
.region {
  display: flex;
  flex-direction: column;
}
.error {
  color: #820300;
  font-size: 3rem;
  font-weight: 100;
  text-align: center;
  text-shadow: none;
  width: 50%;
}

.heading {
  color: #f6d776;
  animation: glow infinite 2s;
}

@keyframes glow {
  0% {
    text-shadow: 0px 0px 20px black;
  }
  50% {
    text-shadow: 0px 0px 2px black;
  }
  100% {
    text-shadow: 0px 0px 20px black;
  }
}
