/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff, #e6e6fa); /* Soft gradient background */
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

/* Container for content */
main {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    padding: 40px;
    margin: 20px;
    border-radius: 25px; /* Rounded edges for the main container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow */
    max-width: 800px; /* Limit content width */
    text-align: center; /* Center text within the main container */
    animation: fadeIn 2s ease-out; /* Fade-in animation for the main content */
}

/* Specific section styles for text alignment */
.message p, .unfuturo p {
    text-align: justify;
}

/* Header Styles */
header {
    margin-bottom: 30px;
}

header h1 {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    color: #f747df; /* Soft purple */
    font-size: 3.0em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: slideInFromTop 1.5s ease-out; /* Animation for header */
}

/* Section Headings */
section {
    margin-bottom: 30px;
}

section h2, section h3 {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    color: #6a5acd; /* Medium purple */
    margin-bottom: 15px;
}

section h1 {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    color:#4a92e4;
    margin-bottom: 15px;
}

p, z {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Image Styles */
.rounded-image {
    max-width: 50%;
    height: auto;
    border-radius: 50px;
    margin: 20px 5px; /* Added spacing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.intro .rounded-image {
    animation: moveUpDown 0.1s ease-in-out infinite alternate;
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}

/* Button & Link Styles */
.call-to-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Adds space between the two buttons */
}


.call-to-action .button,
.call-to-action button {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    background-color: #ff69b4; /* Soft pink */
    color: white;
    width: 80%; /* Adjusts to 80% of its parent's width */
    max-width: 400px; /* Prevents the button from becoming too wide on large screens */
    padding: 15px 0; /* Add top and bottom padding while removing the fixed horizontal padding */
    border: none;
    border-radius: 200px;
    font-size: 1.2em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite ease-in-out;
    text-align: center; /* Ensures the text is centered within the button */
    display: block; /* Makes the button a block-level element to respect the width property */
    margin: 0 auto; /* Centers the block-level element horizontally */
}



/* Hidden message style */
.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.visible {
    display: block;
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }

}



