@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,700');

/* Full-width input fields */

input{
    font-family: 'IBM Plex Mono', monospace;
    -webkit-appearance: none;
    border-radius: 0;
    padding: 12px 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid white;
    box-sizing: border-box;
    background-color: #fff;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -webkit-appearance: none;
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid white;
  box-sizing: border-box;
  background-color: white;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -webkit-appearance: none;
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

button.deleteBtn, button.shareBtn{
  float: right;
  width: auto;
  border: none;
  color: white;
  box-sizing: border-box;
  background-color: inherit;
  font-size: 1.3em;
  padding-left: 0;
  padding-right: 0;
}

button.deleteBtn:hover{
  color: red;
}


textarea{
  font-family: 'IBM Plex Mono', monospace;
  width: 100%;
  height: 15em;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
  background-color: white;
  border: 1px solid white;
  resize: none;
  font-size: 1em;
  padding: 1em;
  -webkit-appearance: none;
  border-radius: 0;
}

input#blogTitle{
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1em;
}

textarea#messageBox{
  height: 23em;
  margin-top: 0.5em;
}

/* Set a style for all buttons */
button {
  font-family: 'IBM Plex Mono', monospace;
  background-color: #777;
  color: #fff;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;

}

label{
    font-size: 1.2em;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: bold !important;
    color: blue;
    letter-spacing: normal;
}

h2.formHeader{
  padding: 2em 2em 0 2em;
  color: blue;
}

/* button:hover {
  opacity: 0.8;
} */


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  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: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fea1a3;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  /* border: 1px solid #888; */
  width: 27em; /* Could be more or less, depending on screen size */
  letter-spacing: 0.2em;
  font-size: 0.9em;
}

.modal-content-register {
  background-color: #fea1a3;
  margin: 5% auto; /* 5% from the top, 15% from the bottom and centered */
  /* border: 1px solid #888; */
  width: 40em; /* Could be more or less, depending on screen size */
  letter-spacing: 0.2em;
  font-size: 0.9em;
  padding: 2em;
}

.modal-content-blogpost {
  background-color: #fea1a3;
  margin: 3em 5em; /* 5% from the top, 15% from the bottom and centered */
  width: calc(100% - 10em); /* Could be more or less, depending on screen size */
  letter-spacing: 0.2em;
  font-size: 0.9em;
  padding: 0;
}


/* The Close Button (x) */
.Xcontainer {
  text-align: center;
  margin: 0;
  position: relative;
  height: 2em;
}

.close {
  position: absolute;
  right: 10px;
  top: 0;
  color: #444;
  font-size: 2.5em;
  font-weight: bold;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
          transition:         transform 0.3s ease-in-out;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.close:hover,
.close:focus {
  color: #de4545;
  cursor: pointer;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);

}

.regNotes{
  padding-top: 2em;
  text-align: left;
  letter-spacing: 0em
}

.regNotes a {
  text-decoration: underline;
}

.regNotes li{
  margin-top: 1em;
}

#registerBtn:hover{
  background-color: #ddd
}

.help-block{
  color: red;
  letter-spacing: 0em;
  display: block;
  padding-bottom: 1em;
}

input.formButton{
  border: none;
  padding: 1em;
  width: 8em;
  margin-top: 1em;
  cursor: pointer;
  color: #111;
}

input.submitBtn{
  background-color: #white;
  border: 1px blue solid;
  color: blue;
}

input.submitBtn:hover{
  background-color: blue;
  color: white;
}

input.resetBtn{
  background-color: #111;
  border: 1px #eee solid;
  color: #eee;
  margin-left: 1em;
}

input.resetBtn:hover{
  border: 1px #f44336 solid;
  color: #f44336;
}



/* 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 only screen and (max-device-width: 570px) {



  h2.formHeader{
    padding: 1em 0.9em;
  }

  .modal-content-register {
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /* border: 1px solid #888; */
    width: 86%;
    letter-spacing: 0.2em;
    padding: 7%;
  }

  .modal-content-blogpost {
    margin: 0 auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /* border: 1px solid #888; */
    width: 86%;
    letter-spacing: 0.2em;
    padding: 0 7%;
  }
  /* input.formButton{
    font-size: 1.2em;
  } */


}
