

body {
  margin: 0;
  padding: 0;
  background: url("../img/inicio_bw.jpg") no-repeat left top;
  background-color: #f7f7f7;
  font-family: Arial, sans-serif;
  height: 100vh;
}

.login-box {
  top: 17%;
  left: 80%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 320px;
  /* height: 30%; */
  /* perspective: 1000px; */
  margin: auto;
  padding: 40px;
  /* background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
}


.logo-container {
  text-align: center;
}

.logo-container img {
  width: 200px; 
  height: 200px; 
  border-radius: 50%;
}

.flip-container {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
	position: absolute;
  width: 100%;
  height: 100%;
}
.front, .back {
  position: absolute;
  width: 350px;
  height: 500px;
  top: 0;
	left: 0;
  padding: 10px;
  backface-visibility: hidden;
}

.front {
  z-index: 2;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  /* transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg); */
}

.back {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.login-box.flipped .flip-container {
  transform: rotateY(180deg);
}

.input-container {
  position: relative;
  margin-bottom: 20px;
}

.input-container input {
  width: 95%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  outline: none;
  height: 40px;
  background-color: #f7f7f7;
  color: #333333;
  font-size: 16px;
  outline: none;
}

.input-container input:focus {
  border-color: #000;
}

.input-container input:focus + i {
  color: #000;
}

.input-container i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  color: #999999;
}

.btnInicio {
  border: none;
  outline: none;
  height: 40px;
  background: black;
  color: #fff;
  width: 100%;
  font-size: 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-box input[type="submit"]:hover  {
  background: linear-gradient(to right,#888, #000, #000, #888);
}

.login-box h5 {
  margin-left: 20%; 
}


@media only screen and (max-width: 768px) {
  .login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; 
  }
}

.alert {
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.alert-success {
  background-color: #dff0d8;
  color: #3c763d;
}

.alert-danger {
  background-color: #f2dede;
  color: #a94442;
}