body {
  font-family: 'Diary Of A Wimpy Kid Font';
  text-align: center;
  background-color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-behavior: smooth;
}

/* Section Styling */
section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Home Section */
#home {
  background-color: white;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.asl-name {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.letter img {
  width: 18vw;
  max-width: 250px;
  height: auto;
}

.letter span {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: bold;
  margin-top: 5px;
}

.letter:hover {
  transform: scale(1.1);
}

nav {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: black;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s ease-in-out, transform 0.2s;
}

nav a:hover {
  color: #0073e6;
}

/* About Me Section */
#about {
  background-color: #F8F8F8;
}

.asl-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.asl-container img {
  width: 18vw;
  max-width: 95px;
}

.asl-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 5px;
  font-size: clamp(24px, 5vw, 40px);
  letter-spacing: 20px;
  gap: 20px;
}

.profile-circle img {
  width: 25vw;
  max-width: 200px;
  height: auto;
  background-color: #C2B5FF;
  border-radius: 50%;
  margin-bottom: 30px;
}

.description {
  font-size: clamp(18px, 3vw, 28px);
  max-width: 90%;
  line-height: 1.6;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Works Section */
#Works {
  background-color: rgb(251, 251, 251);
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.header-container img {
  width: 120px;
}

.header-container h1 {
  font-size: clamp(36px, 6vw, 60px);
}

.carousel-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.projects-carousel {
  display: flex;
  gap: 20px;
  padding: 10px;
  scroll-snap-align: start;
}

.project-card {
  min-width: 180px;
  width: 90%;
  max-width: 250px;
  height: 300px;
  border: 2px solid black;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-title {
  margin-top: 15px;
  font-size: clamp(24px, 5vw, 40px);
  text-decoration: none;
}

.carousel-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .asl-name, .asl-container, .social-icons {
    flex-direction: column;
    gap: 10px;
  }
  .letter img {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .letter img {
    width: 90px;
  }
  .description {
    font-size: 20px;
  }
  .project-card {
    height: 300px;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 18px;
  }
  .letter img {
    width: 60px;
  }
  .profile-circle img {
    width: 200px;
  }
  .description {
    font-size: 16px;
  }
}

@font-face {
  font-family: 'Diary Of A Wimpy Kid Font';
  src: url('DiaryOfAWimpyKidFont-Rg.woff2') format('woff2'),
       url('DiaryOfAWimpyKidFont-Rg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* General Utility */
img, video {
  max-width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
