:root {
    --background-color: #f0f0f0;
    --text-color: #333;
    --link-color: #1DA1F2;
    --link-hover-color: #0d8dd8;
    --button-background: #1DA1F2;
    --button-hover-background: #0d8dd8;
    --input-background: #fff;
    --input-border: #ccc;
}

body.dark-mode {
    --background-color: #1e1e1e;
    --text-color: #f0f0f0;
    --link-color: #1DA1F2;
    --link-hover-color: #0d8dd8;
    --button-background: #1DA1F2;
    --button-hover-background: #0d8dd8;
    --input-background: #333;
    --input-border: #444;
}

body {
    font-family: 'Spartan', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.profile-container {
    background: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.profile-info .name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-info .region {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.profile-info .map-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    filter: invert(1); /* Invert the icon color */
}

body:not(.dark-mode) .profile-info .map-icon {
    filter: invert(0); /* Revert back to original color */
}

#dark-mode-toggle {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-background);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

#dark-mode-toggle:hover {
    background-color: var(--button-hover-background);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: var(--link-color);
    font-size: 20px;
    border-radius: 100%;
    background: var(--background-color);
    transition: background-color 0.3s, color 0.3s;
    flex: none;
}

.social-links a img {
    width: 24px;
    height: 24px;
    filter: invert(1); /* Invert the icon color */
}

body:not(.dark-mode) .social-links a img {
    filter: invert(0); /* Revert back to original color */
}

.social-links a:hover {
    background-color: var(--link-hover-color);
    color: white;
}

.important-links {
    text-align: left;
    margin-top: 20px;
}

.important-links h2 {
    text-align: left;
}

.important-links ul {
    list-style-type: disc; /* This adds bullets to the list items */
    padding-left: 20px; /* Add some padding to the left to align the bullets properly */
}

.important-links ul li {
    margin: 10px 0;
}

.important-links ul li a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s;
}

.important-links ul li a:hover {
    color: var(--link-hover-color);
}

.contact-form {
    text-align: left;
    margin-top: 20px;
}

.contact-form h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    background: var(--input-background);
    color: var(--text-color);
}

.contact-form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-background);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: var(--button-hover-background);
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: var(--background-color);
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

body.dark-mode .footer {
    background-color: #2c2c2c;
    color: #f0f0f0;
}

.slideshow-container {
    position: relative;
    margin: auto;
    max-width: 1000px;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    left: 0;
}


.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
