/* css 4 resources */
body{
    background-image: url('../images/cards/cardsbg.jpg');
    background-size: contain;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    font-size: larger;
    width: 100%;
    height: 100%;
    justify-items: center;
    align-content: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
 
h1{
    color: black;
    background-image: url('../images/cardboard.jpg'); /* big card background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px dashed firebrick;
    border-radius: 15px;
    display: inline-block; 
}
.resources-card {
    display: inline-block; 
    background-image: url('../images/cardboards/95.jpg'); /* big card background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px dashed white;
    color: black;
    border-radius: 15px;
    padding: 1rem;
    max-width: 600px;       /* optional: limit width */
    margin: 2rem auto;      /* center on page */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.resources-card-title {
    font-size: 1.6rem;
    font-weight: bold;
    
    margin-bottom: 1rem;
    text-align: center;
}

.resources-list {
    list-style: none;      /* remove bullets */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* vertical list */
    gap: 0.75rem;          /* space between items */
}

.resources-list li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.resources-list li a:hover {
    color: #ffd700; /* highlight on hover */
}
