/* General Style Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

/* Container Settings */
.container {
    width: 100%;
    max-width: 600px;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

/* Profile Image */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Profile Title */
.profile h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.tagline {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* About Section */
.about h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.about p {
    font-size: 15px;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Link Buttons */
.links {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers buttons vertically */
    width: 100%; /* Ensures full width */
	padding: 10px 0 0 0;
}

.links a {
    width: 400px; /* Sets button width to 400px */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers content horizontally */
    text-decoration: none;
    color: #fff;
    background: var(--button-color);
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    transition: background 0.3s;
}

.links i {
    margin-right: 10px; /* Adds space between icon and text */
    font-size: 18px;
}

.links a:hover {
    background: var(--button-hover);
}

/* Theme Toggle Switch */
.theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
}

.theme-toggle input {
    display: none;
}

.theme-toggle .toggle-label {
    cursor: pointer;
    width: 50px;
    height: 24px;
    background: var(--toggle-bg);
    border-radius: 15px;
    position: relative;
    transition: background 0.3s;
}

.theme-toggle .toggle-label:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--toggle-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Switch On State */
#theme-switch:checked + .toggle-label {
    background: var(--toggle-bg-active);
}

#theme-switch:checked + .toggle-label:before {
    transform: translateX(26px); /* Total switch width - button width */
}

/* Light Theme */
body.light {
    --bg-color: #f0f2f5;
    --text-color: #333;
    --secondary-color: #555;
    --button-color: #333;
    --button-hover: #555;
    --toggle-bg: #ddd;
    --toggle-bg-active: #333;
    --toggle-color: #fff; /* Light color for the toggle button */
}

/* Dark Theme (Default) */
body {
    --bg-color: #1e1e1e;
    --text-color: #f0f2f5;
    --secondary-color: #aaaaaa;
    --button-color: #333;
    --button-hover: #555;
    --toggle-bg: #FFF;
    --toggle-bg-active: #f0f2f5;
    --toggle-color: #555; /* Dark color for the toggle button */
}

.social-icons {
    display: flex;
    justify-content: center; /* Centers icons horizontally */
    flex-wrap: wrap; /* Prevents overflow */
    margin-bottom: 20px; /* Space between icons and other content */
}

.social-icons a {
    margin: 5px; /* Space between icons */
    color: var(--text-color); /* Matches icon colors with theme */
    font-size: 24px; /* Adjusts icon size */
    transition: color 0.3s; /* Color transition effect */
}

.social-icons a:hover {
    color: var(--button-hover); /* Color change effect on hover */
}