body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #080808;
}

/* Common sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #2c3e50;
    text-align: center;
    padding-top: 20px;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar:hover {
    width: 250px;
}


.sidebar-img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 20px;
    cursor: pointer;
}


.sidebar h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

/*.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}*/

.social-icons a img {
    width: 28px;
    height: 28px;
}


nav {
    margin-bottom: 60px; /* Add space to avoid overlap with the footer */
}

nav a {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    font-size: 18px;
    color: #fff;
    margin: 5px 20px;
    border-radius: 8px;
    transition: background-color 0.3s;
}


nav a span {
    margin-top: 5px; /* Space between icon and text */
}


nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-btn.home:before { content: "🏠"; margin-right: 10px; }
.nav-btn.about:before { content: "ℹ️"; margin-left: 4px; margin-right: 23px; }
.nav-btn.skills:before { content: "💻"; margin-right: 10px; }
.nav-btn.projects:before { content: "📁"; margin-right: 10px; }
.nav-btn.internship:before { content: "📋"; margin-right: 10px; }
.nav-btn.hobbies:before { content: "🎨"; margin-right: 10px; }

.sidebar-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    color: white;
    font-size: 14px;
    text-align: center;
    background-color: #2c3e50;
}

.main-content {
    margin-left: 250px;
    height: 100vh;
    background: url('icons/background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.text-content {
    max-width: 600px;
}

.text-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
}

.text-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

.text-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #F7F4A3;
    white-space: pre-wrap; /* Preserve line breaks */
}

.background-img {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
}

.overlay-text {
    padding: 20px;
}

.overlay-text h1, .overlay-text h2, .overlay-text p {
    margin-left: 10px 0;
}

.datetime {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #F7DC6F; 
    font-size: 18px;
    font-weight: bold; /* Bold text */
}

.typing {
    white-space: pre-wrap; /* Preserve line breaks */
}

/* Connect with Me Button */
.connect-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
}

.connect-btn img {
    width: 40px;
    height: 40px;
}

.connect-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 250px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.connect-box h3 {
    margin-top: 0;
    font-weight: bold;
    font-style: italic;
    font-weight: bold;
    font-style: italic;
    background-color: #026ECD;
    color: white; /* Dark text color */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.connect-option {
    margin-top: 10px;
}
.connect-option a {
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    
}

.connect-option img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.lower-down-btn {
    position: absolute;
    top: -15px; /* Adjust the position */
    right: 20px;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lower-down-btn img {
    width: 20px;
    height: 20px;
}

.full-image-view {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.full-image-view img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.full-image-view span {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.full-image-view span:hover,
.full-image-view span:focus {
    color: #bbb;
}
