/*Scroll Bar*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
::-webkit-scrollbar {
    width: 5px; 
  }
  ::-webkit-scrollbar-thumb {
    background: #d6d6d6ec; 
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ffffff; 
  }
/*Title*/
body {
    font-family: 'Pixelify Sans Regular', Arial, sans-serif;
    margin: 300px;
    padding: 0;
    background-color: #110636;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column;
    overflow-y: auto;
}
/*Navigation Bar*/
nav {
    background-color: #e59fe1;
    padding: 15px;
    text-align: center;
    width: 145%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
    margin-right: 70px;
}

nav a {
    font-family: 'Geologica Bold', Arial, sans-serif;
    text-decoration: none;
    color: #110636;
    font-size: 20px;
}

nav a:hover {
    color: #ffffff;
}

#typed-container,
#about-me {
    text-align: center;
    padding: 30px;
}

h1 {
    margin-top: 1900px;
    color: #ffffff;
    font-size: 70px;
    overflow: hidden; 
    white-space: nowrap; 
    animation: typing 2s steps(20, end);
}

@keyframes typing {
    from, to {
        width: 0;
    }
    to {
        width: 100%; 
    }
}

#cursor {
    color: transparent;
    animation: blink-caret 1s infinite;
}

@keyframes blink-caret {
    from, to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

.highlight {
    color: #e59fe1;
}

p {
    font-family: 'Geologica Regular', Arial, sans-serif;
    text-align: center;
    font-size: 25px;
    color: #d6d6d6ec;
    margin-top: -30px;
    margin-bottom: 80px;
}

#intro {
    font-size:x-small;
    color:#e59fe1;
}

#separator {
    width: 100%;
    border-top: 2px solid #ffffff;
    margin: 50px 0; 
    margin-bottom: 50px;
    opacity: 50%;
}

h2 {
    font-size: 50px;
    color: #9FE5C5;
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-top: -5px;
}

#about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: center;
}

img {
    max-width: 100%;
    max-height: 350px;
    margin-right: 20px;
    margin-left: 100px;
    margin-top: -60px;
    border-radius: 30px;
    margin-bottom: -50px;
}

#about-me p {
    min-width: 100%;
    font-size: 20px;
    color: #d6d6d6ec;
    text-align: left;
    margin-right: 100px;
    margin-top: -20px;
    line-height: 2;
    margin-bottom: -50px;
}

#about-me a {
    color: #9FE5C5; 
    text-decoration: none;
}

#about-me a:hover {
    color: #e59fe1;
}

h3 {
    font-size: 50px;
    color: #9FE5C5;
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    padding: 10px;
    margin-top: 50px;
    margin-left: -700px;
    position: relative; /* Add relative positioning */
}

h3::after {
    content: '';
    display: block;
    width: 600px; /* Adjust the width of the line */
    height: 2px; /* Adjust the height of the line */
    background-color: #ffffff; /* Adjust the color of the line */
    opacity: 50%;
    margin-left: 50px; /* Adjust the distance between the heading and the line */
    position: absolute; /* Use absolute positioning */
    top: 50%; /* Position it in the middle vertically */
    left: 100%; /* Position it to the right of the heading */
    transform: translateY(-50%); /* Center it vertically */
}


#experience {
    display: flex;
    max-width: 1200px; /* Adjust the max-width as needed */
    margin: auto;
}

.side-panel {
    width: 20%; /* Adjust the width as needed */
    min-width: 200px; /* Set a minimum width */
    height: 200px; /* Adjust the height as needed */
    background-color: #110636;
    padding: 20px;
    border-right: 2px solid #ddd;
    margin-left: -100px;
}

.side-panel button {
    font-family: 'Geologica Bold', Arial, sans-serif;
    background-color: #110636;
    color: white;
    padding: 20px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    font-size: 20px;
    margin-bottom: 4px;
    cursor: pointer;
}

.side-panel button:hover {
    background-color: #e59fe1;
    color: #110636;
}

.content-area {
    position: relative; /* Add relative positioning to the content area */
}

.content-area div {
    position: absolute; /* Use absolute positioning for each content */
    top: 0; /* Position at the top of the content area */
    left: 0; /* Position at the left of the content area */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.content-area div.active {
    opacity: 1;
    transform: translateY(0);
}


#courses-content h4,
#code-content h4,
#resume-content h4 {
    font-family: 'Geologica Regular', Arial, sans-serif;
    color: #e59fe1;
    font-size: 28px;
    margin:0;
    min-width: 550px;
    margin-left: 50px;
}

#courses-content li,
#code-content li,
#resume-content li {
    font-family: 'Geologica Regular', Arial, sans-serif;
    color: #d6d6d6ec;
    font-size: 20px;
    text-align: left; 
    margin:0;
    margin-left: 50px;
    line-height: 1.5;

}
#resume-content a {
    color: #9FE5C5; 
    text-decoration: none;
}

