html{
    background-color: black;
    color: white;
    font-size: 20px;
}
header{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: fit-content;
    background-color: #333;
    color: white;
    padding: 8px 10px;
}
header h1{
    display: inline-block;
    margin: 0;
}
#logout{
    float: right;
    background-color: red;
    color: black;
    border: hidden;
    border-radius: 5px;
    width: 100px;
    height: 30px;
    font-size: 16px;
}
#stats{
    margin-top: 50px;
    border: 3px solid blue;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 15px;
    width: fit-content;
}
#notes{
    text-align: left;
    margin-top: 120px;
    margin-bottom: 20px;
}
.note{
    background-color: white;
    color: black;
    border: hidden;
    border-radius: 5px;
    width: 100px;
    height: 50px;
    text-align: center;
    font-size: 16px;
    margin-right: 10px;
    transition: all 1s;
}
.note:focus{
    box-shadow: 10px -10px 10px rgba(0, 200, 255, 0.8);
    background-color: rgb(0, 200, 255);
    font-size: 25px;
}
.btn, .btn1{
    background-color: lightgray;
    color: white;
    border: hidden;
    border-radius: 5px;
    width: 100px;
    height: 30px;
    font-size: 16px;
}
.btn:active, .btn1:active{
    background-color: #444 !important;
}
#addcustom{
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: yellow;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
}
@media (hover: hover) {
    .btn:hover, .btn1:hover{
        background-color: gray;
    }
    .note:hover{
        box-shadow: 10px -10px 10px rgba(0, 200, 255, 0.5);
    }
}
@media (min-width: 800px) {
    html{
        text-align: left;
    }
    #notes{
        text-align: left;
    }
    #loader{
        height: 60px;
        width: 60px;
    }
}
@media (max-width: 800px) {
    html{
        text-align: center;
    }
    #notes{
        text-align: center;
    }
    #container{
        display: flex;
        flex-direction: column;
        /* justify-content: space-between;
        align-items: center; */
    }
    #stats{
        margin: 20px auto;
    }
    #loader{
        height: 40px;
        width: 40px;
    }
}
#loader {
  border: 6px solid #ddd;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  position: fixed;
  top: 80px;
  right: 20px;
  display: none;
  pointer-events: none;
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}