/* General styles */
body {
    background-color: #ffffff; /* Default background color */
    font-family: Arial, sans-serif; /* Basic font styling */
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure the body covers the full viewport height */
    display: flex;
    flex-direction: column;
}


/* Header with black background */
.header {
    background-color: rgb(0, 0, 0);
    padding: 10px 0;
    text-align: center;
    position: relative; /* Required for positioning the line correctly */
}

/* Logo styles */
.logo {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    cursor: default; /* Indicate that it's clickable */
}

/* Navigation bar styles */
.navbar {
    background-color: rgb(0, 0, 0);
    padding-top: 0px;
    padding-bottom: 15px;
    text-align: center;
    position: relative; /* Required for positioning the line correctly */
}

.navbar-menu {
    display: flex; /* Use flex for alignment if needed */
    justify-content: center; /* Center align items */
    background-color: black;
}

.navbar::after {
    content: "";
    display: block;
    height: 3px; /* Thickness of the line */
    background-color: rgb(226, 226, 226); /* Line color */
    position: absolute; /* Position the line */
    bottom: 0; /* Align with the bottom of the navbar */
    left: 0; /* Align with the left of the navbar */
    width: 100%; /* Full width */
}

.verticalline {
    max-height: 60px;
}


.nav-item {
    display: inline-flex;
    align-items: center; /* Center content vertically */
    position: relative;
    margin: 0 20px; /* Space between buttons */
    padding: 10px; /* Padding around the image */
    height: 60px; /* Fixed height for alignment */
    box-sizing: border-box; /* Ensure padding and border are included in the height */
    background-color: rgb(0, 0, 0); /* Ensure black background */
}


/* Specific styles for the About Me button */
.nav-item.about-me img {
    max-width: 160px; /* Adjust the maximum width of the image */
    height: auto; /* Maintain aspect ratio */
    margin-top: 0px; /* Push the image up by 10 pixels */

}



.nav-item img {
    display: block;
    max-width: 100px; /* Adjust to match the text button width */
    height: auto; /* Maintain aspect ratio */
}

/* Hover effect for navbar items */
.nav-item:hover img {
    filter: brightness(60%); /* Reduce brightness on hover */
    transform: scale(1.04); /* Make the button slightly larger */
    transition: none;
}

/* Adjust the space between navbar and content box */
.content-wrapper {
    flex: 1; /* Ensure the wrapper fills the available space */
    background-color: #261852; /* Background color, can be changed */
    background-image: url('Assets/cityscape.webp'); /* Background image */
    background-size: cover; /* Ensure the image covers the entire area */
    background-position: top center; /* Align the image to the top and center horizontally */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    background-attachment: fixed; /* Keep the background image fixed in place */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at the top */
    position: relative;
    min-height: 100vh; /* Ensure the content-wrapper covers the full viewport height */
    padding: 0; /* Remove padding to ensure the content box spans the full height */
}

/* Adjust the content box */
.content-box {
    background-image: url('Assets/custombox.webp'); /* Set custom image as background */
    background-size: 100% 100%; /* Stretch image to cover the full width and height */
    background-position: top center; /* Align the image to the top and center horizontally */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    color: rgb(255, 255, 255);
    padding: 40px; /* Adjust padding as needed */
    margin: 0; /* Remove margin to fit the full height */
    max-width: 800px;
    border-radius: 0px; /* Optional: rounded corners */
    width: 100%; /* Full width */
    min-height: 100vh; /* Ensure the content box spans the full viewport height */
    position: relative; /* Use relative positioning */
    overflow: hidden; /* Hide any overflow within content box */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); /* Darker and more pronounced shadow */
    padding-top: 60px; /* Add top padding if needed to ensure content does not touch the top edge */
}

/* Footer styles */
.footer {
    background-color: black; /* Black background */
    color: white; /* White text color */
    text-align: center; /* Center the text */
    padding: 10px 0; /* Add padding for spacing */
    position: relative; /* Required for positioning the line */
    margin-top: 0; /* No margin needed since we use padding in content-box */
}

.footer::before {
    content: ""; /* Required for creating the line */
    display: block;
    height: 2px; /* Thickness of the line */
    background-color: white; /* Line color */
    position: absolute; /* Position the line above the footer */
    top: 0; /* Align with the top of the footer */
    left: 0; /* Align with the left of the footer */
    width: 100%; /* Full width */
}

