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


.yearbook-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    max-width: 1200px;
    margin: 0 auto;
}

.student-card {
    background-color: #3498db; 
    color: white;
    border: 4px solid #2c3e50;
    border-radius: 10px;
    width: 250px; 
    text-align: center;
    padding: 15px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}


.student-card img {
    width: 200px;
    height: 200px;
    object-fit: cover; 
    border: 2px solid white;
    border-radius: 5px;
    background-color: #2c3e50;
}

.student-card h3 {
    margin: 10px 0;
    font-size: 1.4rem;
}

.student-card .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.student-card .likely {
    font-size: 0.9rem;
    background-color: rgba(0,0,0,0.1);
    padding: 5px;
    border-radius: 5px;
}

.student-card:hover {
    transform: scale(1.05); 
    cursor: pointer;
    background-color: #2980b9;
}

@media (max-width: 500px) {
    .student-card {
        background-color: #e74c3c; 
        width: 100%;
    }
}