
/* Base styles */
body {
    font-family: 'JetBrains Mono', monospace;
    background: white;
    color: black;
    margin: 0;
    padding: 0;
}
  
.site-title {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    color: black;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    padding: 1rem 2rem;
    border-bottom: 6px solid blue;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid black;
    color: black;
    background-color: white;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.contact-button:hover {
    background-color: black;
    color: white;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    padding-top: 6rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.essay p {
    font-size: 1rem;
    width: 70%;
    text-align: left;
    line-height: 1.6;
}

.subtext {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 85%;
}

.books {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.book {
    width: 30%;
    text-align: left;
}

.book img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid black;
}

details {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

summary {
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid black;
    padding-bottom: 0.2rem;
}

.download-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid black;
    background-color: white;
    color: black;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
}

.download-btn:hover {
    background-color: black;
    color: white;
}

@media (max-width: 900px) {
    .book {
        width: 48%;
    }
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .essay p,
    .subtext {
        width: 100%;
    }

    .books {
        flex-direction: column;
        gap: 2rem;
    }

    .book {
        width: 100%;
    }
}

    .fat-red-line {
    border: none;
    height: 12px;
    background-color: blue;
    width: 100vw; /* stretch across full viewport width */
    position: relative;
    left: 50%;
    margin-left: -50vw; /* center-align trick to fully span */
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.site-footer {
    background-color: white;
    height: 200px;
    width: 100%;
}

.paradise-table th:first-child {
    border-left: none;
    padding-left: 0;
  }






/* Fix for interactive table rows */
.paradise-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
  }
  
  .paradise-table th,
  .paradise-table td {
    border: 1px solid black;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
  }
  
  .paradise-table .clickable {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  .paradise-table .clickable:hover {
    background-color: blue;
    color: white;
  }
  
  .essay-row {
    display: none;
  }
  
  .essay-row.active {
    display: table-row;
  }
  
  .essay-cell {
    background-color: #f9f9f9;
  }
  
  .essay-content {
    padding: 2rem;
  }
  
 /* Remove full top and left borders of the table */
.paradise-table {
    border-collapse: collapse;
    border-left: none;
    border-top: none;
  }
  
  /* Remove top border from the first row of headers */
  .paradise-table th {
    border-top: none;
  }
  
  /* Remove left border from first column in header and data rows */
  .paradise-table th:first-child,
  .paradise-table td:first-child {
    border-left: none;
  }

  .active-cell {
    background-color: blue;
    color: white;
  }


  .essay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .essay-section {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .essay-section h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: black;
  }
  
  .essay-section p, .essay-section ul {
    margin: 0 0 0.75rem 0;
  }
  
  .essay-section ul {
    padding-left: 1.25rem;
    list-style: disc;
  }
  
  .essay-section.full-width {
    grid-column: 1 / 3;
  }
  
  .failure-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
  }
  
  .failure-table th,
  .failure-table td {
    border: 2px solid #0074cc;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: left;
  }
  
  a {
  color: black;
  text-decoration: none; /* remove underline */
}

a:hover {
  text-decoration: underline; /* optional: add underline on hover */
}