@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

* {
  color: white;
  font-family: "Inter", sans-serif;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #464545;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.modal-content button {
  border: 2px solid black;
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: gray;
  transition: ease 150ms;
  text-decoration: none;
  cursor: pointer;
}

#upload {
  padding: 30px;
  font-size: 40px;
  background: #464545;
  border: 1px solid gray;
  border-radius: 100%;
  position: absolute;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
  transition: ease 200ms;
}

#upload:hover {
  background: #767575;
}

nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #464545;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display:flex;
  justify-content: space-between;
}

nav .logobox {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
}

nav a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav a:hover:not(.active) {
  background-color: #5e5c5c;
}

nav a.active {background-color: #767575;}

body,html {
  background: black;
  width: 98%;
  height: 98%;
  scrollbar-width: none;
}

.view {
  border: none;
  width: 100%;
  position:absolute;
  left: 0;
  height: 90%;
}

@keyframes spin {
    0% {
        transform:rotate(0deg);
    }
    100% {
        transform:rotate(360deg);
    }
}

.spin {
  font-family: "Material Symbols Outlined";
  animation-name: spin;
  animation-duration: 2000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  display: block;
}

button,input {
  background: #464545;
  border: none;
  padding: 5px;
  border-radius: 3px;
  padding-left: 10px;
  padding-right: 10px;
  transition: ease 150ms;
  border: 2px solid black;
}

button {cursor: pointer;}

button:hover {
  background: #767575;
  border-radius: 1px;
}
