* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif; /* Classic, elegant serif font */
}

body {
  background-color: #121212;
  color: white;
  text-align: center;
  height: 100vh;
  overflow: hidden;
}

/* Header Section */
.header {
  background: #1e1e1e;
  padding: 20px;
  border-bottom: 5px solid #00ff00;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 20px;
}

h1 {
  color: #fff;
  font-size: 1.8rem;
  text-shadow: 0 0 10px #00ff00;
}

/* Period & Result Display */
.details {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  font-size: 1.2rem;
}

.period {
  color: #00ff00;
}

.result-container {
  display: flex;
  align-items: center;
}

.result {
  background: #fdd835;
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  margin-left: 10px;
  font-weight: bold;
}

/* Status Section */
.status {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Switch Button */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.4s;
  width: 100%;
  height: 100%;
}

.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #00ff00;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

/* Code and Timer */
#timer {
  color: #fff;
}

.code {
  color: #fdd835;
}

/* iFrame Section */
iframe {
  width: 95%;
  height: calc(85% - 140px);
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}