/* Default colors for the rest of the CSS */
:root {
    --dark-bg: #121212; 
    --light-text: #ffffff;
    --highlight-color: yellow;
    --sidebar-bg: rgba(44, 44, 44, 0.8); 
}

/* General Body Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-bg); 
    color: var(--light-text); 
}

.background {
    height: 100vh; /* Full height of the viewport */
    width: 100%; /* Full width of the viewport */
    display: flex; /* Center content */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    padding-top: 10%; /* Optional padding to prevent content from being too close to the edges */
    box-sizing: border-box; /* Include padding in element's width/height */
}

/* Container Styles */
.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin-top: 40px;
    background-color: rgba(30, 30, 30, 0.9); 
    border-radius: 8px;
}

/* Optional: Style the content wrapper */
.content {
    padding: 20px; 
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background-color: var(--sidebar-bg); 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sidebar h2,
.sidebar h4 {
    margin-top: 10px;
    margin-bottom: 50px;
    transition: color 0.3s;
}

.sidebar h2:hover,
.sidebar h4:hover {
    color: lightblue; 
}

/* Contact Info Styles */
.contact-info p {
    margin: 50px 0;
    color: white;
}

.contact-link {
    color: lightblue;
    text-decoration: none;
    cursor: pointer;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Profile Picture Styles */
.profile-picture {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid #444444; 
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    margin-left: 20px;
    background-color: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

/* About Me Section Styles */
.about-me {
    background-color: rgba(60, 60, 60, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 45px;
    color: white;
    line-height: 2;
}

/* About Me Title */
.about-me h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
    color: var(--highlight-color); 
    font-weight: bold;
    text-align: center;
}

/* Heading Styles */
h1,
h2,
h3 {
    margin: 0;
    color: var(--light-text); 
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 18px;
    color: var(--highlight-color); 
}

h3 {
    color: var(--light-text); 
}

/* Service Grid Styles */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-box {
    background-color: rgba(60, 60, 60, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.service-box:hover {
    background-color: rgba(80, 80, 80, 0.9);
}

.service-title {
    font-weight: bold;
    color: var(--highlight-color); 
}

/* Navigation Bar Styles */
.navbar-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: rgba(44, 44, 44, 0.9); 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--highlight-color); 
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.navbar li {
    font-size: 1em;
}

.navbar li a {
    text-decoration: none;
    color: var(--light-text); 
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navbar li a:hover {
    background-color: rgba(80, 80, 80, 0.9);
}

/* Highlighted Text Styles */
.highlight {
    font-weight: bold;
    color: var(--highlight-color) !important; 
}

/* Contact Form Box Styles */
.contact-form-box {
    margin: 20px;
    padding: 20px;
    background-color: rgba(44, 44, 44, 0.9);
    border: 2px solid var(--highlight-color); 
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-box h3 {
    margin-bottom: 10px;
    color: var(--light-text); 
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
}

.contact-form-box label {
    margin-bottom: 5px;
    color: var(--light-text); 
}

.contact-form-box input,
.contact-form-box textarea {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #333333;
    color: var(--light-text); 
    border: 1px solid #555555;
    border-radius: 4px;
}

.contact-form-box button {
    padding: 10px;
    background-color: var(--highlight-color); 
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form-box button:hover {
    background-color: rgba(255, 255, 0, 0.8);
}

/* Personal Statement Styles */
.personal-statement {
    margin-top: 20px;
    font-style: italic;
    color: var(--light-text); 
    text-align: center;
}

/* Blockquote Styles */
blockquote {
    padding: 15px;
    margin: 15px 0;
    border-left: 5px solid var(--highlight-color); 
    font-style: italic;
    color: var(--light-text); 
}

/* Resume Styles */
.resume-title {
    margin-top: 0;
    padding-top: 10px;
    text-align: center;
    font-size: 24px;
    color: var(--light-text); 
}

.resume-space {
    margin-top: 350px; 
    padding: 20px; 
}

.spacer {
    height: 10px; 
    width: 100%;
}

.section-border {
    border: 2px solid var(--highlight-color); 
    border-radius: 5px; 
    padding: 15px; 
    margin-bottom: 20px; 
}

.back-button-container {
    text-align: center; /* Center the button */
    margin: 20px 0;    /* Add some margin around the button */
}

.back-button {
    display: inline-block; /* Make it a block element for padding */
    padding: 10px 20px;   /* Add padding for a better look */
    background-color: #007BFF; /* Button color */
    color: white;          /* Text color */
    text-decoration: none;  /* Remove underline from link */
    border-radius: 5px;    /* Rounded corners */
    font-size: 16px;       /* Font size */
}

.back-button:hover {
    background-color: #0056b3; /* Darken color on hover */
}

.back-home {
    text-align: right; /* Align to the right */
    margin-bottom: 20px; /* Space below the button */
}

.back-home a {
    display: inline-block;
    padding: 10px 20px; /* Padding inside the button */
    background-color: blue; /* Button background color */
    color: white; /* Button text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.back-home a:hover {
    background-color: darkblue; /* Darker color on hover */
}

.project {
    border: 2px solid yellow; /* Yellow border */
    border-radius: 5px; /* Rounded corners */
    padding: 15px; /* Padding inside the project section */
    margin-bottom: 20px; /* Space between project sections */
    background-color: white; /* Background color for project sections */
}

.project h2 {
    margin-top: 0; /* Remove top margin from project title */
}

.project-image {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space below the image */
}

.project-container {
    background-color: rgba(30, 30, 30, 0.9);
}

/* Additional styles for projects.html */
.projects-page .background {
    padding-top: 80% !important; /* Adjust this value as needed */
}




/* Fix Smaller Screens like IPhones */
@media (max-width: 768px) {
    /* Set container to flex direction column */
    .container {
        flex-direction: column; /* Stack elements vertically */
        width: 100%; /* Full width for container */
        margin: 0; /* Remove margin */
        padding-top: 200%; /* Adjust padding for mobile */
    }

    .sidebar {
        width: 100%; /* Full width for sidebar */
        margin-bottom: 20px; /* Add space below the sidebar */
        padding-top: 400%; /* Add some padding */
    }

    .main-content {
        width: 100%; /* Full width for main content */
        margin-left: 0; /* Remove left margin */
        padding: 10px; /* Add padding to main content */
    }

    .service-grid {
        grid-template-columns: 1fr; /* Stack services vertically */
    }

    /* Adjust navbar */
    .navbar-container {
        position: relative; /* Ensure proper stacking */
        top: 0; /* Reset any top offset */
        width: 100%; /* Full width for navbar */
    }

    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        width: 100%; /* Full width for navbar */
    }

    /* Contact form adjustments */
    .contact-form-box {
        width: 90%; /* Maintain width for the contact form */
        margin: 20px auto; /* Center the contact form */
    }

    .about-me {
        margin-bottom: 20px; /* Space below the About Me section */
    }

    .container.resume-space {
        padding-top: 450%; /* Adjust spacing for resume section */
    }

    .project-container {
        background-color: rgba(30, 30, 30, 0.9); /* or any other color */
    }
}


