* {
    box-sizing: border-box;
    --primary-color: #121212;
    --secondary-color: #6c757d;
}

body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 0.15rem dashed var(--primary-color);
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    padding: 1rem 2rem;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    font-weight: 900;

    &:hover {
        background-color: white;
        color: var(--primary-color);
    }

}

nav {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    padding: 1rem;

    & .logo {

        & a {
            color: white;
            text-decoration: none;
        }

        & h1 {
            margin: 0;
            font-size: 2rem;
            font-weight: 900;
        }
    }

    & .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;

        & ul {
            display: flex;
            gap: 0.5rem;
            list-style-type: none;
    
            & li {
                padding: 0.5rem;
                border-bottom: 0.15rem dashed transparent;

                &:hover {
                    border-bottom: 0.15rem dashed white;
                }
    
                & a {
                    color: white;
                    text-decoration: none;
                    font-size: 1.25rem;
                }
            }
        }
    }
}

section {
    display: flex;
    padding: 4rem 1rem;

    & .container {
        margin: 20px auto;
        width: 100%;
        max-width: 1200px;

        & h1 {
            color: var(--primary-color);
            font-size: 5rem;
            margin: 0 0 1rem;
            font-weight: 900;
            line-height: 1;
        }

        & h2 {
            color: var(--secondary-color);
            font-size: 2rem;
            margin: 0 0 2rem;
            font-weight: 900;

        }
    
        & .grid-wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            grid-gap: 1rem;
    
            & .grid-item {
                background-color: white;
                border: 0.15rem dashed var(--primary-color);
                padding: 4rem 1rem; 
                text-align: center;
    
                & h2 {
                    color: var(--primary-color);
                    font-size: 2rem;
                    margin-bottom: 1rem;
                }

                & p {
                    color: var(--secondary-color);
                    font-size: 1.25rem;
                    margin: 0 0 1rem;
                }

                & i {
                    color: var(--secondary-color);
                    font-size: 3rem;
                    margin-bottom: 1rem;
                }



                & img {
                    width: 100%;
                }
            }
        }
    }

    &.dark {
        background-color: var(--primary-color);
        color: white;

        & h1 {
            color: white;
        }

        & .grid-item {
            background-color: var(--primary-color);
            border-color: white;

            & h2, & p, & i {
                color: white;
            }
        }
    
    }

    & form {
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));

        & p {
            display: flex;
            gap: 0.5rem;
            flex-direction: column;

            & label {
                color: var(--primary-color);
                font-size: 1rem;
                margin-bottom: 0.5rem;
                font-weight: 900;
            }

            & input {
                font-size: 1.25rem;
                padding: 1.25rem 0.5rem;
            }
        }
    }
}


.chat-container {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    border-radius: 50%;
    border: 0.15rem dashed white;
    padding: 1rem;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;

    & i {
        font-size: 3rem;
        color: white;
    }
}