/* CSS styles */
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f2f2f2;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body fills the viewport height */
    background-image: url('Photos/thats me.jpg'); /* Set background image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    margin-left: 20px; /* Adjust margin as needed */
}

nav {
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 40px; /* Adjust spacing between links */
}

nav ul li:last-child {
    margin-right: 0; /* Remove margin from last link */
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* Active link style */
.nav-link.active {
    color: #999;
    pointer-events: none;
    cursor: default;
}

/* Button Container */
.button-container {
    position: fixed;
    left: 20px; /* Adjust the left position */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align buttons to the left */
    z-index: 1; /* Ensure button container is above content */
    width: 200px; /* Set a fixed width */
}

/* Button */
.button {
    margin-bottom: 20px; /* Adjust vertical spacing between buttons */
    padding: 15px 30px; /* Adjust padding for larger buttons */
    border: none;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black background */
    color: #fff;
    cursor: pointer;
    width: 100%; /* Set width to fill container */
    transition: background-color 0.3s ease; /* Add transition effect */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Spacing between image and text */
    max-width: 200px; /* Set max-width for larger screens */
}

/* Button hover state */
.button:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker transparent background */
}

/* Active button style */
.button.active {
    background-color: #1b4965; /* Darker color for active/toggled button */
}

/* Button text */
.button img {
    max-width: 15px; /* Adjust max-width for smaller images */
    max-height: 15px; /* Adjust max-height for smaller images */
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Push footer to the bottom */
}

/* Center the content text */
.content {
    padding-top: 20px; /* Adjust the top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to the top */
    max-height: calc(100vh - 240px); /* Set max-height to ensure content fits within viewport */
    overflow-y: hidden; /* Hide vertical scrollbar */
    margin-bottom: 50px; /* Add some space at the bottom to prevent overlap with footer */
}

.content-text {
    display: none;
    background-color: rgba(0, 0, 0, 0.7); /* Darken the background behind text */
    padding: 20px; /* Add padding for readability */
    border-radius: 10px; /* Add border radius for aesthetics */
    opacity: 0; /* Initially hide content */
    transform: scale(0.8); /* Initially scale down */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth transition effects */
}

.content-text.active {
    display: block;
    opacity: 1; /* Show content */
    transform: scale(1); /* Scale up */
}

.content-text h2 {
    margin-bottom: 20px;
    color: #fff; /* Set text color to white */
}

.content-text p {
    margin-bottom: 30px;
    color: #fff; /* Set text color to white */
}

.content-image {
    display: none; /* Hide the image */
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    max-height: 300px;
    opacity: 0; /* Initially hide image */
    transform: scale(0.8); /* Initially scale down */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth transition effects */
}

.content-image.active {
    display: block;
    opacity: 1; /* Show image */
    transform: scale(1); /* Scale up */
}