#resume-content a:hover {
    color: #e59fe1;
}

h5 {
    font-size: 50px;
    color: #9FE5C5;
    position: absolute;
    top: 170%;
    transform: translateY(-50%);
    left: 10%;
    margin-left: -354px;
    align-items: center; /* Align items in the center vertically */
    justify-content: center;
    padding: 10px;
    margin-top: -250px;
    z-index: 999;
}

h5::after {
    content: '';
    display: block;
    width: 650px;
    height: 2px;
    background-color: #ffffff;
    opacity: 50%;
    margin-left: 50px;
    position: absolute; /* Use absolute positioning */
    top: 50%; /* Position it in the middle vertically */
    left: 100%; /* Position it to the right of the heading */
    transform: translateY(-50%); /* Center it vertically */
}

#projects-container {
    margin-right: 100px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    top: 100%;
    z-index: 999;
     /* Adjusted margin-top to move it below other sections */
}

#slideshow {
    display: flex;
    transition: transform 0.5s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.project-slide {
    flex: 0 0 100%;
    text-align: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.project-slide img {
    width: 100%;
    height: 800px; /* Adjust the height as needed to make the images bigger */
    object-fit: cover; /* Maintain aspect ratio and cover the entire container */
    margin-top: -50px;
    opacity: 70%;
    /* min-height: 200%; Remove or adjust this line based on your design */
    margin-left: 0px;
}

.project-info {
    font-family: 'Geologica Bold', Arial, sans-serif;
    font-size: 50px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    width: 80%;
}

#projects-container .project-info h6 a {
    color: white;
    transition: color 0.3s ease-in-out;
}

#projects-container .project-info h6 a:hover {
    color: #e59fe1;
}


.project-info p {
    font-family: 'Geologica Regular', Arial, sans-serif;
    font-size: 18px;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    width: 80%;
    background-color: #110636
}

#navigation-bar {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    z-index: 1; /* Ensure navigation bar appears above images */
}

.nav-bar-section {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    margin: 0 5px;
    border-radius: 50%;
}

.nav-bar-section.active {
    background-color: #e59fe1; /* Change to the color you want for the active state */
}

#nav-buttons {
    position: absolute;
    top: 30%;
    min-width: 10%;
    display: flex;
    justify-content: space-between;
    z-index: 1; /* Ensure buttons appear above images */
    margin-left: 150px;
}

#prev-btn,
#next-btn {
    font-family: 'Geologica Bold', Arial, sans-serif;
    font-size: 20px;
    background-color: #e59fe1;
    color: #110636;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 40%;
    position: absolute;
    top: 40%; /* Adjust the percentage to move the buttons up or down */
    transform: translateY(-50%);
    opacity: 70%;
}

#prev-btn {
    left: 5px;
}

#next-btn {
    right: 5px;
}

#prev-btn:hover,
#next-btn:hover {
    background-color: #ffffff;
}

/* Add a class for common styles for sections */
.section {
    text-align: center;
    padding: 50px;
}

#contact-me {
    margin-top: 400px;
    margin-bottom: 50px;
}

#contact-me h2 {
    font-size: 50px;
    color: #9FE5C5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#contact-me h2::after {
    content: '';
    display: block;
    width: 650px;
    height: 2px;
    background-color: #ffffff;
    opacity: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
}

#contact-form label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Geologica Bold', Arial, sans-serif;
    color: #e59fe1;
    font-size: 18px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 2px solid #e59fe1;
    border-radius: 5px;
    font-family: 'Geologica Regular', Arial, sans-serif;
    color: #313131ec;
    font-size: 16px;
}

#contact-form button {
    background-color: #e59fe1;
    color: #110636;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Geologica Bold', Arial, sans-serif;
    font-size: 18px;
}

#contact-form button:hover {
    background-color: #9FE5C5;
    color: #110636;
}


.icons a i {
    color: #9FE5C5; 
    font-size: 24px;
}

.icons {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 15px;
    margin-top: 50px;
}

.icons li {
    display: inline-block;
    margin-right: 15px;
}

.icons li a i:hover {
    color: #ffffff; /* Color on hover */
}

/* Copyright Section */
ul.copyright {
    list-style: none;
    padding: 0;
    margin: 20px 0; /* Adjust margin as needed */
    text-align: center;
}

ul.copyright li {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 12px; /* Adjust font size as needed */
    color: #ffffff;
    font-family: 'Geologica Regular', Arial, sans-serif;
}


ul.copyright li a {
    color: #ffffff; /* Adjust color as needed */
    text-decoration: none;
}

ul.copyright li a:hover {
    text-decoration: underline;
}