
.button {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}
.button:hover,
.button:focus {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: rgba(0, 0, 0, 0.65);
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  background-color: #F0F0F1;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color: rgba(0, 0, 0, 0.65);
  transform: translateY(0);
}


[x-cloak] { display: none !important; }
body,html{
    background: rgb(51, 44, 44);
    padding: 0;
    margin:0;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

#logout-button{
    position: fixed;
    top:5px;
    right: 5px;
}
#sync{
    position: fixed;
    top:5px;
    right: 55px;
}
#add-task{
    position: fixed;
    bottom:5px;
    right: 5px;
}
.hover-button{
    background: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    border-radius: 20px;
    width: 22px;
    height: 24px;
    text-align: center;
    padding: 8px 9px;
}

#login{
    position: fixed;
    width: 400px;
    left: 50%;
    top: 40%;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    border-radius: 3px;
    margin-left: -200px;
    background-color: rgba(255,255,255,0.2);
}
#login div{
    position: relative;
    padding:5px;
}
#login label{
    display:inline-block;
    width: 30%;
}
#login input[type=password],#login input[type=email]{
    display:inline-block;
    padding: 6px 8px;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 60%;
}
#login input[type=checkbox] {
    background: rgba(255,255,255,0.2);
}
#login .center{
    text-align: center;
}
#login input[type=submit] {
    background: rgba(255,255,255,0.5);
    text-align: center;
}
#login .error {
    background: #b60c004a;
    color: #000;
    border-radius: 7px;
    color: #fff;
    padding: 5px 15px !important;
}
.task{
    position: relative;
    display:block;
    width: 250px;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    margin: 5px;
}

.task .task-name{
    padding: 5px 6px;
    width: 100%;
    border: none;
    outline: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
}
.task .task-name:focus{
    border:none;
    outline: none;
}
.task .task-text{
    width: 100%;
    word-break: break-word;
    border: none;
    outline: none;
    resize: none;
    min-height: 10px;
    max-height: 900px;
    height: auto;
    overflow-y:visible;
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 5px;
}
.task .task-text:focus{
    border:none;
    outline: none;
}

.task .task-delete{
    position: absolute;
    top: 2px;
    right: -3px;
    width: 25px;
    height: 25px;
    font-size: 20px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
}
.task .task-delete:hover{
    color: white;
}