body {
  margin: 0;
  font-family: "Rubik";
  background: #111;
}

* {
  box-sizing: border-box;
}

h1,
h3 {
  font-weight: 400;
}

.app {
  min-height: 100vh;
  /* background-image: url(../img/day.claudy.jpg); */
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
  transition: 500ms;
  opacity: 1;
}

.app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}

.left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2em 3em 4em 3em;
}

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

.left__box-c,
.left__box-city-time,
.weather {
  margin: 0.1em;
}

.left__box-descs {
  display: flex;
  align-items: center;
}

.left__box-city-time {
  margin-right: 15px;
}

.left__box-city-time h1 {
  margin: 0;
  margin-bottom: 0.2em;
  font-size: 3em;
}

.left__box-c {
  font-size: 7em;
  margin: 0;
}

.left__box-weather img {
  display: block;
  margin: 0.5em 0;
  text-align: center;
}

.left__box-weather {
  text-align: center;
}

.panel {
  position: absolute;
  width: 40%;
  height: 100%;
  top: 0;
  right: 0;
  background: rgba(110, 110, 110, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
  padding: 3em 2em;
  overflow-y: scroll;
}

.panel form {
  margin-bottom: 3em;
}

.panel__submit {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5em;
  margin: 0;
  border: none;
  outline: none;
  background: #fa6d1b;
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
  transition: 0.4s;
}

.panel__submit:hover {
  background: #fff !important;
  color: #000;
}

.panel__search {
  background: none;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0 1em 0.5em 0;
  width: 80%;
  color: #fff;
  font-size: 1.1em;
}

.panel__search:focus {
  outline: none;
}

.panel__search::placeholder {
  color: #ccc;
}

.panel ul {
  padding: 0 0 1em 0;
  margin: 2em 0;
  border-bottom: 1px #ccc solid;
}

.panel ul li {
  margin: 2em 0;
}

.panel__city {
  display: block;
  cursor: pointer;
}

.panel__city:hover {
  color: #fff;
}

.panel__detalis li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 800px) {
  .panel,
  .container {
    position: relative;
    width: 100%;
    top: initial;
  }
}

@media only screen and (max-width: 552px) {
  html {
    font-size: 12px;
  }
}

@media only screen and (max-width: 300px) {
  .weather-app {
    min-height: 40em;
  }
}

@media only screen and (max-width: 400px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left__box {
    /* min-height: 40em; */
    /* display: block; */
    flex-direction: column;
    align-items: center;
  }
}
