/* Animation for page title link hover */
@keyframes linkHover {
  from { color: white; }
  to { color: #1998dd; }
}

body {
  background-color: #ecf0f1;
  min-width: 365px;
}

/* Reset styles for p element */
p {
  margin: 0;
  padding: 0;
}

/* Additional CSS for bootstrap navbar class */
.navbar {
  background-color: navy;
  height: 70px;
  box-shadow: 0px 5px 5px grey;
}

.navbarTitle {
  font-size: 28px;
  font-family: Segoe UI, Arial, sans-serif;
  font-weight: bold;
  color: white;
  border: 2px solid white;
  padding: 0 10px;
  border-radius: 5px;
}

/* Hover style, pulse animation for the title link */
.navbarTitle:hover {
  text-decoration: none;
  color: #1998dd;
  opacity: 1;
  animation: linkHover 1s infinite alternate ease-in;
}

.createButton {
  font-size: 28px;
  font-family: Segoe UI, Arial, sans-serif;
  font-weight: bold;
  color: black;
  background-color: white;
  padding: 0 10px;
  box-shadow: 3px 3px 3px black;
}

/* Simple hover style for the Create button */
.createButton:hover {
  text-decoration: none;
  background-color: ;
  color: #1998dd;
  box-shadow: 5px 5px 5px black;
}

.createButton:active {
  position: relative;
  top: 1px;
  left: 1px;
}

/* Styles for the sticky notes */
.noteContainer {
  background-color: white;
  font-family: Segoe UI, Arial, sans-serif;
  font-weight: bold;
  border: 1px solid black;
  border-radius: 0 0 15px 0;
  position: relative;
  width: 250px;
  min-height: 250px;
  height: auto;
  box-shadow: 3px 3px 3px grey;
  margin: 30px 30px;
  display: inline-block;
  float: left;
  z-index: -1;
}

.noteTitleBar {
  height: 40px;
  width: 100%;
  color: white;
  font-size: 20px;
  text-align: center;
  position: relative;
  background-color: #1998dd;
  border-bottom: 1px solid black;
}

#noteTitle {
  margin: 0 auto;
  padding-top: 5px;
}

.noteContentContainer {
  color: black;
  padding: 0 5px;
  position: relative;
  height: auto;
  min-height: 180px;
}

.noteContentContainer p {
  word-wrap: break-word;
}

.noteFooterContainer {
  border-radius: 0 0 15px 0;
  border-top: 1px solid black;
  height: 30px;
}

.noteFooterContainer p {
  float: right;
  margin-right: 15px;
}

.deleteButton {
  margin: auto;
  padding: 0 0 0 5px;
}

.createFormContainer {
  height: 400px;
  width: 400px;
  min-width: 250px;
  min-height: 250px;
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, 20%);
  -moz-transform: translate(-50%, 20%);
  -ms-transform: translate(-50%, 20%);
  transform: translate(-50%, 20%);
  z-index: 10;
}

.createForm {
  height: 400px;
  width: 400px;
  min-width: 250px;
  min-height: 250px;
  border: 2px solid black;
  box-shadow: 5px 5px 7px black;
}

.createFormTitleBar {
  height: 15%;
  background-color: #1998dd;
  position: relative;
}

.createFormTitleBar input {
  font-family: Segoe UI, Arial, sans-serif;
  border: 1px solid grey;
  width: 90%;
  height: 60%;
  text-align: center;
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.createFormContentArea {
  height: 70%;
  width: 100%;
  position: relative;
  background-color: #ecf0f1;
  border-bottom: 1px dashed grey;
}

.createFormContentArea textarea {
  font-family: Segoe UI, Arial, sans-serif;
  border: 1px solid grey;
  resize: none;
  width: 90%;
  height: 85%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.createFormFooter {
  height: 15%;
  width: 100%;
  position: relative;
  text-align: center;
  background-color: #ecf0f1;
}

.buttonContainer {
  position: absolute;
  left: 50%;
}

#createFormSubmitButton {
  width: 120px;
  font-size: 28px;
  font-family: Segoe UI, Arial, sans-serif;
  font-weight: bold;
  color: white;
  text-decoration: none;
  background-color: #1998dd;
  box-shadow: 3px 3px 3px grey;
  position: absolute;
  left: 10%;
  top: 15%;
  margin: 0 auto;
  display: inline-block;
}

#createFormSubmitButton:hover {
  text-decoration: none;
  background-color: ;
  color: black;
  box-shadow: 3px 3px 3px black;
}

#createFormCancelButton {
  width: 120px;
  font-size: 28px;
  font-family: Segoe UI, Arial, sans-serif;
  font-weight: bold;
  color: white;
  text-decoration: none;
  background-color: #1998dd;
  box-shadow: 3px 3px 3px grey;
  position: absolute;
  right: 0;
  left: 60%;
  top: 15%;
  display: inline-block;
}

#createFormCancelButton:hover {
  text-decoration: none;
  background-color: ;
  color: black;
  box-shadow: 3px 3px 3px black;
}