@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&display=swap');

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #000; /* 黒に変更 */
    color: #fff; /* 白に変更 */
}

/* Navigation Bar */
.navbar {
    background-color: #000; /* 黒に変更 */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
    color: #C9B474;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.navbar a {
    text-decoration: none;
    color: #fff; /* 白に変更 */
    font-weight: bold;
}

/* Main Content */
.container {
    padding: 20px;
}

h1, h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    color: #C9B474;
}

/* Card Layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    width: 300px;
    text-align: center;
}

.card img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out; /* スムーズな拡大縮小のための設定 */
}

.card img:hover {
    transform: scale(1.1); /* ホバー時に画像を1.1倍に拡大 */
    cursor: pointer; /* カーソルをポインターに変更 */
}

.card .caption {
    margin-top: 10px;
}

/* Profile & Contact */
.profile-card, .contact-form {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; /* Initially hidden */
}

/* Cat Paw Styles */
#paw-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 9999; /* Ensure it's on top */
}

.cat-paw {
    position: absolute;
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    opacity: 0;
    transform-origin: center center;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #aaa;
}

.special-thanks {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    color: #C9B474;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}