/* Ensure no margin or padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Set the background image */
body {
    background-image: url('https://i.ibb.co/zhcdn9gs/peakpx.jpg'); /* Replace with your image URL */
    background-size: 278px; /* Adjust this value to control the size of the repeated image */
    background-repeat: repeat; /* Allows the image to repeat */
    background-position: center; /* Centers the background image */
}

/* Style for h4 */
h4 {
    color: rgb(143, 143, 143);
}

/* Content styling */
.center-box {
    background-color: rgba(26, 25, 25, 0.988);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 370px;
    height: 450px;
    border-radius: 60px;
    text-align: center;
    box-shadow: 0 8px 9px rgba(0, 0, 0, 0.3); /* Optional: Adds a shadow for depth */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Circular image styling */
.circle {
    width: 122px; /* Set the size of the image */
    height: 122px; /* Same as width to make it circular */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image scales and fits inside the circle */
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.3); /* Optional: Adds a shadow for depth */
}

.content {
    color: black;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #0f598e; /* Telegram blue color */
    font-family: Arial, sans-serif;
    color: white;
    text-decoration: none;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* Telegram icon */
.telegram-button .icon {
    font-size: 24px;
    animation: bounce 1.5s infinite; /* Animates the icon */
}

/* Hover effect for the button */
.telegram-button:hover {
    background-color: #005a8c; /* Darker blue */
}

/* Button text animation */
.telegram-button:hover span {
    animation: text-slide 0.5s ease-out;
}

/* Bounce animation for the icon */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Text sliding effect on hover */
@keyframes text-slide {
    0% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}