@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes buttonHover {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #FFEBCD, #FFB6C1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.text-content {
    flex: 1;
    text-align: left;
    color: #FF6666;
}

.text-content p {
    margin: 5px 0;
    font-size: 18px;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.title {
    font-size: 64px;
    font-weight: bold;
    color: #FF4444;
    animation: fadeIn 1.5s ease-out 0.7s forwards;
    opacity: 0;
}

.subtitle {
    font-size: 24px;
    color: #FF9999;
    animation: fadeIn 1.5s ease-out 0.9s forwards;
    opacity: 0;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 20px;
    color: white;
    background: linear-gradient(to right, #D276FF, #62D0FF);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1.1s forwards;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    animation: buttonHover 0.3s forwards;
}

.image-container {
    flex: 1;
    text-align: right;
    opacity: 0;
    animation: slideIn 1.5s ease-out 1.3s forwards;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    body {
        height: auto;
        padding: 20px;
    }
    .container {
        flex-direction: column;
        text-align: center;
    }
    .text-content {
        text-align: center;
    }
    .title {
        font-size: 48px;
    }
    .subtitle {
        font-size: 20px;
    }
    .button {
        padding: 10px 25px;
        font-size: 18px;
    }
    .image-container {
        text-align: center;
        margin-top: 20px;
    }
}
.container, .text-content p, .title, .subtitle, .button, .image-container {
    animation-fill-mode: both;
}
