 
/* Full-width input fields */
input[type=password], input[type=text] {
  width: 100%;
  padding: 6px 10px;
  margin: 4px 0;
  display: inline-block;
  border: 1px solid #ac55cf;
  border-radius: 4px;
  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;
  border-radius: 5px;
  
}

.container2 {
    width:100%;
    padding-right:5px;
    padding-left:5px;
    margin-right:auto;
    margin-left:auto
} 

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* 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: 0px;
} 
    
button:hover {
  opacity: 0.8;
  color: #ac55cf;
}

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


/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  /*border-radius: 50%;*/
}
.psw {
    color: #000;
    text-align: right;
}


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

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}
.close2 {
  position: absolute;
  right: 25px;
  top: -20px;
  color: #aaa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

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

label {
  color: black;
  font-weight: bold;
}

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

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


@media (max-width: 480px) {
    .modal {
        padding-top: 0px;
    }     
    .modal-content {
      width: 90%;
      background-color: #f4f4f4;
      margin: 100px auto 15% auto; 
      border: 1px solid #ac55cf;
      z-index: 10; /* Sit on top */
    }    
    .modal-content-login {
          width: 350px;
          background-color: #fefefe;
          margin: 50px auto 15% auto; 
          border: 1px solid #ac55cf;
    }     
    .modal-content-frage {
          width: 350px;
          background-color: #fefefe;
          margin: 200px auto 15% auto;
          border: 1px solid #ac55cf;
          z-index: 10;
    } 

}
@media (min-width: 481px) {
    .modal {
        padding-top: 0px;
    }         
    .modal-content {
      width: 90%;
      background-color: #f4f4f4;
      margin: 100px auto 15% auto; 
      border: 1px solid #ac55cf;
      z-index: 10; /* Sit on top */
    }     
    .modal-content-login {
          width: 350px;
          background-color: #fefefe;
          margin: 50px auto 15% auto;  
          border: 1px solid #ac55cf;
    }         
    .modal-content-frage {
          width: 350px;
          background-color: #fefefe;
          margin: 200px auto 15% auto;
          border: 1px solid #ac55cf;
          z-index: 10;
    } 

}
@media (min-width: 768px) {
    .modal {
        padding-top: 0px;
    }         
    .modal-content {
      width: 90%;
      background-color: #f4f4f4;
      margin: 100px auto 15% auto; 
      border: 1px solid #ac55cf;
      z-index: 10; /* Sit on top */
    }     
    .modal-content-login {
          width: 350px;
          background-color: #fefefe;
          margin: 50px auto 15% auto; 
          border: 1px solid #ac55cf;
    }         
    .modal-content-frage {
          width: 350px;
          background-color: #fefefe;
          margin: 200px auto 15% auto;
          border: 1px solid #ac55cf;
          z-index: 10;
    } 

}

@media (min-width: 1024px) {
    .modal {
        padding-top: 0px;
    }         
    .modal-content {
      width: 60%;
      background-color: #f4f4f4;
      margin: 200px auto 15% auto; 
      border: 1px solid #ac55cf;
      z-index: 10;
    }     
    .modal-content-login {
          width: 350px;
          background-color: #fefefe;
          margin: 50px auto 15% auto; 
          border: 1px solid #ac55cf;
    }         
    .modal-content-frage {
          width: 350px;
          background-color: #fefefe;
          margin: 200px auto 15% auto;
          border: 1px solid #ac55cf;
          z-index: 10;
    } 

}

@media (min-width: 1025px) {
    .modal {
        padding-top: 0px;
    }         
    .modal-content {
      width: 60%;
      background-color: #f4f4f4;
      margin: 200px auto 15% auto; 
      border: 1px solid #ac55cf;
      z-index: 10;
    }     
    .modal-content-login {
          width: 350px;
          background-color: #fefefe;
          margin: 50px auto 15% auto; 
          border: 1px solid #ac55cf;
    }         
    .modal-content-frage {
          width: 350px;
          background-color: #fefefe;
          margin: 200px auto 15% auto;
          border: 1px solid #ac55cf;
          z-index: 10;
    } 

}   