@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 90%;
        overflow-y: auto;
    }

    .button1, .button {
        padding: 8px;
        margin: 5px 0;
        font-size: 14px;
    }

    .button1 .button-content p {
        font-size: 14px;
    }

    .social-icons {
        margin-top: 10px;
    }
}

body {
    background-image: url('images/JPG\ \(3\).jpg');
    background-size: cover;
    animation: gradientBackground 15s ease infinite;
    color: white;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 500px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgba(32, 29, 34, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-top: 20px;
}

.logo img {
    width: 200px;
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: rotate(360deg);
}

h1 {
    font-size: 1.2em;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 1.5em;
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    padding: 1px;
}

.section {
    margin: 10px 0;
}

.button1, .button {
    background: linear-gradient(45deg, #fdd128, #000000);
    color: white;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 150, 190, 0.1);
    text-align: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

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

.button1 .button-content img {
    width: 28px;
    height: auto;
    margin-right: 5px;
    padding: 2%;
}

.button1 .button-content p {
    margin: 0;
    font-size: 18px;
}

.button1:hover, .button:hover {
    background: linear-gradient(45deg, #fdd128, #ffffff);
    color: black;
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(37, 150, 190, 0.2);
}

.button img {
    vertical-align: middle;
    margin-right: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons img {
    width: 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* Add bounce animation only to the "Register Now" button */
.register-now {
    animation: bounce 2s infinite;
}
