* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Helvetica, Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.47;
    font-weight: 400;
    letter-spacing: -0.022em;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

h1 {
    font-size: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: #1d1d1f;
    transition: color 0.3s ease;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

p {
    font-size: 1.125rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-weight: 400;
    text-align: center;
    letter-spacing: -0.022em;
    line-height: 1.5;
    margin: 0;
}

.terminal {
    width: 85%;
    max-width: 700px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #1e1e1e;
    color: #ffffff;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.terminal-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: rgba(45, 45, 45, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.buttons {
    display: flex;
    gap: 0.5rem;
}

.circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.circle:hover {
    transform: scale(1.1);
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.terminal-body {
    padding: 1.25rem;
    background-color: #1e1e1e;
    height: 17rem;
    border-radius: 0 0 12px 12px;
    overflow-y: auto;
}

.terminal-body p {
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-weight: 400;
    line-height: 1.5;
}

#terminal-first-input {
    display: flex;
    align-items: center;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0;
    line-height: 1.5;
}

ul {
    list-style-type: none;
}

ul li {
    display: flex;
    align-items: center;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

ul li:hover {
    color: #007AFF;
    transform: translateX(4px);
}

.terminal-input {
    width: 100%;
    height: 2.5rem;
    border: none;
    background: none;
    color: #ffffff;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    caret-color: #007AFF;
    padding: 0;
    line-height: 1.5;
}

.terminal-input::placeholder {
    color: #555;
    opacity: 0.5;
    line-height: 2rem; /* Adjust line-height to vertically center the placeholder text */
}

body.dark-mode {
    background-color: #000000;
    color: #f2f2f7;
}

body.dark-mode h1 {
    color: #f2f2f7;
}

.dark-mode .terminal {
    background-color: #1e1e1e;
    border: 1px solid #444;
}

.dark-mode .terminal-input {
    color: #eaeaea;
    caret-color: #eaeaea;
}

.switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.switch input {
    display: none;
}

.switch label {
    cursor: pointer;
    background-color: #e5e5e7;
    border-radius: 20px;
    width: 3.5rem;
    height: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.switch label::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.75rem;
    height: 1.75rem;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.switch input:checked + label {
    background-color: #007AFF;
    box-shadow: inset 0 1px 2px rgba(0, 122, 255, 0.3);
}

.switch input:checked + label::before {
    transform: translateX(1.5rem);
}

.file-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

#about-heading {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
    color: #ccc;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.social-links .light-icon {
    display: none;
}

body.dark-mode .social-links .dark-icon {
    display: none;
}

body.dark-mode .social-links .light-icon {
    display: block;
}

body.dark-mode .social-links a {
    color: #007AFF;
}

body.dark-mode .social-links a:hover {
    color: #0051D0;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.contact-card {
    background-color: #f0f0f0;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1E1E1E;
}

.contact-card a {
    display: block;
    margin: 0.5rem 0;
    color: #007AFF;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #0051D0;
}

body.dark-mode .contact-card {
    background-color: #1E1E1E;
}

body.dark-mode .contact-card h2 {
    color: #eaeaea;
}

body.dark-mode .contact-card a {
    color: #007AFF;
}

body.dark-mode .contact-card a:hover {
    color: #0051D0;
}

.finder {
    width: 85%;
    max-width: 700px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #1e1e1e;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.finder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: rgba(45, 45, 45, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.finder-path {
    font-size: 1rem;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-weight: 500;
    letter-spacing: -0.022em;
}

.return-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.return-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.finder-body {
    padding: 1.25rem;
    background-color: #1e1e1e;
    height: 17rem;
    border-radius: 0 0 12px 12px;
    overflow-y: auto;
}

.finder-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.file, .folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.file:hover, .folder:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.file img, .folder img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.file span, .folder span {
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-weight: 400;
    letter-spacing: -0.022em;
    margin-top: 0.5rem;
}

body.dark-mode .finder {
    background-color: #1e1e1e;
    border: 1px solid #444;
}

body.dark-mode .finder-header {
    background-color: rgba(45, 45, 45, 0.95);
}

body.dark-mode .finder-path {
    color: #eaeaea;
}

body.dark-mode .finder-body {
    background-color: #1e1e1e;
}

.easy-mode-button {
    position: fixed;
    top: 1rem;
    right: 5.5rem;
    background-color: #007AFF;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.625rem 1.25rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 122, 255, 0.4);
    letter-spacing: -0.01em;
    z-index: 1000;
}

.easy-mode-button:hover {
    background-color: #0051D0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.3);
}

.easy-mode-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 122, 255, 0.4);
}

.easy-mode-button.active {
    background-color: #555;
}

body.dark-mode .easy-mode-button {
    background-color: #007AFF;
}

body.dark-mode .easy-mode-button.active {
    background-color: #555;
}

.easy-mode-message {
    color: #007AFF;
}

body.dark-mode .easy-mode-message {
    color: #007AFF;
}





