body {
  background-image: url("https://media.tenor.com/m3izlzrZ1YgAAAAd/space-galaxy.gif");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  font-family: "JetBrains Mono", monospace;
  padding: 0px;
  margin: 0px;
  padding-top: 30px;
}

html, body {
  height: 100%;
  margin: 0;
}

.container {
    margin: 0 auto;
    width: min(1000px, 90vw);
    padding: 10px;
}

.function-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 90px;
}

.typewriter, .typewriter1 {
    color: #2E8B57;
    width: 100%;
    white-space: normal;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 1.2em;
    animation:
        typing 3s steps(157),
        cursor .4s step-end infinite alternate;
}

@keyframes cursor {
    50% {  border-color: transparent; }
}

@keyframes typing {
    from { width: 0; }
}

.keyword {
  color: #B19CD9;
  margin-right: 8px;
  font-size: 1.2em;
}

.function {
  color: #A020F0;
  font-size: 1.5em; 
}

.symbols {
  color: #DCDCDC;
  font-size: 1.1em;
}

.interests {
  color: #DCDCDC;
  font-size: 0.9em;
}

.text {
  color: #2E8B57;
  font-size: 1em;
  margin-right: 5px;
}

p {
  padding-left: 30px;
  line-height: 1.3;
}

.projects-section {
    padding-left: 20px;
}

.projects {
    display: flex;
    align-items: flex; 
    margin-bottom: 0px;
    flex-direction: column;
    padding-left: 20px;
}

.projects-image {
    width: 80px;  /* Set the width of the image */
    height: 80px; /* Set the height of the image to make it square */
    margin-right: 15px; /* Space between the image and content */
    border-radius: 8px; /* Optional: gives the image rounded corners */
}

.projects-description {
    max-width: 80%;
    padding-left: 20px;
    margin-top: 0;
}

.skills-description {
    max-width: 80%;
    padding-left: 10px;
    line-height: 1.8;
    font-size: 17px; 
    margin-top: 0;
}

.skills-description strong {
    max-width: 80%;
    color: #A020F0;
    padding-left: 10px;
    font-size: 18px; 
    margin-top: 0;
    line-height: 1.8;
}


.projects-title .role {
    margin-bottom: 0px;
    color: white; /* Makes the role text white */
    font-weight: normal; /* Optional: Adjust font weight if needed */
    font-size: 16px; 
    margin-left: 5px; /* Adds spacing between the title and the role */
}

.projects-description ul {
    margin-top: 0; /* Remove extra space above the list */
    margin-bottom: 10px; /* Add consistent spacing below the list */
    padding-left: 20px; /* Indent the list */
    line-height: 1.6; /* Improve line spacing for readability */
}

.projects-description li {
    margin-bottom: 5px; /* Add spacing between list items */
    font-size: 16px; /* Ensure consistent font size */
}

.social-link {
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    transition: color 0.3s ease;
}

.social-link:hover {
    text-decoration: underline;
    color: #A020F0;
}

.projects-title {
    color: #A020F0;
}

.experience-description{
    max-width: 80%;
    margin-top: 0px;
    padding-top: 0px;  
    margin-bottom: 0px; /* Add spacing below the list */
    font-size: 17px; /* Ensure consistent font size */
    line-height: 1.4; /* Improve readability with proper line spacing */
}


.experience-description ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
  }
  
  .experience-description li {
    margin-bottom: 8px;
    font-size: 16px;
    color: white;
  }
  

.projects-title a {
    color: #A020F0;
    text-decoration: none;
}

.projects-title a:hover {
    color: #B19CD9;
    text-decoration: underline;
}

.container-project {
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

.hello {
   color: #A020F0;
   font-size: 3em;
   text-align: center;
}

.center-image {
  display: block;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 10px;
}

.center-image embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.center-image embed,
.center-image iframe,
.center-image object {
  height: 100vh;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
}

.project-image {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bottom-image {
    max-width: 45%;
}

.image-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    gap: 10px;
    margin: 0;
}

.tree {
    max-width: 40%;
    height: auto;
}

.description-project {
    margin: 0 auto;
    width: 70%;
    padding: 0px;
   text-align: center;
}

.description-text {
    text-align: left;
}

.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #A020F0;
    color: white; 
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 1000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.home-button:hover {
    background-color: #B19CD9;
}

.scroll-up {
    display: inline-block;
    background-color: #A020F0;
    color: white; 
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease; 
    margin-top: 20px; 
    font-family: "JetBrains Mono", monospace;
    font-size: 1em;
    text-align: center;
}

.scroll-up:hover {
    background-color: #B19CD9;
}

.scroll-up.show {
    opacity: 1;
}
/*
.resume a {
    font-size: 1em;
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #A020F0;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.resume a:hover {
    background-color: #B19CD9;
    text-decoration: none;
}
*/

/*Designing Navbar*/
.navbar {
   position: fixed;
   top: 0;
   width: 100%;
   background-color: #333;
   padding: 10px 0px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   z-index: 1000;
   transition: transform 0.3s ease;
}

.navbar-design, .my-resume {
   color: white;
   font-family: "JetBrains Mono", monospace;
   text-decoration: none;
   font-size: 1.2em;
   padding: 0px 20px;
}

.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    
    .project-image {
        max-width: 90%;
    }
}
