
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

header {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.main-visual {
    padding: 50px 20px;
    background: url('../images/background-dog.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    min-height: 300px; /* Ensure there is enough height for the background image */
}

.main-visual p {
    margin-top: 80px;
}

section {
    padding: 20px;
    text-align: center;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 50%; /* Adjust table width */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left; /* Align text to the left */
}

td {
    padding-left: 10px; /* Add 10px padding to the right column */
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even){background-color: #f9f9f9;}

footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.bookmark-card {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin: 20px auto;
    max-width: 50%; /* Match the table width */
    text-align: left;
    background-color: #f9f9f9;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
}

.bookmark-card img {
    flex-shrink: 0;
    width: 25%; /* Ensure image takes up the right 1/4 side */
    height: 100%;
    border-radius: 5px;
    margin-left: auto;
    object-fit: cover; /* Ensure the image covers the entire area */
    order: 2; /* Position image to the right */
}

.bookmark-card div {
    flex-grow: 1;
}

.bookmark-card h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.bookmark-card p {
    margin: 5px 0;
    color: #666;
}

.bookmark-card:hover {
    background-color: #e9e9e9;
    border-color: #ccc;
}
