/* Notes Page Styling */
.main-content {
    background: #000000;
    min-height: 100vh;
    padding: 15px;
    color: white;
    padding-bottom: 300px;
}

.introCont {
    margin-left: auto;
    margin-right: auto;
    color: #A8A8A8;
    mix-blend-mode: difference;
    position: fixed;
    top:15px;
    left:15px;
    z-index: 2;
}

.notes-grid {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 30px;
    margin: 0 auto;
    padding: 0 30px;
    justify-content: space-around;
    margin-top: 200px;
}

.note-preview-item {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
    /* aspect-ratio: 1; */

}

.note-preview-item.text {
    width: 25vw;
}

/* Removed hover effects */
/* .note-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
} */

.note-preview-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 15px;
    position: relative;
    border: 1px solid #888;
    height: 100%;
    box-sizing: border-box;
    height: 16vw;
}

.note-preview-item:hover .note-preview-content {
    border: 1px solid #ffffff;
}
.note-preview-item .note-preview-content {
    transition: border 0.2s ease-in-out;
}

.note-preview-item:hover .note-number {
    color: #ffffff;
}
.note-preview-item .note-number {
    transition: color 0.2s ease-in-out;
}

.note-preview-item:hover .text-preview {
    color: #ffffff;
}
.note-preview-item .text-preview {
    transition: color 0.2s ease-in-out;
}

.note-preview-item{
    cursor: pointer;
}

.note-preview-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.note-title {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 15px 20px 5px 20px;
    line-height: 1.3;
    color: #333;
}

.note-number {
    color: #888;
    margin: 15px 15px 0px 0px;
}

.preview-title{
    margin-bottom: 0px;
    color: #888;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.note-preview-item:hover .preview-title{
    opacity: 1;
}

/* Text Preview Styling */
.text-preview {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #555;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    word-break: break-word;
    overflow: hidden;
}

.note-preview-content .text-preview {
    width: 100%;
    height: 100%;
    font-size: 1.1vw;
    line-height: 1.2;
    color: #666;
    letter-spacing: 0.02em;
}

.lightbox-text-content strong{
    margin-top:15px;
    text-align: center;
    display: block;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 0.6rem;
    letter-spacing: 0.05rem;
    line-height: 0.9rem;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #2f2f2f;
    margin-top: 45px;
}

.lightbox-text-content p{
    margin-bottom: 15px;
}

.note-preview-item.text .note-preview-content{
    max-height: 13vw!important;
} 

/* Lightbox Styling */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.lightbox-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0;
    padding: 15px;
    border: solid 1px #ffffff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    transition: background-color 0.2s ease;
    height: 50px;
    width: 50px;
    background-color: #000000;
    border: solid 1px #ffffff;
}

.lightbox-nav:hover {
    background-color: #2c2c2c;
}

.lightbox-nav.prev {
    left: -65px;
}

.lightbox-nav.next {
    right: -65px;
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-pagination {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-dot.active {
    background: white;
}

.lightbox-content {
    text-align: left;
    color: white;
    max-width: 600px;
}

.lightbox-title {
    line-height: 1.4;
}

.lightbox-caption {
color: #888;
}

/* Hide navigation arrows if only one image */
.lightbox-nav.single {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.5rem;
    }
    
    .lightbox-nav.prev {
        left: -40px;
    }
    
    .lightbox-nav.next {
        right: -40px;
    }
    
    .lightbox-close {
        top: -40px;
        font-size: 0.7rem;
    }
    
    .lightbox-content {
        max-width: 90vw;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .main-content {
        padding: 30px 15px;
    }
    
    .introCont {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-content {
        padding: 20px 10px;
    }
} 

/* Text Lightbox Styles */
.lightbox-text-container {
    display: none;
    max-width: 600px;
    max-height: 70vh;
    background: #000000;
    border-radius: 0;
    border: solid 1px #ffffff;
    padding: 15px;
    margin: 15px 0;
    overflow-y: auto;
    position: relative;
    
    /* Hide scrollbar completely */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for webkit browsers */
.lightbox-text-container::-webkit-scrollbar {
    display: none;
}

.lightbox-text-container::-webkit-scrollbar-track {
    background: #000000 !important;
    border-radius: 0 !important;
}

.lightbox-text-container::-webkit-scrollbar-thumb {
    background: #ffffff !important;
    border-radius: 0 !important;
    min-height: 5px !important;
    border: none !important;
}

.lightbox-text-container::-webkit-scrollbar-thumb:hover {
    background: #ffffff !important;
}

.lightbox-text-container::-webkit-scrollbar-corner {
    background: #000000 !important;
}

/* Additional webkit scrollbar properties */
.lightbox-text-container::-webkit-scrollbar-button {
    display: none !important;
}

.lightbox-text-container::-webkit-scrollbar-track-piece {
    background: #000000 !important;
}

.lightbox-text-content {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    white-space: pre-wrap;
    word-wrap: break-word;
} 