/*base*/

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 150px; /* Adjust the margin to match the height of your footer */
    background-color: #ffffff; /* White */
    color: #333333; /* Near-black for body text to ensure readability */
}

.content {
    margin-top: 150px;
    padding-bottom: 60px; /* Adjust padding to accommodate the footer */
}

/*colours*/


/*navigation bar*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure the navbar is above other content */
}

.navbar-brand,
.navbar-nav .nav-link {
    padding-top: 15px; /* Adjust padding to increase height */
    padding-bottom: 15px; /* Adjust padding to increase height */
}

.logo {
    height: 60px;
    margin-right: 30px; /* Add some margin to separate the logo from the navbar content */
}

.navbar-nav {
    margin-right: 0; /* Remove default margin */
}

.navbar-coloured {
    background-color: #4e3629; /* Set the background color */
}

.navbar-coloured .navbar-nav .nav-link {
    color: #fff; /* Set the text color to white */
}

.navbar-coloured .navbar-nav .nav-link:hover,
.navbar-coloured .navbar-nav .nav-link:focus,
.navbar-coloured .navbar-nav .nav-link.active {
    color: #ff9767; /* Change the text color to orange when hovering or active */
}

.navbar-coloured .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*darker header + footer when scrolling*/

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: #3b2b21; /* Darker shade for better visibility */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*buttons*/

.button-container {
    display: flex;
    justify-content: center; /* Horizontally center the button */
    align-items: center; /* Vertically center if necessary */
    margin-top: 20px; /* Add spacing above the button container */
}

.btn-regular {
    padding: 5px 15px; /* Smaller padding */
    font-size: 0.85rem; /* Slightly smaller font size */
    border-radius: 5px; /* Rounded edges for a clean look */
    display: inline-block; /* Button-sized fit */
    text-align: center; /* Centers text inside the button */
    width: auto; /* Ensures size fits content */
}


/*page title*/

.page-title-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-title {
    margin-bottom: 10px;
}

.divider {
    width: 50%;
    height: 2px;
    background-color: #333;
    border: none;
    margin: auto;
}

/*content base*/

.text-block {
    margin-top: 30px;
    padding-bottom: 20px; /* Add padding to create space for the divider line */
    border-bottom: 1px solid #ccc; /* Add a solid border at the bottom */
}

.text-block h2 {
    margin-bottom: 30px; /* Increase the margin-bottom to add more space */
}

.container {
    max-width: 900px;
    margin: 0 auto; /* Center the column horizontally */
}

/*content job*/

.company-logo {
    margin-right: 20px; /* Add spacing between the logo and job details */
    width: 45px; /* Adjust the width of the company logo as needed */
}

.job {
    display: flex;
    align-items: start; /* Align items vertically */
    margin-bottom: 20px;
}

.job-details {
    display: flex;
    flex-direction: column;
}

.experience {
    padding-bottom: 30px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 30px;
}

.experience h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.job h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.job p {
    margin-bottom: 5px;
}

.job ul {
    margin-top: 5px;
}

.job li {
    list-style-type: disc;
}


/*footer*/

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff; /* Set the text color */
    padding: 10px; /* Adjust padding as needed */
    text-align: center;
    z-index: 1000; /* Ensure the footer is above other content */
}

.footer-coloured {
    background-color: #4e3629; /* Set the background color to match the navbar */
    color: #fff; /* Set the text color to white */
}

.footer-social {
    margin-top: 10px;
}

.footer-social a {
    display: inline-block;
    color: #fff; /* White icon color */
    font-size: 1.5rem; /* Adjust size of the icons */
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ff9767; /* Change to highlight color on hover */
}

.social-icon {
    text-decoration: none;
    margin: 0 10px; /* Add space between icons */
}

/* Footer Links */
.footer-link {
    color: #fff; /* White link color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

.footer-link:hover {
    color: #ff9767; /* Highlight color on hover */
}

/* Responsive Copyright */
#copyright-text {
    font-size: 1rem; /* Base font size */
    white-space: nowrap; /* Prevent wrapping */
    font-style: italic; /* Make text italic */
}

@media (max-width: 768px) {
    #copyright-text {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 480px) {
    #copyright-text {
        font-size: 0.8rem; /* Further adjust font size for very small screens */
    }
}

/*darker header + footer when scrolling*/

.footer {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer.scrolled {
    background-color: #3b2b21; /* Darker shade to match the navbar */
    color: #fff; /* White text when the footer background is darker */
}

/*wide screen*/

@media (min-width: 576px) {
    .logo {
        height: 80px;
    }

    .profile-summary {
        font-size: 22px; /* Adjust the default font size as needed */
    }
}
