body{
    font-family: 'Courier New', Courier, monospace;
    padding:64px;
    background-color:#300606;
    color:#fefefe;
}


h1,h2,h3,h4,h5{
    margin:0;
    padding:0;
}

.container{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    width:100%;
    height:100%;
}

.header,.footer{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    /* font-family: Helvetica, Arial, sans-serif; */
    font-weight:900;
    font-size:12px;
}

.main-content{
    padding-top:32px;
    padding-bottom:100px;
    display:flex;
    justify-content: center;
    line-height: 1.5;

}

.entry{
    /* width:600px; */
}

.description{
    font-size:10px;
}

.actions{
    display:flex;
    justify-content: space-between;
    flex-direction: row;
}

.popup-link {
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style:;
}

.popup-link:hover{
    color:#e54848;
    transition: 0.2s ease;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    color:black;
    padding: 20px;
    max-width: 400px;
    text-align: left;
    border:1px solid black;
    /* max-height: 600px;
    overflow-y: auto; */
}
.close-button {
    display:block;
    position:relative;
    height:0;
    width:0;
    top:-50px;
    left:430px;
    color:white;
    font-size: 1.5em;
    cursor: pointer;
}

@keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hidden {
    display: none;
}

.corner {
    display:flex;
    align-items: center;
    gap:200px;
  position: fixed;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  z-index: 1000;
  padding: 8px;
}

.corner-tl {
  top: 20;
  left: 20;
}

.corner-tr {
  top: 20;
  right: 20;
  text-align: right;
}

.corner-bl {
  bottom: 20;
  left: 20;
}

.corner-br {
  bottom: 20;
  right: 20;
  text-align: right;
}

.cover-image {
  padding: 4px;
  border: 1px solid #fff;
  max-width: 400px;
  transition: border-color 0.2s ease;
}

.cover-image:hover {
  border-color: #e54848; /* or any color you prefer */
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.modal-border{
    padding:4px;
    border:1px solid black;
    background-color: white;
    animation: fadeIn 0.3s ease;

}

.detail-img{
    max-width:300px;
}

.back{
    display:inline-flex;
    gap:8px;
    align-items: center;
    justify-content: right;
    width:200px;
}

.forward{
    display:inline-flex;
    gap:8px;
    align-items: center;
    justify-content: left;
    width:200px;

}