<style>
  body {
    font-family: Arial, Helvetica, sans-serif;
  }
  * {
    box-sizing: border-box;
  }
  /* Full-width input fields */
  input[type=text], input[type=password], select[type=text] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
  }
  /* Add a background color when the inputs get focus */
  input[type=text]:focus, input[type=password]:focus {
    background-color: #ddd;
    outline: none;
  }
  /* Set a style for all buttons */
  button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
  }
  button:hover {
    opacity:1;
  }
  /* Extra styles for the cancel button */
  .cancelbtn {
    padding: 14px 20px;
    background-color: #f44336;
  }
  /* Float cancel and register buttons and add an equal width */
  .cancelbtn, .registerbtn {
    float: left;
    width: 50%;
  }
  /* Float cancel and register buttons and add an equal width */
  .donebtn {
    float: center;
    width: 100%;
  }
  /* Add padding to container elements */
  .container {
    padding: 15px;
  }
  /* The Modal (background) */
  .register_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 50%;
    top: 50%;
    width: 550px;
    /* Full width */
    height: 855px;
    /* Full height */
    margin-left: -275px;
    margin-top:-427px;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: transparent;
    padding-top:0px;
  }
  /* The Modal (background) */
  .login_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 50%;
    top: 50%;
    width: 550px;
    /* Full width */
    height: 460px;
    /* Full height */
    margin-left: -275px;
    margin-top:-220px;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #transparent;
    padding-top:0px;
  }
  /* The Modal (background) */
  .forgotten_password_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 50%;
    top: 50%;
    width: 550px;
    /* Full width */
    height: 300px;
    /* Full height */
    margin-left: -275px;
    margin-top:-150px;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #transparent;
    padding-top:0px;
  }
  /* The Modal (background) */
  .reset_password_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 50%;
    top: 50%;
    width: 550px;
    /* Full width */
    height: 570px;
    /* Full height */
    margin-left: -275px;
    margin-top:-285px;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #transparent;
    padding-top:0px;
  }
  /* The Modal (background) */
  .message_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 50%;
    top: 50%;
    width: 550px;
    /* Full width */
    height: 210px;
    /* Full height */
    margin-left: -275px;
    margin-top:-105px;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #transparent;
    padding-top:0px;
  }
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: auto auto auto auto;
    /* 1% from the top, 1% from the bottom and centered */
    border: 1px solid #888;
    width: 75%;
    /* Could be more or less, depending on screen size */
  }
  /* Style the horizontal ruler */
  hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
  }
  /* The Close Button (x) */
  .close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f44336;
  }
  .close:hover,
  .close:focus {
    color: #f44336;
    cursor: pointer;
  }
  /* Clear floats */
  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  /* Change styles for cancel button and register button on extra small screens */
  @media screen and (max-width: 300px) {
    .cancelbtn, .registerbtn {
      width: 100%;
    }
  }
</style>