html, body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    margin: 15px;
}
* {
    margin: 10px;
}
#loader {
  border: 6px solid #ddd;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  position: fixed;
  top: 80px;
  right: 20px;
  display: none;
  pointer-events: none;
  color: red;
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media(max-width: 800px) {
    #loader{
        height: 40px;
        width: 40px;
    }
}

@media(min-width: 800px) {
    #loader{
        height: 60px;
        width: 60px;
    }
}
#logout {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: red;
    color: white;
    padding: 10px;
    border: hidden;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
#container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 50vh;
    flex-wrap: wrap;
}

.block {
    background-color: gray;
    width: 100px;
    height: 100px;
    text-align: center;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    transform: scale(1);
}
.block img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: auto;
    margin: 0;
}

.block .title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}
#popup {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 99;
    background-color: white;
    color: black;
    border: 10px solid gray;
    display: none;
}
#popup [name="close"]{
    position: absolute;
    top: 10px;
    left: 10px;
}
#popup h2 {
    text-align: center;
}
button{
  background-color: #888;
  border: hidden;
  border-radius: 12px;
  color: white;
  padding: 10px;
  margin: 10px;
}
@media(hover:hover){
    .block:hover{
        transform: scale(1.1);
    }
}

table {
  border-collapse: collapse;
  color: white;
}
th, td{
  border: 2px solid black;
  padding: 5px;
}
th {
  background-color: gray;
}
tr:nth-child(even) {
  background-color: #222;
}
tr:nth-child(odd) {
  background-color: #111;
}