/* Styles for light mode */
:root {
    --background-color-light: #f8f8f8;
    --background-color-dark: #1a1a1a;
    --text-color-light: #333;
    --text-color-lighter: #888;
    --text-color-dark: #ddd;
    --container-color-light: #eee;
    --container-color-dark: rgba(0, 0, 0, 0.9); /* Darkened container color for dark mode */
    --text-color-dark-mode: #bbb; /* Lighter text color for dark mode */
    --name-color-dark-mode: #999; /* Slightly darker text color for name in dark mode */
    --font-family: 'Cairo', serif; /* Custom font */
}

@font-face {
    font-family: 'Cairo';
    src: url('fonts/Cairo-regular.ttf') format('truetype');
    /* Add other font formats if necessary for better compatibility */
    font-weight: normal;
    font-style: normal;
}


body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-family); /* Use custom font */
    background-color: var(--background-color-light);
    color: var(--text-color-light);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 800px;
    margin: 20px auto 0;
    padding: 20px;
    background-color: var(--container-color-light);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

header {
    position: relative;
}

.cover-photo img {
    content: url('background-light.webp');
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.profile-photo {
    position: absolute;
    width: 200px;
    height: 200px;
    top: calc(55% - 100px);
    left: calc(50% - 100px);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
}

.profile-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.profile-info {
    text-align: center;
    margin-top: 20px;
}

.name {
    font-size: 36px;
    color: var(--text-color-light);
    margin-bottom: 10px;
}

.bio {
    font-size: 16px;
    color: var(--text-color-lighter);
    line-height: 1.5;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin-right: 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    background-color: #fff;
    padding: 5px;
    border: 2px solid #ccc;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.social-links img:hover {
    transform: scale(1.2);
}