body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f9fc;
    margin: 0;
    padding: 0;
}

#resources {
    max-width: calc(100vw - 100px);
    margin: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.content-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.back-btn, .spacer-div{
    width: 100px;
}

.content-info small {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.content-info img {
    max-width: 100%;
    max-height: 350px;
    height: auto;
    margin: 0 auto 25px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-info h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.description {
    width: 100%;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    /* Word wrapping */
    overflow-wrap: break-word;
    word-break: normal;

    /* Prevent word splits */
    white-space: normal;
    hyphens: none;

    /* Optional: Improve readability */
    letter-spacing: 0.01em;
}

.description p {
    margin-bottom: 1em;
}

.description a {
    color: #007BFF;
    text-decoration: underline;
}

.description a:hover {
    color: #0056b3;
}

@media screen and (max-width: 600px) {
    #resources {
        padding: 20px;
    }

    .content-info h1 {
        font-size: 1.5rem;
    }
}