/* Body and general styling */
body {
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    text-align: center;
}

/* Headings */
h1 {
    text-align: center;
    color: #1e3a8a;
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 20px;
}

h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 25px;
}

/* Books section */
.books {
    display: inline-block;
    margin: 20px;
    padding: 15px 20px;
    border: 2px solid #1e3a8a;
    width: 200px;
    text-align: center;
    font-size: 18px;
    background-color: #1e3a8a;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.books:hover {
    background-color: #2563eb;
}

.books a {
    text-decoration: none;
    color: white;
    display: block;
    font-weight: 500;
}

/* Case scenarios section */
.case {
    display: inline-block;
    margin: 20px;
    padding: 15px 20px;
    background-color: #0f598a;
    border: 2px solid #0f598a;
    width: 200px;
    text-align: center;
    font-size: 18px;
    border-radius: 6px;
    background-color: #0f598a;
    transition: background-color 0.3s ease;
}

.case:hover {
    background-color: #3a96ec;
}

.case a {
    text-decoration: none;
    color: white;
    display: block;
    font-weight: 500;
}


/* Ammendments CSS */
.amendments {
    display: inline-block;
    margin: 20px;
    padding: 15px 20px;
    border: 2px solid #3e94a3;
    width: 200px;
    text-align: center;
    font-size: 18px;
    border-radius: 6px;
    background-color: #3e94a3;
    transition: background-color 0.3s ease;
}

.amendments:hover {
    background-color: #1b6f7e;
}

.amendments a {
    text-decoration: none;
    color: white;
    display: block;
    font-weight: 500;
}