* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
}

body {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
  perspective: 1px;
  color: #f0f0f0; /* Off-white color */
}

header {
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: white;
  padding: 1rem;
  width: 100%;
  top: 0;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin-right: 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

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

main {
  padding: 2rem;
  flex-grow: 1;
}

section {
  margin-bottom: 2rem;
}

.project {
  margin-bottom: 1rem;
  background-color: rgba(192, 192, 192, 0.5); /* Grey, translucent background */
  padding: 1rem;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
}

footer {
  background-color: #333;
  color: white;
  padding: 1rem;
  text-align: center;
  width: 100%;
  z-index: 10;
}

.scroll-gradient {
  background: linear-gradient(to bottom, black 0%, purple 100%);
  transition: background 0.5s ease-in-out;
}

/* animated links */

.animated-link {
  color: #ffffff; /* Change this color to your preferred link color */
  text-decoration: none;
  font-size: 1rem;
  transition: font-size 0.3s ease-in-out;
}

.animated-link:hover {
  font-size: 1.2rem; /* Change this value to adjust the size of the link when hovered */
}

/* Add this to your CSS file */
section#about {
  text-align: center;
}

section#home {
  text-align: center;
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.text-container p {
  text-indent: 1.5em; /* Adjust this value to control the size of the indent */
}

/* For mobile devices */
@media (max-width: 767px) {
  .text-container {
    font-size: 0.9rem;
  }
}
