body {
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    display: flex;
    height: 100vh;
}


.logo {
    position: fixed;
    /* Fixes the logo in place relative to the viewport */
    top: 10px;
    /* Adjust as needed for spacing from the top */
    left: 10px;
    /* Adjust as needed for spacing from the left */
    z-index: 1000;
    /* Ensures it stays on top of other elements */
}

.logo img {
    width: 120px;
    /* Adjust the size of the logo */
    height: auto;
    /* Maintain the aspect ratio */
    display: block;
    /* Prevents any extra space around the image */
}

.navbar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 200px;
    background-color: #9C8F8B;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.navbar a {
    color: white;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: background 0.5s;
    font-size: 27px;
    margin-top: 40px;
}

.navbar a:hover {
    color: #333;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

.main-content {
    background-color: #1A2129;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 200px;
}

.contact-text,
.about-text,
.write-text,
.hustle-content {
    font-size: 35px;
}

.contact-content,
.about-content,
.write-content,
.hustle-content {
    background-color: #1A2129;
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 45px;
    padding-top: 190px;
    margin-top: -10px;
}


form {
    display: flex;
    flex-direction: column;
    width: 300px;
    /* Adjust width as needed */
    margin: 20px 0;
    /* Remove auto from horizontal margins to align left */
    padding-left: 20px;
    /* Optional: Add some padding for spacing from the edge */
}

label {
    margin-top: 20px;
}

input,
textarea {
    margin-top: 20px;
    background: url('./images/slimTextbox.png') no-repeat center;
    background-size: 150%;
    /* Adjusts the image to cover the entire input field */
    padding: 10px;
    font-size: 16px;
    border: none;
    /* Removes the default border */
    border-radius: 0;
    /* Removes any default border radius */
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    /* Adjust text color if needed */
}

input[type="text"],
input[type="email"] {
    height: 40px;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    margin-top: 15px;
    padding: 10px;
    background-color: #1A2129;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #333;
}

.typewriter-content {
    background-color: #1A2129;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 30px;
}

footer {
    /* background-color: #1A2129; */
    color: white;
    text-align: center;
    font-size: 20px;
    position: fixed;
    /* Fix the footer to the bottom */
    bottom: 0;
    /* Position it at the bottom */
    left: 0;
    /* Align to the left edge */
    width: 100%;
    /* Make sure it spans the full width of the page */
    z-index: 1000;
    /* Ensure it stays on top of other content */
    padding: 10px 0;
    /* Optional: Add padding for better spacing */
}

@media (max-width: 768px) {
    .navbar {
        transform: translateX(100%);
    }

    .navbar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        width: 35px;
        /* Increase width */
        height: 5px;
        /* Increase height */
        background-color: white;
        margin: 6px 0;
        /* Increase spacing between lines */
        transition: 0.4s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        display: none;
    }

    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
    }

    .main-content {
        padding-right: 0;
    }
}