/* Line at the top of the footer */
.line-image-container {
    position: absolute; /* Position the line image absolutely */
    top: 0; /* Align with the top of the footer container */
    left: 0; /* Align with the left of the footer container */
    width: 100%; /* Full width of the footer container */
    z-index: 1; /* Ensure the line is above other content */
}

.line-image {
    display: block;
    height: auto; /* Adjust height based on the image size */
    width: 100%; /* Ensure the line spans the full width */
}

/* Content box header styles */
.section-header {
    text-align: center;
    margin: 20px 0;
    font-size: 24px; /* Adjust as needed */
    color: #ffffff; /* Adjust color as needed */
}

/* Center the about image and text inside the content box */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 10vh; /* Ensure it covers the full height of the content box */
    padding: 20px; /* Add some padding around the content */
    box-sizing: border-box; /* Include padding in width/height calculations */
}
/* Adjust the about image styles */
.about-image {
    width: 300px; /* Set a fixed width */
    height: auto; /* Adjust height automatically to maintain aspect ratio */
    object-fit: cover; /* Ensure the image fits the box */
    margin-bottom: 50px; /* Space between image and text */
    border-radius: 20px;
}

/* Adjust about text styles */
.about-text {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 20px;
    color: white; /* Adjust text color as needed */
    text-align: center; /* Justify the text */
    margin: 0 40px; /* Adjust the margins on the left and right for narrower spacing */
}

@media (max-width: 768px) {
    .logo {
        max-width: 350px;
    }

    .navbar {
        background-color: black; /* Ensure black background for mobile devices */
    }

    .nav-item {
        margin: 0 15px; /* Increase margin for better spacing */
        padding: 10px; /* Increase padding to make buttons larger */
        border: none; /* Remove default border */
        outline: none; /* Remove default outline */
        box-shadow: none; /* Remove default shadow */
    }

    .nav-item img {
        max-width: 120px; /* Adjust size for tablets */
    }

    .navbar::after {
        content: "";
        display: block;
        height: 2px; /* Thickness of the line */
        background-color: white; /* Line color */
        position: absolute; /* Position the line */
        bottom: 0; /* Align with the bottom of the navbar */
        left: 0; /* Align with the left of the navbar */
        width: 100%; /* Full width */
    }

    .content-box {
        padding: 20px; /* Smaller padding for tablets */
        max-width: 90%;
        width: calc(100% - 100px); /* Adjust for tablet margins */
        min-height: 100vh; /* Ensure the content box spans the full viewport height */
        padding-bottom: 60px; /* Add padding below content box for smaller screens */
    }

/* About image styles */
.about-image {
    width: 300px; /* Set a fixed width and height for the image */
    height: 300px;
    object-fit: cover; /* Ensure the image fits the box */
    margin-bottom: 20px; /* Space between image and text */
    margin-top: 0px;
}

/* Adjust about text styles */
.about-text {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 15px;
    color: white; /* Adjust text color as needed */
    text-align: center; /* Justify the text */
    margin: 0 20px; /* Adjust the margins on the left and right for narrower spacing */
}

@media (max-width: 480px) {
    .logo {
        max-width: 300px;
    }

    .navbar {
        background-color: black; /* Ensure black background for mobile devices */
    }

    .nav-item {
        margin: 0 10px; /* Increase margin for better spacing */
        padding: 8px; /* Increase padding to make buttons larger */
        border: none; /* Remove default border */
        outline: none; /* Remove default outline */
        box-shadow: none; /* Remove default shadow */
    }

    .nav-item img {
        max-width: 100px; /* Adjust size for mobile devices */
    }

    .content-box {
        padding: 15px; /* Smaller padding for mobile devices */
        max-width: 95%;
        width: calc(100% - 50px); /* Adjust for mobile margins */
        min-height: 100vh; /* Ensure the content box spans the full viewport height */
        padding-bottom: 50px; /* Add padding below content box for smaller screens */
    }
    /* Adjust about text styles */
.about-text {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 13spx;
    color: white; /* Adjust text color as needed */
    text-align: center; /* Justify the text */
    margin: 0 10px; /* Adjust the margins on the left and right for narrower spacing */
}

}
}
