.banner,
.close,
label {
  font-weight: 700;
}
*,
nav ul {
  padding: 0;
}
h2,
label {
  color: #2c3e50;
}
body,
select {
  background-color: #f4f6f9;
}
.test h3,
.test p {
  margin-bottom: 10px;
}
#modal-message,
.test,
div.test,
h2,
section,
select {
  margin-bottom: 20px;
}
a,
nav ul li a {
  font-weight: 500;
}
* {
  margin: 0;
  box-sizing: border-box;
}
header {
  background: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.test,
div.test,
main {
  background-color: #fff;
}
.test,
main {
  padding: 20px;
}
header h1 {
  font-size: 2.5rem;
}
nav ul {
  list-style: none;
  margin: 20px 0;
}
nav ul li {
  display: inline-block;
  margin: 0 15px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #f39c12;
}
main {
  max-width: 1200px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
h2 {
  font-size: 2rem;
}
#time-display {
  font-size: 1.5rem;
  color: #333;
  margin-top: 10px;
}
#modal-message,
label {
  font-size: 1.2rem;
}
button,
select {
  font-size: 1rem;
}
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s;
}
a,
a.file-link,
a.resource-link {
  text-decoration: none;
  transition: color 0.3s;
}
.test,
div.test {
  transition: box-shadow 0.3s;
}
select:focus {
  border-color: #3498db;
}
.test {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.test:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
a.file-link,
a.resource-link {
  color: #0056b3;
}
a.file-link:hover,
a.resource-link:hover {
  color: #003c82;
}
div.test {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
}
#emergencyModal .modal-content,
#linkModal .modal-content,
#myModal .modal-content {
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  animation: 0.3s fadeIn;
}
.test h3 {
  font-size: 1.6rem;
  color: #333;
}
body {
  font-family: Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f9;
}
.test p {
  font-size: 1.1rem;
}
ul {
  padding-left: 20px;
}
ul li {
  margin-bottom: 5px;
}
a {
  color: #3498db;
}
a:hover {
  color: #2980b9;
}
#emergencyModal,
#linkModal,
#myModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding-top: 60px;
}
#linkModal .modal-content,
#myModal .modal-content {
  background-color: #fff;
  color: #2c3e50;
  text-align: center;
}
#emergencyModal .modal-content,
.banner {
  background-color: #ff4d4d;
  text-align: center;
}
#linkModal .close,
#myModal .close {
  color: #e74c3c;
  float: right;
  font-size: 28px;
  cursor: pointer;
}
#linkModal .close:hover,
#myModal .close:hover {
  color: #c0392b;
}
#emergencyModal .modal-content {
  color: #fff;
}
#emergencyModal .close {
  color: #fff;
  float: right;
  font-size: 28px;
  cursor: pointer;
}
#emergencyModal .close:hover {
  color: #e74c3c;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 45%;
  margin: 10px 2.5%;
}
button:hover {
  background-color: #2980b9;
}
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }
  button {
    width: 100%;
  }
}
a:focus,
button:focus,
select:focus {
  outline: #3498db solid 2px;
  outline-offset: 2px;
}
.banner {
  color: #fff;
  padding: 15px;
  font-size: 1.2em;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
