
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Josefin Sans", sans-serif;
    background-color: #f0f0f0;
}

.nav {
    background-color: #ffebcc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.text {
    color: #333;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

.main {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.resource-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-box h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.resource-box p {
    color: #666;
    font-size: 1rem;
    margin-top:9px;
}


.resource-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.resource-box a:hover {
    background-color: #0056b3;
}

.resource-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styling */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        align-items: center;
    }

    .resource-box {
        width: 100%;
        max-width: 400px;
    }
}
