/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Space+Mono&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #f4f4f9;
}

.navbar {
    padding: 0.75rem 1rem; /* Equal padding on all sides */
    background-color: #343a40;
}

.navbar-brand {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    padding: 0; /* Remove additional padding */
    color: #f48d34
}


/* Responsive text sizing using viewport units */
.text-typer {
    font-size: calc(2rem + 1vw); /* Scale based on viewport width */
}
.text-fadein {
    font-size: calc(1.5rem + 1vw); /* Scale based on viewport width */
}

/* Fine-tuning with media queries */
@media (max-width: 1200px) {
    .text-typer {
        font-size: calc(2rem + 0.75vw); /* Smaller screens */
    }
    .text-fadein {
        font-size: calc(1.5rem + 0.75vw); /* Smaller screens */
    }
}

@media (max-width: 992px) {
    .text-typer {
        font-size: calc(2rem + 0.5vw); /* Tablets */
    }
    .text-fadein {
        font-size: calc(1.8rem + 0.5vw); /* Tablets */
    }
}

@media (max-width: 768px) {
    .text-typer {
        font-size: calc(2rem + 0.25vw); /* Mobile devices */
    }
    .text-fadein {
        font-size: calc(1.8rem + 0.25vw); /* Mobile devices */
    }
}

@media (max-width: 576px) {
    .text-typer {
        font-size: calc(1.1rem + 0.5vw); /* Extra small devices */
        font-style:bold;
    }
    .text-fadein {
        font-size: calc(1rem + 0.5vw); /* Extra small devices */
        font-style:bold;
    }
    .content-typer {
        padding-top: 1.5rem; /* Adjust for smaller screens */
    }
}

#text-wrapper {
    display: flex;
    justify-content: center;
}

#text-container {
    display: inline-block; /* Inline block for text container */
    font-size: 3rem;
    text-align: left; /* Left-align text within container */
    white-space: nowrap; /* Ensure text and cursor are on the same line */
}

.cursor {
    width: 2px;
    height: 1em;
    background-color: black;
    display: inline-block;
    animation: blink 1s step-end infinite;
    vertical-align: baseline; /* Align cursor with text */
    margin-bottom: -0.2em; /* Adjust to move cursor down slightly */
}

@keyframes blink {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#contact-form .form-label {
    font-weight: bold;
}

#contact-form .form-control,
#contact-form .form-select {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
}

#contact-form .btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    padding: 0.5rem;
}

#fadein-container {
    font-family: 'Space Mono', monospace;
    padding: 0; /* Remove additional padding */
    color: #f48d34

}

.btn-primary {
    background-color: #70f4d4;
    color:black;
    border: none;
}
.btn-primary:hover {
    background-color: #f48d34;
    color: black;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    width: 100%;
}

footer a {
    color: white;
    text-decoration: underline;
}