* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-image: linear-gradient(to bottom, #fed4e0, rgb(254, 255, 253));
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}

nav {
  position: absolute;
  top: 2rem;
  right: 5rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid black;
  border-radius: 50px;
  color: black;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: black;
  color: white;
}


.logo {
  position: absolute;
  top: 10px;
  left: 10px;
}

.header-logo {
  width: 200px; 
  height: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  gap: 2.5rem;
}

nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid black;
  border-radius: 50px;
  color: black;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: black;
  color: white;
}


main {
  padding-top: 9rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

.main-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.title-section {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 40px; 
}

.title-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.about {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 700px;
  text-align: left;
}


.projects {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 450px;
}

.projects h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-folder {
  width: 200px; 
  height: auto;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.project-folder:hover {
  transform: scale(1.1);
}

.project p {
  font-size: 1.1rem;
}

body.dark-mode {
  background-color: #121212;
  background-image: none;
  color: white;
}

.dark-mode .project-folder {
  filter: brightness(0.7); 
}

.dark-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dark-mode-toggle:hover {
  background-color: #ff1bca;
}


footer {
  text-align: center;
  padding: 1rem;
  background-color: #f1f1f1;
  position: fixed;
  bottom: 0;
  width: 100%;
}
