@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:wght@400;700&display=swap');

body {
    font-family: 'Courier Prime', monospace;
    background-color: #1c1917;
    color: #d6d3d1;
    background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(0, 0, 0, 0.1) 1px, rgba(0, 0, 0, 0.1) 2px)
}

.font-typewriter {
    font-family: 'Special Elite', cursive
}

.case-file {
    background-color: #f5f5f4;
    color: #292524;
    border: 1px solid #d6d3d1;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    transform: rotate(-1deg);
    max-width: 800px;
    margin: 0 auto;
    position: relative
}

.case-file::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: #e7e5e4;
    z-index: -1;
    transform: rotate(2deg);
    border: 1px solid #d6d3d1;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3)
}

.paper-clip {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 100px;
    border: 4px solid #78716c;
    border-radius: 20px;
    z-index: 10;
    border-bottom: none
}

.stamp {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border: 4px double #b91c1c;
    color: #b91c1c;
    padding: 5px 10px;
    transform: rotate(-15deg);
    font-family: 'Special Elite';
    font-size: 1.5rem;
    text-transform: uppercase;
    opacity: 0.8
}

.coffee-stain {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 8px solid rgba(120, 53, 15, 0.1);
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none
}

.magnifying-glass {
    cursor: zoom-in
}

.clue-card {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
}

.solved-clue {
    text-decoration: line-through;
    opacity: 0.5
}

.typewriter-text {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    animation: blink-caret .75s step-end infinite
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: orange
    }
}