/* --- Default Styles --- */

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #121212;
  padding: 2% 10% 2% 10%;
}

a {
  color: inherit;
  text-decoration: inherit;
}

.test-section {
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 10px;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  margin: 0;
}

/* --- Display Test Styles --- */

#display-test-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: none;
}

.display-test-screen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10rem;
  font-weight: bold;
}

/* --- Keyboard Test Styles --- */

#keyboard {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}

.key {
  display: inline-flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  width: 40px;
  height: 40px;
  user-select: none;
  cursor: pointer;
  background-color: #bbb;
  color: #333;
  transition: background-color 0.2s ease;
}

.key.pressed {
  background-color: #999;
}

.key.active {
  background-color: #7a7a7a;
}

/* --- Button Styles --- */

button {
  background-color: #bbb;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #f0f0f0;
}

/* --- Dropdown Styles --- */

.select-container {
  padding: 10px 0px;
  position: relative;
  width: 200px;
}

.select-container select {
  appearance: none;
  background-color: #bbb;
  border-radius: 4px;
  padding: 10%;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
}

.select-container::before {
  content: "\25bc";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.select-container::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #ccc;
}

/* --- Mouse Test Styles --- */

.mouse-area {
  text-align: center;
  width: 300px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #bbb;
  color: #333;
  }

  /* --- Webcam Test Styles --- */