/* Center the avatar image inside this container */
.masterContainer {
  display: flex;
  justify-content: center;
  width: 100%;
  --border: 1px solid black;
  --background-color: black;
}

/* Bordered form */
form {
  border: 3px solid #f1f1f1;
  max-width: 500px;
  margin: 10px;
}

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

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

/* Add a hover effect for buttons */
button:hover {
  opacity: 0.8;
}


h1{
  padding: none;
  border: none;
  margin: none; 
}

/* default */
p {
  font-size: 1.3em;
}
/* for login comments */
p.info{
  padding: none;
  border: none;
  margin: none;
  color: red;
  font-size: 0.9em;
}

/* Extra style for the cancel button (red) */
a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;

  width: auto;
  font-size: 18px;
  padding: 10px 18px;
  border: none;
  margin: 10px;
  background-color: black;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

a.button:hover {
  background: #ddd;
  color: black;
}

a {
  color: black;
}


.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
  width: 40%;
  border-radius: 50%;
}

/* Add padding to containers */
.container {
  padding: 16px;
}

/* The "Forgot password" text */
span.pass {
  float: right;
  padding-top: 16px;
}

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

/*      FOR PORTRAIT        */
/****************************/
@media (orientation: portrait){
    
    .masterContainer {
        font-size: 34px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        align-items: center;
        --border: 1px solid magenta;
    }

    form {
        border: 3px solid #f1f1f1;
        width: 90%;
        max-width: 90%;
        height: 100%;
        margin: 10px;
    }

    /* Extra style for the cancel button (red) */
    a.button {
        -webkit-appearance: button;
        -moz-appearance: button;
        appearance: button;

        text-decoration: none;
        color: initial;

        width: auto;
        font-size: 34px;
        padding: 10px 18px;
        border: none;
        margin: 10px;
        background-color: black;
        color: #fff;
        cursor: pointer;
        text-align: center;
    }

    /* Set a style for all buttons */
    button {
        font-size: 34px;
        background: #000;
        color: #fff;
        padding: 14px 20px;
        margin: 8px 0;
        border: none;
        cursor: pointer;
        width: 100%;
    }

    /* Full-width inputs */
    input[type=text], input[type=password] {
        height: 70px;
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        font-size: 30px;
    }

    input[type=checkbox]{
        height: 50px;
        width: 50px;
    }
}



/* FOR ANIMATION */
/******************/

.animation{
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;

  width: 500px;
  height: 60px;
  line-height: 60px;
  font-size: 20px;
  border: 5px solid black;
  border-radius: 35px;
  margin: 5px;
  background-color: white;
  color: black;
  cursor: pointer;
  text-align: center;
  animation-name: appearButton;
  animation-duration: 0.5s;
}

a.animation:hover {
  background: #ddd;
  color: black;
}

@keyframes appearButton {
  from {
    width: 200px;
    height: 50px;
    line-height: 50px;
    border: 0px solid black;
    border-radius: 0px;
    }
  to {
    width: 500px;
    height: 60px;
    line-height: 60px;
    border: 5px solid black;
    border-radius: 35px;
    }
}