/* General styles for html and body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* Stylish font */
    background: linear-gradient(45deg, #FFDDD2, #EDF6F9, #BCCCDC);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite; /* Animated gradient */
    box-sizing: border-box;
}

/* Gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add padding to the body to space content from the top */
body {
    padding-top: 50px;
}

/* Styling for paragraphs */
p {
    border: 5px solid #BCCCDC; /* Subtle border color */
    padding: 40px;
    width: 50%;
    background-color: #fff;
    text-align: center;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
    color: #333;
}

p:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

/* Link Styling */
a {
    display: inline-block;
    margin: 15px;
    text-decoration: none;
    color: #ffffff;
    background-color: #E29578; /* Warm brownish background */
    padding: 12px 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

a:hover {
    background-color: #83C5BE; /* Muted teal on hover */
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Centering and card-styled layout for the content */
.container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f1f1f1; /* Soft peach container background */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.container:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* Styling for images */
img {
    max-width: 200px;
    border-radius: 50%;
    display: block;
    margin: 10px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animations for Fade-in Effects */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h1 {
    font-size: 36px;
    font-weight: 600;
    color: #006D77; /* Rich teal header color */
    text-align: center;
    margin: 30px 0;
    animation: fadeIn 1s ease-out;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    p {
        width: 80%; /* Increase the width for smaller screens */
        padding: 25px; /* Reduce padding for smaller screens */
    }

    a {
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 14px;
    }
}
