.image-container{
	height: 600px;
}
img{
	margin: 0 auto;
	display:block;
	height: 100%;
}
button{
	display: block;
    width: 250px;
    height: 55px;
    margin: 40px auto 0 auto;
    background: white;
    text-transform: uppercase;
}
button.copy-link{
    border-radius: 30px;
    width: 140px;
    height: 35px;
    background: #ff4500;
    border: none;
    color: white;
    margin: 0 auto;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

button.copy-link:hover{
    background-color: #e03e00; /* Darken background on hover */
    transform: translateY(-2px); /* Lift the button slightly */
}

.shuffle-button[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation classes */
.fade-out {
    animation: fadeOut 0.5s forwards;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.logo-link{
    display: block;
    max-width: 120px;
    margin: 0 auto;
}

/* Keyframes for fade-out */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Keyframes for fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Disabled button style */
.shuffle-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Loader styles */
.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #ff4500; /* Primary color */
    border-radius: 50%; /* Makes it circular */
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: absolute; /* Absolute positioning within the container */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%) rotate(0deg); /* Initial transform */
    transform-origin: center; /* Ensures rotation occurs around the center */
}

/* Spin animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); } /* Maintain centering */
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.share-buttons {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s; /* Delay to sync with image fade-in */
}
#share-buttons-container{
    margin-top: 30px;
}

p.share-link{
    word-wrap: break-word;
    word-break: break-all;
}



/* Cat Image Container */
.image-container {
    display: flex; /* Enable Flexbox for centering */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 400px; /* Fixed height for the container */
    width: 100%; /* Full width of the parent container */
    max-width: 600px; /* Optional: Set a maximum width */
    margin: 20px auto; /* Center the container horizontally with margin */
    background-color: #f9f9f9; /* Light gray background */
    border: 2px solid #cccccc; /* Subtle border */
    border-radius: 10px; /* Rounded corners */
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Prevent image overflow */
    position: relative; /* Required for absolute positioning of children */
}

.cat-image {
    max-width: 100%; /* Scale the image to fit the container width */
    max-height: 100%; /* Scale the image to fit the container height */
    object-fit: contain; /* Maintain the aspect ratio without cropping */
}

/* Shuffle Button */
.shuffle-button {
    display: inline-block;
    padding: 15px 25px; /* Padding for a comfortable click area */
    font-size: 1.2rem; /* Slightly larger font for readability */
    font-family: 'Poppins', Arial, sans-serif; /* Consistent typography */
    font-weight: bold; /* Make the text bold */
    color: #ffffff; /* White text */
    background-color: #ff4500; /* Primary orange background */
    border: none; /* Remove default button borders */
    border-radius: 50px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    margin-top: 20px; /* Space above the button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative;
}

.shuffle-button:hover {
    background-color: #e03e00; /* Darken background on hover */
    transform: translateY(-2px); /* Lift the button slightly */
}

.shuffle-button:active {
    transform: translateY(2px); /* Pressed down effect */
}

.shuffle-button:disabled {
    background-color: #cccccc; /* Gray background for disabled state */
    cursor: not-allowed; /* Not-allowed cursor */
    opacity: 0.7; /* Reduce opacity */
}

.buttons, h1{
    text-align:center;
}

@media (max-width: 600px) {
    .container img.logo{
        width: 120px;
    }
    .image-container {
        height: 300px; /* Reduce height for smaller devices */
        max-width: 90%; /* Take up most of the screen width */
    }

    .shuffle-button {
        font-size: 1rem; /* Adjust button size */
        padding: 12px 20px; /* Reduce padding for smaller devices */
    }
    
    .shuffle-button .button-icon.left {
        margin-top: -9px;
        margin-left: -3px;
    }
}

/* Share Buttons Container */
.share-buttons {
    margin-top: 20px;
}

/* Share Button Styles */
.share-btn {
    display: inline-block;
    padding: 6px 6px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100px; /* Fixed button width for uniformity */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-transform: uppercase;
}

/* WhatsApp Button */
.share-btn.whatsapp {
    background-color: #25D366; /* WhatsApp Green */
}

.share-btn.whatsapp:hover {
    background-color: #1DAF56;
    transform: translateY(-2px);
}

/* Twitter Button */
.share-btn.x-twitter {
    background-color: #000000; /* X-Twitter Black */
}

.share-btn.x-twitter:hover {
    background-color: #1d1d1d;
    transform: translateY(-2px);
}

/* Viber Button */
.share-btn.viber {
    background-color: #665CAC; /* Viber Purple */
}

.share-btn.viber:hover {
    background-color: #5A4B9A;
    transform: translateY(-2px);
}

/* Share Link */
.share-link {
    word-wrap: break-word;
    word-break: break-word;
    font-size: 0.9rem;
    text-align: center;
    color: #333333;
    margin-top: 10px;
}

.share-link a {
    color: #007BFF; /* Link color */
    text-decoration: none;
}

.share-link a:hover {
    text-decoration: underline;
}

/* Wrapper for the donate section */
.donate-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* Donate toggle */
.donate-toggle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff4500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    text-align:center;
}

.donate-toggle:hover {
    color: #e03e00;
}

/* Arrow styles */
.arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Hidden donate container */
.donate-container {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for text and form in the donate container */
.donate-container h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.donate-container p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.donate-container form {
    display: inline-block;
}

.shuffle-button .button-icon {
    width: 35px; /* Adjust size as needed */
    height: 35px; /* Adjust size as needed */
    margin-top: -7px;
    margin-left: -7px;
    position: absolute;
}





