@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
}

body {
  background-image: url("../img/72937024-office-desk-with-computer-phone-and-stationery-top-view-of-white-wooden-desk-.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 30%;
  height: 500px;
  box-shadow: 5px 3px 8px 6px #888888;
  position: relative;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: 2s;
}
.container div:first-child {
  margin-top: 20px;
  margin-bottom: 70px;
  font-size: 25px;
}
.container #user, .container #pass {
  width: 90%;
  height: 40px;
  margin: 15px auto;
  display: flex;
  align-items: center;
}
.container #user i, .container #pass i {
  position: absolute;
  line-height: 40px;
  padding: 5px;
  text-align: left;
}
.container #user input, .container #pass input {
  width: 100%;
  height: 40px;
  text-align: center;
  outline: none;
  border: none;
  background: none;
  border-bottom: 1px solid black;
  border-radius: 10px;
  font-size: 20px;
}
.container #btns {
  width: 90%;
  margin: 15px auto;
  display: flex;
  justify-content: center;
  position: relative;
}
.container #btns a {
  position: absolute;
  left: 0;
  color: black;
}
.container #btns a:hover {
  text-decoration: underline;
}
.container #btns button {
  width: 100px;
  position: absolute;
  right: 0;
}

@media screen and (max-width: 1000px) {
  .container {
    width: 40%;
  }
}
@media screen and (max-width: 700px) {
  .container {
    width: 60%;
  }
}
@media screen and (max-width: 500px) {
  .container {
    width: 80%;
  }
}
.cont {
  width: 30%;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 500px;
  box-shadow: 5px 3px 8px 6px #888888;
  position: absolute;
  border-radius: 10px;
  text-align: center;
  transform: translateX(-400%);
  transition: 2s;
}
.cont h1 {
  margin-bottom: 25px;
}
.cont input {
  width: 70%;
  margin-top: 25px;
  outline: none;
  border: none;
  background: none;
  border-bottom: 1px solid black;
  border-radius: 10px;
  padding: 5px;
}
.cont input::placeholder {
  font-size: 20px;
}
.cont #log {
  width: 70%;
  position: relative;
  margin-top: 10px;
}
.cont #log a {
  position: absolute;
  left: 0;
  color: black;
}
.cont #log button {
  position: absolute;
  right: 0;
  width: 50px;
}

@media screen and (max-width: 1000px) {
  .cont {
    width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .cont {
    width: 80%;
  }
}
