/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: "Georgia", serif;
    /*font-family: Tahoma, Verdana, sans-serif;*/
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    
    display: flex;
    flex-direction: column; 
    height: 100vh;        
    width: 100vw; 
    overflow: hidden;
    margin: 0;
}

header img {
    display: block;   
    margin: 0 auto;    
    max-width: 100%;  
    height: auto;
    margin-bottom: 1rem;
}

stupid-archive-header {
    flex-shrink: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.container {
    max-width: 600px;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.author {
    font-style: normal;
    font-size: 1.05rem;
    color: #000000;
    margin-bottom: 2rem;
}

.description {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #000000;
}

description-credits {
    line-height: 2.0;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #000000;
}

.links {
    font-size: 1.1rem;
}

.btn {
    color: blue; 
    text-decoration: none;
    /*transition: color 0.3s ease;*/
    font-weight: bold;
}

.separator {
    margin: 0 15px;
    color: #000000;
}

.archive-container {
    max-width: 800px;
    width: 90%;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid #000000;
}

.archive-table th, .archive-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #000000;
}

.archive-table th {
    background-color: #ffffff;
    color: #000000;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.dl-link {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 5px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.small {
    font-size: 0.9rem;
}

.footer-nav {
    flex-shrink: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    margin-top: 40px;
}

.split-screen {
    display: flex;
    flex: 1;        
    width: 100%;    
    gap: 10px;
    padding: 10px;
    background-color: #ffffff;
    overflow: hidden; 
}

.pane {
  flex: 1;
  overflow: auto;
  background: white;
  border: 1px solid #000000;
  border-radius: 4px;
}

.tex-source {
  flex: 1;
  background-color: black;
  color: white;
  padding: 20px;
  text-align: left;
  overflow-y: auto;
}

pre, code {
  text-align: left;
  display: block;
  white-space: pre; 
}

.pdf-preview {
  flex: 1;
  height: 100%;
}

.pdf-preview object {
  width: 100%;
  height: 100%; 
  display: block;
}