* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

a:focus,
a:active {
  outline: none;
  box-sizing: none;
}

textarea {
  resize: none;
}

body {
  color: white;
  font-family: 'Outfit', Sans-Serif;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('../assets/img/GymscribeBanner.png');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(30px);
}

.screen-container {
  width: 100%;
  height: 100vh;
}

.lockscreen-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6rem;
}

.lockscreen-info, .lockscreen-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lockscreen-info {
  gap: 0.4rem;
}

.lockscreen-info-profile {
  width: 12rem;
  height: auto;
}

.lockscreen-info-profile img {
  width: 100%;
  height: 100%;
  filter: invert(1);
}

.lockscreen-input {
  gap: 1rem;
}

#lockscreen-input {
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid black;
  box-shadow: none;
  transition: all 0.2s ease;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
}

#lockscreen-input:focus {
  box-shadow: 0px 4px #3f9678;
}

#lockscreen-input-error {
  color: red;
}

.screen-container {
  background: black;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100dvw;
  align-items: center;
  justify-content: center;
}

.apps, .navbar {
  width: 100%;
}

.apps {
  height: 100%;
  background: url('../assets/img/GymscribeGymOSBackground.png');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.navbar {
  height: 10%;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6;
  backdrop-filter: blur(10px);
}

.navbar-app {
  height: 85%;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.2s ease;
  z-index: 49;
}

.navbar-app:hover {
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.navbar-app:active {
  background: rgba(0, 0, 0, 0.2);
}

.navbar-app-active {
  background: rgba(0, 0, 0, 0.2) !important;
}

.navbar-app img {
  background: none;
  height: 100%;
  width: auto;
}

.navbar-search {
  background: rgba(255, 255, 255, 0.4);
  padding: 0.4rem;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  position: fixed;
  z-index: 50;
  height: 400px;
  width: 600px;
  top: 50;
  left: 50;
  transform: translateY(85px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.navbar-search-input {
  color: black;
  width: 100%;
  flex: 1;
}

.navbar-search-apps {
  background: rgba(0, 0, 0, 0.2);
  margin: 0.4rem 0rem;
  width: 100%;
  flex: 8;
}

.navbar-search-control {
  width: 100%;
  flex: 1;
}

.navbar-search-input input {
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  border: none;
  color: black;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem;
  border-radius: 4px;
}

.navbar-search-control {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
}

.navbar-search-control button {
  color: white;
  height: 100%;
  width: 100%;
  font-size: 1.4rem;
  border-radius: 4px;
  border: none;
  transition: all 0.2s ease;
}

.navbar-search-control button:hover {
  box-shadow: 0px 2px black;
}

#gymscribe-btn {
  background: rgba(0, 255, 0, 0.2);
}

#github-btn {
  background: rgba(0, 0, 255, 0.2);
}

#shutdown-btn {
  background: rgba(255, 0, 0, 0.2);
}

.app {
  display: flex;
  flex-direction: column;
  max-height: 400px;
  height: 400px;
  width: 600px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  position: absolute;
}

.app-control {
  color: black;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.1rem 0.2rem;
  width: 100%;
}

.app-control:hover {
  cursor: pointer;
}

.app-control button {
  background: rgba(255, 0, 0, 0.8);
  font-size: 1.4;
  border-radius: 5px;
  padding: 0rem 0.4rem;
  border: none;
}

.app-content {
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  color: black;
  width: 100%;
}

.app-content-notes {
  height: 100%;
}

.app-content-clock input, .app-content-clock button, .app-content-notes textarea, .app-content-notes-buttons button, .app-content-tools-content button, .app-content-tools-content select, .app-content-tools-content input {
  width: 100%;
  color: black;
  padding: 0.4rem;
  font-family: 1.2rem;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.2rem 0rem;
  transition: all 0.2s ease;
}

.app-content-clock button:hover, .app-content-notes-buttons button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.app-content-notes textarea {
  height: 100%;
}

.app-content-notes-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
  margin-top: auto;
}

.app-content-tools, .app-content-tools-content {
  display: flex;
  flex-direction: column;
}

.app-content-tools-content {
  overflow-y: scroll;
  max-height: 300px;
}

.app-content-tools-result {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.4);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.2rem;
}

.app-content-tools-result p {
  font-family: 1.2rem;
  margin: 0.2rem 0.4rem;
}