/* PGP Contact Page Styles with Responsiveness and Improved Spacing */
body {
    font-family: 'Roboto', sans-serif;
    background-image: linear-gradient(to right, #ff007f, #303F9F);
    background-size: 210% auto;
    color: #ffffff; /* Ensure text color is white for better contrast */
    padding: 20px;
    margin: 0;
    animation: gradientAnimation 5s linear infinite;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.container {
    background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background for readability */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 86%; /* Adjusted max width for better fit */
    margin: 40px auto;
    overflow: hidden; /* Prevents any child elements from overflowing */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* Text shadow for readability */
}
textarea {
    width: 100%; /* Sets width to 100% of its parent */
    max-width: 100%; /* Ensures it does not extend beyond the container width */
    height: 150px;
    font-family: monospace;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background for the textarea */
    color: #333333; /* Dark text color for contrast */
    border: none;
    padding: 10px;
    resize: none; /* Disables resizing of the textarea */
}
a {
    color: #ADD8E6; /* Light blue for links to improve visibility */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #ffff00; /* Yellow on hover for high visibility */
}
p, h2, ul, li {
    margin: 10px; /* Added margin to p, h2, ul, and li for better spacing */
}

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

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 20px auto;
        max-width: 95%; /* Adjusted max width for better fit */
    }
    textarea {
        height: 120px; /* Smaller height for smaller devices */
    }
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        margin: 10px auto;
        max-width: 98%; /* Adjusted max width for better fit */
    }
    textarea {
        height: 100px; /* Further reduced height for very small devices */
    }
}
