@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  perspective: 1000px;
  background-color: #333;
  color: #c0c0c0;
  line-height: 1.6;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #444;
  font-size: 1em;
  z-index: -1;
  overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='20'%3E%3Ctext x='0' y='15' font-family='Courier' font-size='10' fill='%23444'%3E01010011 01000001 01010100 01001111 01010011 01001000 01001001 00100000 01001110 01000001 01001011 01000001 01001101 01001111 01010100 01001111%3C/text%3E%3C/svg%3E");
}

a {
  color: #bbbbbb;
  text-decoration: underline;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0.5s;
}

#loading::before {
  content: '';
  width: 30px;
  height: 30px;
  border: 4px solid #c0c0c0;
  border-top-color: #f7931a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.container {
  width: 90%;
  max-height: 80vh;
  margin: 5% auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 1s, opacity 2s, visibility 2s;
  background-color: #222; 
  transform-style: preserve-3d;
  overflow: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 1;
}

.container:hover {
  transform: rotateY(1deg);
}

.header, .footer {
  position: sticky;
  display: flex;
  padding: 10px;
  background-color: #4d4d4d;
}

.header {
  top: 0;
  font-size: 0.8em;
  justify-content: space-between;
  color: #bbbbbb;
}

.footer {
  bottom: 0;
  justify-content: center; 
  font-family: 'Courier', monospace;
  color: #f7931a;
}

.container.html .header {
  background-color: #0d579b;
  color: #bbbbbb;
}

.container.html .header a {
  color: #bbbbbb;
}

.container.email .header {
  background-color: #329239;
  color: #333;
}

.container.email .header a {
  color: #333;
}

.content {
  padding: 20px;
  font-size: 0.9em; 
  flex-grow: 1;
  color: #c0c0c0;
  overflow-x: hidden;
  overflow-y: auto;
}

.content p {
  margin: 0;
}

.email {
  font-family: 'Courier', monospace;
  white-space: pre-line;
}

.quoteheader {
  font-weight: normal;
  color: #999999;
  margin-top: 10px;
  margin-bottom: -10px;
}

.quote {
  margin: 1em 0;
  padding: 1em;
  border-left: 3px solid #666666;
  background-color: #282828;
  color: #bbbbbb;
  font-style: normal;
}

@media (max-width: 768px) {
  .container {
    width: 90%;
    height: 80vh;
    margin: 5% auto;
    border-radius: 10px;
  }
}
