/* Journal layout */
.journal {
    max-width: 1000px;
    margin: 80px auto;
    text-align: left;
}
/* Each entry */
.entry {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;

    opacity: 0.8;
    transition: opacity 0.4s ease;
}
.entry {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Date */
.entry-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    font-family: Consolas, sans-serif;
}

/* Text */
.entry p {
    font-size: 18px;
    line-height: 1.6;
    color: black;
    font-style: italic;
}

/* Top navigation styles */
.topnav {
    background-color: black;
    overflow: hidden;
    width: 50%;
}
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #E34939d;
    color: black;
}

.topnav .active {
    background-color: #E34939;
    color: white;
}

/* Centered text */
.centered {
    text-align: center;
}

/* Grid layout for two columns */
.two-column-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    .two-column-layout {
        flex-direction: column;
        align-items: center;
    }
}
/* Container for each image */
.image-card {
    position: relative;
    width: 300px;
}

/* Make images consistent */
.image-card img {
    width: 300px;
    height: 300px;
    display: block;
    border: 5px solid rgb(227, 73, 57);
}

/* Overlay text box */
.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border: 2px solid #E34939;
    
    text-align: center;
    text-decoration: none;
    font-family: Consolas, sans-serif;
    
    transition: all 0.3s ease;
}

/* Hover effect */
.overlay-text:hover {
    background-color: #E34939;
    color: black;
}
.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    
    background-color: rgba(0, 0, 0, 0.5); /* fallback */
    
    /* Blur effect */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: 8px 12px;
    border: 2px solid #E34939;

    text-align: center;
    text-decoration: none;
    font-family: Consolas, sans-serif;
}

/* Image settings */
#img-load img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 155%;
    object-fit: fill; 
    z-index: -10; 
    filter: saturate(0%) contrast(120%) brightness(80%);
}

/* Heading styles */
h1 {
    color: #E34939;
    font-size: 60px;
    font-family: Consolas, sans-serif;
    font-weight: bold;
}

/* Paragraph styles */
p {
    color: black;
    font-size: 20px;
    font-family: Consolas, sans-serif;
    font-style: italic;
}

/* Border styles */
.border {
    text-align: center;
    width: 300px;
    border: 2px solid #E34939;
    background-color: black;
}

/* Link styles */
a {
    color: black;
    transition: all 0.4s linear;
}


/* Box styles */
#box1 {
    border: 5px solid;
    width: 50%;
    height: 250px;
    font-size: 22px;
    background: white;
}


