/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Georgia', serif; /* A more readable font for relaxation */
    overflow-x: hidden;
    color: #333; /* Dark gray for text, which is easier on the eyes than pure black */
    /*background-color: #f2f2f2;*/ /* Soft pastel background for relaxation */
    height: 100%;
    position: relative;
    line-height: 1.6; /* For increased readability */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('2.png') no-repeat center center;
    background-size: cover;
    opacity: 0.3; /* Reduce the intensity of the background image to keep focus on content */
    z-index: -2;
       background-attachment: fixed;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.welcome-text {
    font-size: 2rem; /* Bigger text for the welcome message */
    text-align: center;
    padding: 40px 0;
    font-weight: bold;
}

.links-section {
    margin: 30px 20px; /* More margin for spacious design */
    background: #ffffff40; /* White background for each section */
    padding: 20px; /* Spacing inside */
    border-radius: 12px; /* Soft rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.links-section h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 30px; /* Increased margin for more space */
    color: #444; /* Slightly darker text for the headings */
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Increased gap for more space */
}

.dreamcatcher {
    background-color: #e0eef9; /* A calming blue pastel color */
    color: #333; /* Dark gray for contrast */
    padding: 15px 25px;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    font-size: 1.2rem; /* Bigger text for easy readability */
    transition: background-color 0.3s ease, color 0.3s ease;

    /* Flex properties for centering */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px; 
}

.dreamcatcher:hover {
    background-color: #ced8e5; /* A slightly different pastel shade for hover */
    color: #222; /* Slightly darker text on hover for more focus */
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .links {
        flex-direction: row;
        justify-content: space-around;
        gap: 0; 
    }

    .dreamcatcher {
        width: auto;
        margin: 0 20px;
    }
}

