
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
body {
    font-family: 'DM Serif Display', serif;
    margin: 20px auto;
    width: 80%;
}

h2 {
    font-family: 'DM Serif Display', serif;
    margin-top: 0;
    text-align: center;
}

form {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 20px;
}

input[type="text"],
textarea {
    font-family: 'DM Serif Display', serif;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    font-family: 'DM Serif Display', serif;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.editBtn,
.deleteBtn {
    font-family: 'DM Serif Display', serif;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

.deleteBtn {
    font-family: 'DM Serif Display', serif;
    background-color: #f44336;
}

.pagination a {
    font-family: 'DM Serif Display', serif;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
}
.pagination a.active {
    font-family: 'DM Serif Display', serif;
    background-color: red;
    color: white;
    border: 1px solid red;
}

.pagination a:hover:not(.active) {
    background-color: black;
    color: white;
}



@media screen and (max-width: 600px) {
    input[type="text"],
    textarea {
        font-family: 'DM Serif Display', serif;
        width: 100%;
    }

    h2 {
        font-family: 'DM Serif Display', serif;
        text-align: left;
    }

    .editBtn,
    .deleteBtn {
        font-family: 'DM Serif Display', serif;
        width: auto;
        padding: 5px 10px;
    }
}
