html {
  font-size: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  user-select: none;
}

a, button {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease-out;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  outline: 0;
  opacity: 0.5;
}

a:hover, button:hover {
  opacity: 1;
}

h1 {
  font-size: 2rem;
  color: #f5f5f5;
}

form {
  margin: 2rem 0 0 0;
  width: auto;
  text-align: center;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

form::-webkit-scrollbar {
  display: none;
}

label {
  display: block;
  font-weight: bold;
  color: #f5f5f5;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  border: thin solid #ddd;
  text-transform: uppercase;
}

.container {
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-image: url("../../assets/background-login.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #abbd28;
}

.title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login {
  display: flex;
  justify-content: center;
}

.login-box {
  display: flex;
  flex-direction: column;
  width: 30vw;
  border: thin solid black;
  border-radius: 2rem;
  padding: 2rem;
  background-color: #f5f5f5;
  box-shadow: 0 2rem 3rem #1343712e;
  transition: all 300ms ease;
}

.login-box:hover {
  box-shadow: none;
}

.login-text {
  color: black;
}

.login-button {
  background-color: #abbd28;
}

.logout-button {
  background-color: #e74c3c;
  color: #fff;
}

.add-button {
  background-color: #1e99ec;
  color: #fff;
}

/* Index */

.drawer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.entry {
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
  padding: 2rem;
  background-color: #666;
  box-shadow: 0 2rem 3rem rgba(19, 67, 113, 0.5);
  transition: all 300ms ease;
}

.entry:hover {
  box-shadow: none;
}

.card {
  height: 30vh;
}

.buttons {
  display: flex;
  width: 7vw;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.buttons > a {
  width: 2.5em;
  height: 2.5em;
  padding: 0.5em 0;
  padding: 0.5em 0;
}

/* Error */

.back-button {
  background-color: #666;
  color: #fff;
}