:root {
  --main-color: teal;
  --second-color: #d3d3d6;
  --font-color: white;
  --bg-color: #fff;
  --heading-color: #292922;
}
[data-theme='dark'] {
  --main-color: teal;
  --second-color: #818cab;
  --font-color: #e1e1ff;
  --bg-color: #161625;
  --heading-color: #818cab;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  overflow: hidden;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
}

body {
  color: #333;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

/* button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
} */

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

/* button:focus {
  border-color: #666;
} */

.account-menu:hover .account-info {
  display: block;
}

.backdrop {
  width: 100%;
  height: 90%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  transition: 0.4s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  /* margin-top: 10%; */
  display: flex;
  flex-direction: column;
  color: black;
  width: 30%;
  margin: auto auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  transition: 0.4s ease;
}
@media (max-width: 650px) {
  .modal {
    width: 80%;
  }
}

.modal form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.modal input {
  margin: 5px 0;
}

.message .success {
  background-color: rgba(0, 128, 128, 0.7);
  padding: 10px;
  /* width: 80%; */
  border-radius: 10px;
}
.message .error {
  background-color: rgba(255, 62, 0, 0.7);
  padding: 10px;
  /* width: 80%; */
  border-radius: 10px;
}
