/* Reset some default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1c1c1c;
  overflow-wrap: break-word;
  height: 100%;
  min-height: 100%;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #00ff00;
}

/* Remove the bullet points from the navigation list */
nav ul {
  list-style: none;
  padding: 0;
}

/* Add some padding and remove the underline from the links */
a {
  color: #ff00ff;
  text-decoration: none;
  padding: 0 5px;
}

a:hover, a:focus{
  text-decoration: underline;
}


/* Style the headings */
/*
h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

h1 {
  /*font-size: 1.5rem;
  margin-bottom: 0.75em; 
}*/

/* Style the sections */
main section {
  margin-bottom: 2em;
}
 

/* Add padding to the cards */
.card {
  padding-top: 1em;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

/* Add these new styles */
.crt-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  /*max-width: 900px;*/
  /* Adjust this value for the width of the monitor */
  margin: 0 auto;
  padding: 30px;
  background-color: #555;
  border-radius: 15px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

/* Update the existing .crt styles */
.crt {
  position: relative;
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

/* Update the existing .monitor-frame styles */
.monitor-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 5px solid #333;
  border-radius: 10px;
  pointer-events: none;
  z-index: 6;
}

/* Update the existing .power-button styles */
.power-button {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 30px;
  height: 15px;
  background-color: #f00;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 7;
}


.power-button:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transform: translate(-9%, -9%);
}



.crt::before,
.crt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Scanlines */
.crt::before {
  background-image: repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 2px);
}

/* Screen curvature */
.crt::after {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

/* Add this to your existing CSS file */
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(64, 248, 27, 0.61);
  pointer-events: none;
  z-index: 3;
}

/* Add this to your existing CSS file */
.cursor-container {
  padding: 8px;
  margin: 1em;
  left: 0;
  right: 0;
  bottom: 20px;
  /* Adjust this value to position the cursor vertically */
  text-align: center;
  z-index: 5;
}

/* Style the blinking cursor */
.blinking-cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.8em;
  background-color: #33ff33;
  animation: blink 1s infinite;
  transform: translateY(-1px);
}

@keyframes blink {
  50% {
    background-color: transparent;
  }
}


@keyframes blink {
  0%, 49% {
    background-color: #00ff00;
  }
  50%, 100% {
    background-color: transparent;
  }
}


.startup-message {
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #0f0;
  background-color: #1c1c1c;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  height: 100%;
}
