@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');

body {
    background-image: url(/ressources/img/back.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    font-family: 'Comic Neue', cursive;
}

/* --- Navbar Styles --- */
.navbar {
    font-size: 1.4375rem;
}

.navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.logo-img {
    height: 45px;
    width: auto;
}

.main-content-row {
    color: black;
}

/* --- Text Styles --- */
.greeting-text {
    font-family: 'Comic Neue', cursive;
    font-size: 3.125rem;
    margin-top: 0.5rem;
}

 /* --- Image Styles --- */
.custom-img {
    height: auto;
    display: block;
    margin: 0 auto;
}

.dog-gif {
    width: 250px; /* Increased from 150px to 250px */
    max-width: 100%; /* Ensure it shrinks if the screen is too small */
}

.twitter-icon {
    width: 150px; /* Increased from 100px to 180px */
    max-width: 100%; /* Ensure it shrinks if the screen is too small */
}

.ddlc-chibi { 
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Chibi Animation --- */
.ddlc-chibi:hover {
    animation: bounce 1200ms ease-out forwards;
}

@keyframes bounce {
    0% {
        transform: translateY(0px);
        animation-timing-function: ease-in;
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    40% {
        transform: translateY(-24px);
        animation-timing-function: ease-in;
    }
    65% {
        transform: translateY(-12px);
        animation-timing-function: ease-in;
    }
    82% {
        transform: translateY(-6px);
        animation-timing-function: ease-in;
    }
    93% {
        transform: translateY(-4px);
        animation-timing-function: ease-in;
    }
    25%,
    55%,
    75%,
    87% {
        transform: translateY(0px);
        animation-timing-function: ease-out;
    }
    100% {
        transform: translateY(0px);
        animation-timing-function: ease-out;
        opacity: 1;
    }
}

/* --- Footer Styles --- */
footer {
    color: black;
    padding-left: 1rem;
    text-align: left;
}

footer p {
    margin-bottom: 0;
}