@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
}
body {
  background: #eee;
  margin: 0;
  min-height: 100%;
}

header {
  top: 0;
  background-color: #234e23;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

header h1 {
  color: #fff;
  font-family: "McLaren", cursive;
  font-weight: 200;
}

footer {
  text-align: center;
  bottom: 0;
}
/* 
footer p {
  color: #ccc;
} */
.note {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 5px #ccc;
  padding: 10px;
  width: 240px;
  margin: 16px;
  float: left;
}
.note h1 {
  font-size: 1.1em;
  margin-bottom: 6px;
}
.note p {
  font-size: 1.1em;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.note button {
  position: relative;
  float: right;
  margin-right: 10px;
  color: #469660;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  outline: none;
}

.login-container {
  height: 85vh;
}

.login-container form {
  position: relative;
  width: 60%;
  height:30vh;
  margin: 30px auto 20px auto;
  background: #fff;
  padding: 15px;
  border-radius: 7px;
  box-shadow: 0 1px 5px rgb(138, 137, 137);
}

@media only screen and (max-width: 600px) {
  .login-container-form {
    width: 90%;
  }
}

.login-container form input,
.login-container form textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1.2em;
  font-family: inherit;
  resize: none;
  border: 1px solid gray;
}

.login-container form button {
  position: absolute;
  right: 50%;
  bottom: 18px;
  background: #2a7220;
  color: #fff;
  border: none;
  width: 50px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 10%;
  cursor: pointer;
}

.login-container form button:hover {
  width: 55px;
  height: 40px;
  outline: auto;
}

.readonly-input-password input {
  outline: none;
  background: rgb(142, 201, 142);
  border-radius: 1px;
}
.readonly-input-password input {
  outline: none;
  background: rgb(142, 201, 142);
  border-radius: 1px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(10);
  }  
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(10px);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%{
    transform: translateX(-1px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(1px);
  }
}

@keyframes shake-wobble {
  0%, 100% {
    transform: translate(0, 0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform:rotate(-5deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(10deg);
  }
}

.bounce-on-hover:hover .bounce {
  animation: bounce 1s infinite;
}

.shake-on-hover:hover .shake {
  animation: shake 1s infinite;
}

.shake-wobble-on-hover:hover .shake-wobble {
  animation: shake-wobble 1s infinite;
}
/* form input,
form textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1.2em;
  font-family: inherit;
  resize: none;
} */
/* form button {
  position: absolute;
  right: 18px;
  bottom: -18px;
  background: #f5ba13;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
} */