/* Google Font Import - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif; /* Changed to Montserrat font */
}

:root {
    /* ===== Colors ===== */
    --body-color: #18191a;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;

    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}

body {
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}

::selection {
    background-color: var(--primary-color-light);
    color: #fff;
}

.home {
    position: absolute;
    top: 0;
    left: 250px;
    height: 100vh;
    width: calc(100% - 250px);
    background-color: var(--body-color);
    transition: var(--tran-05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center the text horizontally */
    overflow: auto; /* Change overflow to auto to allow scrolling */
    z-index: 0;
}

.home .text {
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 60px;
    z-index: 1;
}

.home .description {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    padding: 0 60px;
    z-index: 1;
}

.sidebar.close ~ .home {
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}

body.dark .home .text {
    color: var(--text-color);
}

body.dark .home .description {
    color: var(--text-color);
}

.home::before,
.home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8; /* Adjust the opacity as needed */
    z-index: -1;
}

.partnership-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10; /* Higher z-index to ensure buttons are above particles */
    position: relative; /* Ensure z-index takes effect */
}

.partnership-buttons .button {
    background-color: var(--primary-color-light);
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--tran-03);
    font-weight: 500;
    cursor: pointer; /* Ensures the cursor changes to pointer on hover */
    z-index: 10; /* Higher z-index for buttons */
    position: relative; /* Ensure z-index takes effect */
}

.partnership-buttons .button:hover {
    background-color: var(--text-color);
    color: var(--body-color);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure particles are behind other elements */
    top: 0;
    left: 0;
}

/* Add media queries for smaller devices */
@media (max-width: 768px) {
    .home {
        left: 0;
        width: 100%;
        height: auto; /* Allow height to adjust based on content */
        padding: 20px; /* Add padding for better readability */
    }

    .home .text, .home .description {
        padding: 12px 20px; /* Adjust padding for smaller screens */
        font-size: 18px; /* Adjust font size for better readability */
    }

    .partnership-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Adjust gap between buttons */
    }
}
