.container {
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ensure container can fill the viewport height */
    justify-content: center; /* Center content vertically by default */
}

.content {
    text-align: center;
    width: 100%;
    /* Removed the height property to allow default flow */
}

.resume {
    display: none;
    margin-top: 20px;
    width: 100%;
}

/* New class to adjust container when resume is visible */
.container-with-resume {
    justify-content: flex-start; /* Align content to the top */
}

.resume-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Base styles for the resume section */
.resume-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.resume-left, .resume-right {
    flex: 1; /* Take up equal space when in two-column layout */
    margin: 10px; /* Adjust spacing as needed */
}

.resume-left {
    text-align: right;
    margin-right: 30px;
}

.resume-right {
    text-align: left;
    margin-left: 30px;
}

/* Responsive adjustment */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .resume-left, .resume-right {
        flex-basis: 100%; /* Each section takes full width on smaller screens */
        /* margin: 10px 0; /1* Adjusted margin for vertical layout *1/ */
        text-align: left; /* Set text alignment to left on smaller screens */
        margin-right: 0px; /* Reset right margin for .resume-left */
        margin-left: 0px; /* Ensure left margin for .resume-right is also reset */
    }
}

.education-detail {
    display: flex;
    align-items: flex-start; /* Align items at the start */
    margin-bottom: 10px;
}

.uni-logo {
    width: 50px; /* Adjust based on your preference */
    margin-right: 20px; /* Adjust space between logo and text */
    flex-shrink: 0; /* Prevent logo from shrinking */
    margin-top: 4px;
}

.education-info {
    text-align: left; /* Ensure text within is aligned to the left */
}

.education-info p {
    margin: 2px 0; /* Reduce space between lines */
}

.resume-title {
    margin-bottom: 30px; /* Adds 30px of space below the title */
}

.resume-section h2 {
    font-size: 28px; /* Example size, adjust as needed */
}

.resume-section h3 {
    font-size: 24px; /* Example size, adjust as needed */
}

.hidden {
    opacity: 0;
    pointer-events: none; /* Prevents click events on the faded button */
}

.education-info {
  .subject {
      font-weight: bold;
  }

  .institution {
      font-style: italic;
  }
}

:root {
    /* Light theme properties */
    --button-background-color: #fff;
    --button-text-color: #333;
    --button-border-color: #f8f9fa;
    --button-hover-background-color: #f8f9fa;
    --button-hover-text-color: #212529;
    --button-hover-border-color: #ccc;
}

[data-theme="dark"] {
    /* Dark theme properties */
    --button-background-color: #333; /* Dark mode button background */
    --button-text-color: #fff; /* Dark mode button text */
    --button-border-color: #444; /* Dark mode button border */
    --button-hover-background-color: #444; /* Dark mode button hover background */
    --button-hover-text-color: #fff; /* Dark mode button hover text */
    --button-hover-border-color: #666; /* Dark mode button hover border */
}

#resumeBtn {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    border: 1px solid var(--button-border-color);
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 0px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

#resumeBtn:hover {
    background-color: var(--button-hover-background-color);
    color: var(--button-hover-text-color);
    border: 1px solid var(--button-hover-border-color);
}

:root {
    /* Light theme by default */
    --background-color: #ffffff;
    --text-color: #000000;
}

[data-theme="dark"] {
    /* Dark theme */
    --background-color: #333333;
    --text-color: #ffffff;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

#themeToggle {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit; /* Adjust as needed */
    font-size: 1.5em; /* Adjust size as needed */
    position: fixed;
    top: 20px;
    right: 20px;
}

.info-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 100; /* Ensure it's above other content */
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa; /* Adjust background color as needed */
    color: #333; /* Adjust text color as needed */
    text-align: center;
    padding: 10px;
    z-index: 99; /* Ensure it's above other content but below the info icon */
}

.profile-description {
    max-width: 800px; /* Limit the width for readability */
    margin: 0 auto; /* Center the block if you want, or use 'margin-left: 0;' for strict left alignment */
    text-align: center; /* Ensure text is left-aligned */
    padding: 0 20px; /* Add some padding on the sides */
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .profile-description {
        max-width: 100%; /* Allows the paragraph to expand to 100% of its container's width on small screens */
        padding: 0 10px; /* Adjust padding for smaller screens */
        text-align: left; 
    }
}

