@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Poppins:400,500&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.bg-img {
  background: url('/user/images/pexels-pixabay-325876.jpg');
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.bg-img:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  text-align: center;
  padding: 5% 3%;
  width: 90%;
  max-width: 450px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: -1px 4px 28px 0px rgba(0, 0, 0, 0.75);
}

.content header {
  color: white;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.field {
  position: relative;
  height: 45px;
  width: 100%;
  display: flex;
  background: rgba(255, 255, 255, 0.94);
  margin-bottom: 15px;
}

.field span {
  color: #222;
  width: 40px;
  line-height: 45px;
}

.field input {
  height: 100%;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #222;
  font-size: 16px;
}

.space {
  margin-top: 16px;
}

.show {
  position: absolute;
  right: 13px;
  font-size: 13px;
  font-weight: 700;
  color: #222;
  display: none;
  cursor: pointer;
}

.pass-key:valid~.show {
  display: block;
}

.pass {
  text-align: left;
  margin: 10px 0;
}

.pass a {
  color: white;
  text-decoration: none;
}

.pass:hover a {
  text-decoration: underline;
}

.field input[type="submit"] {
  background: #3498db;
  border: 1px solid #2691d9;
  color: white;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
}

.field input[type="submit"]:hover {
  background: #2691d9;
}

.login {
  color: white;
  margin: 20px 0;
}

.links {
  display: flex;
  cursor: pointer;
  color: white;
  margin: 0 0 20px 0;
}

.facebook,
.instagram {
  width: 100%;
  height: 45px;
  line-height: 45px;
  margin-left: 10px;
}

.facebook {
  margin-left: 0;
  background: #4267B2;
  border: 1px solid #3e61a8;
}

.instagram {
  background: #E1306C;
  border: 1px solid #df2060;
}

.facebook:hover {
  background: #3e61a8;
}

.instagram:hover {
  background: #df2060;
}

.links i {
  font-size: 17px;
}

i span {
  margin-left: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 16px;
}

.signup {
  font-size: 15px;
  color: white;
}

.signup a {
  color: #3498db;
  text-decoration: none;
}

.signup a:hover {
  text-decoration: underline;
}

.error-msg {
  color: red;
  float: left;
  margin-top: 2px;
}

.field-container {
  width: 100%;
  display: inline-block;
}

.custom-file-upload {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.circular-image-input {
  position: relative;
  width: 120px;
  height: 120px;
  margin-left: 133px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.circular-image-input img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circular-image-input input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.text-center.mb-4 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.animation-container {
  font-size: 2em;
  font-weight: bold;
  overflow: hidden;
}

.animation-login {
  font-size: 2em;
  font-weight: bold;
  overflow: hidden;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(1em);
  animation: appear 0.5s forwards;
  color: #fff;
}

.letter2 {
  display: none;
  opacity: 0;
  transform: translateY(1em);
  animation: appear 0.5s forwards;
  color: #fff;
}

/* Media Query for smaller screens */
@media only screen and (max-width: 768px) {
  .content {
    padding: 10% 5%;
  }

  .content header {
    font-size: 2rem;
  }
}

@keyframes appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}