input[type=text], input[type=password] {
    width: 100%;
    padding: 5px 20px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button  {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.boton{

    color: white;
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    border-color: white;

}
.botonlogin{
    background-color: #138496;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;


}
.botonlogin:hover{
opacity: 0.8;
}

.boton:hover{
    opacity: 0.8;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    border-color: white;
}

/* Center the image and position the close button */

.h3bien{
     border-bottom: 2px solid black;

}
.bfloat{
    border-bottom: 1px solid black;
   text-align: left;
}

.container2 {
    max-width: 355px;
    height: auto;
    background: rgba(255, 255, 255, 0);
    margin: 5% auto;
    padding-bottom: 2rem;
    padding-top: 8rem;

}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
 background: rgba(255, 255, 255, 0.6);
    border: .5px solid black;
    display: none; 
     margin: 0% auto;
    padding-bottom: 0rem;
    position: fixed;
    z-index: 3;
    top: 10px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 2px;
}

/* Modal Content/Box */
.modal-content1 {
    
   padding: 10px;
  height: auto;
  border:1px solid black;
  text-align: center;
  overflow: hidden;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  position: relative;
  background-color: #fff;
  border-radius: .7rem;
  outline: 0;
  display: block;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 1.0s;
    animation: animatezoom 1.0s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 150px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
.modal-content1{
  
 
    width: 100%; /* Could be more or less, depending on screen size */

}