@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: rgb(37, 36, 36);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 200;
  width: 100%;
  background-position: center;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

h2,
h3 {
  font-weight: 200;
}

img {
  max-width: 100%;
}

hr {
  width: 15%;
  margin: 20px auto 5px;
}
/* -------------------- START LOGIN SECTION------------------------------------ */

.login-section {
  width: 100%;
  background-position: center;
  background-image: url(./images/snow1.jpg);
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(1, fr);
  align-items: center;
}


#login {
  border-radius: 8px;
  width: 400px;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  margin: 0 auto;
}

#login div {
  padding: 0.5rem 0;
}

.hero-box {
  margin: 0 auto;
  width: 50%;
}

.btn {
  line-height: 20px;
  height: 100%;
  text-align: center;
  width: 100%;
  cursor: pointer;
  transition: all 0.5s;
  position: relative;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(94, 94, 94, 0.1);
  transition: all 0.3s;
}

.btn:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(223, 217, 217, 0.5);
  transform: scale(1.2, 1.2);
}

.btn:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}

button {
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  background: none;
}

.name-input_box input,
#request input {
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  padding: 5px;
  width: 100%;
  background: none !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  color: black;
}

.name-input_box input::placeholder,
#request input {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  color: black;
}
/* -------------------- END LOGIN SECTION------------------------------------ */

/* -------------------- START APP SECTION------------------------------------ */


#app {
  text-align: center;
  padding-block: 1rem;
}

.weather-illustration {
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.weather-illustration img {
  width: 100%;
  height: 100%;
}

.weather-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.weather-icons {
  width: 25px;
}

/* -------------------- END APP SECTION------------------------------------ */


/* -------------------- START REQUEST SECTION------------------------------------ */


#request {
  height: 100vh;
  background-color: #fff;
  z-index: 10;
  padding: 2rem;
}

.close {
  width: 30px;
}

#request header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* --------------------END REQUEST SECTION------------------------------------ */


.hidden {
  display: none;
}

.menu, .back{
  position: absolute;
}

.menu:hover,
.close:hover, 
.back {
  cursor: pointer;
}


@media (max-width: 500px) {
  .weather-illustration {
    width: 100%;
  }
  .weather-illustration img {
    width: 80%;
  }
  body {
    font-size: 12px;
  }
  #login {
    width: 80%;
  }
  .menu-img, .back-img {
    width: 30px;
  }
}


